evergreen/equinox.git
15 years agoBackporting r18652: Teach vandelay.replace_field to be a little smarter by allowing...
miker [Mon, 8 Nov 2010 16:24:47 +0000 (16:24 +0000)]
Backporting r18652: Teach vandelay.replace_field to be a little smarter by allowing simple cases of both replacing and regexp-testing the same subfield

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

15 years agoholds retrieval API call sorting and cleanup; sort non-cancelled holds by ready...
erickson [Mon, 8 Nov 2010 16:21:45 +0000 (16:21 +0000)]
holds retrieval API call sorting and cleanup;  sort non-cancelled holds by ready-for pickup, then active, then suspended;  use json_query to fetch IDs first, so id_list calls can avoid fetching the full hold objects in the ML.  sort fleshed transit by send time to pick up the latest transit

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

15 years agoFurther Fedora prereq installer tweaks
dbs [Mon, 8 Nov 2010 02:57:59 +0000 (02:57 +0000)]
Further Fedora prereq installer tweaks

  * Install the Perl DBD::Pg module
  * Force the CPAN modules, as Business::OnlinePayment::AuthorizeNet
    still suffers from an install-crippling bug

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

15 years agoAdd UUID::Tiny to Fedora prerequisites
dbs [Mon, 8 Nov 2010 01:29:59 +0000 (01:29 +0000)]
Add UUID::Tiny to Fedora prerequisites

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

15 years agoImprove Fedora prerequisite installer
dbs [Mon, 8 Nov 2010 00:39:19 +0000 (00:39 +0000)]
Improve Fedora prerequisite installer

  * Explicitly install wget, which isn't installed in a minimal install
  * Hack JavaScript-SpiderMonkey Makefile.PL for 32-bit Fedora
  * Provide a fedora14 target
  * Change "fedora-13" to "fedora13" to match OpenSRF prereq installer

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

15 years ago#671213: remove extraneous insert from upgrade script
gmc [Fri, 5 Nov 2010 18:58:53 +0000 (18:58 +0000)]
#671213: remove extraneous insert from upgrade script

Somebody upgrading from 1.6.1 should already have this.

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

15 years agoswitch to authoritative methods for various acq retrievals
gmc [Fri, 5 Nov 2010 17:56:29 +0000 (17:56 +0000)]
switch to authoritative methods for various acq retrievals

Avoid race condition when using Slony replication

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

15 years agomissed database update from password reset fix
gmc [Fri, 5 Nov 2010 17:54:13 +0000 (17:54 +0000)]
missed database update from password reset fix

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

15 years agobackport r18548, 18564, and 18602 from trunk for opac login form tweaks
phasefx [Fri, 5 Nov 2010 17:37:16 +0000 (17:37 +0000)]
backport r18548, 18564, and 18602 from trunk for opac login form tweaks

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

15 years agoremove aupr.request_time fix from 1.6.1-2.0 upgrade
gmc [Fri, 5 Nov 2010 17:06:33 +0000 (17:06 +0000)]
remove aupr.request_time fix from 1.6.1-2.0 upgrade

Fix also in 1.6.1.3

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

15 years agoBackport r18622 from trunk: legacy serials OPAC fix
senator [Fri, 5 Nov 2010 17:03:24 +0000 (17:03 +0000)]
Backport r18622 from trunk: legacy serials OPAC fix

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

15 years agofix user password reset request time column def
gmc [Fri, 5 Nov 2010 16:46:40 +0000 (16:46 +0000)]
fix user password reset request time column def

Needs to be a timestamp with time zone; fixes a bug
where it was interpreted as a UTC time, throwing off
the calculation of the expiration of the password reset
request.

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

15 years agoremove some extra rollbacks, and catch the failure of others where they may or may...
miker [Fri, 5 Nov 2010 16:07:04 +0000 (16:07 +0000)]
remove some extra rollbacks, and catch the failure of others where they may or may not be needed

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

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

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

15 years agoBackport r18606 from trunk: no more Net::uFTP
senator [Thu, 4 Nov 2010 21:19:49 +0000 (21:19 +0000)]
Backport r18606 from trunk: no more Net::uFTP

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

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

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

15 years agoGeneral 2.0b1 cleanup
miker [Thu, 4 Nov 2010 12:41:49 +0000 (12:41 +0000)]
General 2.0b1 cleanup

 * Problem in vandelay.add_fields spotted by tsbere
 * Syncing 1.6.1-2.0 upgrade script with reality

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

15 years agoover-aggressive backporting -- only in trunk and 1.6
miker [Thu, 4 Nov 2010 12:29:03 +0000 (12:29 +0000)]
over-aggressive backporting -- only in trunk and 1.6

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

15 years agoadd TT helper to squeeze strings into the UNOB straitjacket
gmc [Thu, 4 Nov 2010 01:04:15 +0000 (01:04 +0000)]
add TT helper to squeeze strings into the UNOB straitjacket

The force_jedi_unob helper strips non-ASCII characters from
template output but does so nicely by converting the string
to NFD first.  This is meant to be used by EDI templates, although
could be useful for A/T output that goes to receipt
printers that cannot print diacritics.

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

15 years agoblimey
gmc [Wed, 3 Nov 2010 20:31:01 +0000 (20:31 +0000)]
blimey

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

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

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

15 years agoflip sense of spending limit check
gmc [Wed, 3 Nov 2010 19:58:18 +0000 (19:58 +0000)]
flip sense of spending limit check

Testing showed users expecting that the limit would
be based on amount spent, not the amount available
to send.

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

15 years agoBackport r18589 from trunk: acq invoice voucher fix
senator [Wed, 3 Nov 2010 14:46:51 +0000 (14:46 +0000)]
Backport r18589 from trunk: acq invoice voucher fix

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

15 years agoBackport r18535 from trunk: hard due date interfaces
senator [Tue, 2 Nov 2010 16:46:16 +0000 (16:46 +0000)]
Backport r18535 from trunk: hard due date interfaces

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

15 years agoMove upgrade to upgrade directory
senator [Tue, 2 Nov 2010 16:44:10 +0000 (16:44 +0000)]
Move upgrade to upgrade directory

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

15 years agoBackport r18583 from trunk, fund totals on an invoice voucher
senator [Tue, 2 Nov 2010 16:28:33 +0000 (16:28 +0000)]
Backport r18583 from trunk, fund totals on an invoice voucher

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18584 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:23:35 +0000 (16:23 +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_2_0@18581 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoDROP TRIGGER IF EXISTS push_due_date_tgr ON action.circulation;
gmc [Tue, 2 Nov 2010 15:50:39 +0000 (15:50 +0000)]
DROP TRIGGER IF EXISTS push_due_date_tgr ON action.circulation;
add definition for UPC line item attribute

Useful for providers of audiovisual material that
don't have ISBNs.

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

15 years agoenable authoritative versions of various acq retrieval functions
gmc [Tue, 2 Nov 2010 13:05:27 +0000 (13:05 +0000)]
enable authoritative versions of various acq retrieval functions

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

15 years agodon't break up title and author when ingesting acquisitions MARC
gmc [Tue, 2 Nov 2010 13:03:14 +0000 (13:03 +0000)]
don't break up title and author when ingesting acquisitions MARC

Note that this can be done more cleanly once oils_xpath groks
XPATH 2.0 functions, in particular string-join.

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

15 years agoback-porting 18571, 18572. provider fetching updates, autofieldwidget linked class...
erickson [Tue, 2 Nov 2010 03:03:17 +0000 (03:03 +0000)]
back-porting 18571, 18572.  provider fetching updates, autofieldwidget linked class loader

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

15 years agoin SIP patron retrieval, only fetch non-archived penalties and penalties that that...
erickson [Tue, 2 Nov 2010 02:56:02 +0000 (02:56 +0000)]
in SIP patron retrieval, only fetch non-archived penalties and penalties that that matter (fines, overdues, blocking penalties).  pair down the penalty comparisons to avoid fleshing the penalty type, potentially numerous times for a given type, by using the constant identifiers

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

15 years agoEnable merge of authority records to do the right thing
dbs [Tue, 2 Nov 2010 02:47:47 +0000 (02:47 +0000)]
Enable merge of authority records to do the right thing

The target and source authority record was flipped, causing
the update to fail. In reconsidering this function, it is not
necessary to change the contents of the source authority record
just to propagate the content of the target authority record
to any linked bibliographic records.

Instead, take the approach of updating the ID of the controlled
field in the bib record, then temporarily set "reingest on same
MARC" to TRUE and update the target authority record by setting
deleted = FALSE (which propagates the "changes" to the linked
bib records), then set "reingest on same MARC" flag back to its
original value.

This has the bonus of actually working.

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

15 years agoyet another replication race condition fix
gmc [Mon, 1 Nov 2010 23:24:23 +0000 (23:24 +0000)]
yet another replication race condition fix

Fixes problems that can occur when creating a lineitem
from an existing bib in the catalog; adds an authoritative
version of open-ils.acq.lineitem.retrieve.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18566 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:55:02 +0000 (20:55 +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_2_0@18562 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoReplace hard-coded '(CONS)' for MARC control number identifier in authority records
dbs [Mon, 1 Nov 2010 20:42:00 +0000 (20:42 +0000)]
Replace hard-coded '(CONS)' for MARC control number identifier in authority records

We created an actor.org_unit_setting, 'cat.marc_control_number_identifier', for
specifying the preferred MARC control number identifier, but when we create a
new authority record from the MARC editor, the hardcoded value of 'CONS' is being
used.

This teaches the staff client how to pull the appropriate value from the AOUS
when invoking the MARC Editor.

Resolves https://bugs.launchpad.net/evergreen/+bug/669245

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

15 years agoEnsure that changes to authority records propagate to linked bibliographic records
dbs [Mon, 1 Nov 2010 19:46:15 +0000 (19:46 +0000)]
Ensure that changes to authority records propagate to linked bibliographic records

Per https://bugs.launchpad.net/evergreen/+bug/669596, updated authority records
weren't being reflected in bibliographic records with fields that link to those
authority records. We were missing the call to authority.propaagate_changes()
withing the ingest trigger on authority.record_entry.

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

15 years agowe should not restrict to the top org only, get all counts
miker [Mon, 1 Nov 2010 18:38:34 +0000 (18:38 +0000)]
we should not restrict to the top org only, get all counts

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

15 years agoBackport thinko fix for count reporting
miker [Mon, 1 Nov 2010 18:27:14 +0000 (18:27 +0000)]
Backport thinko fix for count reporting

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

15 years agoBackport of in-db hold permit improvements from trunk
miker [Mon, 1 Nov 2010 17:31:22 +0000 (17:31 +0000)]
Backport of in-db hold permit improvements from trunk

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

15 years agosyntax
phasefx [Mon, 1 Nov 2010 16:23:22 +0000 (16:23 +0000)]
syntax

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

15 years agoInclude copy counts in holdings XML -- I will destroy MVRs yet!
miker [Mon, 1 Nov 2010 16:18:23 +0000 (16:18 +0000)]
Include copy counts in holdings XML -- I will destroy MVRs yet!

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

15 years agolet libraries allow funds to be overcommitted
gmc [Mon, 1 Nov 2010 15:40:57 +0000 (15:40 +0000)]
let libraries allow funds to be overcommitted

The check constraints on the balance warning and
stop limits were too strict - a library can validly
choose to permit a fund to have a commitment greater
than 100% of its allocation

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

15 years agoadjust quoting of phrase searches
gmc [Fri, 29 Oct 2010 01:25:41 +0000 (01:25 +0000)]
adjust quoting of phrase searches

This has three main effects:

* This formalizes the current behavior where a
  phrase search like

  title:"^Harry Potter"

  acts as a left-anchored search and

  title:"Harry Potter$"

  acts as a right-anchored search.

In particular, this can be useful for constructing
searches of bibliographic call numbers.

* Other regex metacharacters in phrase searches are
  now escaped.

* Phrase searches like "C++" will no longer crash; in fact,
  this makes a phrase search currently the only way to
  accurately retrieve all C++ titles with the usual
  normalization rules

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

15 years agoloosen cross-check of line item ID when processing incoming EDI messages
gmc [Fri, 29 Oct 2010 00:06:26 +0000 (00:06 +0000)]
loosen cross-check of line item ID when processing incoming EDI messages

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

15 years agowrap some EDI message retrievals in transactions
gmc [Thu, 28 Oct 2010 23:56:06 +0000 (23:56 +0000)]
wrap some EDI message retrievals in transactions

Avoid errors when operating under Slony.

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

15 years agocalling noop with no arguments (and not capturing the output) is, well, a no-op....
erickson [Thu, 28 Oct 2010 20:06:14 +0000 (20:06 +0000)]
calling noop with no arguments (and not capturing the output) is, well, a no-op.  set the value to true as originally intended

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

15 years agoBackport r18530 from trunk: misc alt serials UI minor improvements, tweaks
senator [Thu, 28 Oct 2010 18:20:29 +0000 (18:20 +0000)]
Backport r18530 from trunk: misc alt serials UI minor improvements, tweaks

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18531 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:26:38 +0000 (17:26 +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_2_0@18527 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agocondensed SIP patron lookup by barcode into 1 cstore call; provided option for slimm...
erickson [Thu, 28 Oct 2010 15:14:00 +0000 (15:14 +0000)]
condensed SIP patron lookup by barcode into 1 cstore call;  provided option for slimmed-down user object fetching in the case of checkin, where all we really need is the barcode of the user on the circulation

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18520 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:10:53 +0000 (15:10 +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.

For sortkey-aware branches, I modified James' patch to take advantage of the
asset.call_number.label_sortkey column and the oils_text_as_bytea() function.

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

15 years agoBackport r18514 from trunk, more circ speedups when booking not in play
senator [Wed, 27 Oct 2010 21:21:30 +0000 (21:21 +0000)]
Backport r18514 from trunk, more circ speedups when booking not in play

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

15 years agomore micro-optimization of checkin code; protect against undef var warning in info...
erickson [Wed, 27 Oct 2010 20:21:16 +0000 (20:21 +0000)]
more micro-optimization of checkin code; protect against undef var warning in info message; removed unused sub

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

15 years agoMove towards unnest (faster than explode_array); bring upgrade script up to speed
miker [Wed, 27 Oct 2010 20:08:52 +0000 (20:08 +0000)]
Move towards unnest (faster than explode_array); bring upgrade script up to speed

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

15 years agosince they typically repeat, cache the org and requestor objects in the permit loop...
erickson [Wed, 27 Oct 2010 19:19:26 +0000 (19:19 +0000)]
since they typically repeat, cache the org and requestor objects in the permit loop of the find-best-hold calculation

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

15 years agoBackport of r18494, r18500 and r18501 from trunk: split fine generation
miker [Wed, 27 Oct 2010 19:13:54 +0000 (19:13 +0000)]
Backport of r18494, r18500 and r18501 from trunk: split fine generation

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

15 years agoBackport r18502 from trunk: make booking avoidable in circ service (speedup!)
senator [Wed, 27 Oct 2010 19:09:14 +0000 (19:09 +0000)]
Backport r18502 from trunk: make booking avoidable in circ service (speedup!)

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

15 years agoremove unused settings and permission
gmc [Wed, 27 Oct 2010 16:57:05 +0000 (16:57 +0000)]
remove unused settings and permission

circ.holds.alert_if_local_avail and circ.holds.deny_if_local_avail
are redundant; circ.holds.hold_has_copy_at.{alert|block} are the
settings that will actually be used.  Also remove a related,
redundant permission.

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

15 years agoadded grid autoHeight to distrib formula page to prevent the grid from consuming...
erickson [Wed, 27 Oct 2010 15:26:50 +0000 (15:26 +0000)]
added grid autoHeight to distrib formula page to prevent the grid from consuming the whole page

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

15 years agoBackport r18489 from trunk: distribution formula UI paging
senator [Wed, 27 Oct 2010 14:53:29 +0000 (14:53 +0000)]
Backport r18489 from trunk: distribution formula UI paging

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

15 years agofix glitch in escaping call number labels
gmc [Wed, 27 Oct 2010 13:51:55 +0000 (13:51 +0000)]
fix glitch in escaping call number labels

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

15 years agoView Source option for embedded browser (click on the Debug link)
phasefx [Wed, 27 Oct 2010 05:11:14 +0000 (05:11 +0000)]
View Source option for embedded browser (click on the Debug link)

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

15 years agoBackport r18480 from trunk: copy template editor bugfix
senator [Tue, 26 Oct 2010 22:11:57 +0000 (22:11 +0000)]
Backport r18480 from trunk: copy template editor bugfix

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

15 years agofix NACO normalization of four letter modifier characters
gmc [Tue, 26 Oct 2010 19:36:35 +0000 (19:36 +0000)]
fix NACO normalization of four letter modifier characters

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18477 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:00:09 +0000 (14:00 +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_2_0@18470 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoFloating field in alternate item details UI
phasefx [Mon, 25 Oct 2010 19:16:20 +0000 (19:16 +0000)]
Floating field in alternate item details UI

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

15 years agoquickly, before anyone notices ... minor speed enhancement (aka, thinko)
miker [Mon, 25 Oct 2010 18:31:58 +0000 (18:31 +0000)]
quickly, before anyone notices ... minor speed enhancement (aka, thinko)

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

15 years agoBackport r18462-r18463 from trunk: Remove some connectby() uses and update upgrade...
miker [Mon, 25 Oct 2010 18:23:44 +0000 (18:23 +0000)]
Backport r18462-r18463 from trunk: Remove some connectby() uses and update upgrade script

git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18464 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:25:36 +0000 (16:25 +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_2_0@18458 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agofurther protection against dreaded opac bank page; wrap settimeout redetail bibtempla...
erickson [Fri, 22 Oct 2010 20:41:09 +0000 (20:41 +0000)]
further protection against dreaded opac bank page; wrap settimeout redetail bibtemplate loading in an onload to ensure it runs after dojo onload events

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

15 years agoUse standard JS syntax; var [...] seems to be a Spidermonkey extension
miker [Fri, 22 Oct 2010 19:27:21 +0000 (19:27 +0000)]
Use standard JS syntax; var [...] seems to be a Spidermonkey extension

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

15 years agotypo in setTimeout spotted by dbs
miker [Fri, 22 Oct 2010 16:25:25 +0000 (16:25 +0000)]
typo in setTimeout spotted by dbs

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

15 years agoBackport r18448 from trunk, minor acq glitch with view/place orders interface
senator [Fri, 22 Oct 2010 16:24:39 +0000 (16:24 +0000)]
Backport r18448 from trunk, minor acq glitch with view/place orders interface

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

15 years agoMove dojo loading around to avoid the "white screen of death" in Firefox and xulrunne...
miker [Fri, 22 Oct 2010 16:21:07 +0000 (16:21 +0000)]
Move dojo loading around to avoid the "white screen of death" in Firefox and xulrunner (See: o.dojotoolkit.org/forum/dojo-foundation/general-discussion/firefox-3-fires-domcontentloaded-event-prematurely )

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

15 years agoBackport r18442 from trunk, autogrid cut-off tweak
senator [Thu, 21 Oct 2010 19:33:46 +0000 (19:33 +0000)]
Backport r18442 from trunk, autogrid cut-off tweak

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

15 years agoilsevent is no longer a number, but a string. I knew that, but missed this test
phasefx [Thu, 21 Oct 2010 16:12:31 +0000 (16:12 +0000)]
ilsevent is no longer a number, but a string.  I knew that, but missed this test

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

15 years agoimprove call number sorting
gmc [Thu, 21 Oct 2010 14:48:12 +0000 (14:48 +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_2_0@18436 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agouse a transaction when searching for the nearest hold request
gmc [Wed, 20 Oct 2010 21:48:31 +0000 (21:48 +0000)]
use a transaction when searching for the nearest hold request

Solves the following problem in a setup that uses Slony - if
multiple items that can fulfill the same hold are checked
in one after another, occassionally two items will end up
being put in transit for the same hold request.

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

15 years agoadded some time diagnostics to checkin process; more org unit caching; do less user...
erickson [Wed, 20 Oct 2010 20:45:32 +0000 (20:45 +0000)]
added some time diagnostics to checkin process;  more org unit caching; do less user fleshing on hold user during checkin (only card and name is needed)

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

15 years agoThese fields exist ... tell the IDL about them
miker [Wed, 20 Oct 2010 20:45:03 +0000 (20:45 +0000)]
These fields exist ... tell the IDL about them

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

15 years agoadd start_date and end_date to scap serialization
miker [Wed, 20 Oct 2010 20:34:11 +0000 (20:34 +0000)]
add start_date and end_date to scap serialization

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

15 years agodon't allow inactive cards with web-selfcheck
phasefx [Wed, 20 Oct 2010 20:15:33 +0000 (20:15 +0000)]
don't allow inactive cards with web-selfcheck

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

15 years agoBackport r18421 from trunk
senator [Wed, 20 Oct 2010 20:14:44 +0000 (20:14 +0000)]
Backport r18421 from trunk

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

15 years agoBackport r18419 from trunk: supercat bugs on records with serials data attached
senator [Wed, 20 Oct 2010 19:52:20 +0000 (19:52 +0000)]
Backport r18419 from trunk: supercat bugs on records with serials data attached

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

15 years agoPatch from tsbere to address backporting issue of hard due dates patch against trunk...
miker [Wed, 20 Oct 2010 19:49:16 +0000 (19:49 +0000)]
Patch from tsbere to address backporting issue of hard due dates patch against trunk (also, get rid of 3-space indentation..)

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

15 years agoBackport r18416 from trunk: a/t use rstore to flesh if cstore not available
senator [Wed, 20 Oct 2010 19:36:34 +0000 (19:36 +0000)]
Backport r18416 from trunk: a/t use rstore to flesh if cstore not available

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

15 years agoBackport r18414 from trunk
senator [Wed, 20 Oct 2010 17:33:51 +0000 (17:33 +0000)]
Backport r18414 from trunk

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

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

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

15 years agoPrevent "Validate" from matching against deleted authority records
dbs [Wed, 20 Oct 2010 16:20:43 +0000 (16:20 +0000)]
Prevent "Validate" from matching against deleted authority records

2.0 introduces the ability to delete authority records. The routines in
OpenILS:Application:Storage:Publisher:authority check for matching values
of authority.full_rec without concern about whether the corresponding
entry in authority.record_entry has been deleted or not.

This change removes entries from authority.full_rec when an
authority.record_entry row is deleted, with the (possibly incorrect)
assumption that there won't be many cases where users will want to
search for deleted authority records and undelete them. If that
assumption turns out to be incorrect, then further changes can follow;
this change at least makes the current behaviour for user-visible
actions work as expected.

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

15 years agoBackport r18407 from trunk: alt serials interface tweak
senator [Wed, 20 Oct 2010 16:00:28 +0000 (16:00 +0000)]
Backport r18407 from trunk: alt serials interface tweak

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

15 years agoduring checkin, an item's hold may have a fleshed pickup_lib. added code to detect...
erickson [Wed, 20 Oct 2010 15:24:08 +0000 (15:24 +0000)]
during checkin, an item's hold may have a fleshed pickup_lib.  added code to detect and protect against treating a ref as an ID.  minor cleanup

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

15 years agoBackporting r18396 from trunk: Patch from Thomas Berezansky providing an alternate...
miker [Wed, 20 Oct 2010 13:26:37 +0000 (13:26 +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_2_0@18397 dcc99617-32d9-48b4-a31d-7c20da2025e4

15 years agoexpand the scope of BT on the result list page, allowing simpler slots
miker [Tue, 19 Oct 2010 20:37:34 +0000 (20:37 +0000)]
expand the scope of BT on the result list page, allowing simpler slots

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

15 years agoupdate 1.6.1 to 2.0 upgrade script for 0441
gmc [Mon, 18 Oct 2010 23:02:43 +0000 (23:02 +0000)]
update 1.6.1 to 2.0 upgrade script for 0441

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

15 years agofix mapping of the crossed D character in naco_normalize
gmc [Mon, 18 Oct 2010 23:00:23 +0000 (23:00 +0000)]
fix mapping of the crossed D character in naco_normalize

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

15 years agoBackport r18386 from trunk, asset.copy_template editing improvement
senator [Mon, 18 Oct 2010 21:54:18 +0000 (21:54 +0000)]
Backport r18386 from trunk, asset.copy_template editing improvement

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

15 years agoBackport r18384 from trunk: serials previous issue copy location moving
senator [Mon, 18 Oct 2010 19:47:06 +0000 (19:47 +0000)]
Backport r18384 from trunk: serials previous issue copy location moving

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

15 years agoProtect biblio.extract_located_uris() from a NULL uri_use value by using the href...
dbs [Mon, 18 Oct 2010 19:10:13 +0000 (19:10 +0000)]
Protect biblio.extract_located_uris() from a NULL uri_use value by using the href as a fallback

If an 856 field contained a subfield "9" but did not contain a subfield
"z", "2", or "n", then ingest of the MARC record would fail as it attempted
to retrieve an asset.uri row where uri_use = NULL - which was never true.

This change adds the subfield "u" to fall back to for the uri_use variable,
just like we do for the uri_label variable, and prevents ugly ingest errors
from getting thrown back at the client.

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

15 years agostop sign page was incorrectly coming up for all penalties
phasefx [Mon, 18 Oct 2010 17:45:19 +0000 (17:45 +0000)]
stop sign page was incorrectly coming up for all penalties

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

15 years agomake Circulation -> Enter Offline Interface open a new window instead of a tab, like...
phasefx [Mon, 18 Oct 2010 16:19:08 +0000 (16:19 +0000)]
make Circulation -> Enter Offline Interface open a new window instead of a tab, like the button from the login window.  This works around a permission issue with loading the offline receipt templates

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