working/Evergreen.git
11 years agoEnable translated database strings the right way:
dbs [Thu, 21 Aug 2008 04:12:00 +0000 (04:12 +0000)]
Enable translated database strings the right way:
  * Use the primary key of the given table, in combination with class hint
    and property, to identify the translated string
  * Stuff the primary key into the PO comment field so we can round-trip it
  * Adjust the oils_i18n_gettext() function to accept the additional parameters,
    including both INT and TEXT primary keys
  * Adjust the database seed values to use explicit primary keys throughout,
    and adjust the use of oils_i18n_gettext() to pass the additiona parameters

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

11 years agoMake RemoteRequest.js work inside the staff client as well as the OPAC
dbs [Thu, 21 Aug 2008 01:56:29 +0000 (01:56 +0000)]
Make RemoteRequest.js work inside the staff client as well as the OPAC

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

11 years agouse utf8 instead of us-ascii for outbound xml
erickson [Wed, 20 Aug 2008 17:08:09 +0000 (17:08 +0000)]
use utf8 instead of us-ascii for outbound xml

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

11 years agolog the locale before the method name so it will still be possible to copy/paste...
erickson [Wed, 20 Aug 2008 14:42:58 +0000 (14:42 +0000)]
log the locale before the method name so it will still be possible to copy/paste method+params directly from log files

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

11 years agoVandelay item extraction and field removal; setting true AND false values for boolean...
miker [Wed, 20 Aug 2008 12:08:48 +0000 (12:08 +0000)]
Vandelay item extraction and field removal; setting true AND false values for booleans on export, instead of just the non-default value

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

11 years agorolling back recent change ... miscommunication on how i18n_core is used
miker [Wed, 20 Aug 2008 04:45:04 +0000 (04:45 +0000)]
rolling back recent change ... miscommunication on how i18n_core is used

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

11 years agoEnable retrieval of translated values based on table name
dbs [Wed, 20 Aug 2008 04:27:53 +0000 (04:27 +0000)]
Enable retrieval of translated values based on table name

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

11 years agoLog session locale as part of request
dbs [Wed, 20 Aug 2008 03:47:55 +0000 (03:47 +0000)]
Log session locale as part of request

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

11 years agoNow that we have a Dojo language picker, spread the locale-awareness
dbs [Tue, 19 Aug 2008 20:02:54 +0000 (20:02 +0000)]
Now that we have a Dojo language picker, spread the locale-awareness

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

11 years agoFirst cut at a complete translation for Armenian (thanks Tigran Zargaryan!)
dbs [Tue, 19 Aug 2008 13:42:18 +0000 (13:42 +0000)]
First cut at a complete translation for Armenian (thanks Tigran Zargaryan!)

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

11 years agoUpdate English string source files
dbs [Tue, 19 Aug 2008 13:41:28 +0000 (13:41 +0000)]
Update English string source files

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

11 years agoAvoid 'directory exists' errors
dbs [Sun, 17 Aug 2008 13:33:39 +0000 (13:33 +0000)]
Avoid 'directory exists' errors

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

11 years agoadd alternative title indexing by default (MARC 246, no ind2)
miker [Fri, 15 Aug 2008 20:38:50 +0000 (20:38 +0000)]
add alternative title indexing by default (MARC 246, no ind2)

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

11 years agoprotecting against (future) non-class root node children
miker [Fri, 15 Aug 2008 14:03:09 +0000 (14:03 +0000)]
protecting against (future) non-class root node children

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

11 years agoremove the default record format to allow none at all
miker [Thu, 14 Aug 2008 19:43:08 +0000 (19:43 +0000)]
remove the default record format to allow none at all

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

11 years agoprotecting against non-existent group in descendent check
erickson [Thu, 14 Aug 2008 18:26:31 +0000 (18:26 +0000)]
protecting against non-existent group in descendent check

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

11 years agoalso forgot to add it to the gigantic initialization list
sboyette [Thu, 14 Aug 2008 17:49:59 +0000 (17:49 +0000)]
also forgot to add it to the gigantic initialization list

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

11 years agoforgot a comma
sboyette [Thu, 14 Aug 2008 17:49:10 +0000 (17:49 +0000)]
forgot a comma

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

11 years agosplit on commas and space to handle csv files.. but need to be wary, some barcodes...
phasefx [Thu, 14 Aug 2008 16:09:25 +0000 (16:09 +0000)]
split on commas and space to handle csv files.. but need to be wary, some barcodes do have punctuation

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

11 years agoNew flag, --use901. Passing this flag causes the preprocess() routine to be bypassed...
sboyette [Wed, 13 Aug 2008 22:11:57 +0000 (22:11 +0000)]
New flag, --use901. Passing this flag causes the preprocess() routine to be bypassed, as well as all secondary code related to it (basically, anything that references $tcn)

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

11 years agoprotect against a 0 grace period
miker [Wed, 13 Aug 2008 02:22:07 +0000 (02:22 +0000)]
protect against a 0 grace period

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

11 years agoBecause I'm a stickler for names :)
dbs [Wed, 13 Aug 2008 02:00:00 +0000 (02:00 +0000)]
Because I'm a stickler for names :)

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

11 years agoMoving metabib.full_rec out of the way, replacing it with a suitably constrained...
miker [Wed, 13 Aug 2008 01:06:40 +0000 (01:06 +0000)]
Moving metabib.full_rec out of the way, replacing it with a suitably constrained and ruled-up view.  This addresses an indexing issue caused by the length of values stored in the, um, value column.  The purpose is to allow extremely large note and ToC fields without adding explicit support for over-long indexed fields directly to Postgres.  While possible, it can be a pain.

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

12 years agosetting expire interval based on perm_interval of group
erickson [Mon, 11 Aug 2008 23:01:17 +0000 (23:01 +0000)]
setting expire interval based on perm_interval of group

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

12 years agodisplay expire date on myopac hold list. if hold expire is less than the expire...
erickson [Mon, 11 Aug 2008 20:49:21 +0000 (20:49 +0000)]
display expire date on myopac hold list.  if hold expire is less than the expire alert interval, style the expire date

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

12 years agoshow default expiration date in hold editor and allow for expire date editing. pass...
erickson [Mon, 11 Aug 2008 19:30:50 +0000 (19:30 +0000)]
show default expiration date in hold editor and allow for expire date editing.  pass a JS date to the dijit datebox setValue call

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

12 years agoif hold expire time is set, do not clobber
erickson [Mon, 11 Aug 2008 19:29:33 +0000 (19:29 +0000)]
if hold expire time is set, do not clobber

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

12 years agopull circ mods from the db and not the settings server
erickson [Mon, 11 Aug 2008 18:35:35 +0000 (18:35 +0000)]
pull circ mods from the db and not the settings server

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

12 years agodisable org select if requestor does not have the change-pickup-lib while on holds...
erickson [Mon, 11 Aug 2008 17:32:34 +0000 (17:32 +0000)]
disable org select if requestor does not have the change-pickup-lib while on holds shelf perm

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

12 years agoallow the pickup lib on a hold to be altered (and subsequently put item into transit...
erickson [Mon, 11 Aug 2008 17:06:35 +0000 (17:06 +0000)]
allow the pickup lib on a hold to be altered (and subsequently put item into transit to new lib) given permissions.  still need to put a perm-check in the opac to prevent giving the option

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

12 years agono need to fetch patron on item checkin
erickson [Mon, 11 Aug 2008 17:05:16 +0000 (17:05 +0000)]
no need to fetch patron on item checkin

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

12 years agochanged workstation by name fetcher to cstore
erickson [Mon, 11 Aug 2008 15:35:43 +0000 (15:35 +0000)]
changed workstation by name fetcher to cstore

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

12 years agouse of the cat.util library is widespread, and since it doesn't load its own strings....
phasefx [Mon, 11 Aug 2008 15:34:37 +0000 (15:34 +0000)]
use of the cat.util library is widespread, and since it doesn't load its own strings....

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

12 years agoreturn workstation not found even if the results is a JSON NULL. free the NULL object
erickson [Mon, 11 Aug 2008 15:11:35 +0000 (15:11 +0000)]
return workstation not found even if the results is a JSON NULL.  free the NULL object

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

12 years agoadd a note about how to reload this portion of the schema, and from whence to retriev...
miker [Mon, 11 Aug 2008 01:05:06 +0000 (01:05 +0000)]
add a note about how to reload this portion of the schema, and from whence to retrieve the default seed data

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

12 years agoallow blocked users to be stopped from placing holds (clear as mud, eh?)
miker [Mon, 11 Aug 2008 00:11:18 +0000 (00:11 +0000)]
allow blocked users to be stopped from placing holds (clear as mud, eh?)

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

12 years agosend actual value; no wrapping array, just a string; note about future improvement
miker [Sun, 10 Aug 2008 18:59:38 +0000 (18:59 +0000)]
send actual value; no wrapping array, just a string; note about future improvement

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

12 years agovalidate all controlled subfields in a tag
miker [Sun, 10 Aug 2008 18:18:30 +0000 (18:18 +0000)]
validate all controlled subfields in a tag

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

12 years agomore staged search configurability and acuracy
miker [Sun, 10 Aug 2008 05:34:55 +0000 (05:34 +0000)]
more staged search configurability and acuracy

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

12 years agomake staged search result calcuation more configurable
miker [Sun, 10 Aug 2008 03:49:21 +0000 (03:49 +0000)]
make staged search result calcuation more configurable

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

12 years agofix Cancel button in volume editor
phasefx [Fri, 8 Aug 2008 15:37:24 +0000 (15:37 +0000)]
fix Cancel button in volume editor

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

12 years agoyaz change; will complain of bad xml format otherwise
phasefx [Fri, 8 Aug 2008 14:39:38 +0000 (14:39 +0000)]
yaz change; will complain of bad xml format otherwise

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

12 years agoplugged in SMTP handling. also, with this version, if the SMTP transaction fails...
erickson [Thu, 7 Aug 2008 20:37:48 +0000 (20:37 +0000)]
plugged in SMTP handling.  also, with this version, if the SMTP transaction fails, the notice is added to the global notice set (if applicable)

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

12 years agofix up some spacing
erickson [Thu, 7 Aug 2008 20:36:50 +0000 (20:36 +0000)]
fix up some spacing

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

12 years agoadded logic for generating a template from the combined overdue data (e.g. xml file...
erickson [Thu, 7 Aug 2008 19:33:15 +0000 (19:33 +0000)]
added logic for generating a template from the combined overdue data (e.g. xml file).  added sample combined xml file.

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

12 years agodisplaying title/author and extracted due date. falling back to billing addr if...
erickson [Thu, 7 Aug 2008 17:16:30 +0000 (17:16 +0000)]
displaying title/author and extracted due date.  falling back to billing addr if library mailing addr is unset

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

12 years agoadded logic for extracting title, author (and potentiall other attributes) from the...
erickson [Thu, 7 Aug 2008 17:13:53 +0000 (17:13 +0000)]
added logic for extracting title, author (and potentiall other attributes) from the bib and to break apart the due date so the template can display however it likes

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

12 years agopreserve the entire url with query string in redirects
erickson [Thu, 7 Aug 2008 15:23:13 +0000 (15:23 +0000)]
preserve the entire url with query string in redirects

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

12 years agoAdd a --required_field option to enable skipping records that don't contain a require...
dbs [Thu, 7 Aug 2008 15:08:26 +0000 (15:08 +0000)]
Add a --required_field option to enable skipping records that don't contain a required field

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

12 years agoPer Brandon Uhlmann's suggestion, speed up loading of bibs by automatically disabling...
dbs [Thu, 7 Aug 2008 14:30:43 +0000 (14:30 +0000)]
Per Brandon Uhlmann's suggestion, speed up loading of bibs by automatically disabling/reenabling materialized record trigger

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

12 years agoPer Brandon Uhlmann's suggestion, speed up bibloading by automatically disabling...
dbs [Thu, 7 Aug 2008 14:23:16 +0000 (14:23 +0000)]
Per Brandon Uhlmann's suggestion, speed up bibloading by automatically disabling/reenabling materialized record trigger

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

12 years agoreturn to login page if auth fails, existing auth session has timed out, or existing...
erickson [Thu, 7 Aug 2008 13:49:48 +0000 (13:49 +0000)]
return to login page if auth fails, existing auth session has timed out, or existing auth session does not have required perms

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

12 years agopull org location from URL param "l" .. default to org tree root
erickson [Thu, 7 Aug 2008 13:28:50 +0000 (13:28 +0000)]
pull org location from URL param "l" .. default to org tree root

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

12 years agoRemoved global pre/post chomp template config. make judicious use of [%- -%] instead.
erickson [Thu, 7 Aug 2008 12:52:47 +0000 (12:52 +0000)]
Removed global pre/post chomp template config.  make judicious use of [%- -%] instead.

Thanks for the tip, Mike

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

12 years agochanging default hold pull list limit to 100
erickson [Thu, 7 Aug 2008 02:57:07 +0000 (02:57 +0000)]
changing default hold pull list limit to 100

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

12 years agoused decomposed characters -- mostly for consistency with other recent changes
miker [Thu, 7 Aug 2008 02:35:48 +0000 (02:35 +0000)]
used decomposed characters -- mostly for consistency with other recent changes

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

12 years agoadded example config for over/pre due notices
erickson [Thu, 7 Aug 2008 02:34:51 +0000 (02:34 +0000)]
added example config for over/pre due notices

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

12 years agoadding some example templates. need to add locale blocks and do some more pre-run...
erickson [Thu, 7 Aug 2008 02:30:47 +0000 (02:30 +0000)]
adding some example templates.  need to add locale blocks and do some more pre-run data munging

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

12 years agoPlugged in template processing
erickson [Thu, 7 Aug 2008 02:26:14 +0000 (02:26 +0000)]
Plugged in template processing

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

12 years agouse decomposed characters where possible, for the sake of JSON::XS
miker [Thu, 7 Aug 2008 02:23:43 +0000 (02:23 +0000)]
use decomposed characters where possible, for the sake of JSON::XS

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

12 years agodon't re-fetch the user and circ lib on a batch. use editor for initial query (good...
erickson [Wed, 6 Aug 2008 22:05:28 +0000 (22:05 +0000)]
don't re-fetch the user and circ lib on a batch.  use editor for initial query (good for logging)

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

12 years agoThis is a remodeled version of Evergreen/src/support-scripts/eg_gen_overdue.pl.
erickson [Wed, 6 Aug 2008 21:33:40 +0000 (21:33 +0000)]
This is a remodeled version of Evergreen/src/support-scripts/eg_gen_overdue.pl.

This version is built to work for both overdue and predue (courtesy) notices.

What we have so far is circ searching and retrieval of associated data.

TODO
- Add some tuning for sub-day notice intervals
- Plug in Template Toolkit for template generation
- Set up and test emailing of templates
- Handle global XML file generation (send all loaded data to a TT XML template as a last step?)
- Add sample templates to repo
- Add sample config to opensrf.xml.example

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

12 years agoSort our Debian package list as it's getting unruly
dbs [Wed, 6 Aug 2008 19:19:09 +0000 (19:19 +0000)]
Sort our Debian package list as it's getting unruly

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

12 years agoAdd autoconf and automake for Debian (not part of build-essential? geez!)
dbs [Wed, 6 Aug 2008 19:17:49 +0000 (19:17 +0000)]
Add autoconf and automake for Debian (not part of build-essential? geez!)
Add an explicit shell and vim formatting modeline

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

12 years agodon't consider deleted volumes in callnumber browse
erickson [Wed, 6 Aug 2008 15:42:00 +0000 (15:42 +0000)]
don't consider deleted volumes in callnumber browse

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

12 years agoadding 1.2.2.3 to 1.2.3.0 upgrade script
miker [Wed, 6 Aug 2008 02:02:04 +0000 (02:02 +0000)]
adding 1.2.2.3 to 1.2.3.0 upgrade script

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

12 years agoallow NULL as a parameter in transforms and FROM clause functions
miker [Wed, 6 Aug 2008 01:47:35 +0000 (01:47 +0000)]
allow NULL as a parameter in transforms and FROM clause functions

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

12 years agoAdded support for using in-database hold permit logic.
erickson [Tue, 5 Aug 2008 18:01:59 +0000 (18:01 +0000)]
Added support for using in-database hold permit logic.
This code abides by the legacy_script_support setting to determine which
permit style should be used

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

12 years agothe existing if/else construct was forcing the proximity call regardless of whether...
erickson [Tue, 5 Aug 2008 17:55:36 +0000 (17:55 +0000)]
the existing if/else construct was forcing the proximity call regardless of whether the cached value existed.  changed and tested

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

12 years agoAdd test for JSON::XS (per Syd Weidman's suggestion)
dbs [Tue, 5 Aug 2008 17:17:47 +0000 (17:17 +0000)]
Add test for JSON::XS (per Syd Weidman's suggestion)

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

12 years agocatch server errors on checkout, clear the pending transaction flag, store the except...
erickson [Tue, 5 Aug 2008 12:42:34 +0000 (12:42 +0000)]
catch server errors on checkout, clear the pending transaction flag, store the exception text in a hidden div as a debugging tool

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

12 years agono need to bail out on no-copy. if precat, send null copy id to circ test
erickson [Tue, 5 Aug 2008 12:34:03 +0000 (12:34 +0000)]
no need to bail out on no-copy.  if precat, send null copy id to circ test

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

12 years agoUpdated translations from Tigran Zargaryan - for early testing of 1.4 release
dbs [Tue, 5 Aug 2008 03:15:03 +0000 (03:15 +0000)]
Updated translations from Tigran Zargaryan - for early testing of 1.4 release

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

12 years agoAdd an "install" target to place built i18n files into the correct location in the...
dbs [Tue, 5 Aug 2008 03:12:18 +0000 (03:12 +0000)]
Add an "install" target to place built i18n files into the correct location in the source tree

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

12 years agofixed syntax error in elseif. fixed undefined reference to service
erickson [Mon, 4 Aug 2008 21:42:27 +0000 (21:42 +0000)]
fixed syntax error in elseif.  fixed undefined reference to service

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

12 years agomoved duration, recurring fine, and max fine generation out to separate method for...
erickson [Mon, 4 Aug 2008 19:15:51 +0000 (19:15 +0000)]
moved duration, recurring fine, and max fine generation out to separate method for sharing
moved max fine percent calc to it's own method as well

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

12 years agofleshed out the inspect call to return more info in an easier to parse/read fashion
erickson [Mon, 4 Aug 2008 18:05:45 +0000 (18:05 +0000)]
fleshed out the inspect call to return more info in an easier to parse/read fashion

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

12 years agotypo on stored proc name
erickson [Mon, 4 Aug 2008 17:34:06 +0000 (17:34 +0000)]
typo on stored proc name

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

12 years agoadded config example for legacy circ script support
erickson [Mon, 4 Aug 2008 17:15:48 +0000 (17:15 +0000)]
added config example for legacy circ script support

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

12 years agoAdded support for using in-database circ checkout and renew policies
erickson [Mon, 4 Aug 2008 17:14:09 +0000 (17:14 +0000)]
Added support for using in-database circ checkout and renew policies

Legacy script support is activated by setting legacy_script_support to true in opensrf.xml
(committing example for that next)

Added open-ils.circ.checkout.inspect, which takes patron and item information and returns
the test retults, including the circ policies that would be applied at checkout.  This
only works on in-db policies

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

12 years agotypo in comment
miker [Mon, 4 Aug 2008 06:56:48 +0000 (06:56 +0000)]
typo in comment

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

12 years agoadd support for xml-based z servers (such as xml-backed zebra without yaz-proxy)
miker [Mon, 4 Aug 2008 06:55:57 +0000 (06:55 +0000)]
add support for xml-based z servers (such as xml-backed zebra without yaz-proxy)

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

12 years ago"parent" is a special variable. some browsers (opera) will complain
erickson [Sun, 3 Aug 2008 23:58:09 +0000 (23:58 +0000)]
"parent" is a special variable.  some browsers (opera) will complain

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

12 years ago"parent" is a special variable. some browsers (opera) will complain
erickson [Sun, 3 Aug 2008 23:57:06 +0000 (23:57 +0000)]
"parent" is a special variable.  some browsers (opera) will complain

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

12 years agoingest of dates thinko
miker [Fri, 1 Aug 2008 18:57:44 +0000 (18:57 +0000)]
ingest of dates thinko

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

12 years agoadd support for selecting from a function, given the function name and all params...
miker [Fri, 1 Aug 2008 18:00:30 +0000 (18:00 +0000)]
add support for selecting from a function, given the function name and all params in an array (and the function takes only TEXT params)

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

12 years agofixed faulty rule set query
erickson [Fri, 1 Aug 2008 17:04:08 +0000 (17:04 +0000)]
fixed faulty rule set query
made some var names more explicit
fix getopt setting

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

12 years agoremoved ":" from log line so output can be pasted directly into srfsh
erickson [Fri, 1 Aug 2008 16:45:45 +0000 (16:45 +0000)]
removed ":" from log line so output can be pasted directly into srfsh

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

12 years agoD'oh! That 404 error really does mean that osrf-http-translator could not be found.
dbs [Fri, 1 Aug 2008 16:21:15 +0000 (16:21 +0000)]
D'oh! That 404 error really does mean that osrf-http-translator could not be found.

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

12 years agoNo leading period for selector, please.
dbs [Fri, 1 Aug 2008 02:47:39 +0000 (02:47 +0000)]
No leading period for selector, please.

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

12 years agoif you set signed.applets.codebase_principal_support to true in about:config in Firef...
erickson [Thu, 31 Jul 2008 18:55:38 +0000 (18:55 +0000)]
if you set signed.applets.codebase_principal_support to true in about:config in Firefox, you now have the option to bypass the printer dialog if you accept the security dialogs

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

12 years agoif a patron barcode regex is configured and a patron barcode is scanned into the...
erickson [Thu, 31 Jul 2008 16:44:46 +0000 (16:44 +0000)]
if a patron barcode regex is configured and a patron barcode is scanned into the item barcode input, the current user is logged out and the new user is logged in

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

12 years agoadded explicit DESTROY methods to each package so AUTOLOAD won't attempt to use it
erickson [Thu, 31 Jul 2008 16:28:30 +0000 (16:28 +0000)]
added explicit DESTROY methods to each package so AUTOLOAD won't attempt to use it

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

12 years agomake grace period a command line parameter
miker [Thu, 31 Jul 2008 16:16:11 +0000 (16:16 +0000)]
make grace period a command line parameter

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

12 years agoUpped the default patron timeout to 10 minutes
erickson [Thu, 31 Jul 2008 15:53:44 +0000 (15:53 +0000)]
Upped the default patron timeout to 10 minutes

When an item barcode is scanned but the Enter key is not sent,
the system waits a configured amount of time (default 800 milliseconds)
then selects the text so the next scan will replace the existing text.

Automatically print at logout time

Replace Logout and Print links with "Done" links since printing is assumed

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

12 years agoHush schema build messages that obscure potential real problems
dbs [Thu, 31 Jul 2008 13:10:18 +0000 (13:10 +0000)]
Hush schema build messages that obscure potential real problems

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

12 years agouse the correct field as the pkey
miker [Thu, 31 Jul 2008 05:46:01 +0000 (05:46 +0000)]
use the correct field as the pkey

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

12 years agomake log message conditional
miker [Thu, 31 Jul 2008 05:40:58 +0000 (05:40 +0000)]
make log message conditional

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

12 years agomore locale switch work
miker [Thu, 31 Jul 2008 05:22:51 +0000 (05:22 +0000)]
more locale switch work

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

12 years agomake locale names and descriptions translatable
miker [Thu, 31 Jul 2008 05:21:54 +0000 (05:21 +0000)]
make locale names and descriptions translatable

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