]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
7 years agoDocs: LP1268054 add patron purchase request doc rel_2_9
Jane Sandberg [Fri, 9 Dec 2016 05:31:25 +0000 (21:31 -0800)]
Docs: LP1268054 add patron purchase request doc

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
7 years agoForward port 2.9.7 to 2.9.8 updgrade script and server upgrade instructions.
Jason Stephenson [Wed, 21 Sep 2016 19:53:28 +0000 (15:53 -0400)]
Forward port 2.9.7 to 2.9.8 updgrade script and server upgrade instructions.

Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoDocs: Adding 2.9.8 point release notes
Kathy Lussier [Wed, 21 Sep 2016 17:19:02 +0000 (13:19 -0400)]
Docs: Adding 2.9.8 point release notes

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1623541: Booking will fail if its router isn't called "router"
Mike Rylander [Wed, 14 Sep 2016 14:44:15 +0000 (10:44 -0400)]
LP#1623541: Booking will fail if its router isn't called "router"

The circ code checks to see if the booking app is running, and if not, it
skips some booking-related logic. This is a useful performance enhancement
where booking is not in use. It does this by asking the OpenSRF router if
the "open-ils.booking" app has registered with it. Most of the time the
OpenSRF router will be called, unimaginatively, "router" but when it's not,
booking will not be considered by the circ module even if it's running.

Instead of assuming "router" we should simply look up the router's name.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoLP#1624846 Add charset declaration to TPAC print output
Dan Scott [Sun, 18 Sep 2016 13:16:27 +0000 (09:16 -0400)]
LP#1624846 Add charset declaration to TPAC print output

Non-ASCII characters were printed incorrectly in some browsers, such as
Firefox, that still default to ISO-8859-1 encodings in the absence of a
specifically declared encoding.

Our output encoding will always be UTF-8, so declare it.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP#1413352 Brief record price sets lineitem price
Bill Erickson [Thu, 2 Jun 2016 19:27:06 +0000 (15:27 -0400)]
LP#1413352 Brief record price sets lineitem price

Propagate lineitem MARC 'price' attribute value to the lineitem
estimated_unit_price field.  This allows users to apply a lineitem
price directly from the ACQ Brief Record interface.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoForward port 2.9.6 to 2.9.7 DB upgrade script.
Jason Stephenson [Fri, 26 Aug 2016 00:53:36 +0000 (20:53 -0400)]
Forward port 2.9.6 to 2.9.7 DB upgrade script.

Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoDocs: Add Additional 2.9.7 Acknowledgments for Testing/Signoff
Jason Stephenson [Thu, 25 Aug 2016 21:29:12 +0000 (17:29 -0400)]
Docs: Add Additional 2.9.7 Acknowledgments for Testing/Signoff

Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoDocs: Adding 2.9.7 Release Notes
Jason Stephenson [Thu, 25 Aug 2016 21:26:19 +0000 (17:26 -0400)]
Docs: Adding 2.9.7 Release Notes

Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoLP#1617017: make another TPAC string translatable
Galen Charlton [Thu, 25 Aug 2016 18:03:38 +0000 (14:03 -0400)]
LP#1617017: make another TPAC string translatable

"Export List" in hold_history.tt2

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoLP1496556 Claimed never checked out count not increased when applied to LOST circulation
blake [Thu, 30 Jun 2016 20:41:35 +0000 (15:41 -0500)]
LP1496556 Claimed never checked out count not increased when applied to LOST circulation

Bug within the Lost copy status checkin block. Needed to set the stop_fines

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
7 years agoLP#1613709: Make DOB validation alert failure translatable.
Jason Stephenson [Thu, 25 Aug 2016 15:57:42 +0000 (11:57 -0400)]
LP#1613709: Make DOB validation alert failure translatable.

The alert message about an invalid DOB being entered in the OPAC
patron registration is not translatable.  The solution, suggested by
Eva Cerninakova, is to wrap the string in the l() template function to
make it so.  That is what this branch does.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
7 years agoLP#1616882: mark another string as translateable
Galen Charlton [Thu, 25 Aug 2016 15:11:00 +0000 (11:11 -0400)]
LP#1616882: mark another string as translateable

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoLP#1616882: mark string as translateable
Galen Charlton [Thu, 25 Aug 2016 15:05:25 +0000 (11:05 -0400)]
LP#1616882: mark string as translateable

This patch makes the "Branch relationship" string in TPAC
available to be translated.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoLP 1583608: The make_release script always makes a db upgrade script.
Jason Stephenson [Mon, 30 May 2016 17:01:45 +0000 (13:01 -0400)]
LP 1583608: The make_release script always makes a db upgrade script.

Alter make_release to always create a db upgrade script, even when no
actual db upgrades need to be applied.  The minimal script created
will at least set the upgrade version in config.upgrade_log.

Signed-off-by: Jason Stephenson <jason@sigio.com>
7 years agoLP#1612364: Add transparency to some format icons
Kathy Lussier [Sat, 20 Aug 2016 05:39:09 +0000 (01:39 -0400)]
LP#1612364: Add transparency to some format icons

Some format icons had a white background instead of a transparent one. The
transparent ones will look better in the My Account screens, where the icons
site on a gray background.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP#1306666: Rename test file
Mike Rylander [Wed, 24 Aug 2016 12:11:11 +0000 (08:11 -0400)]
LP#1306666: Rename test file

Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP 1306666: Add Perl tests for new behavior.
Jason Stephenson [Mon, 28 Mar 2016 19:34:32 +0000 (15:34 -0400)]
LP 1306666: Add Perl tests for new behavior.

These tests check that the copy status is correct after aborting
transits dependent upon the status of the copy.  More tests could be
added to cover more situations, but these tests cover the basics.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP 1306666: Abort Transit Only Change Copy Status if In Transit
Jason Stephenson [Fri, 18 Mar 2016 20:38:33 +0000 (16:38 -0400)]
LP 1306666: Abort Transit Only Change Copy Status if In Transit

When aborting a transit, the copy status is presently changed, either
to the status stored in action.transit_copy or to Reshelving if the
transit was for a hold.  This causes problems with "hanging" transits
where something was not handled properly before.  We've had cases
where a transit sticks around on a copy that is later checked out, and
while that copy is checked out, the transit is aborted, thus setting
the copy status to Reshelving when it should be Checked Out.

The code change in this branch only changes the copy's status if it is
In Transit.  A copy in any other status has its status left untouched.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP#1205492: fix crash when attempting to renew deposit & rental loans in OPAC
Galen Charlton [Wed, 24 Aug 2016 15:41:57 +0000 (11:41 -0400)]
LP#1205492: fix crash when attempting to renew deposit & rental loans in OPAC

This patch fixes a bug where attempting to renew a loan on an item
that requires a deposit or a rental fee can cause an Apache
internal server error.

In particular, this patch supplies descriptions for the following
events:

  ITEM_DEPOSIT_REQUIRED
  ITEM_RENTAL_FEE_REQUIRED
  ITEM_DEPOSIT_PAID

It also normalizes how 'fail_part' is set in the renewal response,
as the payload of an event returned when a renewal fails can
be either a hash or an acp Fieldmapper object depending on the
type of event.  In the former case, attempting to access an
nonexistent ->fail_part method is what causes the crash.

To test
-------
[1] Create an item that requires a deposit or a rental fee
    and check it out.
[2] Attempt to renew the loan in the public catalog. Note
    that an internal server error is returned.
[3] Apply the patch and attept step 2 again. This time, the
    public catalog should display a notification to the patron
    that the renewal cannot take place, rather than crashing.
[4] Set up other situations where a renewal should fail for
    reasons other than a deposit/rental fee being required. Verify
    that appropriate error messages are displayed in the public
    catalog.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agolp1592934 removed lines referencing edition fields 534 and 775. These fields refer...
Jim Keenan [Fri, 12 Aug 2016 18:51:28 +0000 (14:51 -0400)]
lp1592934 removed lines referencing edition fields 534 and 775. These fields refer to other, different editions of the work and not to the work actually being returned.

Signed-off-by: Jim Keenan <jkeenan@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1609556: (follow-up) restore previous 852$d output
Galen Charlton [Wed, 10 Aug 2016 14:26:06 +0000 (10:26 -0400)]
LP#1609556: (follow-up) restore previous 852$d output

The previous patch had a side-effect of changing the 852$d
value from the circ library's shortname to its long name. This
patch restores the previous behavior.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP#1609556: use unapi functions to retrieve holdings for SRU/Z39.50
Jeff Davis [Wed, 27 Jul 2016 21:00:28 +0000 (14:00 -0700)]
LP#1609556: use unapi functions to retrieve holdings for SRU/Z39.50

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoDelay Novelist loading slightly
Thomas Berezansky [Thu, 4 Aug 2016 14:37:17 +0000 (10:37 -0400)]
Delay Novelist loading slightly

So that if Novelist holds things up other JavaScript, like staff client calls,
are not delayed due to Novelist issues.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP1559281: Allow Baker and Taylor Fake ISBNs
Thomas Berezansky [Mon, 28 Mar 2016 15:03:59 +0000 (11:03 -0400)]
LP1559281: Allow Baker and Taylor Fake ISBNs

For Content Cafe, jam two B&T entrys into the hash so that Business::ISBN
doesn't register them as invalid prefix ISBNs.

B&T uses internal ISBN's with country codes 630 and 631 for materials
ordered through them when no assigned ISBN exists.  The ContentCafe
added content service knows about these ISBNs, but they are not generally
used by other providers.

To Test:  This only works if you are using the ContentCafe added content provider.

 - Before Patch -
1. Add the isbn 9786315820243 as the only isbn on a record. Remove UPCs also..
2. Clear the added content cache by restarting memcached or using the staff link.
3. View record in catalog and you should see no cover art.

 - After Patch -
1. Clear the added content cache.
2. View the record in the catalog and you should now see cover art for the title
"Video games: the movie"

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP#1424656: Fix grammatical error in My Account holds screen
Kathy Lussier [Thu, 19 May 2016 17:27:11 +0000 (13:27 -0400)]
LP#1424656: Fix grammatical error in My Account holds screen

Changes the holds queue position string from 'x hold on y copies' to 'Hold #x on
y copies', which is gramatically correct.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP 1481441: Improve Hold Failure Messages
Jason Boyer [Fri, 14 Aug 2015 15:26:54 +0000 (11:26 -0400)]
LP 1481441: Improve Hold Failure Messages

Rearranging the order of the various sources of hold
failure messages makes it less likely to see spurious
"Item is too new to transit this far" messages. Now
errors due to excessive fines or number of existing
holds.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Conflicts:
Open-ILS/src/templates/opac/parts/place_hold_result.tt2

7 years agoLP#1608711: Update schema.org property name from "seller" to "offeredBy"
Dan Scott [Mon, 1 Aug 2016 22:09:04 +0000 (18:09 -0400)]
LP#1608711: Update schema.org property name from "seller" to "offeredBy"

Per the 2015-11-05 release of schema.org
(http://schema.org/docs/releases.html#v2.2), the "offeredBy" property is now
the preferred property to use for non-commercial entities (such as libraries)
making an offer of an item for borrowing, sale, etc.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <ben@evergreener.net>
7 years agoDocs: Small syntax fix, formatting improvements
Remington Steed [Fri, 8 Jul 2016 14:32:05 +0000 (10:32 -0400)]
Docs: Small syntax fix, formatting improvements

This commit fixes a small AsciiDoc syntax bug caused by a real '_' that
accidentally closed the '_' italics tag. This block of documentation
will now more closely match the identical content found in
'admin/template_toolkit.txt' (chapter labeled "TPac Configuration and
Customization").

Signed-off-by: Remington Steed <rjs7@calvin.edu>
7 years agoDocs: Add tip for using "temp" as a login_types when using "Change Operator: New"
Yamil Suarez [Sun, 26 Jun 2016 16:52:43 +0000 (12:52 -0400)]
Docs: Add tip for using "temp" as a login_types when using "Change Operator: New"

Signed-off-by: Yamil Suarez <yamil@yamil.com>
7 years agoUpdate server upgrade and server installation for 2.9.6.
Jason Stephenson [Wed, 15 Jun 2016 19:09:46 +0000 (15:09 -0400)]
Update server upgrade and server installation for 2.9.6.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
7 years agoAdd 2.9.5 to 2.9.6 upgrade script.
Jason Stephenson [Wed, 15 Jun 2016 19:08:53 +0000 (15:08 -0400)]
Add 2.9.5 to 2.9.6 upgrade script.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
7 years agoDocs: Adding 2.9.6 Release Notes
Kathy Lussier [Wed, 15 Jun 2016 17:04:23 +0000 (13:04 -0400)]
Docs: Adding 2.9.6 Release Notes

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1526858: Stamping upgrade script for faster alhr query
Kathy Lussier [Fri, 10 Jun 2016 15:51:41 +0000 (11:51 -0400)]
LP#1526858: Stamping upgrade script for faster alhr query

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql

7 years agoLP#1526858: speed up queries for shelf-expired holds during checkin
Galen Charlton [Wed, 16 Dec 2015 16:03:42 +0000 (11:03 -0500)]
LP#1526858: speed up queries for shelf-expired holds during checkin

This patch adds indexes on action.hold_request and tweaks
the definition of the alhr IDL view to more efficiently
identify holds that can be canceled if the "Clear Holds Shelf"
checkin modifier is in use.  This can prevent a problem
where such checkins can time out in very large databases.

The tweaks were created by Jason Etheridge and have been in
production at a large consortium for some time.

To test
-------
[1] With a suitably large database, set up an item that
    is on the holds shelf but has passed its shelf-expiration
    time, then check it in using the "Clear Holds Shelf" modifier.
[2] The checkin may fail with a "network failure" message due
    the query on the alhr timing out.
[3] Apply the patch and repeat step 1. This time, the checkin
    should succeed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoAdds two missing link fields (patron profile and patron home library) to
Codey Kolasinski [Mon, 16 May 2016 13:28:09 +0000 (09:28 -0400)]
Adds two missing link fields (patron profile and patron home library) to
the fm_idl.xml for the Combined Active and Aged Circulations (combcirc)
reporter source. The fix was originally posted in a comment to the
Launchpad bug by Codey Kolasinski.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1566016: remove SSN as a stock ident type
Galen Charlton [Mon, 4 Apr 2016 21:31:58 +0000 (17:31 -0400)]
LP#1566016: remove SSN as a stock ident type

This patch removes the SSN (Social Security Number) as a stock
patron identification type, as it is no longer recommended
practice for libraries to store SSNs.

To test:

[1] Verify that in a fresh installation of Evergreen that
    has this patch in place, that SSN is no longer listed
    as a patron identification type.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP 1548993: Remember the Show More/Fewer Details button selection.
Jason Stephenson [Thu, 26 May 2016 19:23:03 +0000 (15:23 -0400)]
LP 1548993: Remember the Show More/Fewer Details button selection.

The state of the Show More/Fewer Details button selection was
previously not remembered across searches or across changes to
advanced search.  This commit attempts to remedy that.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/templates/opac/results.tt2

7 years agoLP 1548993: Restore Show More/Show Fewer Details button functionality.
Jason Stephenson [Thu, 19 May 2016 19:53:48 +0000 (15:53 -0400)]
LP 1548993: Restore Show More/Show Fewer Details button functionality.

When using a show_more_details.default setting of true in config.tt2,
the Show More/Show Fewer Details button functionality is broken.  The
detail record view is always shown, regardless of the button's state.
This patch attempts to repair the behavior so that the user can toggle
the detail record view even though the default is set to true.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/templates/opac/results.tt2

7 years agoLP#1373578: fix translatability of hold placement errors
Galen Charlton [Mon, 23 May 2016 16:29:04 +0000 (12:29 -0400)]
LP#1373578: fix translatability of hold placement errors

This patch fixes a circumstance where ->maketext() could be
passed an empty string, causing it to emit the PO file header text
rather than a desired string.

To test
-------
[1] Configure Evergreen to use a TPAC localization (e.g.,
    the Czech translation).
[2] Enable the "Has Local Copy Alert" library setting.
[3] In the OPAC, change locale and attempt to place a
    hold that would trigger the alert saying that there's
    already a local copy available.
[4] Note that the alert reads as "Project-Id-Version: evergreen
Report-Msgid-Bugs-To: ..."
[5] Apply the patch.
[6] Try step 3; this time the alert will be translated correctly,
    e.g., "Ve vaší domovské knihovnÄ› je již dostupný exemplář."

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
7 years agoLP#1584801: fix tagging of previous circs in metarecord search results
Galen Charlton [Mon, 23 May 2016 14:29:09 +0000 (10:29 -0400)]
LP#1584801: fix tagging of previous circs in metarecord search results

This patch fixes a bug where previously-checked-out items were not
indicated as such in search results when doing a metarecord search.

To test:

[1] Ensure that the opac.search.tag_circulated_items library setting
    is enabled and that you are testing with a user that has opted-in
    to retaining circ history.
[2] Make a couple loans to that user.
[3] Log into the public catalog using that user.
[4] Perform a catalog search, choosing search terms such that
    the previously-loaned items appear in results.
[5] Verify that "I have checked this item out before" is displayed
    on the relevant hits.
[6] Click the "Group Formats and Editions" checkbox; note that
    after the page refreshes, previously-borrowed hits are /not/
    tagged.
[7] Apply the patch and restart the open-ils.search service.
[8] Repeat step 6; verify that this time previously-borrowed hits
    are tagged.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1517556 - Exclude inactive event defs from find_event_def_by_hook.
Josh Stompro [Wed, 30 Mar 2016 13:47:57 +0000 (08:47 -0500)]
LP#1517556 - Exclude inactive event defs from find_event_def_by_hook.

Currently when find_event_def_by_hook is called to find an appropriate
event_def based on the hook, it doesn't exclude inactive event defs.  So
strange behavior can happen if inactive event defs are present.

I ran into this issue when I was trying out different versions of the self
check receipt event def.  I had one ative and one inactive while I was
troubleshooting, and when the system would grab the inactive event def by
chance, the self check UI would freeze.  I think it is a resonable expectation
that an event def marked inactive doesn't get used by the system.

To test this out, clone one of the self check event defs, such as
"Self-Checkout Items Out Receipt" and mark the copy as inactive.  Now
go and trigger this event in the self check interface by attempting to
print from the Items Out screen.  It should now fail 50% of the time, since
both the active and inactive defs are returned.

After the fix the inactive event def will always be excluded, so the action
should no longer fail.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
7 years agoAdd 2.9.4 to 2.9.5 db upgrade script.
Jason Stephenson [Wed, 18 May 2016 18:16:10 +0000 (14:16 -0400)]
Add 2.9.4 to 2.9.5 db upgrade script.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
7 years ago Update server upgrade instructions for 2.9.5.
Jason Stephenson [Wed, 18 May 2016 14:09:56 +0000 (10:09 -0400)]
 Update server upgrade instructions for 2.9.5.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
7 years agoDocs: Adding 2.9.5 Release Notes
Kathy Lussier [Wed, 18 May 2016 13:55:55 +0000 (09:55 -0400)]
Docs: Adding 2.9.5 Release Notes

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP1497374 fm_IDL.xml metabib::record_attr_flat contains an incorrect link
blake [Fri, 18 Sep 2015 17:24:28 +0000 (12:24 -0500)]
LP1497374 fm_IDL.xml metabib::record_attr_flat contains an incorrect link

Corrected the link in fm_IDL.xml. Also added a link to metabib::record_attr_flat
in biblio::record_entry

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1578716 Fix Responsive Items Out
Dan Wells [Thu, 5 May 2016 15:58:52 +0000 (11:58 -0400)]
LP#1578716 Fix Responsive Items Out

With "Title" and "Author" as separate columns, here is a quick fix
to get the responsive labels to line up again.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Ben Shum <ben@evergreener.net>
7 years agoLP#1031335 No-op the escape_email_header helper
Dan Scott [Wed, 7 Jan 2015 23:22:22 +0000 (18:22 -0500)]
LP#1031335 No-op the escape_email_header helper

As suggested by Mike Rylander, keep the escape_email_header helper
around to avoid breaking templates that already adopted it, but make it
a no-op as the SendEmail reactor now encodes the email headers of
interest by default.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoFix LP#1031335 by escaping some email headers automatically
Pasi Kallinen [Wed, 24 Jul 2013 06:28:13 +0000 (09:28 +0300)]
Fix LP#1031335 by escaping some email headers automatically

Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoUpdate server upgrade instructions for 2.9.4.
Jason Stephenson [Thu, 28 Apr 2016 22:09:55 +0000 (18:09 -0400)]
Update server upgrade instructions for 2.9.4.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
7 years agoForward port 2.9.3 to 2.9.4 db upgrade script.
Jason Stephenson [Thu, 28 Apr 2016 23:32:47 +0000 (19:32 -0400)]
Forward port 2.9.3 to 2.9.4 db upgrade script.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
7 years agoAdding 2.8.7 -> 2.8.8 DB upgrade script
Bill Erickson [Thu, 28 Apr 2016 19:51:47 +0000 (15:51 -0400)]
Adding 2.8.7 -> 2.8.8 DB upgrade script

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoupdate release notes for 2.9.4
Galen Charlton [Thu, 28 Apr 2016 16:21:50 +0000 (12:21 -0400)]
update release notes for 2.9.4

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoAdding 2.9.4 release notes
Kathy Lussier [Thu, 28 Apr 2016 12:47:05 +0000 (08:47 -0400)]
Adding 2.9.4 release notes

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
7 years agoLP#1562153: fix case where changing sort order to relevance can fail
Galen Charlton [Fri, 25 Mar 2016 20:46:24 +0000 (16:46 -0400)]
LP#1562153: fix case where changing sort order to relevance can fail

This patch fixes a cause where sending a 'sort' CGI parameter
with the empty string as value (which specifies relevance sorting)
fails to override a previously-set sort order.

To test:

[1] Do a public catalog search starting from the advanced search form,
    e.g., keyword = "cats"
[2] Change the sort order to (say) Title A-Z from the results page.
[3] Note that the query string changes to "sort(titlesort) cats" and
    that the results are re-sorted
[4] Attempt to change the sort order to relevance.
[5] This time, the sort order does not change ... and it should have.
[6] Apply the patch and repeat steps 1-5. This time, the sort order
    should be successfully changed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP#1562153: add regression test
Galen Charlton [Fri, 25 Mar 2016 20:44:15 +0000 (16:44 -0400)]
LP#1562153: add regression test

This patch adds a regression test for successfully
overrding the sort order in a query from a 'sort' CGI
parameter.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP#1569884: stamp schema update
Galen Charlton [Thu, 28 Apr 2016 15:31:20 +0000 (11:31 -0400)]
LP#1569884: stamp schema update

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql

7 years agoLP#1569884: fix schema update script
Galen Charlton [Thu, 28 Apr 2016 15:27:11 +0000 (11:27 -0400)]
LP#1569884: fix schema update script

CREATE INDEX cannot run concurrently in a transaction
block period, at least as of 9.4.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
7 years agoLP#1569884 Fix two problems in previous commit.
Jason Stephenson [Wed, 27 Apr 2016 19:43:31 +0000 (15:43 -0400)]
LP#1569884 Fix two problems in previous commit.

The CREATE TABLE biblio.monograph_part statement in
010.schema.biblio.sql ended up with a trailing comma.

The CREATE UNIQUE INDEX on biblio.monograph_part cannot be done
CONCURRENTLY at DB creation time, apparently.  At least not on
PostgreSQL 9.3.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
7 years agoLP#1569884 Updated base schema with monograph parts index.
Steven Callender [Wed, 27 Apr 2016 16:05:48 +0000 (12:05 -0400)]
LP#1569884 Updated base schema with monograph parts index.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
7 years agoLP#1569884 Allow deleted monograph parts to be recreated.
Steven Callender [Wed, 13 Apr 2016 15:15:27 +0000 (11:15 -0400)]
LP#1569884 Allow deleted monograph parts to be recreated.

Changed the constraint on the biblio.monograph_part table to allow for a
monograph part to be created if a duplicate deleted version is found.

To test:

[1] Add a monograph part to a bib.
[2] Delete that monograph part.
[3] Attempt to add a monograph part to the same bib using
    the same part label. Without the patches installed, this
    will fail; upon applying the database update, this operation
    should succeed.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
7 years agoLP#1569884: add regression test
Galen Charlton [Thu, 28 Apr 2016 15:20:29 +0000 (11:20 -0400)]
LP#1569884: add regression test

This pgTAP test verifies that if you logically delete a monograph part,
you can subsequently add a new one with the same label as that of the
deleted one.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
7 years agoLP#1559121: remove Debian Squeeze support
Galen Charlton [Fri, 18 Mar 2016 14:34:40 +0000 (10:34 -0400)]
LP#1559121: remove Debian Squeeze support

Now that Debian Squeeze's LTS (long-term support) period
has ended, Evergreen no longer offers community support
for that distribution. This patch removes references
to Squeeze from the installation scripts and documentation.

To test:

[1] Verify that Debian Squeeze is no longer referenced in
    the installation documentation.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Conflicts:
docs/installation/server_upgrade.txt

8 years agoDocs: typo fix in authentication_proxy.txt
Yamil Suarez [Tue, 5 Apr 2016 23:13:03 +0000 (19:13 -0400)]
Docs: typo fix in authentication_proxy.txt

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoLP1564378: Silence Hash Init Warning
Jason Boyer [Thu, 31 Mar 2016 12:08:03 +0000 (08:08 -0400)]
LP1564378: Silence Hash Init Warning

A trivial change to silence a lot of noise (if your libraries
use extending grace periods.)

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1373601: Consider relevant characters before using word-boundary checks
Mike Rylander [Tue, 22 Mar 2016 15:50:58 +0000 (11:50 -0400)]
LP#1373601: Consider relevant characters before using word-boundary checks

To perform unanchored phrase limits, we make sure that the phrase supplied
by the user does not end in the middle of a word by bounding the condition
with word-boundary bracket expresssions.  However, if the phrase starts
or ends with a non-word character (that is, something other than numbers,
letters, or the underscore) then the word-boundary expression won't match.
The effect of this is to cause phrase searches starting or ending in
punctuation to fail when the user would not expect them to.

To address this, we now test the phrase for word-iness at the front and
back before applying word-boundary bracket expressions.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoForward port 2.9.2 to 2.9.3 upgrade script and server upgrade instructions.
Jason Stephenson [Wed, 16 Mar 2016 20:54:44 +0000 (16:54 -0400)]
Forward port 2.9.2 to 2.9.3 upgrade script and server upgrade instructions.

Signed-off-by: Jason Stephenson <jstephenson@mvlcstaff.org>
8 years agoPorting 2.8.6 -> 2.8.7 SQL upgrade
Bill Erickson [Wed, 16 Mar 2016 20:46:38 +0000 (16:46 -0400)]
Porting 2.8.6 -> 2.8.7 SQL upgrade

Signed-off-by: Bill Erickson <berickxx@gmail.com>
8 years agoLP#1206936 Base SQL schema repair
Bill Erickson [Thu, 25 Feb 2016 20:47:20 +0000 (15:47 -0500)]
LP#1206936 Base SQL schema repair

Avoid referencing money.materialized_billable_xact_summary before it's
defined.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoDocs: 2.9.3 Release notes
Kathy Lussier [Wed, 16 Mar 2016 17:54:10 +0000 (13:54 -0400)]
Docs: 2.9.3 Release notes

Adding bug fixes to the point release notes for 2.9.3

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agodocs-2.8.7 release notes
Kathy Lussier [Wed, 16 Mar 2016 17:35:22 +0000 (13:35 -0400)]
docs-2.8.7 release notes

Adding point release notes for 2.8.7

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1208613: Reset lineitem cache when resetting table
Dan Wells [Thu, 7 Jan 2016 16:47:43 +0000 (11:47 -0500)]
LP#1208613: Reset lineitem cache when resetting table

Stale cache entries in this table were causing the "expand all"
functionality to break.  This might be a nuclear option, but as far as
I could see, this "cache" gets repopulated on every pagination anyway,
so I don't think we're losing anything.

To test:

[1] Select a large list from the Acquisitions --> My Selection List
    screen.
[2] Click on the Expand All button and the items on the page expand
    with more information.
[3] Click on the Next link to bring up page 2 of the list.
[4] Click on the Expand All button and verify that additional
    information is displayed.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Erica Rohlfs <erohlfs@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1370694: stamp database update
Galen Charlton [Mon, 14 Mar 2016 21:35:59 +0000 (17:35 -0400)]
LP#1370694: stamp database update

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1370694: don't update already-customized format.selfcheck.holds
Galen Charlton [Mon, 14 Mar 2016 21:33:49 +0000 (17:33 -0400)]
LP#1370694: don't update already-customized format.selfcheck.holds

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1370694: clean up whitespace
Galen Charlton [Mon, 14 Mar 2016 21:09:53 +0000 (17:09 -0400)]
LP#1370694: clean up whitespace

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1370694 Selfcheck: "Print List" for Holds view does not work
Terran McCanna [Tue, 1 Mar 2016 21:47:20 +0000 (16:47 -0500)]
LP#1370694 Selfcheck: "Print List" for Holds view does not work

Prior to this change, the holds data was not getting passed to the
print function. Now, it is being captured and passed to the print
function. Because of some sorting discrepancies between the order of
the information being passed from here to the action trigger and the
order that the information is presented when pulled directly out of the
database by the action trigger (which led to data mismatches between the
title/author and the hold status/pickup locations for each printed item),
I modified this script to pass all of the hold information together in the
desired order to the action trigger rather than relying on the template
to match the data coming from the script with the data from the database.

This change requires the action trigger printing template to be updated in
order to work. I've included an upgrade script as well as an update to the
seed data script.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1551447: stamp database update
Galen Charlton [Mon, 14 Mar 2016 21:01:16 +0000 (17:01 -0400)]
LP#1551447: stamp database update

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1551447: don't update already-customized format.selfcheck.fines
Galen Charlton [Mon, 14 Mar 2016 20:48:50 +0000 (16:48 -0400)]
LP#1551447: don't update already-customized format.selfcheck.fines

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1551447 Selfcheck: Printing Fines Prints All Open Transactions
Terran McCanna [Tue, 1 Mar 2016 22:35:28 +0000 (17:35 -0500)]
LP#1551447 Selfcheck: Printing Fines Prints All Open Transactions

This corrects the behavior of the selfcheck fines receipt print template.
Prior to this, it printed all open billable transactions (eg, every item
that the patron had checked out) regardless of whether or not it had bills
associated with it. This adds a small bit of logic to the template to
check for a balance due. It also updates the javascript to check for a
balance on the account before launching the print function to prevent the
system from taking unnecessary action.

This includes a SQL upgrade script to update the Self-Checked Fines
Receipt template for systems that are already in production, as well as
including an update to the seed data.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1454871: whitespace cleanup
Galen Charlton [Mon, 14 Mar 2016 19:10:14 +0000 (15:10 -0400)]
LP#1454871: whitespace cleanup

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1454871: Fix KPAC Hold Notification Preferences
Terran McCanna [Thu, 11 Jun 2015 22:15:13 +0000 (18:15 -0400)]
LP#1454871: Fix KPAC Hold Notification Preferences

Correction to KPAC holds notification default preferences to allow for
SMS text messaging options.

Prior to this correction, KPAC hold notifications would only pick up
hold preferences if set to email and/or phone. This correction allows
it to pick up email and/or phone and/or sms notification preferences.

To test, set hold preferences to different options, place hold via the
KPAC, and then view the hold to see which preferences were recognized.
(May need to show columns for Phone Notify, Text Notify, and Email Notify.)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1548869: tidy up whitespace
Galen Charlton [Mon, 14 Mar 2016 19:06:12 +0000 (15:06 -0400)]
LP#1548869: tidy up whitespace

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1548869 KPAC hold results screen not displaying complete info
Terran McCanna [Wed, 24 Feb 2016 22:17:27 +0000 (17:17 -0500)]
LP#1548869 KPAC hold results screen not displaying complete info

The getit_results.tt2 page was not displaying item title after
hold placement or after adding to a list. It was also not pulling
in the item id (which was needed for navigational links back to the
record) and was not pulling in the list name after adding an item
to a named list.

This patch adds some logic to prevent subroutine conflicts, adds
missing parameters to a function call, and corrects a variable name.

To test:

Log in to the KPAC and perform the following actions:

1. Place a successful hold (results screen should show item title
   and pickup library, and provide links back to record page).
2. Place an unsuccessful hold (try placing a hold on an item you
   already have a hold on - the results screen should show the item
   title).
3. Add item to a temporary list (results screen should show item title).
4. Add item to a named list (results screen should show item title and
   title of list it was added to).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1549393 - Remove undef values from isbn and issn arrays.
Josh Stompro [Sat, 27 Feb 2016 14:54:04 +0000 (08:54 -0600)]
LP#1549393 - Remove undef values from isbn and issn arrays.

This prevents empty requests being sent to content providers.

This caused a problem for us because invalid ISBNs were causing
requests to Content Cafe to fail, since Content Cafe returns an
error if there is a blank key sent along with valid ISBNs and UPCs.

Specifically we had problems with DVD records from Baker & Taylor because
B&T creates unoffical ISBNs for the DVDs they sell.  Those ISBN's do
not validate when run through B::ISBN.

ISSNs are also cleaned since they are validated and set to undef if
invalid just like ISBNs are.

It shouldn't hurt to not send blank requests to providers in any case.

To test:
1. I know this is a problem with Content Cafe, I don't
know if any other providers are effected.  Let me know
if you need Content Cafe credentials to test.

2. Add an invalid ISBN 020a entry to a bib record that has added content.
9786316271976 is an example of a fake ISBN that doesn't
pass B::ISBN validation.  Or just make up a fake number.

3. Clear out the memcache entries for that record.  In 2.9+ there
is a link to clear the cache in the record detail view under Permalink.

4. Reload the record and the cover art and other added content should
not be displayed.  This is because the invalid ISBN gets set to undef
, and the undef gets sent to content cafe as a blank key request.

5. Now apply the fix.  Clear the memcache entries for that bib, and now
the cover art should be displayed since the undef entries due to the invalid
ISBN's have been removed.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1550495: stamp DB update
Galen Charlton [Mon, 14 Mar 2016 18:46:19 +0000 (14:46 -0400)]
LP#1550495: stamp DB update

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1550495 - Add EDI Cancel Code 85 - used by Baker & Taylor
Josh Stompro [Fri, 4 Mar 2016 19:51:34 +0000 (13:51 -0600)]
LP#1550495 - Add EDI Cancel Code 85 - used by Baker & Taylor

Baker & Taylor send back a quantity code 85 response when they cancel
a line item.  This code wasn't included as one of the built in EDI
codes so those line items were not being canceled automatically in
evergreen.

The system looks for the response code + 1200 to find the cancel reason,
so this code is entered as ID 1285 in the acq.cancel_reason table.

I received confirmation from another system that uses B&T as an EDI vendor
that they also receive code 85 responses when something gets canceled.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1454884 Hold placed on grouped metabib result displays wrong title
Terran McCanna [Wed, 2 Mar 2016 17:16:43 +0000 (12:16 -0500)]
LP#1454884 Hold placed on grouped metabib result displays wrong title

Prior to this change, a full/extended title displayed even on metarecord
holds that had different extended titles, which sometimes led to situations
where a video's full title displayed on a book hold, or vice versa. This
change displays the short version of the title on metarecord holds and
the full version on individual record holds.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP 1533331: Stamping upgrade script.
Jason Stephenson [Fri, 4 Mar 2016 16:31:06 +0000 (11:31 -0500)]
LP 1533331: Stamping upgrade script.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql

8 years agoLP#1533331 - Fix evergreen.protect_reserved_rows_from_delete() trigger function
Chris Sharp [Mon, 8 Feb 2016 18:00:06 +0000 (13:00 -0500)]
LP#1533331 - Fix evergreen.protect_reserved_rows_from_delete() trigger function

The fix for bug 1513554 included creating a general trigger function to prevent
the deletion of reserved table rows with an ID lower than a specified threshold.
Testing for that seemed to pass muster, but using the function in practice revealed
a failure to delete deletable rows either.

This adds an explicit RETURN to the function, which fixes the issue.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP #1422932 TPAC: Holds history pager typo
Terran McCanna [Wed, 2 Mar 2016 22:11:40 +0000 (17:11 -0500)]
LP #1422932 TPAC: Holds history pager typo

Corrects typo in link that caused page not found errors when attempting
to navigate multiple pages of hold history through My OPAC.

Patch originally by Bob Wicksall.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1516757: add Perl test case
Galen Charlton [Wed, 2 Mar 2016 20:38:52 +0000 (15:38 -0500)]
LP#1516757: add Perl test case

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1516757: ensure that SIP2 returns DOB correctly
Bill Erickson [Mon, 16 Nov 2015 19:48:23 +0000 (14:48 -0500)]
LP#1516757: ensure that SIP2 returns DOB correctly

Parse dates of birth using the local timezone to ensure that the date in
the database will match what is sent to SIP clients.  Otherwise, the
date will be parsed as UTC and may result in the DoB value being offset
by one day in the SIP response.

To test
-------
[1] Fire up a SIP client of some sort and retrieve a patron record;
    verify that the patron's date of birth is correct, and not
    offset by one day.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1531976: fix bringing up Mesage Center and Triggered Events
Thomas Berezansky [Thu, 7 Jan 2016 19:34:18 +0000 (14:34 -0500)]
LP#1531976: fix bringing up Mesage Center and Triggered Events

This patch fixes a bug in the XUL staff client where
using Other -> Triggered Events from the patron page,
then Other -> Message Center, only brings up the Triggered
Events page in both cases (and vice versa).

This patch works by preventing the deck code from thinking they are
the same page, despite both using the browser wrapper as their base URL.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1491571: Ignore Case when Checking PW Reset email
Jason Boyer [Wed, 2 Sep 2015 20:20:13 +0000 (16:20 -0400)]
LP#1491571: Ignore Case when Checking PW Reset email

Emails are not passwords and are not case sensitive;
while it is a good idea to require patrons to prove
they know the address associated with their account
it is not cool to deny them because they don't know
the capitalization of the value in the database.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Ben Shum <ben@evergreener.net>
8 years agoLP#1474566 Avoid credit card payment rounding
Bill Erickson [Tue, 14 Jul 2015 18:25:34 +0000 (14:25 -0400)]
LP#1474566 Avoid credit card payment rounding

Calculate total amount for credit payment as integers to avoid rounding
errors w/ large sets of small billings.

E.g. avoid trying to pay a fine of 9.999999999999 for a set of fines
which should add up to 10.00.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
8 years agoLP#1206936 Stamping upgrade script; adding test
Dan Wells [Wed, 24 Feb 2016 19:27:15 +0000 (14:27 -0500)]
LP#1206936 Stamping upgrade script; adding test

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql

8 years agoLP#1206936 - Fix wrong billing info in money.transaction_billing_summary
Chris Sharp [Mon, 30 Nov 2015 14:48:26 +0000 (09:48 -0500)]
LP#1206936 - Fix wrong billing info in money.transaction_billing_summary

The money.transaction_billing_summary view was showing the wrong
last billing type and last billing note for certain transactions.
This fix, from Dan Scott, in turn from Mike Rylander, recreates
that view so that it depends on the speedier and more accurate
money.materialized_billable_xact_summary view.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
8 years agoLP#1526546 Sort copies by part label in holdings maint.
Remington Steed [Wed, 16 Dec 2015 20:46:17 +0000 (15:46 -0500)]
LP#1526546 Sort copies by part label in holdings maint.

This commit improves the sorting of copies on the Holdings Maintenance
screen in the XUL-based staff client. The previous code sorted the
copies by their barcodes after retrieval. This commit moves the sorting
logic into the search call and adds logic to first sort by the part
label sort key.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
8 years agoLP#1466990: Detailed search results shows parts for items that dont have parts
blake [Wed, 23 Dec 2015 20:20:40 +0000 (14:20 -0600)]
LP#1466990: Detailed search results shows parts for items that dont have parts

The part_label variable needs to be reset between iterations. The variable was still set
and bled from copy to copy. Testing this will require a search with details turned on.
The search result set needs to include a bib that has copies with parts (with at least
one copy invisible) and another bib that has copies without parts.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
8 years agoPorting 2.8.4-2.8.5 / 2.8.5-2.8.6 DB upgrade scripts
Bill Erickson [Fri, 19 Feb 2016 17:35:42 +0000 (12:35 -0500)]
Porting 2.8.4-2.8.5 / 2.8.5-2.8.6 DB upgrade scripts

Signed-off-by: Bill Erickson <berickxx@gmail.com>