working/Evergreen.git
15 years agoForward port of r16867: add missing event definition required by vandelay authority...
miker [Wed, 7 Jul 2010 17:13:03 +0000 (17:13 +0000)]
Forward port of r16867: add missing event definition required by vandelay authority import

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

15 years agobackport r16838 from trunk
gmc [Thu, 1 Jul 2010 02:27:14 +0000 (02:27 +0000)]
backport r16838 from trunk

bug #600021: fix lookup of FIFO holds OU setting

Patch from Anoop Atre that fixes enabling FIFO
holds via the circ.holds_fifo org unit setting.

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

15 years agoPatch from Don McMorris. Good catch, Don.
senator [Mon, 28 Jun 2010 21:34:49 +0000 (21:34 +0000)]
Patch from Don McMorris. Good catch, Don.

He writes:

    In the branch rel_1_6 version of 950.data.seed-values.sql [1], lines
    138-142 create the OU setting
    'circ.booking_reservation.default_elbow_room' via the query:

    INSERT INTO actor.org_unit_setting (org_unit, name, value) VALUES (
               (SELECT id FROM actor.org_unit WHERE parent_ou IS NULL),
               'circ.booking_reservation.default_elbow_room',
               '"1 day"'
           );

    However, it appears that actor.org_unit does not start to get
    populated until line 853.  As such, the "SELECT id FROM actor.org_unit
    WHERE parent_ou IS NULL" portion of the insert will return NULL, and
    actor.org_unit_setting.org_unit has a 'NOT NULL' contraint - as such,
    the insert fails.

    [...]

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

15 years agoremove attempts to install staging and query schemas in 1.6.x
miker [Tue, 22 Jun 2010 21:58:40 +0000 (21:58 +0000)]
remove attempts to install staging and query schemas in 1.6.x

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

15 years agoBackport security fix r16747 from trunk
dbs [Fri, 18 Jun 2010 04:46:20 +0000 (04:46 +0000)]
Backport security fix r16747 from trunk

1. Disable fleshing for PCRUD.  Otherwise fleshing would provide a
back door whereby a user could see stuff he has no permission to see.

2. For the id_list method: strip out the "flesh_fields" entry, not
the "flesh_columns" entry (which doesn't exist).  This actually makes
no difference, but if we're going to do something useless, we might
as well do it right.

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

15 years agoI18N: get capture.js built from PO sources
dbs [Mon, 14 Jun 2010 16:31:29 +0000 (16:31 +0000)]
I18N: get capture.js built from PO sources

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

15 years agor16692 resolved the lack of JSON compliance in reservation.js; turn that back on
dbs [Mon, 14 Jun 2010 15:59:17 +0000 (15:59 +0000)]
r16692 resolved the lack of JSON compliance in reservation.js; turn that back on

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

15 years agoFix bad JSON for all remaining Dojo i18n files
dbs [Mon, 14 Jun 2010 15:54:08 +0000 (15:54 +0000)]
Fix bad JSON for all remaining Dojo i18n files

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

15 years agoFix bad JSON in acq i18n file
dbs [Mon, 14 Jun 2010 15:52:18 +0000 (15:52 +0000)]
Fix bad JSON in acq i18n file

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

15 years agoremoved unused method retrieved from method_lookup. apart from being unused, the...
erickson [Mon, 14 Jun 2010 15:42:48 +0000 (15:42 +0000)]
removed unused method retrieved from method_lookup.  apart from being unused, the call was attempting to fetch a nonexistent method ('auth' vs. 'authority') and hilarity ensued

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

15 years agodb upgrade script comment and license
miker [Mon, 14 Jun 2010 14:48:37 +0000 (14:48 +0000)]
db upgrade script comment and license

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

15 years agobackporting r16694 -- reporter WHERE clause fixes
miker [Sat, 12 Jun 2010 13:50:45 +0000 (13:50 +0000)]
backporting r16694 -- reporter WHERE clause fixes

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

15 years agoRepair abuse of dojo translatable string bundle for Booking.
senator [Fri, 11 Jun 2010 21:36:42 +0000 (21:36 +0000)]
Repair abuse of dojo translatable string bundle for Booking.
These should be JSON only, no code.

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

15 years agoa null boolean value should use the label for UNSET instead of False (the default)
erickson [Fri, 11 Jun 2010 21:20:46 +0000 (21:20 +0000)]
a null boolean value should use the label for UNSET instead of False (the default)

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

15 years agobackporting changeset 16687 with harmless bits of 14391 and 15222 sneaking in; hoping...
phasefx [Fri, 11 Jun 2010 21:16:33 +0000 (21:16 +0000)]
backporting changeset 16687 with harmless bits of 14391 and 15222 sneaking in; hoping to help with https://bugs.launchpad.net/evergreen/+bug/567505

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

15 years agoadded a number of info messages to the action/trigger runner and server code. the...
erickson [Fri, 11 Jun 2010 13:50:24 +0000 (13:50 +0000)]
added a number of info messages to the action/trigger runner and server code.  the messages provide summary data about what event defs / hooks are being processed and when/if they complete or timeout.

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

15 years agoJust like r16670, avoid directory creation error if directory exists
dbs [Fri, 11 Jun 2010 04:57:39 +0000 (04:57 +0000)]
Just like r16670, avoid directory creation error if directory exists

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

15 years agoAdd i18n Makefile support for new Dojo resource files in this release
dbs [Fri, 11 Jun 2010 04:47:29 +0000 (04:47 +0000)]
Add i18n Makefile support for new Dojo resource files in this release

reservation.js is still commented out until we bring it into compliance

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

15 years agoFix directory creation in Dojo resource script
dbs [Fri, 11 Jun 2010 04:40:36 +0000 (04:40 +0000)]
Fix directory creation in Dojo resource script

Don't assume that if the file doesn't exist, that the directory also does not.

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

15 years agoBackport r16667 from trunk: Remove extraneous whitespace in ILS events POT file
dbs [Fri, 11 Jun 2010 03:40:15 +0000 (03:40 +0000)]
Backport r16667 from trunk: Remove extraneous whitespace in ILS events POT file

We were grabbing everything - tabs, newlines, extra spaces - from
ils_events.xml, and we don't want to do that.

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

15 years agoMerge r16605 and r16607 from trunk for Dojo i18n enhancements:
dbs [Fri, 11 Jun 2010 03:32:22 +0000 (03:32 +0000)]
Merge r16605 and r16607 from trunk for Dojo i18n enhancements:
  * Create output directories if they do no exist (r16605)
  * Identify problem file when generating POT from Dojo resource files (r16607)

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

15 years agoPatch from James Fournie of SITKA:
miker [Thu, 10 Jun 2010 19:15:55 +0000 (19:15 +0000)]
Patch from James Fournie of SITKA:

There was some discussion about problems with holds fulfillment at the
holds roundtable at EG2010.  I am pleased to share this patch with the
community which has been thoroughly tested by the folks at
Thompson-Nicola Regional District Library.  (thanks guys!)

Background:

Evergreen's default out-of-the-box behaviour for holds fulfillment is
a gas-saving method.  Holds are fulfilled by proximity.  In a
multibranch library, holds are fulfilled at the local branch first.
Many libraries, particularly single branch libraries may be ok with
this, but it may be problematic for other libraries.

Imagine a scenario where you have a large central branch and a small
rural branch of the same library system.  At the large branch, there
are many copies of Popular New DVD with lots of holds.   There are no
copies at the rural branch.  Patrons at the small rural branch who
want to pick up Popular New DVD at their home branch may never get
their hold fulfilled because the copies will stay at the large branch
as long as there are holds for pickup there.

This patch adds an org unit setting that changes the opportunistic
check-in so that items checked in will be assigned to holds by request
date first, rather than proximity.   This setting can be applied to
any level of the org tree, so in some situations you may even want to
activate FIFO for large libraries, but leave the original setting for
smaller libraries with less traffic who want to keep their copies more
local.

Also credit to Jeff Godin who thought of the same patch and
contributed the setting name "holds FIFO" for the setting

[ NOTE:  Implications of mixed FIFO and non-FIFO environments that are
not sufficiently segregated by the use of Hard Boundaries for Holds
present a potenial for user confusion.  Beware that mixing FIFO and
non-FIFO settings within a resource-sharing group will likely result in
severe imbalance of hold fulfillment, though further configuration,
development, tuning and testing may be able to mitigate these issues.
 --miker ]

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

15 years agoupdated report param editor to handle join types embedded in the field name. this...
erickson [Thu, 10 Jun 2010 18:48:37 +0000 (18:48 +0000)]
updated report param editor to handle join types embedded in the field name.  this bug caused sporadic failed rendering of the report editor params widgets

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

15 years agoback-porting: protect against empty results from bib searches caused by search timeou...
erickson [Tue, 8 Jun 2010 16:15:49 +0000 (16:15 +0000)]
back-porting: protect against empty results from bib searches caused by search timeouts.  This allows the API call to log the error and return reasonable results

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

15 years agoBooking: make check-in op-capture behave more reasonably when elbow_room is
senator [Mon, 7 Jun 2010 15:17:41 +0000 (15:17 +0000)]
Booking: make check-in op-capture behave more reasonably when elbow_room is
zero, and give the OU setting for elbow_room a default value of 1 day since
that's probably a more reasonable value than zero anyway.

Also add a smidge of documentation explaining what elbow room is for.

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

15 years agoBooking: these misc AutoGrid-based booking admin interfaces were broken
senator [Fri, 4 Jun 2010 20:49:24 +0000 (20:49 +0000)]
Booking: these misc AutoGrid-based booking admin interfaces were broken

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

15 years agoforward port syntax corrections for 1.6.0.4 DB upgrade script
miker [Fri, 4 Jun 2010 14:45:48 +0000 (14:45 +0000)]
forward port syntax corrections for 1.6.0.4 DB upgrade script

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

15 years agoprotect the main transaction from existing permissions; individually insert permissio...
miker [Fri, 4 Jun 2010 14:41:42 +0000 (14:41 +0000)]
protect the main transaction from existing permissions; individually insert permissions to avoid missing some; do not pin permission IDs, just push them into the protected range

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

15 years agoMerge r16568 through r16572 from trunk for fixes to password reset functionality
dbs [Fri, 4 Jun 2010 01:37:02 +0000 (01:37 +0000)]
Merge r16568 through r16572 from trunk for fixes to password reset functionality

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

15 years agobackport changesets 16564, 16566, 16567: fix logic error that could result in partial...
phasefx [Thu, 3 Jun 2010 15:08:50 +0000 (15:08 +0000)]
backport changesets 16564, 16566, 16567: fix logic error that could result in partial list of available libs for workstation registration and fix bug where attempting to use the home lib as a menu default when the home lib is not among the working location and descendeants

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

15 years agomore due date convenience options for offline mode, courtesy of Michael Peters, India...
phasefx [Thu, 3 Jun 2010 05:29:22 +0000 (05:29 +0000)]
more due date convenience options for offline mode, courtesy of Michael Peters, Indiana State Library

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

15 years agoAvoid schema creation failure by ensuring metabib exists before referencing rule...
dbs [Wed, 2 Jun 2010 17:17:50 +0000 (17:17 +0000)]
Avoid schema creation failure by ensuring metabib exists before referencing rule is created

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

15 years agobackporting 16544: in the SIP server plugin, don't connect and start a transaction...
erickson [Tue, 1 Jun 2010 20:40:25 +0000 (20:40 +0000)]
backporting 16544: in the SIP server plugin, don't connect and start a transaction by default with every cstore handle.  only connect/begin when necessary.  also, making use of new CStoreEditor::init() call for setting up the editor environment when initial load was done before the IDL was available.  Also, back-porting Joe A's CStoreEditor cleanup changes, namely the new init() routine.

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

15 years agoForward port r16547 from rel_1_6_0: fix regression in date formatting for non-due...
dbs [Tue, 1 Jun 2010 19:18:21 +0000 (19:18 +0000)]
Forward port r16547 from rel_1_6_0: fix regression in date formatting for non-due dates

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

15 years agorepaired bug in dojo.mixin usage for applying overrides. support for stying fields...
erickson [Thu, 27 May 2010 16:06:43 +0000 (16:06 +0000)]
repaired bug in dojo.mixin usage for applying overrides.  support for stying fields marked readOnly via override

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

15 years ago1.6.0.4-1.6.1.0 upgrade script, ready for testing!
miker [Wed, 26 May 2010 18:10:30 +0000 (18:10 +0000)]
1.6.0.4-1.6.1.0 upgrade script, ready for testing!

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

15 years ago1.6.1.0 database upgrade script: password reset functionality
dbs [Wed, 26 May 2010 01:30:48 +0000 (01:30 +0000)]
1.6.1.0 database upgrade script: password reset functionality

Still needs bookings support, possibly other 1.6.0-1.6.1 changes

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

15 years agoPatch from Bill Ott to add missing apostrophe in rdetail.js
erickson [Tue, 25 May 2010 20:52:38 +0000 (20:52 +0000)]
Patch from Bill Ott to add missing apostrophe in rdetail.js

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

15 years agobackporting r16483: enable grid paging by default. replaced showPaginator with hideP...
erickson [Fri, 21 May 2010 20:30:02 +0000 (20:30 +0000)]
backporting r16483: enable grid paging by default.  replaced showPaginator with hidePaginator option

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

15 years agoback-porting a number of local dojo library fixes and enhancements. of note, autogri...
erickson [Fri, 21 May 2010 20:03:20 +0000 (20:03 +0000)]
back-porting a number of local dojo library fixes and enhancements.  of note, autogrid caching and paging for faster paged grid display.   (turning on the pager in some config interfaces to follow).

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

15 years agoForward port of a patch from Dan Wells to fix the bookbag menu not showing up in...
miker [Fri, 21 May 2010 16:53:04 +0000 (16:53 +0000)]
Forward port of a patch from Dan Wells to fix the bookbag menu not showing up in Craftsman.

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

15 years agoallow multiple 260 tags in summary view
miker [Sun, 16 May 2010 19:13:56 +0000 (19:13 +0000)]
allow multiple 260 tags in summary view

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

15 years agouse authoritative method here to fix race condition with patron editor and replicatio...
phasefx [Mon, 10 May 2010 18:32:18 +0000 (18:32 +0000)]
use authoritative method here to fix race condition with patron editor and replication lag

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

15 years agoUUID::Tiny has slipped into rel_1_6 as a prerequisite
phasefx [Mon, 10 May 2010 18:22:08 +0000 (18:22 +0000)]
UUID::Tiny has slipped into rel_1_6 as a prerequisite

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

15 years agopatch from James Fournie to repair some faulty assumptions in the previous legacy...
erickson [Fri, 7 May 2010 18:54:14 +0000 (18:54 +0000)]
patch from James Fournie to repair some faulty assumptions in the previous legacy script SIP fix;  additionally, I added legacy_script_support override option to oils_sip.xml.exmple to allow use of in-db circ-mod configs even if the circ code is still using circ scritps

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

15 years agomake this call .authoritative to avoid replication lag in the patron summary sidebar
phasefx [Wed, 5 May 2010 21:13:22 +0000 (21:13 +0000)]
make this call .authoritative to avoid replication lag in the patron summary sidebar

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

15 years agobackport IE fix
miker [Wed, 5 May 2010 18:59:43 +0000 (18:59 +0000)]
backport IE fix

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

15 years agobackporting 16381: updated SIP server to pull item config info from the new circ_modi...
erickson [Mon, 3 May 2010 19:02:30 +0000 (19:02 +0000)]
backporting 16381: updated SIP server to pull item config info from the new circ_modifier table when legacy script support is disabled

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

15 years agobackporting 16376: fixed bug where updating the email address resulted in updating...
erickson [Mon, 3 May 2010 15:36:46 +0000 (15:36 +0000)]
backporting 16376: fixed bug where updating the email address resulted in updating the username instead of the email address on the local copy of the user object in the opac.  this bug likely affected nothing.

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

15 years agoBooking: fix problem capturing items for reservation on first checkin
senator [Wed, 28 Apr 2010 21:14:40 +0000 (21:14 +0000)]
Booking: fix problem capturing items for reservation on first checkin

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

15 years agoBring the password reset interface to the Craftsman skin
dbs [Tue, 27 Apr 2010 22:01:28 +0000 (22:01 +0000)]
Bring the password reset interface to the Craftsman skin

Along the way, we make the placement slightly less hard-coded so that we
can better support custom skins that might not match default - although
we're still assuming that the login box will be a table with a tbody, you
can use the config.ids.login.tbody variable to point at the ID you care
about for your skin.

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

15 years agoImprove password reset form usability
dbs [Tue, 27 Apr 2010 20:31:59 +0000 (20:31 +0000)]
Improve password reset form usability

Clean up after ourselves by clearing the values of the barcode / username
text fields if the user hits Cancel or submits a request that was handled
by the backend service.

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

15 years agobackport changeset 16306: There is no template for printing patron lists. Quick fix...
phasefx [Mon, 26 Apr 2010 18:32:39 +0000 (18:32 +0000)]
backport changeset 16306: There is no template for printing patron lists. Quick fix until we replace those actions with standard List actions

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

15 years agoApply Jeff Godin's patch to fix Exporter forwarding to HTTPS
dbs [Thu, 22 Apr 2010 13:36:25 +0000 (13:36 +0000)]
Apply Jeff Godin's patch to fix Exporter forwarding to HTTPS

From https://bugs.launchpad.net/evergreen/+bug/538286

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

15 years agobackport r16265: addressing LP bug #562553, added content in the slimpac and callnumb...
miker [Sat, 17 Apr 2010 21:10:18 +0000 (21:10 +0000)]
backport r16265: addressing LP bug #562553, added content in the slimpac and callnumber browser

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

15 years agoForward-port r16250: Decode input, encode output. That's what Perl Unicode advice...
dbs [Fri, 16 Apr 2010 15:04:15 +0000 (15:04 +0000)]
Forward-port r16250: Decode input, encode output. That's what Perl Unicode advice says, and it happens to fix a problem for Indiana.

Tested on Conifer production, no problems were introduced.

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

15 years agoBackport r16247 to avoid unwanted marc8_to_utf8 conversion of records with incorrect...
dbs [Fri, 16 Apr 2010 14:34:10 +0000 (14:34 +0000)]
Backport r16247 to avoid unwanted marc8_to_utf8 conversion of records with incorrect leaders

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

15 years agoBooking workflow fix for reservation op-capture
senator [Wed, 14 Apr 2010 18:54:15 +0000 (18:54 +0000)]
Booking workflow fix for reservation op-capture

Only capture items for reservation upon checkin if the reservation in question
is starting within the interval defined by the elbow room value.  Elbow room
value can be controller per booking resource type, or if none is set, an
org unit setting defines the elbow room interval.  This allows new
circulations to happen more easily between the time a reservation is made and
the time a reservation actually starts.

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

15 years agoGuard against 0 active requests (which otherwise results in an ugly error)
dbs [Wed, 14 Apr 2010 04:16:44 +0000 (04:16 +0000)]
Guard against 0 active requests (which otherwise results in an ugly error)

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

15 years agoInstall the password reset templates
dbs [Wed, 14 Apr 2010 04:05:52 +0000 (04:05 +0000)]
Install the password reset templates

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

15 years agoGo with a request form that degrades nicely, if requested directly
dbs [Wed, 14 Apr 2010 04:05:30 +0000 (04:05 +0000)]
Go with a request form that degrades nicely, if requested directly

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

15 years agoGet a bit of space between the text fields and the buttons
dbs [Wed, 14 Apr 2010 03:37:43 +0000 (03:37 +0000)]
Get a bit of space between the text fields and the buttons

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

15 years agobackport 16217: verify thaw date exists before attempting to iso-string-ify it, other...
erickson [Mon, 12 Apr 2010 19:14:47 +0000 (19:14 +0000)]
backport 16217: verify thaw date exists before attempting to iso-string-ify it, otherwise dojo dies

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

15 years agoUpdate copyright statement to current year; include "and others" to be more accurate
dbs [Mon, 12 Apr 2010 18:22:06 +0000 (18:22 +0000)]
Update copyright statement to current year; include "and others" to be more accurate

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

15 years agoBackport r16211 from trunk: Turn "next page" / "previous page" symbols into entities
dbs [Mon, 12 Apr 2010 18:08:35 +0000 (18:08 +0000)]
Backport r16211 from trunk: Turn "next page" / "previous page" symbols into entities
Makes it easier for sites to customize this aspect of the look and feel of their skins if they support multiple languages.

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

15 years agoBackporting r16201: w/ in-db circ, if patron permit fails with no_item, continue...
miker [Mon, 12 Apr 2010 15:30:42 +0000 (15:30 +0000)]
Backporting r16201: w/ in-db circ, if patron permit fails with no_item, continue on if this is a noncat checkout

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

15 years agoBackporting r16204: Patch from Galen Charlton. This patch adds additional calls...
miker [Mon, 12 Apr 2010 15:07:26 +0000 (15:07 +0000)]
Backporting r16204: Patch from Galen Charlton.  This patch adds additional calls to escape_xml to handle cases where patron or library data could contain ampersand or other characters that need to be converted to entities. Issue discovered by Bibliomation; patch includes contributions by Ben Ostrowsky.

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

15 years agoFix call to JSON2perl meant to make JS regex happy in Perl
dbs [Fri, 9 Apr 2010 03:38:26 +0000 (03:38 +0000)]
Fix call to JSON2perl meant to make JS regex happy in Perl
  1. Package name was wrong; fixed
  2. Commented the whole call out because JSON2perl was failing miserably

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

15 years agoImplement some password request throttling
dbs [Fri, 9 Apr 2010 03:32:58 +0000 (03:32 +0000)]
Implement some password request throttling

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

15 years agoEnable our dialog to be displayed and hidden many times
dbs [Thu, 8 Apr 2010 23:17:15 +0000 (23:17 +0000)]
Enable our dialog to be displayed and hidden many times

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

15 years agoInternet Explorer display fixes; gotta have that TBODY!
dbs [Thu, 8 Apr 2010 22:37:23 +0000 (22:37 +0000)]
Internet Explorer display fixes; gotta have that TBODY!

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

15 years agoRevert over-aggressive regex
dbs [Thu, 8 Apr 2010 20:54:48 +0000 (20:54 +0000)]
Revert over-aggressive regex

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

15 years agoCorrect IDs and script names make for a better functioning script.
dbs [Thu, 8 Apr 2010 19:35:22 +0000 (19:35 +0000)]
Correct IDs and script names make for a better functioning script.

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

15 years agoStab wildly at a Dojo dialogue supporting basic password reset requests. With i18n...
dbs [Thu, 8 Apr 2010 19:26:39 +0000 (19:26 +0000)]
Stab wildly at a Dojo dialogue supporting basic password reset requests. With i18n, natch.

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

15 years agoperl-ify JS regexes that use \u-encoded unicode characters
miker [Thu, 8 Apr 2010 14:51:36 +0000 (14:51 +0000)]
perl-ify JS regexes that use \u-encoded unicode characters

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

15 years agomiker tells me Perl regexes are a pure superset of JS regexes.
dbs [Thu, 8 Apr 2010 03:21:41 +0000 (03:21 +0000)]
miker tells me Perl regexes are a pure superset of JS regexes.
He suggested this change to the code as a way of avoiding JavaScript::SpiderMonkey. Sounds good.

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

15 years agoRefactor password strength checks in O:A:Actor into separate functions
dbs [Wed, 7 Apr 2010 21:07:02 +0000 (21:07 +0000)]
Refactor password strength checks in O:A:Actor into separate functions
Fix up the JavaScript regex-based path along the way

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

15 years agoImplement complex password checking on self-serve password resets.
dbs [Wed, 7 Apr 2010 05:17:13 +0000 (05:17 +0000)]
Implement complex password checking on self-serve password resets.
Add a new text code for weak passwords and a corresponding reset failure message.

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

15 years agoforward port of r16146: proper support for in-db renewal of precats
miker [Wed, 7 Apr 2010 03:23:33 +0000 (03:23 +0000)]
forward port of r16146: proper support for in-db renewal of precats

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

15 years agoFix syntax error in Actor.pm
dbs [Wed, 7 Apr 2010 02:04:04 +0000 (02:04 +0000)]
Fix syntax error in Actor.pm
Redirect HTTP connections to /opac/password to HTTPS

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

15 years agoUse a simpler method for checking against FALSE values in json_query (aside: update...
dbs [Mon, 5 Apr 2010 01:40:09 +0000 (01:40 +0000)]
Use a simpler method for checking against FALSE values in json_query (aside: update json tutorial)
Add TODOs for checking password strictness, checking for restricted group
Change TTL calculation to add threshold instead of subtracting; simplifies comparison

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

15 years agoAvoid ID conflicts in ils_events.xml for new events
dbs [Mon, 5 Apr 2010 01:07:20 +0000 (01:07 +0000)]
Avoid ID conflicts in ils_events.xml for new events
Rearrange one section in numeric order to avoid future such hilarity

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

15 years agoConverge on a common definition of location of password reset form: /opac/password...
dbs [Sun, 4 Apr 2010 21:46:40 +0000 (21:46 +0000)]
Converge on a common definition of location of password reset form: /opac/password/ it is.
Also add the ability to override locale for the reset form; still not what we need, but better.

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

15 years agoNasssty sssssingle quotessss, they hurtssss ussss
dbs [Sun, 4 Apr 2010 21:32:36 +0000 (21:32 +0000)]
Nasssty sssssingle quotessss, they hurtssss ussss

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

15 years agoBare-bones self-serve password reset interface.
dbs [Sun, 4 Apr 2010 04:05:16 +0000 (04:05 +0000)]
Bare-bones self-serve password reset interface.
Notifications via action/trigger infrastructure - requires "hostname"
 parameter for the event definition.
Provides localized minimal HTML reset request / reset forms.
OU settings for maximum number of concurrent reset requests per user, request
 time to live, and maximum concurrent requests for the system (this last is
 currently unused but will be the basis of throttling)

TODO:
  * Add a "Forgot your password?" link from OPAC login screen to https://<hostname>/password/<locale>
  * Implement request throttling
  * Disable access to the password forms via unencrypted HTTP
  * Add OU setting to choose "barcode + email" authentication type over "barcode or user name"
  * Add OU setting to support the option of preventing staff from using this interface to reset their passwords
  * Add Dojo spice to the sad but functional HTML forms

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

15 years agoPatch from Dan Wells which allows restriction of renewal when the item in question...
miker [Sat, 27 Mar 2010 17:40:51 +0000 (17:40 +0000)]
Patch from Dan Wells which allows restriction of renewal when the item in question is needed to fulfill a hold.

There was concern initially about whether a patrons own holds should be ignored, but that is not the case in scripted circ rules, so the behavior, as implemented by Dan, is correct.

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

15 years agotextbox support for oils_persist (to fix stickiness in the label interface). trunk...
phasefx [Fri, 26 Mar 2010 16:03:02 +0000 (16:03 +0000)]
textbox support for oils_persist (to fix stickiness in the label interface).  trunk already has this but is so drastically different that I'm afraid to backport

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

15 years agoFix warning from comparison with a possibly undef variable
dbs [Thu, 25 Mar 2010 18:58:13 +0000 (18:58 +0000)]
Fix warning from comparison with a possibly undef variable

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

15 years ago"Active" in this context means "Enabled", not not-passive; let's avoid potential...
dbs [Wed, 24 Mar 2010 16:57:58 +0000 (16:57 +0000)]
"Active" in this context means "Enabled", not not-passive; let's avoid potential confusion

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

15 years agotypos in reservation logic
miker [Tue, 23 Mar 2010 17:48:24 +0000 (17:48 +0000)]
typos in reservation logic

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

15 years agoForward-port r15933 from rel_1_6_0: Default to "true" for email notification of holds...
dbs [Mon, 22 Mar 2010 22:24:38 +0000 (22:24 +0000)]
Forward-port r15933 from rel_1_6_0: Default to "true" for email notification of holds in example configuration file
Fix minor typos in HoldNotify?.pm log messages

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

15 years agoForward-port r15917 - add ubuntu-karmic as a target for prereqs
dbs [Fri, 19 Mar 2010 15:36:13 +0000 (15:36 +0000)]
Forward-port r15917 - add ubuntu-karmic as a target for prereqs

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

15 years agoreturn mapped legacy events from in-db circ, so that precat copies check out properly
miker [Thu, 18 Mar 2010 18:33:40 +0000 (18:33 +0000)]
return mapped legacy events from in-db circ, so that precat copies check out properly

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

15 years agoneed to pass the $client to transactional methods
miker [Thu, 18 Mar 2010 14:40:50 +0000 (14:40 +0000)]
need to pass the $client to transactional methods

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

15 years agomake sure these selects run against the master db by putting them inside a transaction
miker [Thu, 18 Mar 2010 13:44:12 +0000 (13:44 +0000)]
make sure these selects run against the master db by putting them inside a transaction

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

15 years agomake this use a transaction or replication lag can bite us on patron registration
phasefx [Wed, 17 Mar 2010 20:41:02 +0000 (20:41 +0000)]
make this use a transaction or replication lag can bite us on patron registration

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

15 years agodelete the metarecord link for "deleted" records
miker [Wed, 17 Mar 2010 19:15:46 +0000 (19:15 +0000)]
delete the metarecord link for "deleted" records

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

15 years agoBooking: a whole mess of bug fixes and improvements
senator [Wed, 17 Mar 2010 19:10:20 +0000 (19:10 +0000)]
Booking: a whole mess of bug fixes and improvements

One of the bigger features in here is that booking resources (items) can
be captured in the regular checkin interface now and not just in the
special booking capture interface.

There are many more subtle changes to both backend logic and UI access
points to booking. This same code will need to be merged neatly with trunk,
too.

Apologies for the giant commit.  This code has been accumulating for
entirely too long outside of the repo.

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

15 years agomake batch renewal use synchronous calls again to better handle exceptions. The...
phasefx [Tue, 16 Mar 2010 19:59:28 +0000 (19:59 +0000)]
make batch renewal use synchronous calls again to better handle exceptions.  The original push for synchronous calls here was for performance, so we may need to revisit

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

15 years agotypo spotted by Steve Callender and Dan Scott
miker [Tue, 16 Mar 2010 18:55:41 +0000 (18:55 +0000)]
typo spotted by Steve Callender and Dan Scott

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