evergreen/tadl.git
8 years agoPass token so that we can view our own bookbags
Jeff Godin [Thu, 22 May 2014 17:11:26 +0000 (13:11 -0400)]
Pass token so that we can view our own bookbags

Pass an auth token (if available) to the container() search when
searching for bookbags -- this allows us to HTML view our own lists.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoAdd a "container_date" sort filter
Jeff Godin [Fri, 16 May 2014 18:29:55 +0000 (14:29 -0400)]
Add a "container_date" sort filter

Add a "container_date" sort filter

Limited to single bre containers only at this point.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoEnable clearing of an alias via OPAC
Jeff Godin [Fri, 16 Nov 2012 21:23:19 +0000 (16:23 -0500)]
Enable clearing of an alias via OPAC

Enable clearing of the user's holdshelf alias via the OPAC.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoMake patron alias unique test case insensitive
Jeff Godin [Thu, 23 Aug 2012 18:39:26 +0000 (14:39 -0400)]
Make patron alias unique test case insensitive

When testing a patron alias to determine if it is unique, ensure
that the comparison is done without regard for case.

Case is preserved, but when searching for an existing matching
alias, both values are lowercased using evergreen.lowercase().

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoAdd ability for users to set their alias in TPAC
Jeff Godin [Wed, 25 Jul 2012 23:34:36 +0000 (19:34 -0400)]
Add ability for users to set their alias in TPAC

New option under Personal Information to display and allow editing
of a user's holdshelf alias.

Proof of concept, much potential for further enhancement.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoOnly request review sources TADL subscribes to
Jeff Godin [Wed, 9 May 2012 13:33:18 +0000 (09:33 -0400)]
Only request review sources TADL subscribes to

For Syndetic Solutions, only request those review
sources which TADL subscribes to. This includes
sources not requested by default, and removes
sources which we do not use. The ordering of
the review sources is also intentional.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoTransform TADL patron barcodes in xul
Jeff Godin [Thu, 26 Jul 2012 06:52:37 +0000 (02:52 -0400)]
Transform TADL patron barcodes in xul

Transform TADL patron barcodes in barcode_entry.xul, used when
retrieving a patron from the system.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoAdd username suggestion based on patron name
Jeff Godin [Wed, 30 Oct 2013 20:52:19 +0000 (16:52 -0400)]
Add username suggestion based on patron name

Add support for suggesting a username based on the patron's first
and last name.

Currently, the scheme for suggestion is a lowercased first initial +
last name, with any characters other than [a-z] removed.

No effort is made to suggest an available username, but if the
suggested username is already in use, the standard "username in use"
message is displayed next to the username field.

Staff can initiate the username suggestion by clicking the new
button next to the username field, and usernames are automatically
suggested when loading a staged user.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoMake deactivation of card optional
Jeff Godin [Tue, 25 Jun 2013 20:03:49 +0000 (16:03 -0400)]
Make deactivation of card optional

Make deactivation of current card optional when using Replace
Barcode function.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoHACK: Ignore backdate on all SIP checkins
Jeff Godin [Sat, 3 Nov 2012 04:50:10 +0000 (00:50 -0400)]
HACK: Ignore backdate on all SIP checkins

Very temporary workaround for LP 978287, which affects TADL on every
SIP checkin, since every SIP checkin is being backdated in our
environment.

A more elegant solution to be backported from master when it is
ready. For now, we use this workaround and try to avoid incorrect
overdue fines being generated this weekend.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoAdjust wording of SIP 'expired' message
Jeff Godin [Tue, 4 Sep 2012 11:53:55 +0000 (07:53 -0400)]
Adjust wording of SIP 'expired' message

Adjust wording of SIP 'expired' message on patrons -- this is
displayed on selfcheck terminals.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoApply TADL-specific SIP patron barcode transforms
Jeff Godin [Mon, 23 Jul 2012 20:17:05 +0000 (16:17 -0400)]
Apply TADL-specific SIP patron barcode transforms

TADL has some SIP clients which are not capable of removing extra characters
from some scanned patron barcodes. Thus, we handle that on the SIP server side.

If no active card is found with the barcode provided in the SIP request, first
see if it starts with an uppercase letter. If so, lowercase it, then determine
if certain length requirements are met, and if so also truncate the value.
Attempt to find an active card via the resulting value, and return the usual
error if not found.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
8 years agoBumping version numbers and adding Changelog tags/rel_2_10_3
Galen Charlton [Mon, 9 May 2016 21:33:48 +0000 (17:33 -0400)]
Bumping version numbers and adding Changelog

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agorelease notes for 2.10.3
Galen Charlton [Mon, 9 May 2016 21:03:20 +0000 (17:03 -0400)]
release notes for 2.10.3

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoupdate upgrade instructions for 2.10.3
Galen Charlton [Mon, 9 May 2016 21:12:30 +0000 (17:12 -0400)]
update upgrade instructions for 2.10.3

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoupdate upgrade instructions for 2.10.2
Galen Charlton [Thu, 28 Apr 2016 17:57:40 +0000 (13:57 -0400)]
update upgrade instructions for 2.10.2

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years ago2.10.2 to 2.10.3 schema upgrade script
Galen Charlton [Mon, 9 May 2016 21:08:40 +0000 (17:08 -0400)]
2.10.2 to 2.10.3 schema upgrade script

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1579225: fix handling of passwords in patron registration
Galen Charlton [Sat, 7 May 2016 01:40:12 +0000 (21:40 -0400)]
LP#1579225: fix handling of passwords in patron registration

This patch improves how the new password hashing is invoked
by open-ils.actor.patron.update; in particular, it fixes
a problem whereby newly registered patrons could not
log in.  It also fixes other issues:

- actor.usr.passwd would be set to an MD5 of the password
  for new users, vitiating the strong hashes in actor.passwd
- certain types of updates via patron registration, such as
  adding or deleting addresses, could result in the patron's
  password getting doubly-hashed, thereby locking them out
  of their account.

To test
-------
[1] Register a new patron; verify that they can log in.
[2] Edit an existing patron and change their password; verify
    that they can log in.
[3] Edit an existing patron but do NOT change their password;
    verify that they can still log in.
[4] Inspect the actor.usr rows for these patrons and verify
    that actor.usr.passwd is set to the value MD5(''), not
    the MD5 of their password.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1579225: add live_t regression test
Galen Charlton [Mon, 9 May 2016 20:40:52 +0000 (16:40 -0400)]
LP#1579225: add live_t regression test

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoDocs: Undo heading name change to fix broken link
Remington Steed [Fri, 6 May 2016 19:48:12 +0000 (15:48 -0400)]
Docs: Undo heading name change to fix broken link

This commit reverts a chapter heading change, which had broken an
internal cross reference link, thus causing the HTML docs to fail to
build. In this case, it seems best to keep the older heading rather than
fix the link to it.

In general, we should be careful about changing any AsciiDoc
headings, since we currently rely on autogenerated section IDs when
making internal links, and changing a heading changes its ID. If a
heading is changed, then all links to it need to be changed accordingly.

This commit also corrects a heading underline.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
8 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>
8 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>
8 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>
8 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>
8 years ago2.10.1 to 2.10.2 schema upgrade script
Galen Charlton [Thu, 28 Apr 2016 17:15:42 +0000 (13:15 -0400)]
2.10.1 to 2.10.2 schema upgrade script

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoupdates to the 2.10.2 release notes
Galen Charlton [Thu, 28 Apr 2016 16:26:19 +0000 (12:26 -0400)]
updates to the 2.10.2 release notes

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
8 years agoAdding 2.10.2 point release notes
Kathy Lussier [Thu, 28 Apr 2016 13:27:16 +0000 (09:27 -0400)]
Adding 2.10.2 point release notes

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 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>
8 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>
8 years agoupdates to 2.8.8 release notes
Galen Charlton [Thu, 28 Apr 2016 16:20:45 +0000 (12:20 -0400)]
updates to 2.8.8 release notes

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
8 years agoPoint release notes for the 2.8.8 release
Kathy Lussier [Thu, 28 Apr 2016 12:35:43 +0000 (08:35 -0400)]
Point release notes for the 2.8.8 release

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 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>
8 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>
8 years agoLP#1563531: add libpcre3/libpcre3-dev deps for Jessie
Galen Charlton [Wed, 30 Mar 2016 17:29:10 +0000 (13:29 -0400)]
LP#1563531: add libpcre3/libpcre3-dev deps for Jessie

This patch adds libpcre3 and libpcre3-dev to the list
of packages installed when installing Evergreen on Debian
Jessie. Evergreen's direct dependency on libpcre3 is new in 2.10
(see bug 1468422); it happens that libpcre3 and libpcre3-dev
are installed on Wheezy by virtue of a different dependency
chain.

To test
-------
[1] On a fresh Debian Jessie netinstall, follow the OpenSRF
    and Evergreen installation instructions. Verify that with
    this patch in place, Evergreen's "configure" step succeeds.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1568195: Stamping upgrade script
Mike Rylander [Thu, 28 Apr 2016 15:54:28 +0000 (11:54 -0400)]
LP#1568195: Stamping upgrade script

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1568195: fix retrieving big OUS batches
Galen Charlton [Sat, 9 Apr 2016 01:46:35 +0000 (21:46 -0400)]
LP#1568195: fix retrieving big OUS batches

This patch fixes a regression introduced in LP#1501471
where the Library Settings Editor could fail to retrieve
the values of org unit settings if more than 99 were
requested at a time.

To test
-------
[1] Open the XUL library settings editor and ensure that
    no search filters are in effect. Note that values
    are not displayed for any of the OU settings, and that
    the Pg log contains error messages like this:

    "ERROR: cannot pass more than 100 arguments to a function"

[2] Apply the patch.
[3] Repeat step one, and verify that values are now retrieved
    for all of the OU settings that have values set.
[4] Verify that the pgTAP tests in live_t/aous_batch.pg pass.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 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>
8 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>
8 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>
8 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>
8 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>
8 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>
8 years agoLP 1562426: Renumber Perl live_t tests.
Jason Stephenson [Sun, 27 Mar 2016 00:16:34 +0000 (20:16 -0400)]
LP 1562426: Renumber Perl live_t tests.

We had some overlap in numbers at the beginning of test file names.
The OCD in me think this should be straightened out.  This branch
renumbers the duplicates starting with 10-.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
8 years agoLP#1564079 Stamping upgrade script
Kathy Lussier [Wed, 27 Apr 2016 14:35:49 +0000 (10:35 -0400)]
LP#1564079 Stamping upgrade script

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1564079 Checkout history skips nonexistent items
Bill Erickson [Wed, 30 Mar 2016 21:57:59 +0000 (17:57 -0400)]
LP#1564079 Checkout history skips nonexistent items

Modify the user checkout history migration process
(2.9.3-2.10.0-upgrade-db.sql and 0960.schema.decouple_co_history.sql) to
avoid inserting history rows for circulations whose copies do not
exist in the database.

For reference, this is a rare condition that cannot be recreated in a
modern EG system short of modifying constraints.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1564079 Checkout history handles serials
Bill Erickson [Wed, 30 Mar 2016 21:49:26 +0000 (17:49 -0400)]
LP#1564079 Checkout history handles serials

Remove the target_copy foreign key constraint on action.usr_circ_history
so that it does not prevent creation of rows from circulation's that
link to serial.unit objects.  Similar to action.circulation, the foreign
key constraint is enforced via a evergreen.fake_fkey_tgr trigger
instead.

This modifies the 2.9.3-2.10.0-upgrade-db.sql and 0960 upgrade scripts,
since without this change, the scripts may fail.

A separate upgrade script is added to drop the constraint for those who
have already successfully run the the 2.9.3-2.10.0-upgrade-db.sql script
(i.e. those who don't use serials).  For simplicity, the
evergreen.fake_fkey_tgr trigger is only applied in this separate upgrade
script (in addition to the base schema, of course).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoDocs: image fix
Angela Kilsdonk [Wed, 20 Apr 2016 18:42:09 +0000 (14:42 -0400)]
Docs: image fix

Signed-off-by: Angela Kilsdonk <akilsdonk@esilibrary.com>
8 years agoDocs: Paid PO Lineitems
Angela Kilsdonk [Wed, 20 Apr 2016 18:23:02 +0000 (14:23 -0400)]
Docs: Paid PO Lineitems

Signed-off-by: Angela Kilsdonk <akilsdonk@esilibrary.com>
8 years agoDocs: Funds disencumbered when invoice is closed
Angela Kilsdonk [Wed, 20 Apr 2016 15:04:45 +0000 (11:04 -0400)]
Docs: Funds disencumbered when invoice is closed

Signed-off-by: Angela Kilsdonk <akilsdonk@esilibrary.com>
8 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: clean up formatting & typos in using_the_public_access_catalog.txt
Yamil Suarez [Fri, 22 Apr 2016 20:51:20 +0000 (16:51 -0400)]
Docs: clean up formatting & typos in using_the_public_access_catalog.txt

Thanks to Anna Goben for these fixes.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: Screenshots and step by step instructions added to Self Check section
Jennifer Pringle [Fri, 22 Apr 2016 03:02:21 +0000 (20:02 -0700)]
Docs: Screenshots and step by step instructions added to Self Check section

Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
8 years agoLP#1573372: Opt-in test broken because it uses bail-out.
Jason Stephenson [Fri, 22 Apr 2016 03:29:42 +0000 (23:29 -0400)]
LP#1573372: Opt-in test broken because it uses bail-out.

Use skip instead!

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
8 years agoDocs: New changes to new patron registration duplicate search.
Jennifer Pringle [Thu, 21 Apr 2016 22:36:36 +0000 (15:36 -0700)]
Docs: New changes to new patron registration duplicate search.

Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
8 years agoLP#1573364: Use a timezone in the future backdate checkin test.
Jason Stephenson [Fri, 22 Apr 2016 03:00:09 +0000 (23:00 -0400)]
LP#1573364: Use a timezone in the future backdate checkin test.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
8 years agoDocs: Exclude Electronic Resources
Anna Goben [Fri, 22 Apr 2016 02:58:14 +0000 (22:58 -0400)]
Docs: Exclude Electronic Resources

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: Updated attributions.txt
Jane Sandberg [Thu, 21 Apr 2016 22:22:58 +0000 (15:22 -0700)]
Docs: Updated attributions.txt

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
8 years agoDocs: resized image
Yamil Suarez [Wed, 20 Apr 2016 20:20:16 +0000 (16:20 -0400)]
Docs: resized image

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: Expanded information about item record view in OPAC
Debbie Luchenbill [Wed, 20 Apr 2016 20:17:55 +0000 (16:17 -0400)]
Docs: Expanded information about item record view in OPAC

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: resized image
Yamil Suarez [Wed, 20 Apr 2016 19:58:12 +0000 (15:58 -0400)]
Docs: resized image

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: added tip on using hold counts in renewals
Debbie Luchenbill [Wed, 20 Apr 2016 19:07:51 +0000 (15:07 -0400)]
Docs: added tip on using hold counts in renewals

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: small syntax fix circulation/circulation_patron_records.txt
Yamil Suarez [Fri, 15 Apr 2016 15:58:16 +0000 (11:58 -0400)]
Docs: small syntax fix circulation/circulation_patron_records.txt

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: small syntax fix in cataloging/authorities.txt
Yamil Suarez [Fri, 15 Apr 2016 15:53:56 +0000 (11:53 -0400)]
Docs: small syntax fix in cataloging/authorities.txt

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: small fix for circulation_patron_records_web_client.txt & root.txt
Yamil Suarez [Wed, 13 Apr 2016 02:36:12 +0000 (22:36 -0400)]
Docs: small fix for circulation_patron_records_web_client.txt & root.txt

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: small fix for lsa-barcode_completion.txt & root.txt
Yamil Suarez [Wed, 13 Apr 2016 02:33:43 +0000 (22:33 -0400)]
Docs: small fix for lsa-barcode_completion.txt & root.txt

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: update root.txt to include 2.10 release notes
Yamil Suarez [Thu, 7 Apr 2016 17:51:14 +0000 (13:51 -0400)]
Docs: update root.txt to include 2.10 release notes

Signed-off-by: Yamil Suarez <yamil@yamil.com>
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 agoLP#1564685 Prevent linked address edit on reload
Bill Erickson [Sat, 2 Apr 2016 22:11:12 +0000 (18:11 -0400)]
LP#1564685 Prevent linked address edit on reload

Prevent editing of linked addresses when a user is loaded after the
clone operation.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1564685 Avoid referencing out-of-scope stat cats
Bill Erickson [Fri, 1 Apr 2016 00:35:00 +0000 (20:35 -0400)]
LP#1564685 Avoid referencing out-of-scope stat cats

Fixes a bug in the patron editor where out-of-scope stat cats would be
incorrectly bundled in the patron save operation, resulting in a
server-side error on save.  In short, ignore out-of-scope stat cat
entries for patrons in the editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1564685 Prevent edit of linked addresses
Bill Erickson [Mon, 28 Mar 2016 20:10:10 +0000 (16:10 -0400)]
LP#1564685 Prevent edit of linked addresses

Do not allow a cloned user to modify a linked address.  Only the address
owner should be able to do that.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1564685 New Address button is always accessible
Bill Erickson [Mon, 28 Mar 2016 20:00:18 +0000 (16:00 -0400)]
LP#1564685 New Address button is always accessible

The New Address button in the patron editor is now always accessible,
regardless of the existence of any addresses.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1564685 Repair patron editor checkboxes sizing
Bill Erickson [Mon, 28 Mar 2016 19:57:26 +0000 (15:57 -0400)]
LP#1564685 Repair patron editor checkboxes sizing

Fix the checkbox HTML markup to prevent huge checkboxes in the patron
editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1564685 Required-field org settings overlay defaults
Bill Erickson [Mon, 28 Mar 2016 19:48:29 +0000 (15:48 -0400)]
LP#1564685 Required-field org settings overlay defaults

An org setting requiring a value for a field in the patron editor means
the field is required, even if it's not required by default.  IOW, fix
the code that was supposed to do that already.

Of note, county and state can now both be marked as required by org
settings in the patron editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1564685 Allow delete of all patron addresses
Bill Erickson [Mon, 28 Mar 2016 19:30:37 +0000 (15:30 -0400)]
LP#1564685 Allow delete of all patron addresses

If the org setting ui.patron.registration.require_address is not true,
allow all addresses to be removed from a patron's account.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1564685 Alert and stop on invalid fields
Bill Erickson [Mon, 28 Mar 2016 19:22:52 +0000 (15:22 -0400)]
LP#1564685 Alert and stop on invalid fields

Display an alert message and prevent save or save+clone when invalid
values exist in the patron edit form.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1564685 Allow barcode as username despite regex
Bill Erickson [Thu, 24 Mar 2016 02:13:44 +0000 (22:13 -0400)]
LP#1564685 Allow barcode as username despite regex

Allow a patron's barcode to be considered a valid username in the patron
editor even in the presence of an 'opac.username_regex' org setting
value that does not match the barcode.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1564685 Avoid dupe usrname warning on matching patron
Bill Erickson [Thu, 24 Mar 2016 01:21:12 +0000 (21:21 -0400)]
LP#1564685 Avoid dupe usrname warning on matching patron

Do not treat usernames as duplicates when they belong to the patron
being edited.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.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 agoupdate upgrade instructions for 2.10.1
Galen Charlton [Wed, 23 Mar 2016 02:27:04 +0000 (22:27 -0400)]
update upgrade instructions for 2.10.1

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agorelease notes for Evergreen 2.10.1
Galen Charlton [Wed, 23 Mar 2016 02:24:33 +0000 (22:24 -0400)]
release notes for Evergreen 2.10.1

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years ago2.10.0 - 2.10.1 schema update script
Galen Charlton [Wed, 23 Mar 2016 01:51:39 +0000 (21:51 -0400)]
2.10.0 - 2.10.1 schema update script

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1560174 Stamping upgrade script
Dan Wells [Mon, 21 Mar 2016 21:49:15 +0000 (17:49 -0400)]
LP#1560174 Stamping upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
8 years agoLP#1560174: fix MARC import for database upgraded to 2.10.0
Galen Charlton [Mon, 21 Mar 2016 19:23:42 +0000 (15:23 -0400)]
LP#1560174: fix MARC import for database upgraded to 2.10.0

This patch applies the correct version of the vandelay.ingest_items()
stored procedure introduced in the patch for bug 1548143.

To test
-------
[1] Upgrade an Evergreen database to 2.10.0 (a fresh database
    will not run into the bug).
[2] Try importing a MARC bib record via Vandelay using a profile
    that imports items.  This should fail.
[3] Apply the schema update in this patch.
[4] Repeat step 2; this time, the import should succeed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
8 years agoTranslation updates - newpot
Galen Charlton [Tue, 15 Mar 2016 00:50:25 +0000 (20:50 -0400)]
Translation updates - newpot

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoTranslation updates - po files
Galen Charlton [Thu, 17 Mar 2016 21:43:54 +0000 (17:43 -0400)]
Translation updates - po files

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoforward-port 2.9.3-2.10.0 monolithic DB update script
Galen Charlton [Thu, 17 Mar 2016 22:46:02 +0000 (18:46 -0400)]
forward-port 2.9.3-2.10.0 monolithic DB update script

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoforward-port the 2.10.0 upgrade instructions
Galen Charlton [Thu, 17 Mar 2016 22:50:40 +0000 (18:50 -0400)]
forward-port the 2.10.0 upgrade instructions

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agofinal release notes for 2.10.0
Galen Charlton [Thu, 17 Mar 2016 21:24:15 +0000 (17:24 -0400)]
final release notes for 2.10.0

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoadd list of bugs closed to release notes
Galen Charlton [Thu, 17 Mar 2016 21:20:32 +0000 (17:20 -0400)]
add list of bugs closed to release notes

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoupdate acknowledgments in release notes
Galen Charlton [Thu, 17 Mar 2016 21:05:45 +0000 (17:05 -0400)]
update acknowledgments in release notes

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoPorting 2.9.2 to 2.9.3 database upgrade script.
Jason Stephenson [Wed, 16 Mar 2016 20:57:00 +0000 (16:57 -0400)]
Porting 2.9.2 to 2.9.3 database upgrade script.

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 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#1557621 Verify password barcode / deleted users repair
Bill Erickson [Tue, 15 Mar 2016 16:31:37 +0000 (12:31 -0400)]
LP#1557621 Verify password barcode / deleted users repair

* Fixes bug that caused password verify calls to fail with an exception
  when tested with a barcode.

* Verify API always returns false when tested on deleted users.

To test:

1. In the staff client, navigate to Circulation -> Verify Credentials
2. Confirm username and barcode lookups return success for a non-deleted
   user using the correct password.
3. Delete a test user in the database:
   UPDATE actor.usr SET deleted = TRUE WHERE id = <id-of-test-user>;
4. Re-do step 2 confirming non-success results are returned.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1367926: fix syntax error in DB update script
Galen Charlton [Tue, 15 Mar 2016 17:44:58 +0000 (13:44 -0400)]
LP#1367926: fix syntax error in DB update script

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoUpdates to 2.10 release notes
Kathy Lussier [Tue, 15 Mar 2016 15:29:28 +0000 (11:29 -0400)]
Updates to 2.10 release notes

Updates includes fixing some grammatical errors/typos, some rewording and
reorganization to improve clarity, and explicitly calling out new settings.
We also added Christine Morgan to acknwoledgements for her contribution of
new images for hold and transit alerts/slips.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agodocs: reorganizing, adding information about importing authority records using vandelay
Jane Sandberg [Mon, 14 Mar 2016 23:34:43 +0000 (16:34 -0700)]
docs: reorganizing, adding information about importing authority records using vandelay

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agodocs: Adding instructions for setting up due time in the patron's myopac display
Jane Sandberg [Tue, 1 Mar 2016 00:00:15 +0000 (16:00 -0800)]
docs: Adding instructions for setting up due time in the patron's myopac display

Signed-off-by: Galen Charlton <gmc@esilibrary.com>