Bill Erickson [Tue, 11 Oct 2011 21:03:57 +0000 (17:03 -0400)]
Authentication block logging
* Login too-many-auth-failures message at Info level instead of Internal
* Log the username getting blocked
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Thu, 6 Oct 2011 18:57:38 +0000 (14:57 -0400)]
fix authentication failure
Ensure that the auth_limit values are read when open-ils.auth
initializes, not during oilsAuthInit(). This solves a problem
observed on brick-based setups where authentication could
incorrectly fail because the drone that processes
open-ils.auth.authenticate.complete didn't have the the block
count value initialized yet.
Also fixed type nit when compare the fail count to the block
limit.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Thomas Berezansky [Mon, 12 Sep 2011 17:33:03 +0000 (13:33 -0400)]
When workstation is invalid request a new seed
The original one may no longer be valid
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Thomas Berezansky [Thu, 1 Sep 2011 20:41:33 +0000 (16:41 -0400)]
Make more auth values configurable
Amount of time seed is valid
Amount of time to keep failure count in memcache since last auth event
Number of failures before locking out auth attempts
Also, remove seed from memcache once it has been used once.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Thomas Berezansky [Tue, 30 Aug 2011 15:55:35 +0000 (11:55 -0400)]
Brute Force protection for authentication
Count auth failures in memcache.
If 10+ have occurred cause failure.
After 90 seconds of no activity counter resets.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Jason Etheridge [Wed, 15 Jun 2011 07:03:23 +0000 (03:03 -0400)]
lp797321: Disable the Apply Payment button during payment processing to mitigate chance of duplicate payments.
I can't actually reproduce the creation of duplicate payments locally with
trunk/2.x, but there are reports of it, and this doesn't seem to hurt. Not
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Dan Scott [Wed, 1 Jun 2011 22:06:13 +0000 (18:06 -0400)]
Whitespace cleanup in aisle 3 (O:A:Reporter)
Signed-off-by: Dan Scott <dan@coffeecode.net>
Michael Peters [Wed, 1 Jun 2011 12:52:57 +0000 (08:52 -0400)]
LP#740466 Sort report folders by name
Add order_by to Reporter.pm to sort report folders by name
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Dan Scott <dan@coffeecode.net>
Michael Peters [Tue, 31 May 2011 12:44:49 +0000 (08:44 -0400)]
LP#739444 Incrementing opac.dtd copyright date
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Dan Scott <dan@coffeecode.net>
Jason Etheridge [Fri, 27 May 2011 15:59:24 +0000 (11:59 -0400)]
Fix Hold Capture Check-In Mode, similar to
9641dcf040798aac1e274253c8ae8a722674bcc2
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
senator [Fri, 17 Sep 2010 16:23:14 +0000 (16:23 +0000)]
Fix some cases where View MARC upon colliding import broke in Vandelay
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17763
dcc99617-32d9-48b4-a31d-
7c20da2025e4
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Galen Charlton [Tue, 17 May 2011 04:40:02 +0000 (00:40 -0400)]
stop hold permit check from crashing if age protection in effect
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Mike Rylander [Mon, 23 May 2011 15:09:41 +0000 (11:09 -0400)]
Revert "Wrap proximity refreshing in a transaction to avoid timespans where there is no such information"
This reverts commit
49d240fcb33ebea95c06bb2ae62689a10a261fd7.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
miker [Thu, 12 May 2011 19:24:51 +0000 (19:24 +0000)]
Wrap proximity refreshing in a transaction to avoid timespans where there is no such information
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@20458
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 26 Apr 2011 14:43:30 +0000 (14:43 +0000)]
fix disappearing cursor/caret for Check In
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@20317
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 20 Apr 2011 15:41:47 +0000 (15:41 +0000)]
Patch from Jeff Davis addressing parameter usage issues
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@20247
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Mon, 18 Apr 2011 05:44:28 +0000 (05:44 +0000)]
in the MARC Editor, put the callnumber and barcode textboxes for Fast Item Add on a separate row
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@20154
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Mon, 18 Apr 2011 03:58:35 +0000 (03:58 +0000)]
font_helper in this version depends on JSAN being set up by my_init()
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@20141
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 15 Apr 2011 19:39:31 +0000 (19:39 +0000)]
label interface, run persist_helper() before my_init(), since the latter depends on values set by the former
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@20108
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 15 Apr 2011 14:00:45 +0000 (14:00 +0000)]
Backported version of r20094: Protect pcrud-ish retrieve from an empty result set
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@20097
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 7 Apr 2011 18:42:36 +0000 (18:42 +0000)]
test for pre-cat slightly off in OPAC My Account, spotted by Steve Callender
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@20020
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Mon, 4 Apr 2011 16:33:24 +0000 (16:33 +0000)]
Whoops: didn't mean to backport r19942 to the 1.6 branch. Not appropriate here.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19946
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Mon, 4 Apr 2011 16:30:51 +0000 (16:30 +0000)]
Backport r19942 from trunk
Booking: This should a) make booking interfaces behave better when a staff
login session times out and is replaced by use of a re-auth dialog, and b)
wrap booking interfaces in a <browser> element with the attendant
back/forward/reload buttons that most similar interfaces already had.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19945
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 29 Mar 2011 16:58:48 +0000 (16:58 +0000)]
Patch from Brandon Uhlman addressing SIP2 unavailable holds display.
The unavail_holds() function in OpenILS::SIP::Patron is a placeholder that returns an empty set, instead of an actual list of a patrons' holds not currently ready for pickup.
When an SC determines whether a patron has holds ready for pickup by comparing the cardinalities of hold_items() and unavail_holds() [*] using the existing unavail_holds() logic, it effectively reports every currently placed hold as ready for pickup, which is generally not true.
The attached patch assumes that unavailable holds are those that meet one of two sets of conditions:
- hold requests that are not cancelled (cancel_time = null), not fulfilled (fulfillment time = null), and not captured (capture_time = null)
- hold requests that are neither cancelled nor fulfilled (as above), are captured (capture_time != null), and for which, additionally, the current_copy does not have the status 'On holds shelf' (status = 8). The only items that should meet this condition are those that are in transit to a location where they will be added to the holds shelf.
The patch iterates through the items meeting each condition, and adds them to a master list of relevant holds, which it then processes (in the same way that hold_items is processed) and returns.
This patch was developed against and tested on rel_1_6_0 from SVN (~ 1.6.0.2), but should apply cleanly against current rel_1_6_0 and trunk; OpenSRF 1.2.2, PostgreSQL 8.3.8, Ubuntu Hardy 64-bit.
[*] The two cardinalities are returned by SIP message 64 as fixed-length integers in positions 35-38 and 55-58 respectively, so we don't need to iterate through the list ourseles.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19896
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 18 Mar 2011 19:56:27 +0000 (19:56 +0000)]
Make sure "ol" propagates through BibTemplate subject search links for OPAC range hiding
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19815
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 18 Mar 2011 14:43:56 +0000 (14:43 +0000)]
Allow the "result_field" to be used as the default alias in the output column of a row or set returning transform
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19802
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 15 Mar 2011 01:39:07 +0000 (01:39 +0000)]
Prevent creation of report folders with empty folder names
Addresses LP # 720755. Clicking the "Create Folder" button when
no folder name has been supplied is now a no-op.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19744
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 10 Mar 2011 17:14:35 +0000 (17:14 +0000)]
Backport r19682 from trunk
Booking: don't bail out completely on COPY_ALERT_MESSAGE when returning items
Provide overridability.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19685
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Thu, 10 Mar 2011 03:40:13 +0000 (03:40 +0000)]
Remove duplicate permission.perm_list entries from data seed values
These duplicate perms somehow slipped into r18962 and need to
go away.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19676
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 9 Mar 2011 19:16:53 +0000 (19:16 +0000)]
Draw pre-cataloged items (author and title) in My Account checkedout screen
Two problems: FETCH_MODS_FROM_COPY returns an object, so we weren't
getting to the point of fetching the raw copy itself, and there was
some confusion about pre-cataloged vs. non-cataloged items that is
hopefully straightened out now.
Addresses LP # 723895
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19660
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Mon, 7 Mar 2011 15:14:33 +0000 (15:14 +0000)]
Fix cloning of AutoField widgets: LP #728055
Cloning Action/Trigger event definitions was not working properly, as
all values were being copied from the original object using their display
strings rather than the underlying values.
Bill Erickson suggested a fix in IRC that works, so full credit to him
for this change!
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19593
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 4 Mar 2011 14:25:20 +0000 (14:25 +0000)]
correct the MOBTS view with regard to reservation additions (only affects reporting)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19579
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 23 Feb 2011 20:20:43 +0000 (20:20 +0000)]
This should prevent some spurious errors with bill history (a race condition between list selection and the bib summary pane updating itself), but needs testing before we backport (apologies in advance for commiting untested).
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19521
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 23 Feb 2011 02:16:21 +0000 (02:16 +0000)]
Correct the install location for Dojo i18n bundles
We had been converting xx-YY into xx/yy for a directory structure,
but current evidence shows that it should be xx-yy. Hard to believe
we've overlooked this for so long. Also, with the exception of the
en-ca/en-gb/en-us locales, we should probably trim the locale to
just xx - but that's a different problem, and let's just focus on
getting this working to begin with.
Addresses Launchpad # 723489
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19510
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 17 Feb 2011 20:58:04 +0000 (20:58 +0000)]
Backport r19470 from trunk
Booking: fix the targeter in the I'm-reserving-this-exact-resource-with-this-
exact-barcode case.
It should have always worked like this. This should better mirror the behavior
in the holds targeter when placing a copy-level hold. Basically don't fail
to target a resource for a reservation later just because it's not in an
available status right at this moment.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19473
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 11 Feb 2011 21:57:51 +0000 (21:57 +0000)]
Normalize ISBNs by stripping hyphens in search methods and in reporter.materialized_simple_record
We weren't normalizing ISBNs in search or in reporter.materialized_simple_record
which required users to exactly match the form of the ISBN as entered in the
MARC record to get a successful search result - pretty hit or miss.
The longer term fix in 2.0 and above is to make the ISBN search search against
the identifier|isbn index, which also gets ISBN10/ISBN13 equivalence goodness.
But this patch will be relatively easy to backport through to 1.6.1 and plugs
some of the holes in our exposed APIs and search points in the short term.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19436
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 11 Feb 2011 21:48:29 +0000 (21:48 +0000)]
Correct syntax error in BadDebt.pm
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19435
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbwells [Fri, 4 Feb 2011 18:53:59 +0000 (18:53 +0000)]
Fix ModsParser.pm bug involving invalid ISBNs. See bug #697398.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19385
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 2 Feb 2011 19:58:08 +0000 (19:58 +0000)]
backport r19364 from trunk for stat cat field value removal in patron editor
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19366
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbwells [Tue, 1 Feb 2011 18:41:51 +0000 (18:41 +0000)]
Backport r19288 : Fix checkin backdate assumptions
checkin_handle_backdate() did not properly interpret bill data (voided too much), so lets use void_overdues() instead
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19348
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 27 Jan 2011 16:21:09 +0000 (16:21 +0000)]
enable the checkbox column so we can delete hard due dates
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19314
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Mon, 24 Jan 2011 18:42:13 +0000 (18:42 +0000)]
improve performance of multi-class searches
Backport of trunk commit 18233.
For as yet unknown reasons, Postgres sometimes uses
nested loops instead of hash joins when joining subqueries
in a multi-class bib search. This can result in searches
such as "author:rowling title:harry potter" never completing.
Removing the interior limit clause can both speed up the query
and make search results more accurate when combining queries
of two or more common words.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19263
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 20 Jan 2011 19:58:19 +0000 (19:58 +0000)]
don't offer to cancel related transits that have already completed when canceling holds. related to 19234, but data structure is different
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19236
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 20 Jan 2011 19:43:29 +0000 (19:43 +0000)]
Backport r19229 from trunk
Booking: these lines don't belong; they were erroneously copied and pasted
from a neighboring section of the file
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19231
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Wed, 19 Jan 2011 21:54:42 +0000 (21:54 +0000)]
Backport r19214 from trunk
Booking: Robert Soulliere spotted and fixed a bug in processing reservation-
related overdue fines. See https://bugs.launchpad.net/evergreen/+bug/705061
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19216
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 19 Jan 2011 19:53:02 +0000 (19:53 +0000)]
Build and flatten a tree, correcting a sorting issue in some OU dropdowns.
The previous code assumed that work org units would be delivered in hierarchical order, but alas, they are not. Thus, we build the hierarchy and then flatten it, sorting at each level.
This will be non-fast with many work OUs, but the common case is a small set, which is not painful.
Further improvement is warranted when the above proves false.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19210
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 19 Jan 2011 19:42:35 +0000 (19:42 +0000)]
some interfaces (or at least org_unit_settings.js) was not infering the identifier value here. This helps the filtering org select dijit in that interface
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19206
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 14 Jan 2011 03:01:43 +0000 (03:01 +0000)]
Enable truncation attribute in Z39.50 queries to be left out entirely
Per https://bugs.launchpad.net/evergreen/+bug/702695, some Z39.50
servers hate the truncation attribute (@attr 5=anything) and always
return 0 hits.
This gives you the ability to specify a negative value for the
truncation attribute and thereby prevent the truncation attribute
from being included in the Z39.50 query for a given server.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19178
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 11 Jan 2011 21:47:23 +0000 (21:47 +0000)]
fix regression with org selector when specifying ?ol= and the org unit hiding setting is unset
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19156
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 5 Jan 2011 21:54:39 +0000 (21:54 +0000)]
backporting r16742,r17492 for proper dojo timestamp handling
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19126
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 4 Jan 2011 16:35:10 +0000 (16:35 +0000)]
Addressing https://bugs.launchpad.net/evergreen/+bug/696078 where deleted/inactive records are included in the freshmeat feed.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19108
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 4 Jan 2011 15:25:46 +0000 (15:25 +0000)]
Patch from Robert Soulliere to backport Class::DBI version checking from 2.0: https://bugs.launchpad.net/evergreen/+bug/692717
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19098
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Sat, 1 Jan 2011 21:19:44 +0000 (21:19 +0000)]
Fix exception thrown in MARC editor searching for bib sources
As reported in https://bugs.launchpad.net/evergreen/+bug/695526,
the attempt to retrieve all of the config.bib_source values using
openils.PermaCrud was failing because the retrieveAll() method
relies on fieldmapper.IDL's setting of the
fieldmapper[hint].Identifier property for each class - but in the
1.6 releases, we're still using fmclasses in XUL instead of
fieldmapper.AutoIDL.
So, to fix the direct problem, we can simply set the property
ourselves on the desired class before invoking retrieveAll();
this avoids touching code paths that might have wider unintended
consequences.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19088
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Thu, 23 Dec 2010 13:40:54 +0000 (13:40 +0000)]
commit
620f5d756619b84200add4c534a7cf22e1c0d037
further fixes to null indicator handling in flat-text MARC editor
[1] ensure that null indicators are converted to blanks
[2] fix glitch when supplying default indicator values
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19059
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 23 Dec 2010 02:25:38 +0000 (02:25 +0000)]
When the subfield delimiter is configured as "$" (the default), use {dollar} to represent a literal dollar sign. This is apparently in line with other Breaker-format tools. Fix suggested by Galen Charlton, thanks gmc!
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19052
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 23 Dec 2010 02:14:46 +0000 (02:14 +0000)]
addressing two Breaker-format issues: 1) supply an "empty" (space) value for indicators in the internal format if they are left out and 2) add indicator placeholders to incoming Breaker datafield lines if they seem to be missing. Addresses https://bugs.launchpad.net/evergreen/+bug/693468
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19050
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 23 Dec 2010 01:33:02 +0000 (01:33 +0000)]
allow vandelay.replace_field() to handle a complex field spec by splitting and looping
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@19045
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 13 Dec 2010 17:45:54 +0000 (17:45 +0000)]
Backport of r18989: boolean test for hard due force flag
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18991
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 13 Dec 2010 16:24:28 +0000 (16:24 +0000)]
repaired order-by in update_hard_due_dates function to prevent sql errors
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18988
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Dec 2010 20:47:58 +0000 (20:47 +0000)]
upgrade cleanup in prep for cutting 1.6.2.0
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18976
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Dec 2010 18:36:32 +0000 (18:36 +0000)]
backport r14033 from trunk for unsetting (nullifying) a circ modifier
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18970
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Dec 2010 17:21:54 +0000 (17:21 +0000)]
Patch from James Fournie to address https://bugs.launchpad.net/evergreen/+bug/622908 wherein we learn that related item physical description might be used as the main PD of the main item, if the main item lacks such a field in the MARC
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18967
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Dec 2010 15:39:39 +0000 (15:39 +0000)]
Forward-port of r18962: Addressing https://bugs.launchpad.net/evergreen/+bug/638309 -- Thanks to Steve Callender for the original report and diagnosis
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18963
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Dec 2010 14:33:42 +0000 (14:33 +0000)]
partial backport of r18957 to capture the fixes for vandelay.replace_field -- specifically, normalizing the XML for comparison when deciding if the "add" side of a replace should proceed
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18961
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 9 Dec 2010 18:26:40 +0000 (18:26 +0000)]
big thinko. Going by the stock receipt template, this should be the workstation lib. Destination is handled by a different variable
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18952
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 9 Dec 2010 18:13:50 +0000 (18:13 +0000)]
transit isn't in payload first time through with ROUTE_ITEM checkin, fallback on check.org
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18948
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Thu, 9 Dec 2010 04:44:14 +0000 (04:44 +0000)]
Enable Ingest to ingest multiple located URIs for a single org-unit at once
Previous logic incorrectly restricted a given bib record to have one located
URI per org-unit - unless you reingested it multiple times, each time adding
one more URI per org-unit.
We also add the strict pragma and adjust some syntax accordingly.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18938
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Dec 2010 21:08:03 +0000 (21:08 +0000)]
protect against empty control fields (bad MARC)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18917
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Fri, 3 Dec 2010 15:33:17 +0000 (15:33 +0000)]
Be consistent with a misspelled field. Credit to Robert Soulliere for pointing
out my mistaken understanding of where this was already fixed and where it
wasn't.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18911
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Dec 2010 15:10:00 +0000 (15:10 +0000)]
Normalize spaces in notcontains advance search query terms to address bug https://bugs.launchpad.net/evergreen/+bug/677122
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18908
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Tue, 30 Nov 2010 20:50:02 +0000 (20:50 +0000)]
protect some of the supercat browse interfaces from unboundedness
E.g., browsing from a call number that contains forward slashes, e.g.,
"02/05/2004"
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18886
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Tue, 30 Nov 2010 15:47:40 +0000 (15:47 +0000)]
Backport some booking related commits from trunk.
r17980: more transaction cleanups
--
r18502: Booking: make the circ module avoid booking code if the booking service
isn't up
Previously, it was not possible to turn the booking service off and have
working circ. Now you should be able to turn it off if you don't need it.
--
r18514: If we already know we're not using booking, skip a redundant and
expensive test for the possibility of capturing a hold. We're just going to
try actually doing it a little farther down.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18873
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 30 Nov 2010 14:04:48 +0000 (14:04 +0000)]
back-porting cstoreditor fixes to help prevent transaction leaking
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18871
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 29 Nov 2010 19:47:47 +0000 (19:47 +0000)]
logic error (inversion) in retargetting of previous copy when no other holds are looking at it
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18860
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 29 Nov 2010 17:45:17 +0000 (17:45 +0000)]
Patch from Jeff Godin, backported from trunkified version:
In the staff client, the holds context menu option "Edit PickupLibrary" displays and allows selection of org units that it shouldn't.
Org units whose type has can_have_users = FALSE are not valid pickup locations.
Using the default types as an example, CONS and SYS1 are invalid pickup locations.
The OPAC enforces this when allowing patrons to edit a hold.
The staff client does not enforce this when staff edit a hold.
The can_have_users() method of the au object returns a string 't' or 'f' which is then compared to 0.
The attached patch corrects this issue. ( foo == 0 becomes !isTrue(foo) ).
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18856
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 19 Nov 2010 16:34:28 +0000 (16:34 +0000)]
merge r18716 from rel_2_0 to cache this setting. Thanks to James Fournie for https://bugs.launchpad.net/evergreen/+bug/677311 We should probably do this as a cookie instead for even fewer network calls. I can't see the setting changing all that frequently
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18806
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 18 Nov 2010 14:57:29 +0000 (14:57 +0000)]
back-porting 17292: added custom internal_id handler to SIP patron module
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18777
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 16 Nov 2010 20:11:32 +0000 (20:11 +0000)]
backport r18757 from trunk for opac org hiding extension to place hold pickup lib menu
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18758
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Mon, 15 Nov 2010 22:43:31 +0000 (22:43 +0000)]
Trim leading and trailing whitespace from metabib.full_rec values - fixes ISSN quicksearch (thanks for noticing this, Dan Wells!)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18752
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Mon, 15 Nov 2010 22:29:47 +0000 (22:29 +0000)]
asset.uri needs a seed entry for queries of its ID values
To fix a problem with ingesting URIs, Ingest.pm was changed to reflect
the maximum asset.uri.id value rather than the asset.call_number.id
value. However, with no entries in asset.uri, the query returned a
NULL object which broke ingest entirely. Adding a seed entry avoids
this problem.
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18749
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 15 Nov 2010 15:16:52 +0000 (15:16 +0000)]
Reverting and extending r18472 to correct implementation thinko
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18736
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Mon, 15 Nov 2010 15:05:41 +0000 (15:05 +0000)]
Backport r17447 from trunk: fix wrong-headed permissions tests in booking
This should have been backported to rel_1_6 immediately. :-(
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18733
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Wed, 10 Nov 2010 21:31:28 +0000 (21:31 +0000)]
Backport r18688 from trunk: booking bugfix
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18690
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Wed, 10 Nov 2010 13:21:25 +0000 (13:21 +0000)]
do not use TRUNCATE when refreshing reporter.materialized_simple_record
Previous behavior would break Slony replication after doing a
bib load. Since a deletion is slower than a truncate, if you're
not using Slony replication, you may prefer to truncate rmsr
prior to calling reporter.enable_materialized_simple_record_trigger.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18679
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 8 Nov 2010 19:01:40 +0000 (19:01 +0000)]
Bacport r18657: syntax problem spotted by Jason Etheridge
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@18659
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Mon, 8 Nov 2010 16:28:47 +0000 (16:28 +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_1_6@18654
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Fri, 5 Nov 2010 17:12:51 +0000 (17:12 +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_1_6@18628
dcc99617-32d9-48b4-a31d-
7c20da2025e4
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
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
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
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
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
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
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
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
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
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
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
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
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