Ben Shum [Wed, 24 Feb 2016 04:50:11 +0000 (23:50 -0500)]
LP#
1505286: stamping upgrade script for limit facets retrieved
Signed-off-by: Ben Shum <ben@evergreener.net>
Galen Charlton [Fri, 23 Oct 2015 17:18:19 +0000 (17:18 +0000)]
LP#
1505286: add release notes
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Galen Charlton [Fri, 23 Oct 2015 17:04:17 +0000 (17:04 +0000)]
LP#
1505286: add pgTAP tests
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Galen Charlton [Fri, 23 Oct 2015 16:29:38 +0000 (16:29 +0000)]
LP#
1505286: limit number of facets retrieved
This patch teaches search how to limit the number of facets retrieved
per defined facet field. Setting a limit is useful so that
open-ils.cstore backends don't end up needlessly consuming
memory when fetching facets for a large result set; if a broad
search retrieves over 10,000 author facets (say), even the most
persistant user is not going to actually look at all of them. Fetching
fewer facets can also slightly speed up generation of search
results.
The limit is controlled by a new global flag, search.max_facets_per_field,
whose label is "Search: maximum number of facet values to retrieve for
each facet field". The default limit value is 1,000, but lower values
(e.g., 100) are perhaps even better for most catalogs.
To test:
[1] Upon applying the patch, set the value of the
search.max_facets_per_field global flag to a small
value.
[2] Perform some searches and verify that the number
of facets retrieved doesn't exceed the limit; note
that the limit is per facet *field*, not overall
or per field class.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Galen Charlton [Fri, 12 Feb 2016 22:10:25 +0000 (17:10 -0500)]
LP#
1545178: remove two unused methods
This patch removes two methods that were both broken
and not in use:
* open-ils.actor.org_unit.closed_date.create
* open-ils.actor.org_unit.closed_date.delete
To test:
[1] This patch has no user-visible impact whatsoever, but
to check for regressions, verify the proper functioning
of the closed dates editor.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
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>
Kathy Lussier [Fri, 19 Feb 2016 17:41:43 +0000 (12:41 -0500)]
LP#
1474051 Stamping upgrade script for drop-cc-data
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 13 Jul 2015 19:29:25 +0000 (15:29 -0400)]
LP#
1474051 Release/Upgrade Notes on dropped CC fields
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Wed, 14 Oct 2015 15:59:32 +0000 (11:59 -0400)]
LP#
1474051 CRON script for clearing CC numbers
Adds a new srfsh script which calls a new open-ils.storage API call
which sets the cc_number value to NULL on all credit card payments
older than the age specified in the srfsh script.
Adds example CRON entry.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 13 Jul 2015 19:19:35 +0000 (15:19 -0400)]
LP#
1474051 PGTAP test checking dropped columns
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 13 Jul 2015 18:00:06 +0000 (14:00 -0400)]
LP#
1474051 Drop unneeded CC payment fields
Avoid storing the following credit card fields:
expire month
expire year
first name
last name
credit card type
Print and email receipts for credit card data modified to avoid
referencing these fields.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
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>
Jason Stephenson [Fri, 19 Feb 2016 17:00:24 +0000 (12:00 -0500)]
Forward port 2.9.1 to 2.9.2 upgrade script and server upgrade instructions.
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Bill Erickson [Mon, 4 Aug 2014 13:16:41 +0000 (09:16 -0400)]
LP#
1202742 non-active copy transit release notes
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Thu, 18 Jul 2013 15:17:23 +0000 (11:17 -0400)]
LP#
1202742 Non-active transit copy status messages
When an in-transit copy is checked into the staff client, display a special
message in the transit alert dialog and in the printed transit receipt
(optionally, via macro) if the copy is in (or, rather, will be once it
arrives at its destination) a non-active copy status.
See config.copy_status.copy_active.
For example, assuming the org unit setting 'circ.lost_immediately_available'
is unset, when a Lost copy is checked in that must transit home, the
following message will appear in the transit alert dialog:
This item is in status "Lost", additional staff action may be required.
Additionally, the value of the 'transit_copy_status_msg' macro, which
defaults to "", will be set to this message, so that the message may
appear in printed transit slips.
Note that the code will test for the presence of the
"staff.circ.utils.transit.copy_status_message" string property and fail
gracefully if it is unset. Through this, admins can disable this
feature entirely.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Thu, 18 Feb 2016 23:51:33 +0000 (18:51 -0500)]
LP#
1486151 Stamping upgrade script for password reset regex description
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Michael Peters [Tue, 18 Aug 2015 16:49:10 +0000 (12:49 -0400)]
LP#
1013786 TPAC add reminder to modify update_pasword_msg.tt2 to global.password_regex
Currently, libraries can configure their own password strength regular expressions
via the Library Settings Editor. This, however, did not provide a reminder
that the message shown to the patron when resetting their password needed to
meet those requirements.
This patch provides a hint in the description of the YAOUS global.password_regex
to remind that update_password_msg.tt2 should be updated with a user-friendly
text string explaining the password requirements if they are changed from the default.
Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Signed-off by: Christine Burns <christine.burns@bc.libraries.coop>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Thu, 18 Feb 2016 17:58:03 +0000 (12:58 -0500)]
LP#
1380709 Stamping upgrade script for fund debit invoice links
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Thu, 18 Feb 2016 17:53:19 +0000 (12:53 -0500)]
LP#
1367926 Stamping upgrade script for direct access to full unapi backend
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Thu, 18 Feb 2016 16:50:56 +0000 (11:50 -0500)]
LP#
1380709 Renaming live-t test to avoid duplicate numbers
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 4 Jan 2016 16:20:27 +0000 (11:20 -0500)]
LP#
1380709 Perl live test
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Thu, 11 Dec 2014 19:17:09 +0000 (14:17 -0500)]
LP#
1380709 acq.lineitem_detail.fund_debit INDEX
Use of the new fund_debit.invoice_entry column includes a query joining
fund_debits to lineitem_details. On sufficiently large data sets
(tested on 2M rows), the query can take > 1 second without the index.
Down to < 1ms with the index.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 8 Dec 2014 15:34:26 +0000 (10:34 -0500)]
LP#
1380709 fund_debit.invoice_entry INDEX
Adds index on new acq.fund_debit.invoice_entry column, since fund_debit
can get quite large.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Thu, 16 Oct 2014 20:17:16 +0000 (16:17 -0400)]
LP#
1380709 Fund debit links to invoice entry
Fund debits created by lineitem_details (copies) now track which invoice
entry last touched the fund debit. With this, it's possible to say with
certainty which invoice a fund_debit "belongs" to, which is particularly
useful for reporting fund summary information on an invoice.
Note this has no affect fund_debit's linked to invoice_item's, since
they already link to the fund debits.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Thu, 18 Feb 2016 16:06:36 +0000 (11:06 -0500)]
LP#
1367926 Release notes addition
Adding a bullet point to the release notes to further clarify the format that
the URL should take.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Tue, 16 Feb 2016 19:20:06 +0000 (14:20 -0500)]
LP#
1367926: release notes
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Tue, 16 Feb 2016 18:28:27 +0000 (13:28 -0500)]
LP#
1367926: add some unit tests
- a pgTAP test of the new 'bre.extern' include option
for unapi.bre()
- tests for OpenILS::WWW::SuperCat::unapi2_formats and
OpenILS::Utils::TagURI
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Tue, 16 Feb 2016 16:31:34 +0000 (11:31 -0500)]
LP#
1367926: various improvements and bugfixes
- use entityize() so that non-ASCII characters don't break
XML well-formedness
- when a U2 identifier is given, the list of supported formats
returned is now accurate
- biblio_record_entry_feed now works; for example,
/opac/extras/unapi?id=tag::U2@biblio_record_entry_feed/1608,454{holdings_xml}&format=mods32
returns a modsCollection of bibs 1608 and 454.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Tue, 8 Dec 2015 15:08:41 +0000 (10:08 -0500)]
LP#
1367926: Expose non-MARC bre data via U2
Many use cases for the new unAPI implemetation depend on being able to run
recurring processes on new, updated, or deleted objects. For most objects,
this is simple because they carry timestamps as fields. However, the bre
class, as exposed by unAPI, does not provide access to many non-MARC fields.
So, here we add an 'includes' options to expose the non-MARC fields of use
to external processes. The option is spelled "bre.extern", as in the tag
URI:
tag::U2@bre/267{bre.extern}
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Wed, 10 Sep 2014 16:22:44 +0000 (12:22 -0400)]
LP#
1367926: Add support for (nearly) direct access to the full unapi backend
Some parts of Evergreen (notably the TPAC), and various 3rd party services,
would benefit from full and direct access to the power of the backend (read:
faster, more complete, more API-stable) unAPI (um) API. Related, many moons
ago, I built a perl module (OpenILS::Utils::TagURI) to make parsing of tag
URIs systematic for use in OpenSearch and unAPI contexts. This branch uses
O::U::TagURI and a simple shim inside open-ils.supercat to expose the power
of that backend unAPI functionality.
By way of example, here is the tag URI to look up a copy, by barcode, and
request the call number, bib and bib attributes at the same time. The
barcode in this example is "ACQ140":
tag::U2@acp/ACQ140{acn,bre,mra}/-/0/barcode
The full example URL would be something like:
http://example.com/opac/extras/unapi?id=tag::U2@acp/ACQ140{acn,bre,mra}/-/0/barcode&format=xml
Here is retrieving a bib in MODS 3.2 with holdings embedded:
tag::U2@bre/267{holdings_xml,acn,acp,mra}
And the URL:
http://example.com/opac/extras/unapi?tag::U2@bre/267{holdings_xml,acn,acp,mra}&format=mods32
To test:
Try the example URLs, varying record ID, classes, and includes. Some
classes and includes available are:
* bre (bibs)
* acn (volumes)
* acp (copies)
* biblio_record_entry_feed (multiple bibs)
* holdings_xml
* cbs (bib source)
* circ (circulation checkout and due dates)
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Wed, 17 Feb 2016 19:43:24 +0000 (14:43 -0500)]
Forgot an acknowledgement in the 2.9.2 point release notes
Sorry Ben!
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Wed, 17 Feb 2016 19:34:18 +0000 (14:34 -0500)]
Adding 2.9.2 bug fixes and acknowledgements to the 2.9 release notes
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Wed, 17 Feb 2016 18:03:40 +0000 (13:03 -0500)]
Adding 2.8.6 bug fixes to the 2.8 Release Notes
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Ben Shum [Wed, 17 Feb 2016 18:39:22 +0000 (13:39 -0500)]
LP#
1544606: Copy the new directories we make for locales
Make it cp -r to copy the directories and not just the files (of which
there won't be any by default).
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Ben Shum [Thu, 11 Feb 2016 20:40:05 +0000 (15:40 -0500)]
LP#
1544606: Change i18n Makefile so that there are different dirs for opac vs webstaff
In i18n Makefile, we only have a single directory variable TT2_DATA_DIR.
Remove that variable, and add distinct variables for TT2_OPAC_DATA_DIR and
TT2_WEBSTAFF_DATA_DIR that point to more distinct defined areas.
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Ben Shum [Thu, 11 Feb 2016 19:54:49 +0000 (14:54 -0500)]
LP#
1544606: Change docs to more specific locale/opac location
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Ben Shum [Thu, 11 Feb 2016 19:30:57 +0000 (14:30 -0500)]
LP#
1544606: Change apache examples for TPAC to more specific locale/opac location
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Ben Shum [Thu, 11 Feb 2016 19:36:35 +0000 (14:36 -0500)]
LP#
1544606: Change static entry to variable in config example for locale/staff
We were using a hardcoded entry for /openils/var here, but this should be a
variable that is altered based on how users configure/build Evergreen.
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Ben Shum [Thu, 11 Feb 2016 19:27:20 +0000 (14:27 -0500)]
LP#
1544606: Remove trailing whitespace from sample configs for locale/staff
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Galen Charlton [Wed, 17 Feb 2016 16:11:01 +0000 (11:11 -0500)]
LP#
1067823: stamp upgrade script
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Kathy Lussier [Wed, 17 Feb 2016 13:01:54 +0000 (08:01 -0500)]
LP#
1067823 Add genre facet by default and remove tag 659 from definition
Since genre will work well as a facet, add it to the facets in config.tt2 so
that it displays by default. Also removes the 659 MARC field from the genre
definition since it is currently an unassigned tag.
Release notes have been updated to reflect these changes.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Galen Charlton [Mon, 2 Nov 2015 19:59:20 +0000 (19:59 +0000)]
LP#
1067823: add release notes
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Andrea Neiman <aneiman@kent.lib.md.us>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Mon, 2 Nov 2015 19:53:53 +0000 (19:53 +0000)]
LP#
1067823: follow-up: add back a space
Ensure that there's a space displayed between
each component of a heading coming from a subfield
boundary; this prevents
600 $aHarry Potter$c(Fictional character)
from getting displayed as
Harry Potter(Fictional character)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Andrea Neiman <aneiman@kent.lib.md.us>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Mon, 2 Nov 2015 19:35:12 +0000 (19:35 +0000)]
LP#
1067823: tweak new identifier|genre index
[1] Adjust facet XPath to work for more Pg versions.
[2] Ensure that upgrade script adds stock search
normalizers.
[3] Make update script provide instructions for
running a partial reingest.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Andrea Neiman <aneiman@kent.lib.md.us>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Thu, 15 Oct 2015 21:20:07 +0000 (17:20 -0400)]
LP#
1067823: Genre links launch subject search
And genres are not subjects. So now we will index genres in the identifier
class and teach the tpac to build links appropriately. Genre is herein
defined as data in tags 655 or 659 (as the tpac currently thinks), restricted
to subfields [abvxyz], per LoC documentation.
To test:
[1] Apply the update and run the partial reingest as suggested
by the upgrade script.
[2] In the public catalog, navigate to a record that has one
or more 655 fields. Click on one of the genre links and
verify that it retrieves records sharing that genre heading.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Andrea Neiman <aneiman@kent.lib.md.us>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Chris Sharp [Wed, 16 Dec 2015 12:10:37 +0000 (07:10 -0500)]
LP#
1486592 - Generate prices for concerto dataset.
The "concerto" test data needs prices on copies to test
various features. This adds a function to generate a price
when a copy is populated.
To test:
[1] Create a fresh Evergreen database and load the Concerto
dataset; verify that that vast majority of copies now
have a price set.
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Kathy Lussier [Tue, 16 Feb 2016 19:57:07 +0000 (14:57 -0500)]
LP
1499123: Stamping upgrade script for standing-penalty-ignore-proximity
Nearly forgot to stamp the upgrade script for lp1499123. While I'm at it,
correcting a small typo found in the release notes.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Jason Stephenson [Sun, 11 Oct 2015 18:30:11 +0000 (14:30 -0400)]
LP
1499123: Add release notes.
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Jason Stephenson [Sat, 26 Sep 2015 15:42:35 +0000 (11:42 -0400)]
LP
1499123: Modify Perl code for csp.ignore_proximity field.
* Add get_org_unit_proximity function to AppUtils.
First, we add a helper function to OpenILS::Application::AppUtils that
returns the proximity value between a "from" org_unit and a "to"
org_unit. It takes a CStoreEditor and the ids of the two org_units as
arguments.
* Use csp.ignore_proximity in O::A::Circ::Circulate::Circulator.
Modify the check_hold_fulfill_blocks method of the Circulator object
to take the csp.ignore_proximity into account.
The new code first calculates the proximity of the circ_lib and the
copy's circ_lib with the patron's home_ou. It then modifies the main
query in the function to check if the csp object's ignore_proximity
is null or greater than either of the two calculated proximity values.
* Teach SIP::Patron about csp.ignore_proximity.
We modify SIP::Patron::flesh_user_penalties to not report penalties
within csp.ignore_proximity of the user's home_ou.
In order to have a notion of "here" for the proximity check, we modify
SIP::Patron->new to assign its authtoken argument, if any, to the
CStoreEditor. We then use this authtoken to retrieve the authsession
user so that we may use the authsession user's ws_ou or home_ou as a
context ou for penalty lookup and filtering based on the
csp.ignore_proximity in flesh_user_penalties. If we're not given the
authtoken, we fall back to using the patron's home_ou and the
penalty's context ou for the proximity lookup.
This assumes, of course, that the authsession user's ws_ou or home_ou
have a logical relationship with the desired transaction ou. For most
self-checks this will likely be true. For other uses of the SIP
protocol, this is less likely to be true.
* Add Perl live tests.
Add tests for basic checkout and hold functionality as well as for
the OpenILS::SIP::Patron->flesh_user_penalties() changes.
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Jason Stephenson [Fri, 25 Sep 2015 00:35:50 +0000 (20:35 -0400)]
LP
1499123: Add ignore_proximity to config.standing_penalty.
This commit adds the integer column ignore_proximity to the
config.standing_penalty table. It also adds the column to the
csp class entry in the IDL.
It also modifies the action.hold_permit_test() function from
110.hold_matrix.sql to use the ignore_proximity field from
config.standing_penalty when checking the user's penalties to see if
they block the hold.
We also modify the action.item_user_circ_test() function from
100.circ_matrix.sql to use the ignore_proximity field from the
config.standing_penalty table when checking to see if the user's
penalties block the circulation.
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Fri, 6 Mar 2015 22:18:21 +0000 (17:18 -0500)]
LP#
1429268 credit card payment address fall-thru
When a patron has no mailing address linked, attempt to read address
data from the patron's billing address. Similarly, if all address
fields are properly set by the API caller, except the country, and the
patron has no addresses, attempt to determine the country from org unit
settings.
If insufficient address data is provided or divined, return an invalid
params Event (similar to other CC failures).
To test:
[1] Create a patron record that has no mailing address but does
have a billing address. Perform or simulate a credit card
payment; it shoudl fail with an internal error.
[2] Apply the patch and repeat step 1; this time, the payment
attempt should succeed and use the billing address.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Kathy Lussier [Tue, 15 Dec 2015 13:39:27 +0000 (08:39 -0500)]
LP#
1522604: Remove red alert style for non-cataloged checkouts
The non-cataloged checkouts in the patron summary had a red alert style
applied when there was a lost item count on the patron record. This branch
removes any alert styling since we don't need to highlight non-cataloged
checkouts.
Test plan:
Pre-patch, retrieve a patron record with lost transactions in the web client.
The non-cataloged count in the patron summary will be red. Apply the patch.
The count will no longer be red.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Josh Stompro [Mon, 9 Nov 2015 02:51:04 +0000 (20:51 -0600)]
LP#
1240657 - Creating and Deleting Closed Dates permissions wrong.
The code referenced two permissions that didn't exist
CREATE_CLOSEING and DELETE_CLOSEING. Should be CREATE_ORG_UNIT_CLOSING,
and DELETE_ORG_UNIT_CLOSING.
[RM note: the affected methods don't appear to be in use, however]
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Kathy Lussier [Tue, 9 Feb 2016 04:05:03 +0000 (23:05 -0500)]
lp1422802 Release notes entry
Release notes entry for more visible parts feature.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Kathy Lussier [Sat, 14 Feb 2015 19:10:54 +0000 (14:10 -0500)]
lp1422802: Improve visibility of parts on Place Holds screen
Users often miss the list of parts on the Place Holds screen, leading to
many title-level holds on records where only one or two libraries have
'unparted' copies. This branch adds some styling to add padding around the
parts selector and to bold the Select a Part text. Many thanks to Christine
Morgan whose custom work at NOBLE served as an inspiration for this styling.
The branch also adds a new config.tt2 option to display parts with
radio buttons instead of a select menu so that all of the parts will display on
the screen. With this option, no parts are pre-selected, forcing the users to
actively choose a part.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
Dan Wells [Tue, 9 Feb 2016 15:22:46 +0000 (10:22 -0500)]
LP#
1526547 Re-broaden backdate note setting
The previous commit missed a case where we still want the backdate
message to appear. Let's recentralize it, but at a different level.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Dan Wells [Thu, 28 Jan 2016 19:49:42 +0000 (14:49 -0500)]
LP#
1526547 Improve note setting for backdates
The backdate note was the default note for voiding and adjusting, but
this proved to be an unexpected default.
Let's set the note only where we need it, and also genericize the
wording to cover both voiding and adjusting.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Dan Wells [Fri, 14 Dec 2012 18:39:21 +0000 (13:39 -0500)]
LP#
1526547 Prevent bogus notes when adjusting lost/lod overdues
If you void/adjust an overdue, but don't supply a reason, the code
automatically adds "VOIDED FOR BACKDATE" to the billing note. This is
obviously wrong for overdues adjusted or voided due to lost (or long
overdue) processing.
This commit simply adds a more appropriate note.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Fri, 20 Nov 2015 21:26:05 +0000 (21:26 +0000)]
LP#
1516867: set limit on when HTML report output sorting
To avoid taking an excessive amount of time to render an
HTML report or sort its values, dynamic sorting is enabled
only when there are at most 10,000 rows of output.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Dan Scott [Tue, 17 Nov 2015 03:20:28 +0000 (22:20 -0500)]
LP#
1516867 Make HTML report tables sortable
Using the sortable JavaScript library from https://github.com/hubspot/sortable
(MIT license), we can make HTML reports much more usable by making them
sortable by clicking on the column headers. This should save some downloading
of CSV or Excel versions of the reports.
To test:
[1] Create or use a report template and generate an HTML report; ensure
that the report has at most 10,000 rows of output.
[2] View the report output and click on one of the column headings;
verify that the table sorts itself by that column's values.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Galen Charlton [Wed, 3 Feb 2016 17:17:30 +0000 (12:17 -0500)]
webstaff: add angular-file-saver to test manifest
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Yamil Suarez [Wed, 3 Feb 2016 04:35:53 +0000 (23:35 -0500)]
Docs: small leveloffset fix for root.txt
Signed-off-by: Yamil Suarez <yamil@yamil.com>
Jennifer Pringle [Fri, 29 Jan 2016 03:24:59 +0000 (22:24 -0500)]
Docs: web client copy buckets documentation
Signed-off-by: Yamil Suarez <yamil@yamil.com>
Galen Charlton [Tue, 2 Feb 2016 00:53:43 +0000 (19:53 -0500)]
webstaff: fix more cases where new copies weren't being saved
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Tue, 2 Feb 2016 00:19:46 +0000 (19:19 -0500)]
webstaff: work around race condition in vol/copy editor
Fix (or workaround) issue whereby the volume/copy editor
could fail to select a copy's current stat cats.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Mon, 1 Feb 2016 16:43:09 +0000 (11:43 -0500)]
webstaff: clean up console noise
Ensure that if a default stat cat OU filter is not set,
that errors aren't logged when creating a new volume/copy.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Fri, 29 Jan 2016 23:38:53 +0000 (18:38 -0500)]
webstaff: fix issue that prevent new copies from being added
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 28 Jan 2016 23:33:34 +0000 (18:33 -0500)]
webstaff: add copy ID column to holdings table and volcopy editor
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 28 Jan 2016 23:21:57 +0000 (18:21 -0500)]
webstaff: add circulate as MARC type column to holdings table
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 28 Jan 2016 23:06:19 +0000 (18:06 -0500)]
webstaff: add prefix, suffix, and parts columns to holdings table
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 28 Jan 2016 22:46:36 +0000 (17:46 -0500)]
webstaff: ensure that volcopy editor saves copy part maps
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 28 Jan 2016 19:46:15 +0000 (14:46 -0500)]
webstaff: add circulating library as optional column in holdings view
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 28 Jan 2016 19:32:56 +0000 (14:32 -0500)]
webstaff: copy template fix
This patches fixes applying the volume portion of a
template when in the copy template tab of the volume/copy
editor.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 28 Jan 2016 19:13:27 +0000 (14:13 -0500)]
webstaff: fix updating stat cats in the volume/copy editor
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 28 Jan 2016 19:11:08 +0000 (14:11 -0500)]
webstaff: expose ascecm to open-ils.pcrud
Doing this allows the volume/copy editor to use
pcrud to retrieve copies with stat_cat_entries fleshed.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 28 Jan 2016 17:44:37 +0000 (12:44 -0500)]
webstaff: fix selection of stat cats in copy editor and templates
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Wed, 27 Jan 2016 22:36:37 +0000 (17:36 -0500)]
webstaff: fix setting default copy status for new items
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Wed, 27 Jan 2016 21:38:33 +0000 (16:38 -0500)]
webstaff: consolidate code for generate new copies
This patch does a bit of refactoring to get rid of
some copy-and-paste code that creates new copies
in the volume/copy editor.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Tue, 26 Jan 2016 22:44:32 +0000 (17:44 -0500)]
webstaff: fix console noise spawned by OU selector
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Tue, 26 Jan 2016 22:34:03 +0000 (17:34 -0500)]
webstaff: tweak setting default classification scheme in volcopy editor
With this patch, the volume/copy editor creation default for
classification scheme now can have a value of "Use Library Setting".
If this is in effect, the default classification scheme for new
volumes is taken from the library setting.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Tue, 26 Jan 2016 22:01:21 +0000 (17:01 -0500)]
webstaff: add more volume transfer options
The volume/copy editor now has the following new actions:
* (Transfer) Volumes to Previously Marked Record
* (Transfer) Volumes to Previously Marked Record and Library
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Tue, 26 Jan 2016 21:13:27 +0000 (16:13 -0500)]
webstaff: add a Transfer Copies to Previously Marked Library action
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Tue, 26 Jan 2016 19:06:57 +0000 (14:06 -0500)]
webstaff: grab default call number from bib when creating volume
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Tue, 26 Jan 2016 18:06:14 +0000 (13:06 -0500)]
webstaff: save copy templates now unconditional
The save copy templates button in the volume/copy editor
no longer requires that a working template be active; this
way, users can save the set of templates after an import
without having to select one of them first.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Mon, 25 Jan 2016 23:34:54 +0000 (18:34 -0500)]
webstaff: implement import/export of copy templates
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Mon, 25 Jan 2016 23:30:48 +0000 (18:30 -0500)]
webstaff: add egJsonExporter directive
This directive is used to allow a piece of JSON
to be saved to the user's filesystem. For example:
<span eg-json-exporter container="foo" default-file-name="example.json">Export</span>
specifies a button that, when click, allows the user to save
the contents of the scope variable foo. The dialog that
appears will use "example.json" as the default filename.
This also adds a new dependency, the MIT-licensed
angular-file-saver service written by Philipp Alferov:
https://alferov.github.io/angular-file-saver/
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Mon, 25 Jan 2016 20:41:52 +0000 (15:41 -0500)]
webstaff: style file input buttons more nicely
Using technique devised by Cory LaViska per
http://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3/
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 21 Jan 2016 22:42:47 +0000 (17:42 -0500)]
webstaff: fixed client-side sorting of names in add-to-bucket dialog
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 21 Jan 2016 22:31:46 +0000 (17:31 -0500)]
webstaff: alphabetize status and location dropdowns in copy-editor
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 21 Jan 2016 22:20:43 +0000 (17:20 -0500)]
webstaff: display floating group correctly in item status
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 21 Jan 2016 22:15:53 +0000 (17:15 -0500)]
webstaff: add copy editor support for floating field
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Jason Etheridge [Mon, 4 Jan 2016 20:51:14 +0000 (15:51 -0500)]
webstaff: rework Local Administration
maintain links and labels as a data structure
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Thu, 29 Oct 2015 23:24:35 +0000 (23:24 +0000)]
webstaff: tweak how element IDs in MARC editor are generated
For new records (or records that for whatever reason lack
a 901 field), use '0' as a dummy value for the record
ID when constructing element IDs (e.g., r0f5, r0f10sf0value,
etc.). This fixes a problem where setCaret() couldn't
successfully change focus after adding a field or subfield
to a new record.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Bill Erickson [Mon, 5 Oct 2015 02:05:58 +0000 (22:05 -0400)]
webstaff: users with negative balance
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Mon, 26 Oct 2015 16:13:45 +0000 (12:13 -0400)]
webstaff: Wire up statcat filtering in item attribute editor
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Fri, 23 Oct 2015 20:34:16 +0000 (16:34 -0400)]
webstaff: open title from item status in a new tab
Also, iindicate that will happen with an icon by the title link
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Fri, 23 Oct 2015 20:25:19 +0000 (16:25 -0400)]
webstaff: Move new Vol Transfer UI menu option to "misc" section to avoid confusion
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Thu, 22 Oct 2015 20:03:26 +0000 (16:03 -0400)]
webstaff: Use the record id to fetch the summary record data in item status
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Thu, 22 Oct 2015 15:42:15 +0000 (11:42 -0400)]
webstaff: for selected grids, allow display of 10000 items
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Wed, 21 Oct 2015 21:53:21 +0000 (17:53 -0400)]
webstaff: enable copy edit link from opac view
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>