working/Evergreen.git
10 years agologic error on due_date check
erickson [Wed, 4 Mar 2009 21:18:14 +0000 (21:18 +0000)]
logic error on due_date check

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

10 years agostub for mark-item-lost reactor
erickson [Wed, 4 Mar 2009 21:17:37 +0000 (21:17 +0000)]
stub for mark-item-lost reactor

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

10 years agoalternative horizontal patron search interface
phasefx [Wed, 4 Mar 2009 18:47:21 +0000 (18:47 +0000)]
alternative horizontal patron search interface

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

10 years agoless noise
phasefx [Wed, 4 Mar 2009 16:30:55 +0000 (16:30 +0000)]
less noise

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

10 years agodo not look for transaction summaries if there are no transactions
miker [Wed, 4 Mar 2009 15:26:40 +0000 (15:26 +0000)]
do not look for transaction summaries if there are no transactions

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

10 years agofix the patron editor and patron embedded hold placement fight. need unique URL...
phasefx [Wed, 4 Mar 2009 15:16:22 +0000 (15:16 +0000)]
fix the patron editor and patron embedded hold placement fight.  need unique URL's when using my deck wrapper

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

10 years agoneeded an extra argument for oils_i18n_gettext
phasefx [Wed, 4 Mar 2009 14:10:48 +0000 (14:10 +0000)]
needed an extra argument for oils_i18n_gettext

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

10 years agorepaired array positions
erickson [Wed, 4 Mar 2009 14:05:22 +0000 (14:05 +0000)]
repaired array positions

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

10 years agoadded some org unit settings that we'll be needing.
erickson [Wed, 4 Mar 2009 03:49:51 +0000 (03:49 +0000)]
added some org unit settings that we'll be needing.

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

10 years agoproperly adjust max_cn and max_uri; tabs to spaces in Ingest.pm; only create callnumb...
miker [Wed, 4 Mar 2009 03:11:02 +0000 (03:11 +0000)]
properly adjust max_cn and max_uri; tabs to spaces in Ingest.pm; only create callnumbers once

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

10 years agoCommit Z39.50 attributes for ‡biblios.net as well (duh)
dbs [Wed, 4 Mar 2009 03:04:45 +0000 (03:04 +0000)]
Commit Z39.50 attributes for ‡biblios.net as well (duh)

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

10 years agoAdd ‡biblios.net as one of the default Z39.50 targets
dbs [Wed, 4 Mar 2009 03:00:35 +0000 (03:00 +0000)]
Add ‡biblios.net as one of the default Z39.50 targets

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

10 years agoindent cleanup and guarding against the no-URI-cns case
miker [Wed, 4 Mar 2009 02:16:38 +0000 (02:16 +0000)]
indent cleanup and guarding against the no-URI-cns case

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

10 years agotypo -- must have hit "x" at the wrong time
miker [Wed, 4 Mar 2009 01:45:06 +0000 (01:45 +0000)]
typo -- must have hit "x" at the wrong time

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

10 years agoWhen fetching "primitive" and "datatype" from the IDL:
scottmk [Tue, 3 Mar 2009 23:04:19 +0000 (23:04 +0000)]
When fetching "primitive" and "datatype" from the IDL:
default to "string" and "NUMERIC", respectively, provided that
osrfAppChildInit() hasn't run.

The purpose is to avoid segfaults when running code in a
testbed instead of a service, because in that case the
"primitive" and "datatype" tags are not loaded.

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

10 years agoplugged in some template toolkit helpers
erickson [Tue, 3 Mar 2009 22:54:00 +0000 (22:54 +0000)]
plugged in some template toolkit helpers

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

10 years agoreturn the atev objects, not the trigger::event objects which, incidentally, send...
erickson [Tue, 3 Mar 2009 21:49:34 +0000 (21:49 +0000)]
return the atev objects, not the trigger::event objects which, incidentally, send perl2json into a mem-gobble tailspin, presumably from cicular refs

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

10 years agopull last updated event from db for timestamp updates
erickson [Tue, 3 Mar 2009 21:47:46 +0000 (21:47 +0000)]
pull last updated event from db for timestamp updates

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

10 years agostrict compare, since 0 == '' (awesome)
erickson [Tue, 3 Mar 2009 20:25:36 +0000 (20:25 +0000)]
strict compare, since 0 == '' (awesome)

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

10 years agofixed editing number widgets, setting ischanged on user
erickson [Tue, 3 Mar 2009 20:25:10 +0000 (20:25 +0000)]
fixed editing number widgets, setting ischanged on user

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

10 years agoEnable display of OpenSRF API documentation by default
dbs [Tue, 3 Mar 2009 19:40:11 +0000 (19:40 +0000)]
Enable display of OpenSRF API documentation by default

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

10 years agoAdd more copy-status changing methods to open-ils.circ - with documentation.
dbs [Tue, 3 Mar 2009 18:57:24 +0000 (18:57 +0000)]
Add more copy-status changing methods to open-ils.circ - with documentation.

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

10 years agoJavaScript syntax error was preventing item check-in from "Items Out" page
dbs [Tue, 3 Mar 2009 16:47:26 +0000 (16:47 +0000)]
JavaScript syntax error was preventing item check-in from "Items Out" page

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

10 years agoplugged in user editing, with a few remaining bugs to squash
erickson [Tue, 3 Mar 2009 16:30:02 +0000 (16:30 +0000)]
plugged in user editing, with a few remaining bugs to squash

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

10 years agoIn SELECT(): tweak the logic for handling the "aggregate" tag.
scottmk [Tue, 3 Mar 2009 16:25:09 +0000 (16:25 +0000)]
In SELECT(): tweak the logic for handling the "aggregate" tag.

Previously we would build a GROUP BY clause if any field
carried the "aggregate" tag, even if the associated value
was always false.  Now we respond to the "aggregate" tag
only if its value is true.

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

10 years agocut/paste/replace-o with properties
phasefx [Tue, 3 Mar 2009 15:58:41 +0000 (15:58 +0000)]
cut/paste/replace-o with properties

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

10 years agoreturn the underlying atev, which was the original intention
miker [Tue, 3 Mar 2009 15:19:48 +0000 (15:19 +0000)]
return the underlying atev, which was the original intention

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

10 years agowhen email sending fails, it's usually a template problem. Log the template (sans...
erickson [Tue, 3 Mar 2009 14:30:47 +0000 (14:30 +0000)]
when email sending fails, it's usually a template problem.  Log the template (sans newlines)

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

10 years agoadjusting direct ingest for URI support
miker [Tue, 3 Mar 2009 05:29:43 +0000 (05:29 +0000)]
adjusting direct ingest for URI support

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

10 years agofilling more fields in call numbers and URIs
miker [Tue, 3 Mar 2009 05:09:43 +0000 (05:09 +0000)]
filling more fields in call numbers and URIs

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

10 years agopass max_uri as well as max_cn
miker [Tue, 3 Mar 2009 04:58:13 +0000 (04:58 +0000)]
pass max_uri as well as max_cn

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

10 years agoprotect against multiple xact_begin's
erickson [Tue, 3 Mar 2009 04:19:41 +0000 (04:19 +0000)]
protect against multiple xact_begin's

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

10 years agoget the highest ID
miker [Tue, 3 Mar 2009 04:09:26 +0000 (04:09 +0000)]
get the highest ID

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

10 years agotypo
miker [Tue, 3 Mar 2009 02:40:52 +0000 (02:40 +0000)]
typo

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

10 years agoprovide a cstore object
miker [Tue, 3 Mar 2009 02:39:34 +0000 (02:39 +0000)]
provide a cstore object

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

10 years agogenerate call number IDs for batch ingest, and give some breathing room
miker [Tue, 3 Mar 2009 02:38:08 +0000 (02:38 +0000)]
generate call number IDs for batch ingest, and give some breathing room

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

10 years agofield is owning_lib, not owner
miker [Tue, 3 Mar 2009 02:19:02 +0000 (02:19 +0000)]
field is owning_lib, not owner

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

10 years agoperl does not appreciate the use of, um, "use" .. changing to "use_restriction"
miker [Tue, 3 Mar 2009 01:16:06 +0000 (01:16 +0000)]
perl does not appreciate the use of, um, "use" .. changing to "use_restriction"

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

10 years agoproper XPath
miker [Tue, 3 Mar 2009 00:58:27 +0000 (00:58 +0000)]
proper XPath

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

10 years agoerrant debuging removed
miker [Tue, 3 Mar 2009 00:51:08 +0000 (00:51 +0000)]
errant debuging removed

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

10 years agoparse the document before using XPath against it, doh!
miker [Tue, 3 Mar 2009 00:50:11 +0000 (00:50 +0000)]
parse the document before using XPath against it, doh!

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

10 years agorepairing var name typos/thinkos found with use strict
erickson [Mon, 2 Mar 2009 22:45:01 +0000 (22:45 +0000)]
repairing var name typos/thinkos found with use strict

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

10 years agoadd strict/warnings all around to ease debugging
erickson [Mon, 2 Mar 2009 22:35:19 +0000 (22:35 +0000)]
add strict/warnings all around to ease debugging

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

10 years agoarg, rolling back unintended commit. 12357 was supposed to be 1 file, not 4
erickson [Mon, 2 Mar 2009 22:30:58 +0000 (22:30 +0000)]
arg, rolling back unintended commit.  12357 was supposed to be 1 file, not 4

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

10 years agoadded strict/warnings. fixed params, clensing iso date before parsing
erickson [Mon, 2 Mar 2009 22:23:43 +0000 (22:23 +0000)]
added strict/warnings.  fixed params, clensing iso date before parsing

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

10 years agoleave existing intermediate objects alone in the path if they are already fleshed
miker [Mon, 2 Mar 2009 20:27:55 +0000 (20:27 +0000)]
leave existing intermediate objects alone in the path if they are already fleshed

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

10 years agomoved CSS out to skin/them files
erickson [Mon, 2 Mar 2009 19:50:40 +0000 (19:50 +0000)]
moved CSS out to skin/them files

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

10 years agoinitial addition of Conifer-sponsored electronic serials support. tests and docs...
miker [Mon, 2 Mar 2009 19:24:15 +0000 (19:24 +0000)]
initial addition of Conifer-sponsored electronic serials support.  tests and docs to come

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

10 years agoinsert overdue validator
erickson [Mon, 2 Mar 2009 18:01:30 +0000 (18:01 +0000)]
insert overdue validator

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

10 years agoadded CircIsOverdue validator
erickson [Mon, 2 Mar 2009 17:27:32 +0000 (17:27 +0000)]
added CircIsOverdue validator

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

10 years agomoved html tags out of text strings
erickson [Mon, 2 Mar 2009 16:50:21 +0000 (16:50 +0000)]
moved html tags out of text strings

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

10 years agoupdated some string labels to make them more specific. plugged in some style for...
erickson [Mon, 2 Mar 2009 16:09:32 +0000 (16:09 +0000)]
updated some string labels to make them more specific.  plugged in some style for testing.  next step, move to external css

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

10 years agoupdate grid after re-displaying it
erickson [Mon, 2 Mar 2009 15:59:25 +0000 (15:59 +0000)]
update grid after re-displaying it

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

10 years agohide the grid before pane is built so user gets immediate feedback, reducing chance...
erickson [Mon, 2 Mar 2009 15:44:05 +0000 (15:44 +0000)]
hide the grid before pane is built so user gets immediate feedback, reducing chance of re-clicks

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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