]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
12 years agofix authentication failure tags/rel_1_6_1_9
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>
12 years agoChange log and version bumps
Mike Rylander [Tue, 4 Oct 2011 17:09:54 +0000 (13:09 -0400)]
Change log and version bumps

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoWhen workstation is invalid request a new seed
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>
12 years agoMake more auth values configurable
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>
12 years agoBrute Force protection for authentication
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>
12 years ago(very slim) Upgrade script for 1.6.1.9
Mike Rylander [Tue, 4 Oct 2011 16:47:02 +0000 (12:47 -0400)]
(very slim) Upgrade script for 1.6.1.9

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agolp797321: Disable the Apply Payment button during payment processing to mitigate...
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>
12 years agoWhitespace cleanup in aisle 3 (O:A:Reporter)
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>
12 years agoLP#740466 Sort report folders by name
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>
12 years agoLP#739444 Incrementing opac.dtd copyright date
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>
12 years agoFix Hold Capture Check-In Mode, similar to 9641dcf040798aac1e274253c8ae8a722674bcc2
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>
12 years agoFix some cases where View MARC upon colliding import broke in Vandelay
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>
12 years agoRevert "Wrap proximity refreshing in a transaction to avoid timespans where there...
Mike Rylander [Mon, 23 May 2011 15:10:08 +0000 (11:10 -0400)]
Revert "Wrap proximity refreshing in a transaction to avoid timespans where there is no such information"

This reverts commit 2e07b250c764a5db6f2d2a4316136440b1b78960.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 years agoWrap proximity refreshing in a transaction to avoid timespans where there is no such...
miker [Thu, 12 May 2011 19:25:44 +0000 (19:25 +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_1@20460 dcc99617-32d9-48b4-a31d-7c20da2025e4

12 years agofix disappearing cursor/caret for Check In
phasefx [Tue, 26 Apr 2011 14:44:11 +0000 (14:44 +0000)]
fix disappearing cursor/caret for Check In

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

13 years agoLP#768983 - fix version stamp in 1.6.1.4-1.6.1.5 upgrade script
gmc [Fri, 22 Apr 2011 14:49:09 +0000 (14:49 +0000)]
LP#768983 - fix version stamp in 1.6.1.4-1.6.1.5 upgrade script

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

13 years agoPatch from Jeff Davis addressing parameter usage issues
miker [Wed, 20 Apr 2011 15:43:08 +0000 (15:43 +0000)]
Patch from Jeff Davis addressing parameter usage issues

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

13 years agoin the MARC Editor, put the callnumber and barcode textboxes for Fast Item Add on...
phasefx [Mon, 18 Apr 2011 05:45:03 +0000 (05:45 +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_1@20156 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agofont_helper in this version depends on JSAN being set up by my_init()
phasefx [Mon, 18 Apr 2011 03:59:32 +0000 (03:59 +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_1@20143 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agolabel interface, run persist_helper() before my_init(), since the latter depends...
phasefx [Fri, 15 Apr 2011 19:40:06 +0000 (19:40 +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_1@20109 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackported version of r20094: Protect pcrud-ish retrieve from an empty result set
miker [Fri, 15 Apr 2011 14:01:42 +0000 (14:01 +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_1@20099 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agotest for pre-cat slightly off in OPAC My Account, spotted by Steve Callender
phasefx [Thu, 7 Apr 2011 18:43:22 +0000 (18:43 +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_1@20021 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoPatch from Brandon Uhlman addressing SIP2 unavailable holds display.
miker [Tue, 29 Mar 2011 17:00:08 +0000 (17:00 +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 cur
rently 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 exi
sting 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_cop
y 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 w
here 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 wa
y 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 itera
te through the list ourseles.

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

13 years agoAllow the "result_field" to be used as the default alias in the output column of...
miker [Fri, 18 Mar 2011 14:45:09 +0000 (14:45 +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_1@19804 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoPrevent creation of report folders with empty folder names
dbs [Tue, 15 Mar 2011 01:39:52 +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_1@19746 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackport r19682 from trunk
senator [Thu, 10 Mar 2011 17:13:35 +0000 (17:13 +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_1@19684 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoRemove duplicate permission.perm_list entries from data seed values
dbs [Thu, 10 Mar 2011 03:21:56 +0000 (03:21 +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_1@19674 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoDraw pre-cataloged items (author and title) in My Account checkedout screen
dbs [Wed, 9 Mar 2011 19:18:12 +0000 (19:18 +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_1@19662 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoFix cloning of AutoField widgets: LP #728055
dbs [Mon, 7 Mar 2011 15:15:49 +0000 (15:15 +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_1@19595 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoUpgrade script for an upcoming 1.6.1.8 release
miker [Fri, 4 Mar 2011 14:24:15 +0000 (14:24 +0000)]
Upgrade script for an upcoming 1.6.1.8 release

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

13 years agocorrect the MOBTS view with regard to reservation additions (only affects reporting)
miker [Fri, 4 Mar 2011 14:23:43 +0000 (14:23 +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_1@19577 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoCorrect the install location for Dojo i18n bundles
dbs [Wed, 23 Feb 2011 02:17:46 +0000 (02:17 +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_1@19512 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackport r19470 from trunk
senator [Thu, 17 Feb 2011 20:58:28 +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_1@19474 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoNormalize ISBNs by stripping hyphens in search methods and in reporter.materialized_s...
dbs [Fri, 11 Feb 2011 21:59:16 +0000 (21:59 +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_1@19437 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoCorrect syntax error in BadDebt.pm
dbs [Thu, 10 Feb 2011 15:32:04 +0000 (15:32 +0000)]
Correct syntax error in BadDebt.pm

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

13 years agoallow item status update if either status-specific perm is allowed or UPDATE_COPY...
erickson [Wed, 9 Feb 2011 18:28:59 +0000 (18:28 +0000)]
allow item status update if either status-specific perm is allowed or UPDATE_COPY is allowed.  fire off related A/T events after the initial transaction has been committed

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

13 years agoupgrade scripts
miker [Fri, 4 Feb 2011 20:23:27 +0000 (20:23 +0000)]
upgrade scripts

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

13 years agoupgrade scripts
miker [Fri, 4 Feb 2011 20:22:42 +0000 (20:22 +0000)]
upgrade scripts

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

13 years agoFix ModsParser.pm bug involving invalid ISBNs. See bug #697398.
dbwells [Fri, 4 Feb 2011 18:54:35 +0000 (18:54 +0000)]
Fix ModsParser.pm bug involving invalid ISBNs.  See bug #697398.

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

13 years agobackport r19364 from trunk for stat cat field value removal in patron editor
phasefx [Wed, 2 Feb 2011 19:58:36 +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_1@19367 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackport r19288 : Fix checkin backdate assumptions
dbwells [Tue, 1 Feb 2011 18:43:33 +0000 (18:43 +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_1@19349 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agodon't offer to cancel related transits that have already completed when canceling...
phasefx [Thu, 20 Jan 2011 19:59:29 +0000 (19:59 +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_1@19238 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackport r19229 from trunk
senator [Thu, 20 Jan 2011 19:44:15 +0000 (19:44 +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_1@19232 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackport r19214 from trunk
senator [Wed, 19 Jan 2011 21:55:14 +0000 (21:55 +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_1@19217 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agosome interfaces (or at least org_unit_settings.js) was not infering the identifier...
phasefx [Wed, 19 Jan 2011 20:05:13 +0000 (20:05 +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_1@19213 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBuild and flatten a tree, correcting a sorting issue in some OU dropdowns.
miker [Wed, 19 Jan 2011 19:54:36 +0000 (19:54 +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_1@19212 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoEnable truncation attribute in Z39.50 queries to be left out entirely
dbs [Fri, 14 Jan 2011 03:02:19 +0000 (03:02 +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_1@19179 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agofix regression with org selector when specifying ?ol= and the org unit hiding setting...
phasefx [Tue, 11 Jan 2011 21:48:06 +0000 (21:48 +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_1@19157 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAddressing https://bugs.launchpad.net/evergreen/+bug/696078 where deleted/inactive...
miker [Tue, 4 Jan 2011 16:35:48 +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_1@19111 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoPatch from Robert Soulliere to backport Class::DBI version checking from 2.0: https...
miker [Tue, 4 Jan 2011 15:26:57 +0000 (15:26 +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_1@19100 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agobackport r14033 from trunk for unsetting (nullifying) a circ modifier
phasefx [Fri, 10 Dec 2010 18:37:29 +0000 (18:37 +0000)]
backport r14033 from trunk for unsetting (nullifying) a circ modifier

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

13 years agoPatch from James Fournie to address https://bugs.launchpad.net/evergreen/+bug/622908...
miker [Fri, 10 Dec 2010 17:21:09 +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_1@18966 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoPrepping for 1.6.1.5 with initial upgrade script.
miker [Fri, 10 Dec 2010 15:17:46 +0000 (15:17 +0000)]
Prepping for 1.6.1.5 with initial upgrade script.

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_1@18962 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agobig thinko. Going by the stock receipt template, this should be the workstation...
phasefx [Thu, 9 Dec 2010 18:26:54 +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_1@18953 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agotransit isn't in payload first time through with ROUTE_ITEM checkin, fallback on...
phasefx [Thu, 9 Dec 2010 18:14:10 +0000 (18:14 +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_1@18949 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoEnable Ingest to ingest multiple located URIs for a single org-unit at once
dbs [Thu, 9 Dec 2010 04:45:29 +0000 (04:45 +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_1@18939 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBe consistent with a misspelled field. Credit to Robert Soulliere for pointing
senator [Fri, 3 Dec 2010 15:29:38 +0000 (15:29 +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_1@18910 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoNormalize spaces in notcontains advance search query terms to address bug https:...
miker [Fri, 3 Dec 2010 15:11:02 +0000 (15:11 +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_1@18909 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBelated backport of r18688 from trunk
senator [Thu, 2 Dec 2010 21:16:39 +0000 (21:16 +0000)]
Belated backport of r18688 from trunk

Booking: fix bug reported by Robert Soulliere wherein the items associated
with picked-up reservations didn't actually get their status set to 'checked
out' like they should have.

Robert reported this bug on Launchpad (#672748) and provided a patch, but
there were some neighboring bugs in the circulation logic anyway, so they've
all been fixed together.

Update: Robert and I aren't yet actually certain whether this fixed the problem
when using legacy circ scripts.  Investigation continues on Launchpad.

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

13 years agoprotect some of the supercat browse interfaces from unboundedness
gmc [Tue, 30 Nov 2010 20:50:32 +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_1@18887 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackport some booking related commits from trunk.
senator [Tue, 30 Nov 2010 15:53:18 +0000 (15:53 +0000)]
Backport some booking related commits from trunk.

r17563: Booking: stop the "new resource type" dialog from executing a naughty
query

The dialog will no longer offer a field for selecting a bibliographic record,
but then again you wouldn't need it.  Bibliographically-based resource types
can be set up through a context menu option in the staff OPAC browser, whereas
this interface is only suited to non-bib-based resource types, like meeting
rooms, laptops, etc.
--
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.
--
r18580: 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_1@18874 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoback-porting cstoreditor fixes to help prevent transaction leaking
erickson [Tue, 30 Nov 2010 14:05:09 +0000 (14:05 +0000)]
back-porting cstoreditor fixes to help prevent transaction leaking

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

13 years agologic error (inversion) in retargetting of previous copy when no other holds are...
miker [Mon, 29 Nov 2010 19:48:04 +0000 (19:48 +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_1@18861 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoPatch from Jeff Godin, backported from trunkified version:
miker [Mon, 29 Nov 2010 17:45:56 +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_1@18857 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agomerge r18806 from rel_1_6 for caching this setting (at least within a given page...
phasefx [Wed, 24 Nov 2010 15:20:44 +0000 (15:20 +0000)]
merge r18806 from rel_1_6 for caching this setting (at least within a given page load)

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

13 years agoMerge upgrade script with tagged version
dbs [Fri, 19 Nov 2010 07:48:12 +0000 (07:48 +0000)]
Merge upgrade script with tagged version

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

13 years agoAdd the missing SQL upgrade script for 1.6.1.4
dbs [Fri, 19 Nov 2010 07:44:36 +0000 (07:44 +0000)]
Add the missing SQL upgrade script for 1.6.1.4

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

13 years agoback-porting 17292: added custom internal_id handler to SIP patron module
erickson [Thu, 18 Nov 2010 15:13:48 +0000 (15:13 +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_1@18778 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agobackport r18757 from trunk for opac org hiding extension to place hold pickup lib...
phasefx [Tue, 16 Nov 2010 20:11:52 +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_1@18759 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoTrim leading and trailing whitespace from metabib.full_rec values - fixes ISSN quicks...
dbs [Mon, 15 Nov 2010 22:43:58 +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_1@18753 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoasset.uri needs a seed entry for queries of its ID values
dbs [Mon, 15 Nov 2010 22:32:04 +0000 (22:32 +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_1@18750 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBackport r17447 from trunk: don't forget this branch
senator [Mon, 15 Nov 2010 15:46:37 +0000 (15:46 +0000)]
Backport r17447 from trunk: don't forget this branch

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

13 years agoReverting and extending r18472 to correct implementation thinko
miker [Mon, 15 Nov 2010 15:17:13 +0000 (15:17 +0000)]
Reverting and extending r18472 to correct implementation thinko

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

13 years agodo not use TRUNCATE when refreshing reporter.materialized_simple_record
gmc [Wed, 10 Nov 2010 13:30:39 +0000 (13:30 +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_1@18680 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agofix user password reset request time column def
gmc [Fri, 5 Nov 2010 17:02:59 +0000 (17:02 +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_1@18623 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoadjust user tests that get done when retargeting holds
gmc [Thu, 28 Oct 2010 16:15:35 +0000 (16:15 +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 r18507

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

13 years agoBackport r18516: Ensure call numbers are returned to the holdings editor in ascending...
dbs [Thu, 28 Oct 2010 15:22:48 +0000 (15:22 +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_1@18522 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoPrevent ingest errors when asset.uri ID value outstrips asset.call_number
dbs [Wed, 27 Oct 2010 02:25:48 +0000 (02:25 +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_1@18483 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoinclude more information in the debugging dump; correct the "back to index" link
miker [Tue, 26 Oct 2010 14:01:34 +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_1@18472 dcc99617-32d9-48b4-a31d-7c20da2025e4

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

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

13 years agoimprove call number sorting
gmc [Thu, 21 Oct 2010 14:54:44 +0000 (14:54 +0000)]
improve call number sorting

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

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

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

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

13 years agobackport r18355 and r18399 for better phone-derived password behavior
phasefx [Wed, 20 Oct 2010 14:47:32 +0000 (14:47 +0000)]
backport r18355 and r18399 for better phone-derived password behavior

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

13 years agoBackport oils_text_as_bytea work from the 1.6 branch
miker [Sat, 16 Oct 2010 15:49:12 +0000 (15:49 +0000)]
Backport oils_text_as_bytea work from the 1.6 branch

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

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

Had gottten lost in the shuffle in rel_1_6

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

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

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

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

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

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

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

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

13 years agoget ready for the new stuff
miker [Thu, 14 Oct 2010 19:40:25 +0000 (19:40 +0000)]
get ready for the new stuff

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

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

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

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

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

13 years agoAvoid scary SSL / HTTPS errors in Apache configuration
dbs [Fri, 8 Oct 2010 03:26:59 +0000 (03:26 +0000)]
Avoid scary SSL / HTTPS errors in Apache configuration

When port 443 is the last listener port, Apache generates lots
of "unknown protocol speaking not SSL to HTTPS port!?" errors in
the logs - which are scary, but harmless. Putting port 80 last
avoids those errors entirely, per http://wiki.apache.org/httpd/InternalDummyConnection

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

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

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

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

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

13 years agoimprove hold targetting
gmc [Fri, 24 Sep 2010 18:43:50 +0000 (18:43 +0000)]
improve hold targetting

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

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

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

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

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

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

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

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

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

13 years agoBackport r17847 from Dan Scott: protect non-search, colon-delimited strings from...
miker [Mon, 20 Sep 2010 22:10:44 +0000 (22:10 +0000)]
Backport r17847 from Dan Scott: protect non-search, colon-delimited strings from breaking searches

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

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

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

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

13 years agoBackport just the bib-source setting portion of r17403
dbs [Mon, 6 Sep 2010 07:45:28 +0000 (07:45 +0000)]
Backport just the bib-source setting portion of r17403

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

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