scottmk [Fri, 8 Oct 2010 14:16:19 +0000 (14:16 +0000)]
Tidied up buildSELECT() a bit:
1. Sprinkled the const qualifier here and there.
2. Moved some variable declarations to get them closer to the point of
first use, and to limit their scope.
3. Renamed some variables to better reflect their meaning.
4. Split a couple of variables into multiple variables, instead of using
them for multiple unrelated purposes.
5. Plugged a memory leak in the case of an error return.
6. Added comments, including a Doxygen-style comment at the top of the
function.
M Open-ILS/src/c-apps/oils_sql.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18240
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 8 Oct 2010 03:30:00 +0000 (03:30 +0000)]
Avoid scary SSL / HTTPS errors in Apache configuration
When port 443 is the last listener port, Apache generates lots
of "unknown protocol speaking not SSL to HTTPS port!?" errors in
the logs - which are scary, but harmless. Putting port 80 last
avoids those errors entirely, per http://wiki.apache.org/httpd/InternalDummyConnection
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18239
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Fri, 8 Oct 2010 01:34:08 +0000 (01:34 +0000)]
do not apply superpage limit inside bib search joins
Oddly, empirical evidence suggests that this might actually
be faster, and if this pans out, search results will definitely
be more complete.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18233
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 7 Oct 2010 22:46:24 +0000 (22:46 +0000)]
progress to ProgressDialog means total, not incremental
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18231
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 7 Oct 2010 22:37:45 +0000 (22:37 +0000)]
Expired holds shelf printer needs to be a holds shelf *clearer* and printer
This needs cleaned up and stuff, and made into something cooler.
Basically just does what XUL interfaces under the Circ menu can already do,
but streamlined to tolerate really big datasets.
Much of this code originates from berick and miker.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18230
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Thu, 7 Oct 2010 21:39:05 +0000 (21:39 +0000)]
choose the hold permit test variant correctly
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18228
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 7 Oct 2010 19:10:58 +0000 (19:10 +0000)]
Just a minor thing on this shelf expired print interface,
probably more changes coming.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18226
dcc99617-32d9-48b4-a31d-
7c20da2025e4
atz [Thu, 7 Oct 2010 18:48:45 +0000 (18:48 +0000)]
EDI template update for ORDERS
This template produces JSON for the edi translator to convert into
actual EDI lines. It now handles vendor-specific requirements for
account and sub-account identification, and also transmits notes
of the vendor-public variety as FTX segments in the lineitem.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18224
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 7 Oct 2010 17:18:58 +0000 (17:18 +0000)]
Add some reasonable default sorting to this expired holds list
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18222
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 7 Oct 2010 15:14:50 +0000 (15:14 +0000)]
destination_shelf macro for hold and hold/transit slips. Will contain either HOLD SHELF, PUBLIC HOLD SHELF, or PRIVATE HOLD SHELF (these are localizable). The latter two depend on the org unit setting 'circ.holds.behind_desk_pickup_supported' being in effect, and also considers a user setting for the holds user at the time of printing.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18220
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 7 Oct 2010 14:56:43 +0000 (14:56 +0000)]
Parallel action/trigger collection and reaction
QA'ed patch from miker to support parallel a/t event collection and
reaction. Max parallel procs is controlled by two new opensrf.xml
trigger app_settings. Sample config included, settings disabled by
default.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18219
dcc99617-32d9-48b4-a31d-
7c20da2025e4
atz [Wed, 6 Oct 2010 22:12:36 +0000 (22:12 +0000)]
Warn but continue on skipped upgrade revs.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18217
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Wed, 6 Oct 2010 21:01:42 +0000 (21:01 +0000)]
New way to printing shelf-expired holds
This just takes the newest template for printing hold pull lists and
grafts this new functionality onto it. It should perhaps be adjusted to also
be able to print things on the holds shelf that /aren't/ shelf-expired.
For now you get to this under Admin -> For Developers -> Local Administration
This also corrects a bug because of which a "print pull list (alternate
strategy)" button appeared where it shouldn't.
This also removes the booking links from Admin -> For Developers -> Local
Administration, as there are regular staff client menu entries for those now.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18215
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 6 Oct 2010 20:44:46 +0000 (20:44 +0000)]
added support for honoring the due date ceiling from the duration rule. AKA, end-of-semester due dates
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18213
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 6 Oct 2010 20:07:39 +0000 (20:07 +0000)]
db upgrade script dislikes holes -- spackle this one
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18211
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 6 Oct 2010 18:19:43 +0000 (18:19 +0000)]
Incorporate upgrades 0427 and 0428 into the consolidated upgrade script.
M Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18210
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 6 Oct 2010 15:55:14 +0000 (15:55 +0000)]
Two changes to config schema:
1. Add new column date_ceiling to rule_circ_duration table.
2. New table hard_due_date.
For trunk, v1.6, v1.6.2 (eventually), and v2.1 (eventually).
NOT for v1.6.1 or v2.0.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0432.schema.config_hard_due_date.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18207
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 6 Oct 2010 15:01:38 +0000 (15:01 +0000)]
avoid retreiving/searching a linked object, when there is no object to retrieve (i.e. ident value is null) and silence various warnings by skipping this scenario. mild variable refactor for easy reading for feeble eyes.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18205
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 6 Oct 2010 14:59:43 +0000 (14:59 +0000)]
hold/transit slips may want to use stat cats as well
git-svn-id: svn://svn.open-ils.org/ILS/trunk@18203
dcc99617-32d9-48b4-a31d-
7c20da2025e4
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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