evergreen/bjwebb.git
14 years agoFurther propagating a syntax correction; SQL functions cannot reference
scottmk [Wed, 6 Oct 2010 14:32:01 +0000 (14:32 +0000)]
Further propagating a syntax correction; SQL functions cannot reference
their parameters by name.

M    Open-ILS/src/sql/Pg/110.hold_matrix.sql

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

14 years agosuppress usr_grp field in hold matrix matchpoint; see also 18188
erickson [Wed, 6 Oct 2010 13:54:26 +0000 (13:54 +0000)]
suppress usr_grp field in hold matrix matchpoint;  see also 18188

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

14 years agoThinko fix for field name. The script would not commit, so please simply reapply...
miker [Wed, 6 Oct 2010 13:53:18 +0000 (13:53 +0000)]
Thinko fix for field name. The script would not commit, so please simply reapply 0430.

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

14 years agoStart out exact-ou-match rules with an "always win" weight
miker [Wed, 6 Oct 2010 13:45:00 +0000 (13:45 +0000)]
Start out exact-ou-match rules with an "always win" weight

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

14 years agoMake retargetting check less lax by including appropriate patron-side test
miker [Wed, 6 Oct 2010 13:43:52 +0000 (13:43 +0000)]
Make retargetting check less lax by including appropriate patron-side test

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

14 years agofirst level of groups hash can be array or hash, leading to breakage; for now, keep...
erickson [Wed, 6 Oct 2010 13:28:09 +0000 (13:28 +0000)]
first level of groups hash can be array or hash, leading to breakage;  for now, keep it simple and return continue-status to keep the caller alive

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

14 years agoFixed the second and third function definitions, which wouldn't compile.
scottmk [Wed, 6 Oct 2010 13:27:26 +0000 (13:27 +0000)]
Fixed the second and third function definitions, which wouldn't compile.
An SQL function cannot reference its parameters by name, but only by number.

M    Open-ILS/src/sql/Pg/upgrade/0428.schema.hold_retarget.sql

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

14 years agoAdd a switch to turn on strict OU matching for all OUs required by a hold matchpoint
miker [Wed, 6 Oct 2010 03:07:30 +0000 (03:07 +0000)]
Add a switch to turn on strict OU matching for all OUs required by a hold matchpoint

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

14 years agousr_grp is entirely unused currently; hide it
miker [Wed, 6 Oct 2010 02:35:17 +0000 (02:35 +0000)]
usr_grp is entirely unused currently; hide it

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

14 years agoAdd a retargetting specific version of the hold-permit function which skips user...
miker [Wed, 6 Oct 2010 02:31:55 +0000 (02:31 +0000)]
Add a retargetting specific version of the hold-permit function which skips user tests

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

14 years agosome I18N and tweak call to getIntPref. Is the 2nd parameter version an undocumented...
phasefx [Tue, 5 Oct 2010 20:13:06 +0000 (20:13 +0000)]
some I18N and tweak call to getIntPref.  Is the 2nd parameter version an undocumented way of providing a default if the pref isn't found?

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

14 years agobug fix for close tab regression
phasefx [Tue, 5 Oct 2010 20:13:03 +0000 (20:13 +0000)]
bug fix for close tab regression

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

14 years agopatch from tsbere to improve tab behavior and to give command-line options for contro...
phasefx [Tue, 5 Oct 2010 20:13:01 +0000 (20:13 +0000)]
patch from tsbere to improve tab behavior and to give command-line options for controlling tabs
See https://bugs.launchpad.net/evergreen/+bug/625056

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

14 years agopatch from tsbere to use _blank for new windows instead of generated identifiers
phasefx [Tue, 5 Oct 2010 20:12:58 +0000 (20:12 +0000)]
patch from tsbere to use _blank for new windows instead of generated identifiers

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

14 years agobe quiet with errors retrieving remote column settings
phasefx [Tue, 5 Oct 2010 19:33:08 +0000 (19:33 +0000)]
be quiet with errors retrieving remote column settings

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

14 years agohold matrix selection: treat root OU as just another OU
gmc [Tue, 5 Oct 2010 18:54:05 +0000 (18:54 +0000)]
hold matrix selection: treat root OU as just another OU

Treat the root OU as just another OU for the purpose of
calculating OU proximity adjustments when selecting a
matchpoint.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18179 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoThe whole point of test mode, NOT actually committing actions.
atz [Tue, 5 Oct 2010 17:08:56 +0000 (17:08 +0000)]
The whole point of test mode, NOT actually committing actions.

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

14 years agoThis is a silly commit, as this template should be made configurable down the
senator [Tue, 5 Oct 2010 16:37:57 +0000 (16:37 +0000)]
This is a silly commit, as this template should be made configurable down the
road, maybe by OU setting or something. Anyway, make the list more legible.

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

14 years agoEDI job POD
atz [Tue, 5 Oct 2010 16:16:59 +0000 (16:16 +0000)]
EDI job POD

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

14 years agoAdd title to PO view page.
atz [Tue, 5 Oct 2010 16:14:46 +0000 (16:14 +0000)]
Add title to PO view page.

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

14 years agomore classname hooks for local CSS to latch on to if needed
phasefx [Tue, 5 Oct 2010 15:16:42 +0000 (15:16 +0000)]
more classname hooks for local CSS to latch on to if needed

For example, you may have a server/skin/global_custom.css containing:

    .hide_patron_credit { display: none }
    .hide_patron_work{ display: none }
    .hide_patron_goods { display: none }

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

14 years agomake it easier to grep for bib search durations from the Pg log
gmc [Tue, 5 Oct 2010 14:44:21 +0000 (14:44 +0000)]
make it easier to grep for bib search durations from the Pg log

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18167 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoavoid running activated hook when in dry run mode
erickson [Tue, 5 Oct 2010 14:15:40 +0000 (14:15 +0000)]
avoid running activated hook when in dry run mode

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

14 years agoAdd some missing ACQ perms. Other perms may be missing, but I /know/ these
senator [Mon, 4 Oct 2010 21:28:17 +0000 (21:28 +0000)]
Add some missing ACQ perms. Other perms may be missing, but I /know/ these
are needed.

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

14 years agoFrench translation of password reset form and prompts at /opac/password/fr-CA/
dbs [Mon, 4 Oct 2010 19:05:59 +0000 (19:05 +0000)]
French translation of password reset form and prompts at /opac/password/fr-CA/

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

14 years agoAdd "Patron Alias" as an available column in pull list, holds shelf interfaces
senator [Mon, 4 Oct 2010 18:57:20 +0000 (18:57 +0000)]
Add "Patron Alias" as an available column in pull list, holds shelf interfaces

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

14 years agofixed typo in vandelay merge profile permission check
erickson [Mon, 4 Oct 2010 16:48:01 +0000 (16:48 +0000)]
fixed typo in vandelay merge profile permission check

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

14 years agoadd support for hold_priority sorting in open-ils.storage.action.hold_request.nearest...
miker [Mon, 4 Oct 2010 16:15:41 +0000 (16:15 +0000)]
add support for hold_priority sorting in open-ils.storage.action.hold_request.nearest_hold

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

14 years agoAdd a control for the hold_priority field in the permission group UI
senator [Mon, 4 Oct 2010 15:40:21 +0000 (15:40 +0000)]
Add a control for the hold_priority field in the permission group UI

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

14 years agoFix a slight bug in 18136, and the alt pull list printing interface works again.
senator [Mon, 4 Oct 2010 14:01:28 +0000 (14:01 +0000)]
Fix a slight bug in 18136, and the alt pull list printing interface works again.

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

14 years agoAdd hold_priority column to permission.grp_tree table.
scottmk [Mon, 4 Oct 2010 13:43:13 +0000 (13:43 +0000)]
Add hold_priority column to permission.grp_tree table.

M    Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/permission.pm
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0425.schema.perm-grp-tree-hold-priority.sql
M    Open-ILS/src/sql/Pg/006.schema.permissions.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoAllow caller to ignore selected facet classes; ignore identifier class by default
miker [Mon, 4 Oct 2010 00:40:44 +0000 (00:40 +0000)]
Allow caller to ignore selected facet classes; ignore identifier class by default

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

14 years agomoved the cache clear to later in the firing to pick up data; fixed some typos/thinkos
erickson [Sun, 3 Oct 2010 15:06:45 +0000 (15:06 +0000)]
moved the cache clear to later in the firing to pick up data; fixed some typos/thinkos

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

14 years agoIncorporate upgrade scripts 0423 and 0424
scottmk [Sun, 3 Oct 2010 14:17:37 +0000 (14:17 +0000)]
Incorporate upgrade scripts 0423 and 0424

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

14 years agoconfigurable chunking of the holds stream to avoid the xulrunner "I forgot the chunke...
miker [Sat, 2 Oct 2010 15:47:28 +0000 (15:47 +0000)]
configurable chunking of the holds stream to avoid the xulrunner "I forgot the chunked stream" problem

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

14 years agoputting back the NUMERIC cast, it is needed
miker [Sat, 2 Oct 2010 06:04:05 +0000 (06:04 +0000)]
putting back the NUMERIC cast, it is needed

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

14 years agoMassive search core-query speed improvement.
miker [Sat, 2 Oct 2010 05:47:02 +0000 (05:47 +0000)]
Massive search core-query speed improvement.

 * Only compile the tsquery once
 * Use direct ids instead of going back to the db udring a queyr
 * Change a remaining CASE to COALESCE/NULLIF

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

14 years agoFix an apparent bug in a case where OpenILS::WWW::Proxy means to send a
senator [Fri, 1 Oct 2010 21:48:41 +0000 (21:48 +0000)]
Fix an apparent bug in a case where OpenILS::WWW::Proxy means to send a
redirect, and also avoid the issue altogether in the new holds pull list
printing interface just added earlier today.

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

14 years agoBring the 1.6.1-2.0 upgrade script up to date for the push_due_date_tgr
dbs [Fri, 1 Oct 2010 20:13:10 +0000 (20:13 +0000)]
Bring the 1.6.1-2.0 upgrade script up to date for the push_due_date_tgr

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

14 years agoSet due times for durations measured in days to 23:59:59 after inserts OR updates
dbs [Fri, 1 Oct 2010 20:07:59 +0000 (20:07 +0000)]
Set due times for durations measured in days to 23:59:59 after inserts OR updates

The existing trigger acted only on the initial insert of a circulation
transaction for duration intervals perfectly divisible by 24 hours.
If updates to those due dates were subsequently issued, then the due
time would revert to 00:00:00 - which could cause surprising overdue
fines to be generated on the due date, rather than after the due date.

This commit makes the trigger take effect on both INSERT and UPDATE
to the action.circulation table.

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

14 years agoOffer yet another pull list printing pathway
senator [Fri, 1 Oct 2010 19:45:27 +0000 (19:45 +0000)]
Offer yet another pull list printing pathway

If you have pull lists long enough to make A/T groan, perhaps this will work
better for you.

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

14 years agoImplement a process-local cache for event target fleshing -- particularly helpful...
miker [Fri, 1 Oct 2010 19:39:51 +0000 (19:39 +0000)]
Implement a process-local cache for event target fleshing -- particularly helpful with large event groups

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

14 years agouse an opac login here, which doesn't require the STAFF_LOGIN permission by default
phasefx [Fri, 1 Oct 2010 18:07:00 +0000 (18:07 +0000)]
use an opac login here, which doesn't require the STAFF_LOGIN permission by default

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

14 years agotweak remoteauth.cgi to offer usrname and barcode params in addition to user. user...
phasefx [Fri, 1 Oct 2010 12:19:11 +0000 (12:19 +0000)]
tweak remoteauth.cgi to offer usrname and barcode params in addition to user.  user param now looks for the opac.barcode_regex org unit setting to determine whether the value is a usrname or barcode.  change double-quotes to single-quotes if we're not doing string interpolation.  change apache instructions for configuration

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

14 years agoTeach marc_export script how to export MFHD serial records
dbs [Fri, 1 Oct 2010 05:24:38 +0000 (05:24 +0000)]
Teach marc_export script how to export MFHD serial records

Passing the --mfhd flag will export any non-deleted MFHD records in
serial.record_entry associated with each bib ID. So, for a hypothetical set of
bib IDs 1, 2, 3, where 2 has no associated MFHD records and 3 has 2 MFHD records
associated with it, the output will be structured as follows:

Bib MARC for bib ID 1
MFHD MARC for bib ID 1
Bib MARC for bib ID 2
Bib MARC for bib ID 3
MFHD MARC for bib ID 3
MFHD MARC for bib ID 2

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

14 years agoAdd serial.record_entry to CDBI definitions
dbs [Fri, 1 Oct 2010 05:16:41 +0000 (05:16 +0000)]
Add serial.record_entry to CDBI definitions

Better late than never; never added the serial.record_entry
CDBI definitions in the 1.6 series, but as that table can
still be active in 2.0 we might as well get it in place.

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

14 years agoSilence warning
atz [Thu, 30 Sep 2010 23:06:39 +0000 (23:06 +0000)]
Silence warning

Warnings was:
Use of uninitialized value in subroutine entry at /openils/lib/perl5/OpenILS/SIP/Patron.pm line 230.

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18111 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofire the hold_request.cancel.staff when hold is cancelled by staff
erickson [Thu, 30 Sep 2010 20:49:14 +0000 (20:49 +0000)]
fire the hold_request.cancel.staff when hold is cancelled by staff

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

14 years agoFix overzealous prompting for auth credentials, and some debug lines
phasefx [Wed, 29 Sep 2010 20:49:05 +0000 (20:49 +0000)]
Fix overzealous prompting for auth credentials, and some debug lines

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

14 years agoGive BibTemplate the ability to inspect and optionally parse XML, instead of requirin...
miker [Wed, 29 Sep 2010 20:16:41 +0000 (20:16 +0000)]
Give BibTemplate the ability to inspect and optionally parse XML, instead of requiring a DOM node

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

14 years agofix FM type of reporter.report.data
gmc [Wed, 29 Sep 2010 18:07:43 +0000 (18:07 +0000)]
fix FM type of reporter.report.data

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18103 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoreporter: don't try to write Excel formulas
gmc [Wed, 29 Sep 2010 17:48:52 +0000 (17:48 +0000)]
reporter: don't try to write Excel formulas

Any cell value that starts with = is now always written
as a text cell in spreadsheet output.  Avoids a possible
exploit as well as errors like this:

Couldn't parse formula: = at /openils/bin/clark-kent.pl line 429

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18101 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agosupport per-grunlarity parallelizing via flag and lock file
miker [Wed, 29 Sep 2010 15:05:53 +0000 (15:05 +0000)]
support per-grunlarity parallelizing via flag and lock file

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

14 years agoProcess item imports during record import, not as a secondary call (never should...
miker [Wed, 29 Sep 2010 14:45:50 +0000 (14:45 +0000)]
Process item imports during record import, not as a secondary call (never should have worked, but for transaction timing)

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

14 years agoUse transactions everywhere in Vandelay
miker [Tue, 28 Sep 2010 23:12:58 +0000 (23:12 +0000)]
Use transactions everywhere in Vandelay

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

14 years agoDelete all cookies on logoff. There's dojo code that looks for stale session cookies...
phasefx [Tue, 28 Sep 2010 21:12:11 +0000 (21:12 +0000)]
Delete all cookies on logoff.  There's dojo code that looks for stale session cookies and has the xul client prompt for a new session.  When you logoff, the session is destroyed, but the stale cookies were being left behind (and not overwritten on login? I don't understand that part).  But this fixes it

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

14 years agomove the early-out response so we avoid breaking the caller
miker [Tue, 28 Sep 2010 20:45:17 +0000 (20:45 +0000)]
move the early-out response so we avoid breaking the caller

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

14 years agoA/T: Send an early response back to the client when running all pending events
senator [Tue, 28 Sep 2010 20:26:09 +0000 (20:26 +0000)]
A/T: Send an early response back to the client when running all pending events
The client may wish to know when the relativelty fast process of creating the
events is over, and the relatively slow process of validating them and running
their reactors/cleanup/etc is about to begin.

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

14 years agofor troubleshooting, log the size of the template output to be stored
erickson [Tue, 28 Sep 2010 18:12:14 +0000 (18:12 +0000)]
for troubleshooting, log the size of the template output to be stored

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

14 years agoability to override checkin events. minor fixes.
erickson [Tue, 28 Sep 2010 18:12:13 +0000 (18:12 +0000)]
ability to override checkin events. minor fixes.

repaired bug that caused checkin to sometimes fail when a hold
was captured for a user that had at least 1 inactive card;
made checkin override events configurable; minor cleanup

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

14 years agorepaired logic bug in lineitem worksheet template
erickson [Tue, 28 Sep 2010 18:12:12 +0000 (18:12 +0000)]
repaired logic bug in lineitem worksheet template

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

14 years agothis breaks (hides) the buttonbar in windows. Sorry James, miker
phasefx [Tue, 28 Sep 2010 16:46:34 +0000 (16:46 +0000)]
this breaks (hides) the buttonbar in windows.  Sorry James, miker

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

14 years agoChange memcached default location to 127.0.0.1 from localhost
dbs [Tue, 28 Sep 2010 16:40:02 +0000 (16:40 +0000)]
Change memcached default location to 127.0.0.1 from localhost

Debian Squeeze currently doesn't fare well with memcached servers pointing to
localhost and needs an explicit 127.0.0.1, whereas Ubuntu Lucid is happy with
either. Changing the default here means one less possible gotcha in the out
of the box install & configure experience for Debian Squeeze folk.

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

14 years agoadd support for the null() xpath function, which works in pgxml (AKA xml2) but not...
miker [Tue, 28 Sep 2010 16:35:24 +0000 (16:35 +0000)]
add support for the null() xpath function, which works in pgxml (AKA xml2) but not in the builtin XPATH function for 8.3+

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

14 years agoMake authority validation rules match authority ingest rules for better matches
dbs [Tue, 28 Sep 2010 06:43:41 +0000 (06:43 +0000)]
Make authority validation rules match authority ingest rules for better matches

This resolves a problem in O:A:Storage:Publisher:authority:validate_tag() where
the full NACO normalization rules that are applied to the subfields of the
authority records when they are ingested into authority.full_rec are not similarly
applied to the incoming subfields of the bib field that is being validated;
only diacritic characters in the bib field subfields were being normalized.

Now we apply naco_normalize() to the search terms so that they will match
the ingested form of the authority record.

Addresses https://bugs.launchpad.net/evergreen/+bug/649556

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

14 years agoSilence SQL warnings from O:A:Storage:Publisher:metabib
dbs [Tue, 28 Sep 2010 06:18:07 +0000 (06:18 +0000)]
Silence SQL warnings from O:A:Storage:Publisher:metabib

PostgreSQL wants strings containing regular expressions to be prefixed
with E; this patch considerably reduces the noise in open-ils.storage_unix.log
by complying with PostgreSQL's wishes.

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

14 years agoIncorporate several recent upgrade scripts, through # 0422.
scottmk [Tue, 28 Sep 2010 05:17:03 +0000 (05:17 +0000)]
Incorporate several recent upgrade scripts, through # 0422.

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

14 years agoTurn an int into a bigint in acq.acq_lineitem_history, following up on
scottmk [Tue, 28 Sep 2010 05:13:32 +0000 (05:13 +0000)]
Turn an int into a bigint in acq.acq_lineitem_history, following up on
a similar change to acq.lineitem.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0422.schema.acq.lineitem-history-bigint.sql

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

14 years agoAdd a placeholder server/skin/custom.js to prevent one error in JS console
dbs [Tue, 28 Sep 2010 03:32:28 +0000 (03:32 +0000)]
Add a placeholder server/skin/custom.js to prevent one error in JS console

custom.js enables you to override the settings in the stock constants.js
to skin the behaviour of your staff client at your installation, without
being subject to grief at upgrade time.

Not having a custom.js file at all was, however, causing errors to be generated
in the JS console as XULRunner tried hard to parse the 404 message as
JavaScript. I suppose one could have changed the 404 message to valid
JavaScript... naw, that would be evil.

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

14 years agoUse quoted attribute values to make Firefox / XULRunner happier about dojo queries
dbs [Tue, 28 Sep 2010 03:08:48 +0000 (03:08 +0000)]
Use quoted attribute values to make Firefox / XULRunner happier about dojo queries

The unquoted values in BibTemplate and the OPAC detail template were generating
mucho noise in the JavaScript console; this hushes it up nicely.

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

14 years agotypo in POD
atz [Tue, 28 Sep 2010 01:26:07 +0000 (01:26 +0000)]
typo in POD

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

14 years agoMinor cleanup
atz [Tue, 28 Sep 2010 01:24:20 +0000 (01:24 +0000)]
Minor cleanup

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

14 years agoFix POD for RemoteAccount
atz [Tue, 28 Sep 2010 01:22:41 +0000 (01:22 +0000)]
Fix POD for RemoteAccount

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

14 years agoFor edi_translator on RHEL
atz [Tue, 28 Sep 2010 01:22:40 +0000 (01:22 +0000)]
For edi_translator on RHEL

Note: RubyGems 1.3.4 is not available anymore

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

14 years ago1. Turn some ints into bigints.
scottmk [Mon, 27 Sep 2010 21:31:17 +0000 (21:31 +0000)]
1. Turn some ints into bigints.

2. Rename the uniqueness constraint for booking.resource_type.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/012.schema.vandelay.sql
M    Open-ILS/src/sql/Pg/095.schema.booking.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
M    Open-ILS/src/sql/Pg/070.schema.container.sql
A    Open-ILS/src/sql/Pg/upgrade/0421.schema.embiggen-ints.sql

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

14 years agoSpecial overriden widgets need forcible population when used in edit dialogs
senator [Mon, 27 Sep 2010 20:54:56 +0000 (20:54 +0000)]
Special overriden widgets need forcible population when used in edit dialogs

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

14 years agoadjustments to pubdate sorting patch
gmc [Mon, 27 Sep 2010 20:14:49 +0000 (20:14 +0000)]
adjustments to pubdate sorting patch

* handle upgrade for date1/date2 containing the empty string
* syntax error fix

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18049 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofix another hold targeting glitch
gmc [Mon, 27 Sep 2010 19:48:33 +0000 (19:48 +0000)]
fix another hold targeting glitch

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18047 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agofix glitch in hold target OU weighting
gmc [Mon, 27 Sep 2010 19:27:04 +0000 (19:27 +0000)]
fix glitch in hold target OU weighting

We want to weight by the copy's circulation library, not the
pickup library.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18045 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agomissed in the previous commit, sorry folks
miker [Mon, 27 Sep 2010 19:24:13 +0000 (19:24 +0000)]
missed in the previous commit, sorry folks

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

14 years agoCorrect the subquery for A/T opt_in_setting
miker [Mon, 27 Sep 2010 19:16:57 +0000 (19:16 +0000)]
Correct the subquery for A/T opt_in_setting

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

14 years agomake pubdate sorting on search faster by pre-munging date1 and date2 into an acceptab...
miker [Mon, 27 Sep 2010 19:11:21 +0000 (19:11 +0000)]
make pubdate sorting on search faster by pre-munging date1 and date2 into an acceptable sortkey

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

14 years agofix default path to selfcheck sounds
gmc [Mon, 27 Sep 2010 18:50:56 +0000 (18:50 +0000)]
fix default path to selfcheck sounds

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18037 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agouse transaction when gathering records from a newly created queue; adjust rollback...
miker [Mon, 27 Sep 2010 18:26:29 +0000 (18:26 +0000)]
use transaction when gathering records from a newly created queue; adjust rollback usage in import loop

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

14 years agosince we're enforcing the requiredness of address type, let's give it a default value...
phasefx [Mon, 27 Sep 2010 16:29:19 +0000 (16:29 +0000)]
since we're enforcing the requiredness of address type, let's give it a default value (since empty strings don't work with these widgets)

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

14 years agoAdjust hold-to-record view to cover I, F and R hold types
miker [Mon, 27 Sep 2010 16:15:14 +0000 (16:15 +0000)]
Adjust hold-to-record view to cover I, F and R hold types

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

14 years agoProvide for limiting the number of classOrder elements to a specific number. Skips...
miker [Mon, 27 Sep 2010 15:23:10 +0000 (15:23 +0000)]
Provide for limiting the number of classOrder elements to a specific number. Skips those without facet values.

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

14 years agoResolve differences between stored procedures in a freshly installed
scottmk [Mon, 27 Sep 2010 12:45:57 +0000 (12:45 +0000)]
Resolve differences between stored procedures in a freshly installed
2.0 database and those in an upgraded one.

M    Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

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

14 years agoavoid multiple clicks of selfcheck logout link
gmc [Mon, 27 Sep 2010 01:43:12 +0000 (01:43 +0000)]
avoid multiple clicks of selfcheck logout link

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18021 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agohonor SIP return date as the circ backdate
erickson [Sun, 26 Sep 2010 23:20:12 +0000 (23:20 +0000)]
honor SIP return date as the circ backdate

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

14 years agono need to warn when emails may just be disabled
erickson [Sun, 26 Sep 2010 23:20:11 +0000 (23:20 +0000)]
no need to warn when emails may just be disabled

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

14 years agopush copy location order update into ML method. return updated orders from method...
erickson [Sun, 26 Sep 2010 23:20:10 +0000 (23:20 +0000)]
push copy location order update into ML method.  return updated orders from method to prevent replication issues.  update UI JS to match

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

14 years agoRemove a debugging statement that slipped in
dbs [Sun, 26 Sep 2010 18:34:47 +0000 (18:34 +0000)]
Remove a debugging statement that slipped in

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

14 years agoadded missing columns to CDBI table definitions
gmc [Sun, 26 Sep 2010 16:26:21 +0000 (16:26 +0000)]
added missing columns to CDBI table definitions

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18011 dcc99617-32d9-48b4-a31d-7c20da2025e4

14 years agoOnly show facetOrder limited facets that have values
miker [Sun, 26 Sep 2010 15:53:21 +0000 (15:53 +0000)]
Only show facetOrder limited facets that have values

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

14 years agoallow more complex facet ordering
miker [Sun, 26 Sep 2010 15:31:41 +0000 (15:31 +0000)]
allow more complex facet ordering

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

14 years agounmark record for overlay after it is overlaid
phasefx [Sun, 26 Sep 2010 10:29:36 +0000 (10:29 +0000)]
unmark record for overlay after it is overlaid

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

14 years agomake the MARC editor optional with Z39.50
phasefx [Sun, 26 Sep 2010 10:02:38 +0000 (10:02 +0000)]
make the MARC editor optional with Z39.50

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

14 years agoCall persist_helper() in most interfaces. Give it the ability to handle resizing...
phasefx [Sun, 26 Sep 2010 09:23:43 +0000 (09:23 +0000)]
Call persist_helper() in most interfaces.  Give it the ability to handle resizing windows and set some windows up so that their height, width, and maximized state persist

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

14 years agomake all the splitters sticky with oils_persist
phasefx [Sun, 26 Sep 2010 08:06:33 +0000 (08:06 +0000)]
make all the splitters sticky with oils_persist

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