working/Evergreen.git
9 years agoBe sure to copy new JS files from OpenSRF on a FULL update/install
atz [Tue, 12 Oct 2010 17:01:52 +0000 (17:01 +0000)]
Be sure to copy new JS files from OpenSRF on a FULL update/install

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

9 years agonow that we are working again, hush the warnings (osrfLogInternal to the rescue)
miker [Tue, 12 Oct 2010 16:02:31 +0000 (16:02 +0000)]
now that we are working again, hush the warnings (osrfLogInternal to the rescue)

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

9 years agoand ... use a function name that exists
miker [Tue, 12 Oct 2010 15:40:45 +0000 (15:40 +0000)]
and ... use a function name that exists

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

9 years agorearrangement for variable existance
miker [Tue, 12 Oct 2010 15:39:47 +0000 (15:39 +0000)]
rearrangement for variable existance

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

9 years agoskip unknown order_by entries instead of erroring
miker [Tue, 12 Oct 2010 15:19:54 +0000 (15:19 +0000)]
skip unknown order_by entries instead of erroring

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

9 years agoIncorporate upgrade # 0433 into the consolidated upgrade script.
scottmk [Tue, 12 Oct 2010 13:40:14 +0000 (13:40 +0000)]
Incorporate upgrade # 0433 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@18277 dcc99617-32d9-48b4-a31d-7c20da2025e4

9 years agoavoid race condition with post-save patron editor refresh and replicated databases
phasefx [Mon, 11 Oct 2010 21:42:48 +0000 (21:42 +0000)]
avoid race condition with post-save patron editor refresh and replicated databases

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

9 years agomake the source selection less confusing, and improve some wording in the template...
miker [Mon, 11 Oct 2010 20:42:46 +0000 (20:42 +0000)]
make the source selection less confusing, and improve some wording in the template section (more to come)

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

9 years agodogfooding cleanup
miker [Mon, 11 Oct 2010 20:41:37 +0000 (20:41 +0000)]
dogfooding cleanup

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

9 years agoinitialize these lists just once to prevent display glitch
phasefx [Mon, 11 Oct 2010 20:39:31 +0000 (20:39 +0000)]
initialize these lists just once to prevent display glitch

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

9 years agoWorking template-based batch bib updater!
miker [Mon, 11 Oct 2010 16:07:47 +0000 (16:07 +0000)]
Working template-based batch bib updater!

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

9 years agoTighter verbose format for skipped POs
atz [Mon, 11 Oct 2010 16:07:09 +0000 (16:07 +0000)]
Tighter verbose format for skipped POs

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

9 years agosupply a dummy leader, as required by the Perl MARC modules
miker [Mon, 11 Oct 2010 16:06:52 +0000 (16:06 +0000)]
supply a dummy leader, as required by the Perl MARC modules

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

9 years agoMethod registration cleanup
atz [Mon, 11 Oct 2010 16:06:23 +0000 (16:06 +0000)]
Method registration cleanup

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

9 years agoClean up method registration sigs/descs
atz [Mon, 11 Oct 2010 15:21:12 +0000 (15:21 +0000)]
Clean up method registration sigs/descs

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

9 years agoPull out into a separate function: the code in SELECT() that builds a
scottmk [Mon, 11 Oct 2010 14:25:05 +0000 (14:25 +0000)]
Pull out into a separate function: the code in SELECT() that builds a
comma-separated list of ORDER BY expressions from a JSON_ARRAY.

Invoke that function, not only from SELECT(), but also from the
buildSELECT() function.

As a result, the select methods will be able to use the same array
syntax as json_query for ORDER BY clauses, as an alternative to the
existing hash syntax.

M    Open-ILS/src/c-apps/oils_sql.c

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

9 years agowait to run-pending if a specific granularity used
erickson [Mon, 11 Oct 2010 14:01:45 +0000 (14:01 +0000)]
wait to run-pending if a specific granularity used

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

9 years agomod_perl handler to allow batch update bib records from an ephemeral template
miker [Sat, 9 Oct 2010 02:32:49 +0000 (02:32 +0000)]
mod_perl handler to allow batch update bib records from an ephemeral template

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

9 years agomild fixes for a/t interface admin interface. sort by def name instead of hook,...
erickson [Fri, 8 Oct 2010 21:10:43 +0000 (21:10 +0000)]
mild fixes for a/t interface admin interface.  sort by def name instead of hook, which probably makes more sense to a human.  hide the opt-in and max-delay columns to free up some badly needed horizontal space.  use percentage width for name column, which acts a lot like 'auto', but allows the user to manually resize

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

9 years agotypo
phasefx [Fri, 8 Oct 2010 20:58:37 +0000 (20:58 +0000)]
typo

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

9 years agoBe a little more tolerant of aberrant data when clearing the holds shelf
senator [Fri, 8 Oct 2010 18:02:08 +0000 (18:02 +0000)]
Be a little more tolerant of aberrant data when clearing the holds shelf

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

9 years agofix logic error where we were just testing for the presence of a user setting instead...
phasefx [Fri, 8 Oct 2010 17:38:24 +0000 (17:38 +0000)]
fix logic error where we were just testing for the presence of a user setting instead of its value

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

9 years agomoving users in and out of groups produced dialogs that expected vertical patron...
phasefx [Fri, 8 Oct 2010 17:29:20 +0000 (17:29 +0000)]
moving users in and out of groups produced dialogs that expected vertical patron summaries.  this fixes that

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

9 years agoadd a method to overlay a special bib container full of records (or bucket + template)
miker [Fri, 8 Oct 2010 17:06:52 +0000 (17:06 +0000)]
add a method to overlay a special bib container full of records (or bucket + template)

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

9 years agoTidied up buildSELECT() a bit:
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

9 years agoAvoid scary SSL / HTTPS errors in Apache configuration
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

9 years agodo not apply superpage limit inside bib search joins
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

9 years agoprogress to ProgressDialog means total, not incremental
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

9 years agoExpired holds shelf printer needs to be a holds shelf *clearer* and printer
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

9 years agochoose the hold permit test variant correctly
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

9 years agoJust a minor thing on this shelf expired print interface,
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

9 years agoEDI template update for ORDERS
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

9 years agoAdd some reasonable default sorting to this expired holds list
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

9 years agodestination_shelf macro for hold and hold/transit slips. Will contain either HOLD...
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

9 years agoParallel action/trigger collection and reaction
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

9 years agoWarn but continue on skipped upgrade revs.
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

9 years agoNew way to printing shelf-expired holds
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

9 years agoadded support for honoring the due date ceiling from the duration rule. AKA, end...
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

9 years agodb upgrade script dislikes holes -- spackle this one
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

9 years agoIncorporate upgrades 0427 and 0428 into the consolidated upgrade script.
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

9 years agoTwo changes to config schema:
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

9 years agoavoid retreiving/searching a linked object, when there is no object to retrieve ...
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

9 years agohold/transit slips may want to use stat cats as well
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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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