Evergreen.git
15 years agobackporting r18609 patch from bshum for catalog search in button bar
phasefx [Fri, 5 Nov 2010 13:25:27 +0000 (13:25 +0000)]
backporting r18609 patch from bshum for catalog search in button bar

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

15 years agocut down on reloading of IDL classes
miker [Thu, 4 Nov 2010 21:18:03 +0000 (21:18 +0000)]
cut down on reloading of IDL classes

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

15 years agoadd the Batch Bib Update module to startup.pl
miker [Wed, 3 Nov 2010 20:30:32 +0000 (20:30 +0000)]
add the Batch Bib Update module to startup.pl

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

15 years agoBackport r18535 from trunk: hard due date config UIs
senator [Tue, 2 Nov 2010 19:33:44 +0000 (19:33 +0000)]
Backport r18535 from trunk: hard due date config UIs

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

15 years agoPatch from Steve Callender to address a booking-related collection agency reporting...
miker [Tue, 2 Nov 2010 16:24:03 +0000 (16:24 +0000)]
Patch from Steve Callender to address a booking-related collection agency reporting problem

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

15 years agoBackporting r18561 from trunk: Make vandelay.add_field smarter about applying add...
miker [Mon, 1 Nov 2010 20:59:01 +0000 (20:59 +0000)]
Backporting r18561 from trunk: Make vandelay.add_field smarter about applying add rules when no target field exists before hand

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

15 years agobackport r18498-18499 from trunk for staff-initiated age overdue circ/item to Lost...
phasefx [Thu, 28 Oct 2010 17:27:07 +0000 (17:27 +0000)]
backport r18498-18499 from trunk for staff-initiated age overdue circ/item to Lost functionality, with upgrade script

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

15 years agomissing clear_expired_circ_history.srfsh was breaking the build, copied from trunk
phasefx [Thu, 28 Oct 2010 16:25:49 +0000 (16:25 +0000)]
missing clear_expired_circ_history.srfsh was breaking the build, copied from trunk

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

15 years agoBackport r18516: Ensure call numbers are returned to the holdings editor in ascending...
dbs [Thu, 28 Oct 2010 15:21:42 +0000 (15:21 +0000)]
Backport r18516: Ensure call numbers are returned to the holdings editor in ascending sorted order

James Fournie in https://bugs.launchpad.net/evergreen/+bug/635121 reported
that call numbers were being displayed in the order that they had been
added to the database, rather than in sorted call number label order.

Although I have been unable to reproduce this problem on two different
test systems, the patch he provided for 1.6.1 (which fixes the problem on their
test system) shouldn't hurt other systems.

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

15 years agoadjust user tests that get done when retargeting holds
gmc [Wed, 27 Oct 2010 19:21:10 +0000 (19:21 +0000)]
adjust user tests that get done when retargeting holds

Fixes bug where a user having the maximum number of
active hold requests allowed to them by policy would
prevent items from being targeted to fill their requests.

Backport of rel_2_0 commits r18189, r18197, r18201, and
r18229 by Mike Rylander and Galen Charlton.

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

15 years agoThis column does not exist in 1.6.1, no good trying to DROP it.
miker [Wed, 27 Oct 2010 17:01:55 +0000 (17:01 +0000)]
This column does not exist in 1.6.1, no good trying to DROP it.

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

15 years agoPrevent ingest errors when asset.uri ID value outstrips asset.call_number
dbs [Wed, 27 Oct 2010 02:24:10 +0000 (02:24 +0000)]
Prevent ingest errors when asset.uri ID value outstrips asset.call_number

We were basing IDs in asset.uri on the max ID of asset.call_number,
which occasionally led to major ingest problems as attempts to insert
the next ID into asset.uri failed because that ID already existed. Using
the max ID from asset.uri for asset.uri inserts seems to make more sense
and does resolve that problem.

The bigger problem of not using the sequences that are already on these
tables to generate the IDs will not be an issue in 2.0, when we move to
in-database ingest and can use the normal lastval() approach to populate
asset.uri_call_number_map with the new values.

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

15 years agoinclude more information in the debugging dump; correct the "back to index" link
miker [Tue, 26 Oct 2010 14:01:19 +0000 (14:01 +0000)]
include more information in the debugging dump; correct the "back to index" link

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

15 years agoDump some debugging output from clark; may later make this optional, but we usually...
miker [Mon, 25 Oct 2010 16:26:02 +0000 (16:26 +0000)]
Dump some debugging output from clark; may later make this optional, but we usually need it when looking for the cause of problems.

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

15 years agoimprove call number sorting
gmc [Thu, 21 Oct 2010 14:53:06 +0000 (14:53 +0000)]
improve call number sorting

oils_text_as_bytea now does uppercasing in addition
to converting strings to bytea, working around
the limitation that json_query can't stack transforms

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

15 years ago1.6.1-1.6.2 upgrade script needs to fall in line with reality, re 0442
miker [Wed, 20 Oct 2010 16:43:26 +0000 (16:43 +0000)]
1.6.1-1.6.2 upgrade script needs to fall in line with reality, re 0442

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

15 years agofix record result page in opac so that lack of an rt parameter works correctly
phasefx [Wed, 20 Oct 2010 15:24:37 +0000 (15:24 +0000)]
fix record result page in opac so that lack of an rt parameter works correctly

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

15 years agochanneling Bill Ott and Steve Calendar and making this change password on phone entry...
phasefx [Wed, 20 Oct 2010 14:45:18 +0000 (14:45 +0000)]
channeling Bill Ott and Steve Calendar and making this change password on phone entry behavior work only for patron registration.  Thanks guys!

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

15 years agoBackporting r18396 from trunk: Patch from Thomas Berezansky providing an alternate...
miker [Wed, 20 Oct 2010 13:31:47 +0000 (13:31 +0000)]
Backporting r18396 from trunk: Patch from Thomas Berezansky providing an alternate implementation of Hard Due Dates

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

15 years agoBackport oils_text_as_bytea work from 2.0
miker [Sat, 16 Oct 2010 15:46:43 +0000 (15:46 +0000)]
Backport oils_text_as_bytea work from 2.0

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

15 years agosync 1.6.0.3-1.6.0.4-upgrade-db.sql from rel_1_6_0
gmc [Sat, 16 Oct 2010 07:08:01 +0000 (07:08 +0000)]
sync 1.6.0.3-1.6.0.4-upgrade-db.sql from rel_1_6_0

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

15 years agorestoring dbs' better ISSN extraction for r.old_super_simple_record
gmc [Sat, 16 Oct 2010 06:54:14 +0000 (06:54 +0000)]
restoring dbs' better ISSN extraction for r.old_super_simple_record

Had gottten lost in the shuffle in rel_1_6

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

15 years agobackporting r17243 all the way down to reduce errors on upgrade
gmc [Sat, 16 Oct 2010 06:04:09 +0000 (06:04 +0000)]
backporting r17243 all the way down to reduce errors on upgrade

Signed-off-by: Galen Charlton <gmc@esilibrary.coM.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18357 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agopopulate the password widget under all "reset" conditions
phasefx [Fri, 15 Oct 2010 16:22:39 +0000 (16:22 +0000)]
populate the password widget under all "reset" conditions

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

15 years ago"as" not "to" ... you pointed that out the first time, miker, what is your deal?
miker [Thu, 14 Oct 2010 20:05:58 +0000 (20:05 +0000)]
"as" not "to" ... you pointed that out the first time, miker, what is your deal?

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

15 years agosort call numbers better regardless of database locale
gmc [Thu, 14 Oct 2010 19:29:26 +0000 (19:29 +0000)]
sort call numbers better regardless of database locale

rel_1_6 version of r18333, accounting for fact that 1.6.x does not
have label_sortkey

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

15 years agochange the Swap Editor button to a persisted checkbox
phasefx [Thu, 14 Oct 2010 15:33:44 +0000 (15:33 +0000)]
change the Swap Editor button to a persisted checkbox

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

15 years agodon't pass in the 'id' here or we'll get a pcrud cbs error. No source selector now...
phasefx [Wed, 13 Oct 2010 17:34:13 +0000 (17:34 +0000)]
don't pass in the 'id' here or we'll get a pcrud cbs error.  No source selector now, but no error either

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

15 years agoutil.deck isn't loaded in the util_overlay in 1.6
phasefx [Wed, 13 Oct 2010 17:12:00 +0000 (17:12 +0000)]
util.deck isn't loaded in the util_overlay in 1.6

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

15 years agoreworking bib_brief_vertical.xul for 1.6 to support improved record merging, since...
phasefx [Wed, 13 Oct 2010 17:00:45 +0000 (17:00 +0000)]
reworking bib_brief_vertical.xul for 1.6 to support improved record merging, since it's radically different from trunk

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

15 years agoAgain, no owner in 1.6
miker [Wed, 13 Oct 2010 16:42:14 +0000 (16:42 +0000)]
Again, no owner in 1.6

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

15 years agono owner in 1.6
miker [Wed, 13 Oct 2010 16:32:59 +0000 (16:32 +0000)]
no owner in 1.6

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

15 years agowrong identifier
phasefx [Wed, 13 Oct 2010 16:31:49 +0000 (16:31 +0000)]
wrong identifier

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

15 years agooverzealous trimming of cat.properties
phasefx [Wed, 13 Oct 2010 16:31:08 +0000 (16:31 +0000)]
overzealous trimming of cat.properties

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

15 years agosome left over cruft from the backport
miker [Wed, 13 Oct 2010 15:41:53 +0000 (15:41 +0000)]
some left over cruft from the backport

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

15 years agobackport editor swapping functionality from 2.0 for 1.6.2
miker [Wed, 13 Oct 2010 14:05:20 +0000 (14:05 +0000)]
backport editor swapping functionality from 2.0 for 1.6.2

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

15 years agomissed some pieces for r18306. A vertical version of the xul bib summary and the...
phasefx [Wed, 13 Oct 2010 08:33:58 +0000 (08:33 +0000)]
missed some pieces for r18306.  A vertical version of the xul bib summary and the multi-bib side by side UI

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

15 years agoBackport new record merge interface and some batch MARC edit entrypoints from trunk...
phasefx [Wed, 13 Oct 2010 08:31:55 +0000 (08:31 +0000)]
Backport new record merge interface and some batch MARC edit entrypoints from trunk, and example eg_vhost.conf. r18255, r18287, r18288, r18289, r18294

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

15 years agothinko supporting multiple rules of the same type in in-line merge rulesets
miker [Wed, 13 Oct 2010 02:38:49 +0000 (02:38 +0000)]
thinko supporting multiple rules of the same type in in-line merge rulesets

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

15 years agobackport oils_xpath wrappers
miker [Wed, 13 Oct 2010 02:27:28 +0000 (02:27 +0000)]
backport oils_xpath wrappers

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

15 years agodeduplicate bibs going into the merge queue
miker [Wed, 13 Oct 2010 00:30:06 +0000 (00:30 +0000)]
deduplicate bibs going into the merge queue

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

15 years agoforce reingest via open-ils.ingest
miker [Wed, 13 Oct 2010 00:25:59 +0000 (00:25 +0000)]
force reingest via open-ils.ingest

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

15 years agosync upgrade script with required reality
miker [Wed, 13 Oct 2010 00:04:12 +0000 (00:04 +0000)]
sync upgrade script with required reality

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

15 years agobackport bits of Vandelay required to perform the appropriate XML mangling for batch...
miker [Wed, 13 Oct 2010 00:03:56 +0000 (00:03 +0000)]
backport bits of Vandelay required to perform the appropriate XML mangling for batch update in the db

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

15 years agoBackport UI improvements from trunk
miker [Tue, 12 Oct 2010 20:34:08 +0000 (20:34 +0000)]
Backport UI improvements from trunk

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

15 years agoBackporting r18271 and r18272 from trunk
miker [Mon, 11 Oct 2010 20:44:39 +0000 (20:44 +0000)]
Backporting r18271 and r18272 from trunk

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

15 years agofix Actions for this Record -> Add Volumes. backport was missing this
phasefx [Mon, 11 Oct 2010 18:12:24 +0000 (18:12 +0000)]
fix Actions for this Record -> Add Volumes.  backport was missing this

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

15 years agorolling back some extra bits from trunk
miker [Mon, 11 Oct 2010 17:30:38 +0000 (17:30 +0000)]
rolling back some extra bits from trunk

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

15 years agoBackporting batch update functionality for 1.6.2, along with some deps
miker [Mon, 11 Oct 2010 17:25:19 +0000 (17:25 +0000)]
Backporting batch update functionality for 1.6.2, along with some deps

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

15 years agomake sure we change the juvenile flag on the patron object when we automatically...
phasefx [Fri, 8 Oct 2010 15:45:04 +0000 (15:45 +0000)]
make sure we change the juvenile flag on the patron object when we automatically change the juvenile checkbox in the UI

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

15 years agoAvoid scary SSL / HTTPS errors in Apache configuration
dbs [Fri, 8 Oct 2010 03:07:29 +0000 (03:07 +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/branches/rel_1_6@18235 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoadded support for honoring the due date ceiling from the duration rule. AKA, end...
erickson [Wed, 6 Oct 2010 20:45:49 +0000 (20:45 +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/branches/rel_1_6@18214 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoTwo changes to config schema:
scottmk [Wed, 6 Oct 2010 16:08:28 +0000 (16:08 +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/branches/rel_1_6@18208 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoBackport MARC Editor user interface enhancements from trunk
dbs [Tue, 5 Oct 2010 06:08:49 +0000 (06:08 +0000)]
Backport MARC Editor user interface enhancements from trunk

r16878 - Enable plain up-arrow and down-arrow to jump to next row in MARC editor

As TAB/shift-TAB move between each editable element of the MARC record,
we already have fine-grained keyboard navigation. However, moving down
10 data fields requires around 50 TAB presses or more, depending on how
many subfields are in the intervening data fields, or a looonng hold of
the tab key; not good for RSI.

The up-arrow and down-arrow keys, then, move directly to the next or
previous row, placing the focus in the first editable subfield element
rather than in the tag name (under the assumption that cataloguers are
most likely to want to edit the contents of a given subfield, and not
the tag name or indicators).

Now, in the worst-case scenario, a cataloguer who wants to edit the tag
name of a field 10 rows below their current position will have to
make 14 key presses (10 down arrows, 4 shift-TABs). Not too shabby.

r16884 - Reclaim cataloguing real estate by hiding unnecessary rows in fixed field grid editor

The fixed field grid editor currently shows blank rows for fixed field
attributes that don't apply to the currently displayed MARC record type. We
can hide these rows and offer more screen real estate for the MARC record
proper.

r16897 - Initial support for wrapping long subfields in the MARC editor

Limitations of the current approach are that the line width is arbitrarily set
to break at 100 characters, and is only calculated on a per-subfield basis. So
if a given field contains 50 subfields, each with 90 characters, this commit
isn't going to help you. (But really... in that scenario, you're beyond help
anyway!)

Also, the double-dagger aligns itself at the top of the box rather than the
middle once the box goes into multiline mode, which is annoying; but long 505
fields that scroll ten screens to the right are more annoying, so I'll commit
this for now rather than waste more time trying to CSS it into shape.

r16903  - Refactor cursor up/down and wrap long fields using Dojo

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

15 years agoBackport r18150: Hold priority control
senator [Mon, 4 Oct 2010 19:49:23 +0000 (19:49 +0000)]
Backport r18150: Hold priority control

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

15 years agoprevent repeat renderings of opac sidebar (relevant subjects, authors, etc.) in Firef...
phasefx [Mon, 4 Oct 2010 17:16:59 +0000 (17:16 +0000)]
prevent repeat renderings of opac sidebar (relevant subjects, authors, etc.) in Firefox.  What's happening is that the rresultHandleMods is not firing immediately with each record retrieve, and so we get a flurry at the end where resultPageIsDone() returns true for all of them, triggering the allRecordsReceived event more than once.  So now at the end of the first allRecordsReceived event chain, we set a global variable, and have these render functions check to see if it has been set.

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

15 years agoBackport r18151 from trunk: add support for hold_priority sorting in open-ils.storage...
miker [Mon, 4 Oct 2010 16:17:31 +0000 (16:17 +0000)]
Backport r18151 from trunk: add support for hold_priority sorting in open-ils.storage.action.hold_request.nearest_hold

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

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

For trunk and 1.6, and eventually for 1.6.2 and 2.1, but *not*
for 1.6.1 or 2.0.

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/src/perlmods/OpenILS/Application/Storage/CDBI/permission.pm
M    Open-ILS/examples/fm_IDL.xml

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

15 years agoSet due times for durations measured in days to 23:59:59 after inserts OR updates
dbs [Fri, 1 Oct 2010 20:18:38 +0000 (20:18 +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/branches/rel_1_6@18129 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoBackporting mod_deflate config from trunk -- big speed win, yay!
miker [Fri, 1 Oct 2010 15:58:28 +0000 (15:58 +0000)]
Backporting mod_deflate config from trunk -- big speed win, yay!

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

15 years agoimprove hold targetting
gmc [Fri, 24 Sep 2010 18:42:57 +0000 (18:42 +0000)]
improve hold targetting

* all potential capturable copies are now checked (up to the first
  one that is permitted for the request), instead of a small random
  subset of them
* don't do redundant permission checks

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

15 years agomerge r17958 from trunk for patron display juvenile CSS
phasefx [Fri, 24 Sep 2010 18:06:21 +0000 (18:06 +0000)]
merge r17958 from trunk for patron display juvenile CSS

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

15 years agoForward-port of a patch from Steve Callendar, via James Fournie, via launchpad:
miker [Thu, 23 Sep 2010 15:33:03 +0000 (15:33 +0000)]
Forward-port of a patch from Steve Callendar, via James Fournie, via launchpad:

When the patron.password.use_phone is set, new patrons are created with their password set to the last 4 digits of their phone number, HOWEVER, when a patron's password is reset, it does not work properly. Although the little underlined summary shows the proper 4 digits, the password box displays 9-ish digits, and is not the last 4 digits of the password.

The attached patch was created by Steve Callender and is confirmed working on 1.6.0

This patch will not work on 2.0 as that has a new user editor, but it would presumably be worthwhile to verify this functionality works in that editor as well.

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

15 years agoMake query parser a bit more careful when converting convenience classes to search...
dbs [Mon, 20 Sep 2010 20:22:34 +0000 (20:22 +0000)]
Make query parser a bit more careful when converting convenience classes to search classes

Queries like "Heart disease: a global problem" were getting converted to series searches
due to the trailing "se:" in the search terms. This change ensures that the convenience
class is either at the start of the input or preceded by whitespace.

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

15 years agomarc_add_ids - better failure recovery
gmc [Mon, 20 Sep 2010 08:29:15 +0000 (08:29 +0000)]
marc_add_ids - better failure recovery

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

15 years agoEnable bookbags to have a target searchOrg that sets the appropriate search scope...
dbs [Thu, 16 Sep 2010 20:31:26 +0000 (20:31 +0000)]
Enable bookbags to have a target searchOrg that sets the appropriate search scope in opac mode

For example, http://example.com/opac/extras/feed/bookbag/opac/2378?skin=sparkly&searchOrg=BR1
would resolve to a scope of BR1 in the dynamic OPAC.

There is a more sophisticated version of this in 2.0/trunk; this is just a
stop-gap measure until then.

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

15 years agoUpdate version stamp for Evergreen service, adopting branch convention from trunk
dbs [Fri, 10 Sep 2010 14:48:48 +0000 (14:48 +0000)]
Update version stamp for Evergreen service, adopting branch convention from trunk

http://hostname/gateway?service=open-ils.actor&method=opensrf.open-ils.system.ils_version
was returning "1-5" for a number of systems we checked; in trunk, we have adopted the
"x-y" convention for branches, so in the 1.6 branches we will follow the "x-y-z"
approach for a little more clarity.

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

15 years agoBackport r17563 from trunk: booking bugfix
senator [Fri, 10 Sep 2010 02:17:11 +0000 (02:17 +0000)]
Backport r17563 from trunk: booking bugfix

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

15 years agoBackport r17391 from trunk, in support of the next commit I'll make
senator [Fri, 10 Sep 2010 02:12:10 +0000 (02:12 +0000)]
Backport r17391 from trunk, in support of the next commit I'll make

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

15 years agofixes a bug when purging offline transactions after an Export
phasefx [Tue, 31 Aug 2010 17:14:33 +0000 (17:14 +0000)]
fixes a bug when purging offline transactions after an Export

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

15 years agoBackport r17405: fix start/end date selection problem with reservations
senator [Tue, 31 Aug 2010 17:07:06 +0000 (17:07 +0000)]
Backport r17405: fix start/end date selection problem with reservations

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

15 years agoBackport r71394 and r17395 from trunk: bib_source selection in Vandelay
dbs [Tue, 31 Aug 2010 15:18:04 +0000 (15:18 +0000)]
Backport r71394 and r17395 from trunk: bib_source selection in Vandelay

When importing a set of records from Vandelay, the bib source selection widget
on the Vandelay screen should actually affect the biblio.record_entry.source
value of the imported records.

We also pass the record types to the MARC editor from the Vandelay and
acquisitions interfaces, for however much good that does for us (not much
at the moment).

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

15 years agoBackport bib-source selector from trunk (r13793)
dbs [Tue, 31 Aug 2010 14:54:23 +0000 (14:54 +0000)]
Backport bib-source selector from trunk (r13793)

Enables one to edit the bib source of a given MARC record in the MARC editor

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

15 years agoMerge fixes from r17372 for printing label font and margin settings
dbs [Mon, 30 Aug 2010 14:58:38 +0000 (14:58 +0000)]
Merge fixes from r17372 for printing label font and margin settings

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

15 years agoBackport r17369 from trunk: Display blank instead of 'undefined' for undefined label...
dbs [Mon, 30 Aug 2010 14:24:30 +0000 (14:24 +0000)]
Backport r17369 from trunk: Display blank instead of 'undefined' for undefined label prefixes and suffixes

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

15 years agoBackport spine label prefix/suffix and printing fixes for XUL 1.9.0 from trunk
dbs [Mon, 30 Aug 2010 14:14:12 +0000 (14:14 +0000)]
Backport spine label prefix/suffix and printing fixes for XUL 1.9.0 from trunk

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

15 years agoBackport spine label editing enhancements to rel_1_6
dbs [Fri, 27 Aug 2010 00:40:01 +0000 (00:40 +0000)]
Backport spine label editing enhancements to rel_1_6

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

15 years agoBackport r17346 to fix broken OPAC renewals
senator [Thu, 26 Aug 2010 14:56:13 +0000 (14:56 +0000)]
Backport r17346 to fix broken OPAC renewals

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

15 years ago1-line fix for false 404 from sylvar
atz [Tue, 24 Aug 2010 15:56:40 +0000 (15:56 +0000)]
1-line fix for false 404 from sylvar

solves "The requested URL /xul/rel_1_6_0_7/server/patron/ue.xhtml&clone=112879 was not found on this server."

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

15 years agobackport of r17299: we need an index on LOWER(barcode) with r17018
miker [Sat, 21 Aug 2010 18:05:09 +0000 (18:05 +0000)]
backport of r17299: we need an index on LOWER(barcode) with r17018

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

15 years agoprovide an explicit import() sub to collect the boostrap config name at import. ...
erickson [Wed, 18 Aug 2010 17:40:52 +0000 (17:40 +0000)]
provide an explicit import() sub to collect the boostrap config name at import.  force child_init to run (once) if not run by Apache

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

15 years agoBackport of 17243: so, some datasets have records with multiple 245a subfields. yeah...
miker [Wed, 18 Aug 2010 16:36:54 +0000 (16:36 +0000)]
Backport of 17243: so, some datasets have records with multiple 245a subfields. yeah, really.

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

15 years agoGrant booking/reservation permissions in a way that is valid SQL
dbs [Fri, 13 Aug 2010 19:08:04 +0000 (19:08 +0000)]
Grant booking/reservation permissions in a way that is valid SQL

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

15 years agoGrant permissions related to booking/reservations to circulators and admins
dbs [Fri, 13 Aug 2010 19:03:00 +0000 (19:03 +0000)]
Grant permissions related to booking/reservations to circulators and admins

This should make for a better out-of-the-box experience for Evergreen adopters.
The permissions in the upgrade script are outside of the transaction to avoid
rolling back the entire upgrade if a site has already assigned these
permissions.

TODO: Document the new permissions as part of the 1.6.1 release notes so
that sites can alter the upgrade script according to their desires if they
don't like the defaults.

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

15 years agoopac.org_unit_hiding.depth
phasefx [Fri, 13 Aug 2010 18:42:43 +0000 (18:42 +0000)]
opac.org_unit_hiding.depth

This org unit setting will hide certain org units in the public OPAC if the Original Location (url param 'ol') for the OPAC inherits this setting.  This setting specifies an org unit depth, that together with the OPAC Original
Location determines which section of the Org Hierarchy should be visible in the OPAC.  For example, a stock Evergreen installation will have a 3-tier hierarchy (Consortium/System/Branch), where System has a depth of 1 and Branch
has a depth of 2.  If this setting contains a depth of 1 in such an installation, then every library in the System in which the Original Location belongs will be visible, and everything else will be hidden.  A depth of 0 will
effectively make every org visible.  The embedded OPAC in the staff client ignores this setting.

Thanks to Bill Ott for trailblazing this area and blogging about it.

We're modifying the library selector in the default skin, the depth selector (search This Branch, Local Library System, etc.), the availability summary columns in search results, the copy details in the Record Summary page, and
the search preferences under My Account (we're simply hiding those if needed).

TODO: forward-port to trunk (which handles org unit settings a bit differently).  port to craftsman?

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

15 years agoAnd get that closing brace back in place for the Dojo user editor
dbs [Thu, 12 Aug 2010 18:33:14 +0000 (18:33 +0000)]
And get that closing brace back in place for the Dojo user editor

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

15 years agoShow the "Active?" checkbox as part of the required (minimal) set of fields
dbs [Thu, 12 Aug 2010 18:21:36 +0000 (18:21 +0000)]
Show the "Active?" checkbox as part of the required (minimal) set of fields

As we're registering users, it's probably a good idea to ensure that staff
can set the user to active at the same time that they enter the minimal
patron information.

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

15 years agoEnable "Delete address" button to work in rel_1_6
dbs [Thu, 12 Aug 2010 17:50:03 +0000 (17:50 +0000)]
Enable "Delete address" button to work in rel_1_6

In some ways the inverse of r17023, the else clause that enabled
the delete button to be enabled was never being reached because
the preceding clauses caught all cases.

Moving it outside of the foreach() loop entirely seems to resolve the problem.

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

15 years agoRemove broken old JavaScript in Google Book preview code
dbs [Thu, 12 Aug 2010 07:44:12 +0000 (07:44 +0000)]
Remove broken old JavaScript in Google Book preview code

I /think/ this was supposed to change the title of the "Preview" link to
"Read this online" or the like in the case that the full text is available,
but it was relying on a function that didn't exist (setText) and trying
to reference an ID that didn't exists. So it broke in those rare cases
where Google Books did provide the full text.

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

15 years agoAdd schema upgrades for r16982, r16996, r17009, r17159 to 1.6.1.2
dbs [Wed, 11 Aug 2010 17:13:26 +0000 (17:13 +0000)]
Add schema upgrades for r16982, r16996, r17009, r17159 to 1.6.1.2

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

15 years agobug 592777: allow authoritative version of open-ils.circ.retrieve
gmc [Tue, 10 Aug 2010 21:21:53 +0000 (21:21 +0000)]
bug 592777: allow authoritative version of open-ils.circ.retrieve

Part of a fix to avoid race condition that can occur
when patron renews an item in the OPAC in a database
that uses pgpool and replication, which sometimes
results in an erroneous 'action_circulation_not_found' error.

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

15 years agofix age protection proximity test for in-DB circ
gmc [Tue, 10 Aug 2010 18:34:17 +0000 (18:34 +0000)]
fix age protection proximity test for in-DB circ

Patch from John Craig.

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

15 years agoPatch from Ben Ostrowsky <ben@esilibrary.com> to specify "staff account" in proxied...
dbs [Mon, 9 Aug 2010 13:15:00 +0000 (13:15 +0000)]
Patch from Ben Ostrowsky <ben@esilibrary.com> to specify "staff account" in proxied pages

This change will make it a bit more clear that we're not looking for a
patron barcode/PIN in the Selfcheck Login screen (and make the wording
consistent across similar login pages).

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

15 years agobug 532217: work around caching issue resulting doubled title display
gmc [Fri, 6 Aug 2010 20:37:45 +0000 (20:37 +0000)]
bug 532217: work around caching issue resulting doubled title display

Quick hack shamelessly borrowed from Dan Scott to fix problem
of title being displayed twice on bib details page when back
button is used in OPAC or staff client.

This is a temporary fix in lieu of rewriting the bib details
display to use BibTemplate exclusively.

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

15 years agobug 614150: bail out on ACTOR_USER_NOT_FOUND
gmc [Fri, 6 Aug 2010 01:22:16 +0000 (01:22 +0000)]
bug 614150: bail out on ACTOR_USER_NOT_FOUND

This fixes a bug where uploading an offline checkout
that refers to a missing patron returns an INTERNAL_SERVER_ERROR
instead of ACTOR_USER_NOT_FOUND.  More generally, this avoids
an exception in case case where a circ operation is made
without checking the existence of the patron record beforehand.

mk_env could use a better name, too.

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

15 years agobug 614132: fix glitch when used cached permission group widget
gmc [Fri, 6 Aug 2010 00:55:50 +0000 (00:55 +0000)]
bug 614132: fix glitch when used cached permission group widget

Fixes bug where the initial permission group value in a circ or
hold matrix entry was not displayed when editing an
existing matchpoint.

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

15 years agobug 613703: normalize backdate on item checkin better
gmc [Thu, 5 Aug 2010 03:01:04 +0000 (03:01 +0000)]
bug 613703: normalize backdate on item checkin better

Fixes bug that appears to cause all checkins uploaded
via offline circ to fail with an "invalid date format"
error.

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

15 years agoForward-port r17024: include null fields, via .toStoreItem(), when creating a permiss...
miker [Fri, 23 Jul 2010 17:20:19 +0000 (17:20 +0000)]
Forward-port r17024: include null fields, via .toStoreItem(), when creating a permission map store item

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

15 years agobug #608937: make barcode search from main patron search form case-insensitive
gmc [Thu, 22 Jul 2010 21:47:07 +0000 (21:47 +0000)]
bug #608937: make barcode search from main patron search form case-insensitive

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

15 years agobackport of r17007: retain the indicators on located uri 856 merge during asset merge
miker [Thu, 22 Jul 2010 01:05:18 +0000 (01:05 +0000)]
backport of r17007: retain the indicators on located uri 856 merge during asset merge

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