working/Evergreen.git
11 years agoadded clone button for event definition
erickson [Mon, 2 Mar 2009 15:41:32 +0000 (15:41 +0000)]
added clone button for event definition

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12345 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoimplemented 'clone selected row'
erickson [Mon, 2 Mar 2009 15:41:04 +0000 (15:41 +0000)]
implemented 'clone selected row'

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12344 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoremoved old code
erickson [Mon, 2 Mar 2009 15:40:38 +0000 (15:40 +0000)]
removed old code

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12343 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoadded menu option for surveys
erickson [Mon, 2 Mar 2009 15:05:16 +0000 (15:05 +0000)]
added menu option for surveys

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12342 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoremove formatting from dumper output in mail error
erickson [Mon, 2 Mar 2009 01:26:41 +0000 (01:26 +0000)]
remove formatting from dumper output in mail error

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12341 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agomoved JS to external file. added tab for trigger environment. using override widget...
erickson [Mon, 2 Mar 2009 01:24:33 +0000 (01:24 +0000)]
moved JS to external file.  added tab for trigger environment.  using override widget of textarea for template editing.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12340 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agocan now pass in override widget types to grid and edit pane
erickson [Mon, 2 Mar 2009 01:22:59 +0000 (01:22 +0000)]
can now pass in override widget types to grid and edit pane

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12339 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agopcrud entries for trigger environment
erickson [Mon, 2 Mar 2009 01:22:20 +0000 (01:22 +0000)]
pcrud entries for trigger environment

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12338 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoplugged in auto edit pane handling
erickson [Sun, 1 Mar 2009 21:20:49 +0000 (21:20 +0000)]
plugged in auto edit pane handling

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12337 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoedit/create pane can now be loaded as a inline grid deck-swap in addition to dialog
erickson [Sun, 1 Mar 2009 20:36:23 +0000 (20:36 +0000)]
edit/create pane can now be loaded as a inline grid deck-swap in addition to dialog

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12336 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoadding controller intellegence to Fieldmapper.pm and Event.pm
miker [Sun, 1 Mar 2009 20:10:55 +0000 (20:10 +0000)]
adding controller intellegence to Fieldmapper.pm and Event.pm

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12335 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agosupport might_have (search-based, single-valued) in path fleshing
miker [Sun, 1 Mar 2009 18:51:40 +0000 (18:51 +0000)]
support might_have (search-based, single-valued) in path fleshing

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12334 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoseparated pane and dialog build out into 2 separate functions
erickson [Sun, 1 Mar 2009 18:47:11 +0000 (18:47 +0000)]
separated pane and dialog build out into 2 separate functions

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12333 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoallow caller to pass in a pre-built edit dialog
erickson [Sun, 1 Mar 2009 18:46:32 +0000 (18:46 +0000)]
allow caller to pass in a pre-built edit dialog

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12332 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agofleshing bugs in environment building
miker [Sun, 1 Mar 2009 18:14:54 +0000 (18:14 +0000)]
fleshing bugs in environment building

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12331 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agofix param format for retrieve_
erickson [Sun, 1 Mar 2009 01:08:32 +0000 (01:08 +0000)]
fix param format for retrieve_

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12330 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoPatch from Jeff Godin:
miker [Sun, 1 Mar 2009 00:37:57 +0000 (00:37 +0000)]
Patch from Jeff Godin:

Noticed in 1.4.0.2, confirmed in trunk, the myopac.xml "My Account"
display doubles the patron's first given name:

Administrator Administrator System Account

myopac.js was the culprit, populating the "prefix" with the value of
first_given_name.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12326 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agopass target object instead of event->target to object_by_path. call split with regex
erickson [Sat, 28 Feb 2009 21:58:42 +0000 (21:58 +0000)]
pass target object instead of event->target to object_by_path.  call split with regex

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12325 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoadding a generic SendEmail reactor (already defined by default) that depends on the...
miker [Sat, 28 Feb 2009 15:13:14 +0000 (15:13 +0000)]
adding a generic SendEmail reactor (already defined by default) that depends on the user-supplied environment and template to work properly

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12324 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agorepaired event_def env and params links
erickson [Fri, 27 Feb 2009 22:18:38 +0000 (22:18 +0000)]
repaired event_def env and params links

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12323 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoneed newlines after the header lines
erickson [Fri, 27 Feb 2009 21:40:31 +0000 (21:40 +0000)]
need newlines after the header lines

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12322 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoadded some required imports
erickson [Fri, 27 Feb 2009 21:26:44 +0000 (21:26 +0000)]
added some required imports

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12321 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoTT needs a ref to process an inline string
erickson [Fri, 27 Feb 2009 21:21:25 +0000 (21:21 +0000)]
TT needs a ref to process an inline string

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12320 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoimport logger var
erickson [Fri, 27 Feb 2009 20:55:27 +0000 (20:55 +0000)]
import logger var

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12319 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoEnforce the requirement that the "params" tag carry a
scottmk [Fri, 27 Feb 2009 19:56:16 +0000 (19:56 +0000)]
Enforce the requirement that the "params" tag carry a
JSON_HASH as its data, rather than some other kind
of jsonObject.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12318 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoprimitive circ matrix matchpoint configuration UI
erickson [Fri, 27 Feb 2009 17:21:25 +0000 (17:21 +0000)]
primitive circ matrix matchpoint configuration UI

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12317 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agomore link repairs
erickson [Fri, 27 Feb 2009 17:19:56 +0000 (17:19 +0000)]
more link repairs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12316 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agorepaired some link definitions for ccm class
erickson [Fri, 27 Feb 2009 17:08:17 +0000 (17:08 +0000)]
repaired some link definitions for ccm class

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12315 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agothrow meaningful error when IDL link is invalid
erickson [Fri, 27 Feb 2009 17:05:15 +0000 (17:05 +0000)]
throw meaningful error when IDL link is invalid

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12314 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoAdded some kludgy code to load a database driver, and connect
scottmk [Fri, 27 Feb 2009 16:29:43 +0000 (16:29 +0000)]
Added some kludgy code to load a database driver, and connect
to it, before testing a JSON query.  We don't connect to the
database itself, but we need to connect to the driver or else
dbi_conn_quote_string() won't work.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12313 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agotesting testing testing: identified more scenarios, sketched out
djfiander [Fri, 27 Feb 2009 02:37:34 +0000 (02:37 +0000)]
testing testing testing: identified more scenarios, sketched out
test data for more scenarios.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12312 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoIn SELECT(): Don't allow virtual fields in the SELECT clause.
scottmk [Thu, 26 Feb 2009 20:06:48 +0000 (20:06 +0000)]
In SELECT(): Don't allow virtual fields in the SELECT clause.
The old code allowed them, only to generate invalid queries
asking for non-existent columns.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12311 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoplugged in some i18n
erickson [Thu, 26 Feb 2009 18:44:41 +0000 (18:44 +0000)]
plugged in some i18n

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12310 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agopcrud entries for event def param
erickson [Thu, 26 Feb 2009 17:19:03 +0000 (17:19 +0000)]
pcrud entries for event def param

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12309 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agosurvey list and edit interface. some known issues (i18n) that will be cleanup up...
erickson [Thu, 26 Feb 2009 16:06:29 +0000 (16:06 +0000)]
survey list and edit interface.  some known issues (i18n) that will be cleanup up next

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12308 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agofixed table ref
erickson [Thu, 26 Feb 2009 15:40:38 +0000 (15:40 +0000)]
fixed table ref

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12307 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoapply some basic style to the edit pane table
erickson [Thu, 26 Feb 2009 15:38:57 +0000 (15:38 +0000)]
apply some basic style to the edit pane table

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12306 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoapply the edit dialog class in the dialog, not the editpane
erickson [Thu, 26 Feb 2009 15:36:34 +0000 (15:36 +0000)]
apply the edit dialog class in the dialog, not the editpane

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12305 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoif no cleanup handler is defined for the given state, assume cleanedup is true
erickson [Thu, 26 Feb 2009 02:23:21 +0000 (02:23 +0000)]
if no cleanup handler is defined for the given state, assume cleanedup is true

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12304 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoIn SELECT(): Use a more efficient algorithm for keeping track
scottmk [Wed, 25 Feb 2009 20:48:15 +0000 (20:48 +0000)]
In SELECT(): Use a more efficient algorithm for keeping track
of the "aggregate" tag.  Instead of making an extra pass using
jsonObjectFindPath(), look for the tag as we examine each
field in the SELECT list.  Build a GROUP BY list every time,
but only use it later if "aggregate" was found (or if the
DISTINCT flag is set).

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12302 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agotypo
erickson [Wed, 25 Feb 2009 18:11:39 +0000 (18:11 +0000)]
typo

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12299 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoEnhance error handling in SELECT(). When a selected column is
scottmk [Wed, 25 Feb 2009 17:58:16 +0000 (17:58 +0000)]
Enhance error handling in SELECT().  When a selected column is
not defined in the IDL, issue a message and return without
executing a query (instead of executing a query that is
invalid because of an extra comma).

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12298 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoIn SELECT(): Enhanced the validation of JSON queries:
scottmk [Wed, 25 Feb 2009 16:00:05 +0000 (16:00 +0000)]
In SELECT(): Enhanced the validation of JSON queries:

1. If the FROM clause is the wrong sort of jsonObject, issue
a helpful message before bailing out.

2. If a class in the SELECT clause is not defined in the IDL,
issue a message and bail out (instead of silently ignoring it).

3. If a selected item is represented by anything but a
JSON_STRING or JSON_HASH, issue a message and bail out
(instead of creating a query that bombs out later due to an
extra comma).

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12297 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoEnhance error handling in SELECT(). In two cases,
scottmk [Wed, 25 Feb 2009 13:36:27 +0000 (13:36 +0000)]
Enhance error handling in SELECT().  In two cases,
issue a helpful message before bailing out:

1. When the FROM clause is missing or empty

2. When the FROM clause is a JSON_HASH with more
than one entry

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12296 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoplugging in TT; a bit of documentation in the ABOUT() sub. I suggest this as convention
miker [Wed, 25 Feb 2009 05:33:31 +0000 (05:33 +0000)]
plugging in TT; a bit of documentation in the ABOUT() sub. I suggest this as convention

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12295 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobasic TT processor
erickson [Wed, 25 Feb 2009 03:36:08 +0000 (03:36 +0000)]
basic TT processor

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12294 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agostart of a generic static email test reactor
miker [Wed, 25 Feb 2009 03:23:05 +0000 (03:23 +0000)]
start of a generic static email test reactor

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12293 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoOutline of test cases for MFHD code
djfiander [Wed, 25 Feb 2009 03:06:32 +0000 (03:06 +0000)]
Outline of test cases for MFHD code

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12292 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agopostgres doesn't seem to like bare year (%G), pass y-m-d (%F) instead
erickson [Wed, 25 Feb 2009 03:04:06 +0000 (03:04 +0000)]
postgres doesn't seem to like bare year (%G), pass y-m-d (%F) instead

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12291 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agocstoreeditor create_ returns the ident (~id) (not the object) and sets the ident...
erickson [Wed, 25 Feb 2009 02:46:01 +0000 (02:46 +0000)]
cstoreeditor create_ returns the ident (~id) (not the object) and sets the ident on the passed in object.  no need to capture the output except to test for success

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12290 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agohook uses 'key'
erickson [Wed, 25 Feb 2009 02:41:53 +0000 (02:41 +0000)]
hook uses 'key'

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12289 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agooops, wrong param order
erickson [Wed, 25 Feb 2009 02:23:35 +0000 (02:23 +0000)]
oops, wrong param order

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12288 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoautocreate checkout/checkin trigger events
erickson [Wed, 25 Feb 2009 02:06:05 +0000 (02:06 +0000)]
autocreate checkout/checkin trigger events

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12287 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoadding required update_process field; fleshing "quietly" updated objects (should...
miker [Tue, 24 Feb 2009 21:29:45 +0000 (21:29 +0000)]
adding required update_process field; fleshing "quietly" updated objects (should probably not use quite=>1)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12286 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agotag the field row with the field name to open up some extensibility options
erickson [Tue, 24 Feb 2009 19:38:34 +0000 (19:38 +0000)]
tag the field row with the field name to open up some extensibility options

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12285 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoif xact_begin is called after initialization, make sure the osrf session is connected
erickson [Tue, 24 Feb 2009 19:06:02 +0000 (19:06 +0000)]
if xact_begin is called after initialization, make sure the osrf session is connected

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12283 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agocut/paste-o with no replace-o :)
phasefx [Tue, 24 Feb 2009 17:28:14 +0000 (17:28 +0000)]
cut/paste-o with no replace-o :)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12282 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoif the staff client provides the OPAC with a patron's barcode, bypass the barcode...
erickson [Tue, 24 Feb 2009 17:16:20 +0000 (17:16 +0000)]
if the staff client provides the OPAC with a patron's barcode, bypass the barcode entry form

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12281 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agogo straight to the opac with this browser, not the opac wrapper (no need for marc...
phasefx [Tue, 24 Feb 2009 17:06:30 +0000 (17:06 +0000)]
go straight to the opac with this browser, not the opac wrapper (no need for marc editor, etc., and it makes it easier to pass in the patron barcode)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12280 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoEnhance the error handling in SELECT():
scottmk [Tue, 24 Feb 2009 16:49:01 +0000 (16:49 +0000)]
Enhance the error handling in SELECT():

1. If the core class is not defined in the IDL, issue a
helpful message before bailing out.

2. If the core class is virtual, issua a helpful message
and bail out, instead of building a doomed query.

3. If a class referenced in the SELECT clause is not
included in the FROM clause, issue a helpful message and
bail out.  (The old code silently ignored it, and then
built a query that bombed out due to an extra comma.)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12279 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agooops, need to use passthru_content_params with browser and rbrowser.xul
phasefx [Tue, 24 Feb 2009 15:45:47 +0000 (15:45 +0000)]
oops, need to use passthru_content_params with browser and rbrowser.xul

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12278 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoPerformance tweaks to SELECT(): eliminated a couple of unnecessary
scottmk [Tue, 24 Feb 2009 02:29:07 +0000 (02:29 +0000)]
Performance tweaks to SELECT(): eliminated a couple of unnecessary
IDL lookups, a couple of unnecessary variables, and several
unnecessary calls to strlen().  Also renamed a few local variables
to suit my taste.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12277 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agopass the patron barcode into the opac when embedded in the patron display, and use...
phasefx [Mon, 23 Feb 2009 22:56:49 +0000 (22:56 +0000)]
pass the patron barcode into the opac when embedded in the patron display, and use the remote xul opac wrapper for now to get around a security bump

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12276 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agowe're kicking xulrunner 1.8 to the curb with trunk
phasefx [Mon, 23 Feb 2009 22:26:50 +0000 (22:26 +0000)]
we're kicking xulrunner 1.8 to the curb with trunk

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12275 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agotreat '' as null only when otherwise not dealt with.. '' == false in checkboxes
erickson [Mon, 23 Feb 2009 16:14:44 +0000 (16:14 +0000)]
treat '' as null only when otherwise not dealt with.. '' == false in checkboxes

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12274 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoMove onload attribute methods from OPAC pages to Dojo.addOnLoad().
dbs [Mon, 23 Feb 2009 06:12:41 +0000 (06:12 +0000)]
Move onload attribute methods from OPAC pages to Dojo.addOnLoad().
Tabify things a little bit for consistency.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12273 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoIn SELECT(): if selhash is not NULL and is not a JSON_HASH,
scottmk [Mon, 23 Feb 2009 05:09:23 +0000 (05:09 +0000)]
In SELECT(): if selhash is not NULL and is not a JSON_HASH,
complain immediately instead of constructing a query that
is bound to fail.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12272 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoAdd explicit UTF8 encoding header for MARC View in staff client. Closes #42.
dbs [Mon, 23 Feb 2009 00:52:53 +0000 (00:52 +0000)]
Add explicit UTF8 encoding header for MARC View in staff client. Closes #42.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12269 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoIn the FROM clause: detect and report invalid classes up front,
scottmk [Mon, 23 Feb 2009 00:14:05 +0000 (00:14 +0000)]
In the FROM clause: detect and report invalid classes up front,
instead of building a query that is bound to fail.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12268 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoFix fixed fields editor. Closes #41
dbs [Sun, 22 Feb 2009 21:23:54 +0000 (21:23 +0000)]
Fix fixed fields editor. Closes #41

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12265 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoinsert org-setting perms. added an _ALL perm to override the individual perms
erickson [Sun, 22 Feb 2009 16:42:57 +0000 (16:42 +0000)]
insert org-setting perms.  added an _ALL perm to override the individual perms

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12263 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoIn SELECT(): replaced an osrfStringArray with an osrfHashIterator, in
scottmk [Sun, 22 Feb 2009 14:30:41 +0000 (14:30 +0000)]
In SELECT(): replaced an osrfStringArray with an osrfHashIterator, in
order to reduce the number of mallocs and frees when traversing an osrfHash.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12262 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agopref for disabling accesskeys on tabs
phasefx [Sun, 22 Feb 2009 06:34:10 +0000 (06:34 +0000)]
pref for disabling accesskeys on tabs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12261 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoborrowed browser.css from the winstripe theme, which correctly styles the close tab...
phasefx [Sun, 22 Feb 2009 05:45:12 +0000 (05:45 +0000)]
borrowed browser.css from the winstripe theme, which correctly styles the close tab button that was always there but we never saw. :)  Wired that button up

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12260 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoadded link to show/hide non-required fields
erickson [Sun, 22 Feb 2009 01:57:52 +0000 (01:57 +0000)]
added link to show/hide non-required fields

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12259 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: a network progress meter. It's not wired...
phasefx [Sun, 22 Feb 2009 01:19:55 +0000 (01:19 +0000)]
backporting from staff-client-experiment: a network progress meter.  It's not wired into the HTML interfaces embedded in the staff client

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12258 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: venkman is now loaded/configured once in...
phasefx [Sun, 22 Feb 2009 01:19:04 +0000 (01:19 +0000)]
backporting from staff-client-experiment: venkman is now loaded/configured once in the login window

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12257 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: more entry points for those developer tools...
phasefx [Sun, 22 Feb 2009 01:18:22 +0000 (01:18 +0000)]
backporting from staff-client-experiment: more entry points for those developer tools, and re-locating Vandelay's position in the menu

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12256 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: tar up the build/ directory for convenience
phasefx [Sun, 22 Feb 2009 01:08:58 +0000 (01:08 +0000)]
backporting from staff-client-experiment: tar up the build/ directory for convenience

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12255 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: refactor the remote xul opac wrapper. ...
phasefx [Sun, 22 Feb 2009 01:07:49 +0000 (01:07 +0000)]
backporting from staff-client-experiment: refactor the remote xul opac wrapper.  But sadly, a browser element in remote xul can't utilize back/forward history navigation, so we're still using the chrome version for now

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12254 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: try out tracemonkey and a pref for enabling...
phasefx [Sun, 22 Feb 2009 01:06:37 +0000 (01:06 +0000)]
backporting from staff-client-experiment: try out tracemonkey and a pref for enabling the debug buttons in the login window

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12253 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: make these interfaces subject to font-size...
phasefx [Sun, 22 Feb 2009 01:05:32 +0000 (01:05 +0000)]
backporting from staff-client-experiment: make these interfaces subject to font-size adjustments

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12252 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: toward placing holds for patrons without...
phasefx [Sun, 22 Feb 2009 01:04:40 +0000 (01:04 +0000)]
backporting from staff-client-experiment: toward placing holds for patrons without the clipboard

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12251 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: some layout experiments with patron display
phasefx [Sun, 22 Feb 2009 01:03:54 +0000 (01:03 +0000)]
backporting from staff-client-experiment: some layout experiments with patron display

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12250 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: entry points for some of these extensions...
phasefx [Sun, 22 Feb 2009 00:57:29 +0000 (00:57 +0000)]
backporting from staff-client-experiment: entry points for some of these extensions, and the start of the chrome_xulG experiment (one cross-window global object that unlike OpenILS.data can support .watch, DOM nodes, and functions)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12249 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: all the I18N'ed text. Sadly it's not easy...
phasefx [Sun, 22 Feb 2009 00:54:16 +0000 (00:54 +0000)]
backporting from staff-client-experiment: all the I18N'ed text.  Sadly it's not easy for me to pick these out and bundle them with other changesets

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12248 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: we're starting to put functions, DOM nodes...
phasefx [Sun, 22 Feb 2009 00:52:26 +0000 (00:52 +0000)]
backporting from staff-client-experiment: we're starting to put functions, DOM nodes, and recursrive data structures into xulG now, so now js2JSON in log statements here

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12247 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: upgrade javascript shell
phasefx [Sun, 22 Feb 2009 00:51:03 +0000 (00:51 +0000)]
backporting from staff-client-experiment: upgrade javascript shell

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12246 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: refactor standard list actions (the ones...
phasefx [Sun, 22 Feb 2009 00:50:31 +0000 (00:50 +0000)]
backporting from staff-client-experiment: refactor standard list actions (the ones applicable to all lists)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12245 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: tweak the manifest for Venkman, DOM Inspect...
phasefx [Sun, 22 Feb 2009 00:42:33 +0000 (00:42 +0000)]
backporting from staff-client-experiment: tweak the manifest for Venkman, DOM Inspector, and Chrome List

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12244 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: Chrome List, another useful extension
phasefx [Sun, 22 Feb 2009 00:41:42 +0000 (00:41 +0000)]
backporting from staff-client-experiment: Chrome List, another useful extension

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12243 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: tie in the DOM Inspector
phasefx [Sun, 22 Feb 2009 00:40:47 +0000 (00:40 +0000)]
backporting from staff-client-experiment: tie in the DOM Inspector

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12242 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agobackporting from staff-client-experiment: upgrade venkman
phasefx [Sun, 22 Feb 2009 00:39:56 +0000 (00:39 +0000)]
backporting from staff-client-experiment: upgrade venkman

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12241 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years ago1. Added two new functions, oilsIDL_links and oilsIDL_fields. They
scottmk [Sat, 21 Feb 2009 23:56:29 +0000 (23:56 +0000)]
1. Added two new functions, oilsIDL_links and oilsIDL_fields.  They
return pointers to the links oar fields hash of the IDL, respectively,
for a specified class.  They do not use oilsIDLFindPath() or any form
of strtok().

2. Applied the new oilsIDL_fields function in oilsIDL_ntop()
and oilsIDl_pton().

3. Applied the new oilsIDOL_links function to a couple of spots
in oils_cstore.c, to avoid the inefficient oilsIDLFindPath function.

4. Eliminated a couple of unnecessary lookups for class names that
are already in hand.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12240 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoSmall correction to documentation (password value is md5sum'ed before being concatena...
dbs [Thu, 19 Feb 2009 22:45:13 +0000 (22:45 +0000)]
Small correction to documentation (password value is md5sum'ed before being concatenated to init seed value).
Fix typo in log entry (it's about time timetouts was fixed)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12239 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agofixed action button when readonly hiding logic
erickson [Thu, 19 Feb 2009 16:35:14 +0000 (16:35 +0000)]
fixed action button when readonly hiding logic

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12234 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoIn searchJOIN(): avoided a segfault that would otherwise happen
scottmk [Thu, 19 Feb 2009 16:07:39 +0000 (16:07 +0000)]
In searchJOIN(): avoided a segfault that would otherwise happen
if the JSON query tried to join to a class not defined in the IDL.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12233 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoadd a little focus style
erickson [Thu, 19 Feb 2009 15:33:59 +0000 (15:33 +0000)]
add a little focus style

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12232 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoIn searchJOIN: substantially rewrote the code for the condition where
scottmk [Thu, 19 Feb 2009 02:12:46 +0000 (02:12 +0000)]
In searchJOIN: substantially rewrote the code for the condition where
the JSON query specifies neither of the join columns.

1. Corrected an apparent bug whereby we could join in only one
direction, even when a join in the opposite direction was
valid and equivalent.

2. Rewrote the search loops for better performance.

3. When testing for the success of the searches for join columns,
success should mean that we have identified both columns.  Identifying
just one isn't enough.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12227 dcc99617-32d9-48b4-a31d-7c20da2025e4

11 years agoCorrect an error in the link specification for class asv.
scottmk [Wed, 18 Feb 2009 21:25:48 +0000 (21:25 +0000)]
Correct an error in the link specification for class asv.
(Class aou doesn't have a "survey" field.)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@12223 dcc99617-32d9-48b4-a31d-7c20da2025e4