]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agoadded onchange to copy new barcodes into usrname field
erickson [Wed, 18 Feb 2009 17:15:13 +0000 (17:15 +0000)]
added onchange to copy new barcodes into usrname field

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

15 years agosearchJOIN() was segfaulting when the FROM clause was of
scottmk [Wed, 18 Feb 2009 07:51:39 +0000 (07:51 +0000)]
searchJOIN() was segfaulting when the FROM clause was of
the form "from": { "xxx":"yyy" }.  Reason: we were
freeing freeable_hash prematurely.  Fixed.

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

15 years agoAvoid syntax errors due to mix of multi-valued INSERT clauses and single-valued INSER...
dbs [Wed, 18 Feb 2009 04:55:26 +0000 (04:55 +0000)]
Avoid syntax errors due to mix of multi-valued INSERT clauses and single-valued INSERT clauses
Avoid duplicate key error in that pesky permissions list

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

15 years agoinitial dojo-ified xul glue
erickson [Wed, 18 Feb 2009 04:52:25 +0000 (04:52 +0000)]
initial dojo-ified xul glue

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

15 years agoadded onchange to set expire date based on profile group selected
erickson [Wed, 18 Feb 2009 04:49:20 +0000 (04:49 +0000)]
added onchange to set expire date based on profile group selected

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

15 years agodojo-based interval2seconds
erickson [Wed, 18 Feb 2009 04:48:34 +0000 (04:48 +0000)]
dojo-based interval2seconds

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

15 years agoIn searchJOIN(): added a bit of sanity checking, to prevent
scottmk [Tue, 17 Feb 2009 23:19:16 +0000 (23:19 +0000)]
In searchJOIN(): added a bit of sanity checking, to prevent
segfaults induced by certain kinds of malformed JSOn queries.

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

15 years agoallow for the setting of the page title from the sub-template
erickson [Tue, 17 Feb 2009 22:57:37 +0000 (22:57 +0000)]
allow for the setting of the page title from the sub-template

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

15 years agoplugged in new/delete addr handling
erickson [Tue, 17 Feb 2009 22:50:41 +0000 (22:50 +0000)]
plugged in new/delete addr handling

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

15 years agoadded int/float widgets
erickson [Tue, 17 Feb 2009 22:49:37 +0000 (22:49 +0000)]
added int/float widgets

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

15 years agoexplicitly load Util
erickson [Tue, 17 Feb 2009 18:06:57 +0000 (18:06 +0000)]
explicitly load Util

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

15 years agoadded batch org setting method
erickson [Tue, 17 Feb 2009 18:06:36 +0000 (18:06 +0000)]
added batch org setting method

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

15 years agorepaired org setting calls. added static version so no org-unit reference is required
erickson [Tue, 17 Feb 2009 18:06:13 +0000 (18:06 +0000)]
repaired org setting calls.  added static version so no org-unit reference is required

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

15 years agoLet's build test_json_query as part of autotools
dbs [Tue, 17 Feb 2009 16:42:10 +0000 (16:42 +0000)]
Let's build test_json_query as part of autotools

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

15 years agoplugged in saving of new users
erickson [Tue, 17 Feb 2009 16:12:46 +0000 (16:12 +0000)]
plugged in saving of new users

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

15 years agopcrud entries for ident_type
erickson [Tue, 17 Feb 2009 15:40:53 +0000 (15:40 +0000)]
pcrud entries for ident_type

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

15 years agouse colspan 0 to span the table length
erickson [Tue, 17 Feb 2009 14:20:07 +0000 (14:20 +0000)]
use colspan 0 to span the table length

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

15 years agoOpened a window into the innards of oils_cstore.c.
scottmk [Tue, 17 Feb 2009 14:03:35 +0000 (14:03 +0000)]
Opened a window into the innards of oils_cstore.c.

1. Gave external linkage to the SELECT function.

2. Added a new test_json_query.c, which calls the newly extern
SELECT() to translate a JSON query into SQL.  To be used for
testing, debugging, and troubleshooting.  Note that this
utility calls SELECT() by normal linkage, not by dynamic
loading.

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

15 years agoen-US is better than no MARC editor tooltips at all; but we really need to HEAD the...
dbs [Tue, 17 Feb 2009 04:59:13 +0000 (04:59 +0000)]
en-US is better than no MARC editor tooltips at all; but we really need to HEAD the requested locale

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

15 years agoplugged in surveys
erickson [Tue, 17 Feb 2009 04:10:06 +0000 (04:10 +0000)]
plugged in surveys

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

15 years agostat cat entries plugged in
erickson [Tue, 17 Feb 2009 03:34:13 +0000 (03:34 +0000)]
stat cat entries plugged in

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

15 years agoinitial plugin of staff-cats
erickson [Tue, 17 Feb 2009 02:30:46 +0000 (02:30 +0000)]
initial plugin of staff-cats

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

15 years agoexperimental flattened/idl-aware user editor that takes advantage of auto-widgets...
erickson [Mon, 16 Feb 2009 22:00:06 +0000 (22:00 +0000)]
experimental flattened/idl-aware user editor that takes advantage of auto-widgets and field-docs (i.e. context help)

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

15 years agoplugged in perm group tree builder
erickson [Mon, 16 Feb 2009 21:55:52 +0000 (21:55 +0000)]
plugged in perm group tree builder

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

15 years agoin addition to the field list, provide a name-based hash for faster/simpler runtime...
erickson [Mon, 16 Feb 2009 18:55:09 +0000 (18:55 +0000)]
in addition to the field list, provide a name-based hash for faster/simpler runtime lookup

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

15 years agoEnable local administrators to run / view / share reports by default
dbs [Mon, 16 Feb 2009 02:14:28 +0000 (02:14 +0000)]
Enable local administrators to run / view / share reports by default

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

15 years agogrammar-o. Thanks Trinculo!
phasefx [Sun, 15 Feb 2009 22:30:44 +0000 (22:30 +0000)]
grammar-o.  Thanks Trinculo!

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

15 years agoCast LOWER arguments explicitly to text to deal with LOWER(id) - throws an exception...
dbs [Sun, 15 Feb 2009 18:53:56 +0000 (18:53 +0000)]
Cast LOWER arguments explicitly to text to deal with LOWER(id) - throws an exception on PostgreSQL 8.3

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

15 years agolinked in some more UI's
erickson [Sun, 15 Feb 2009 16:58:57 +0000 (16:58 +0000)]
linked in some more UI's

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

15 years agoadded store reset func
erickson [Sun, 15 Feb 2009 16:41:22 +0000 (16:41 +0000)]
added store reset func

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

15 years agodon't apply on-enter-equals-submit handler, cuz enter is conventiently used in variou...
erickson [Sun, 15 Feb 2009 16:39:19 +0000 (16:39 +0000)]
don't apply on-enter-equals-submit handler, cuz enter is conventiently used in various widgets to select values

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

15 years ago1. in searchJOIN(): fixed a bug in a couple of loops that search for
scottmk [Sun, 15 Feb 2009 02:40:40 +0000 (02:40 +0000)]
1. in searchJOIN(): fixed a bug in a couple of loops that search for
links in the IDL.  We were incrementing the index twice in each
iteration, and thereby examining only ever other entry.

2. Constified a couple of character pointers.

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

15 years agoupdated to match new fm_class field name
erickson [Sat, 14 Feb 2009 17:28:50 +0000 (17:28 +0000)]
updated to match new fm_class field name

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

15 years agocannot use "classname", we have reserved that in the js, and perl uses class_name...
miker [Sat, 14 Feb 2009 01:11:31 +0000 (01:11 +0000)]
cannot use "classname", we have reserved that in the js, and perl uses class_name. so, we will use fm_class

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