evergreen/pines.git
6 years agoCustomize the Library Details page for US format, link to Google Map
Michael Peters [Tue, 9 Dec 2014 19:07:03 +0000 (14:07 -0500)]
Customize the Library Details page for US format, link to Google Map

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
6 years agoChange 'About PINES' link location
Michael Peters [Wed, 3 Dec 2014 17:30:07 +0000 (12:30 -0500)]
Change 'About PINES' link location

2.7.1 Issue Tracker Wish List requested that the About PINES
link point to http://pines.georgialibraries.org/about/ which
this commit implements.:

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Conflicts:
Open-ILS/src/templates/opac/parts/footer.tt2
Open-ILS/src/templates/opac/parts/topnav_links.tt2

6 years agoAdd self-registration link to topnav links.
Chris Sharp [Wed, 5 Nov 2014 19:14:49 +0000 (14:14 -0500)]
Add self-registration link to topnav links.

6 years agoSyncing kpac.xml with rel_2_5_1_kpac
Chris Sharp [Tue, 4 Nov 2014 18:46:48 +0000 (13:46 -0500)]
Syncing kpac.xml with rel_2_5_1_kpac

6 years agoAdd GALILEO for Kids link to KPAC header.
Terran McCanna [Tue, 4 Nov 2014 14:41:13 +0000 (09:41 -0500)]
Add GALILEO for Kids link to KPAC header.

6 years agoHiding unnecessary and unpopulated Chilifresh content and NoveList "loading" message.
Terran McCanna [Fri, 2 May 2014 16:18:32 +0000 (12:18 -0400)]
Hiding unnecessary and unpopulated Chilifresh content and NoveList "loading" message.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/opac/parts/record/awards.tt2

6 years agoPINES Customization: NoveList Added Content Attempt 2
Terran McCanna [Tue, 29 Apr 2014 18:12:23 +0000 (14:12 -0400)]
PINES Customization: NoveList Added Content Attempt 2

Forced Awards & Suggested Reads tab to always be open
in order to highlight NoveList Select content.

Taking a different approach to displaying the NoveList
content upon loading.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoAdded Nutrition subcategory under Early Learning category in KPAC.
Terran McCanna [Fri, 28 Mar 2014 14:40:47 +0000 (10:40 -0400)]
Added Nutrition subcategory under Early Learning category in KPAC.

6 years agoAdded README and graphics template for use of KPAC graphics.
Terran McCanna [Thu, 6 Mar 2014 20:12:26 +0000 (15:12 -0500)]
Added README and graphics template for use of KPAC graphics.

Conflicts:
Open-ILS/examples/kpac.xml

6 years agoCorrected version of kpac.xml with properly nested preset searches
Terran McCanna [Mon, 17 Feb 2014 21:36:59 +0000 (16:36 -0500)]
Corrected version of kpac.xml with properly nested preset searches

6 years agoThis commit removes confirmation boxes popping up when a hyperlink is clicked
Chris Sharp [Sun, 19 Jan 2014 14:48:15 +0000 (09:48 -0500)]
This commit removes confirmation boxes popping up when a hyperlink is clicked

In PINES, we expect the behavior we've always had, so we revert the change.

Revert "Sort of in line with 949322 but not absolutely necessary"

This reverts commit e1a7501799119e0f305616af5bf97149d9bdf4c0.

6 years agoAdding fix for KPAC hold placement.
Chris Sharp [Tue, 14 Jan 2014 17:50:16 +0000 (12:50 -0500)]
Adding fix for KPAC hold placement.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agotemporary workaround for holds error when user isn't logged in and doesn't select...
Terran McCanna [Tue, 14 Jan 2014 01:49:10 +0000 (20:49 -0500)]
temporary workaround for holds error when user isn't logged in and doesn't select a pickup location

Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm

6 years agofixed problem with referencing wrong org selector
Terran McCanna [Thu, 9 Jan 2014 21:58:46 +0000 (16:58 -0500)]
fixed problem with referencing wrong org selector

Conflicts:
Open-ILS/src/templates/kpac/getit.tt2

6 years agoAttempt to fix default pickup location bug when user is not logged in.
Terran McCanna [Fri, 27 Dec 2013 18:37:58 +0000 (13:37 -0500)]
Attempt to fix default pickup location bug when user is not logged in.

Conflicts:
Open-ILS/src/templates/kpac/getit.tt2

6 years agoModified style guide to emphasize call numbers in search results and item display.
Terran McCanna [Fri, 20 Dec 2013 18:00:04 +0000 (13:00 -0500)]
Modified style guide to emphasize call numbers in search results and item display.

6 years agoTemporarily hid Add to List functionality until it can be further developed.
Terran McCanna [Fri, 20 Dec 2013 17:59:28 +0000 (12:59 -0500)]
Temporarily hid Add to List functionality until it can be further developed.

6 years agoAdding KPAC link to header and footer.
Chris Sharp [Thu, 19 Dec 2013 14:49:36 +0000 (09:49 -0500)]
Adding KPAC link to header and footer.

6 years agoPINES KPAC landing page doesn't include the Print button.
Chris Sharp [Thu, 19 Dec 2013 14:33:18 +0000 (09:33 -0500)]
PINES KPAC landing page doesn't include the Print button.

6 years agoCorrecting file path for PINES logo on KPAC.
Chris Sharp [Thu, 19 Dec 2013 12:35:46 +0000 (07:35 -0500)]
Correcting file path for PINES logo on KPAC.

6 years agoRemoving "Bib Call Number" from the advanced numeric search options.
Chris Sharp [Tue, 26 Nov 2013 16:35:43 +0000 (11:35 -0500)]
Removing "Bib Call Number" from the advanced numeric search options.

Commenting out Bib Call Number and uncommenting Call Number Browse.

Conflicts:
Open-ILS/src/templates/opac/parts/advanced/numeric.tt2

6 years agoAllowing unfillable hold placement in the staff client, not the OPAC
Chris Sharp [Fri, 22 Nov 2013 15:18:58 +0000 (10:18 -0500)]
Allowing unfillable hold placement in the staff client, not the OPAC

In PINES, we do not allow patrons to override hold policies, but staff
may in certain circumstances.  This change makes the option visible in
the staff client, but not the OPAC.

6 years agoSmall changes to Search Limit names and Category names.
Terran McCanna [Wed, 23 Oct 2013 14:30:29 +0000 (10:30 -0400)]
Small changes to Search Limit names and Category names.

6 years agoFurther tweaks to search limits and modifications to book bag links.
Terran McCanna [Mon, 21 Oct 2013 18:17:35 +0000 (14:17 -0400)]
Further tweaks to search limits and modifications to book bag links.

6 years agoTesting modifications to navigation.
Terran McCanna [Thu, 17 Oct 2013 22:57:18 +0000 (18:57 -0400)]
Testing modifications to navigation.

6 years agoModifications to quick search functions and stylesheet.
Terran McCanna [Thu, 17 Oct 2013 20:51:38 +0000 (16:51 -0400)]
Modifications to quick search functions and stylesheet.

Conflicts:

Open-ILS/web/css/skin/default/kpac/style.css

6 years agoImage handling has changed in the new version...
Chris Sharp [Wed, 16 Oct 2013 15:00:44 +0000 (11:00 -0400)]
Image handling has changed in the new version...

Removing PINES-customized code that referred to a now-missing image.

6 years agoTypo in footer.tt2 causing a server error.
Chris Sharp [Mon, 14 Oct 2013 15:25:05 +0000 (11:25 -0400)]
Typo in footer.tt2 causing a server error.

6 years agoRemoving "kpac-original" directory in order to keep a clean source directory.
Chris Sharp [Mon, 7 Oct 2013 14:39:05 +0000 (10:39 -0400)]
Removing "kpac-original" directory in order to keep a clean source directory.

6 years agoPINES customization of KPAC - beta ready for testing
Terran McCanna [Mon, 30 Sep 2013 19:28:08 +0000 (15:28 -0400)]
PINES customization of KPAC - beta ready for testing

6 years agoUpdated dewey.tt2
Terran McCanna [Tue, 24 Sep 2013 19:08:13 +0000 (15:08 -0400)]
Updated dewey.tt2

6 years agoInitial commit of PINES KPAC customizations.
Terran McCanna [Tue, 24 Sep 2013 18:51:21 +0000 (14:51 -0400)]
Initial commit of PINES KPAC customizations.

Conflicts:

Open-ILS/src/templates/kpac/home.tt2
Open-ILS/src/templates/kpac/parts/copy_table.tt2
Open-ILS/src/templates/kpac/parts/header.tt2
Open-ILS/web/css/skin/default/kpac/style.css

Conflicts:
Open-ILS/src/templates/kpac/parts/copy_table.tt2
Open-ILS/web/css/skin/default/kpac/style.css

6 years agoRemoving "You have permission to override some of the failed holds." OPAC message
Chris Sharp [Tue, 23 Jul 2013 12:38:01 +0000 (08:38 -0400)]
Removing "You have permission to override some of the failed holds." OPAC message

6 years agoChanging the default hold message for when an item is age protected.
Chris Sharp [Fri, 14 Jun 2013 11:42:46 +0000 (07:42 -0400)]
Changing the default hold message for when an item is age protected.

6 years agoPINES Survey Link - TPAC Edition
Chris Sharp [Sat, 4 May 2013 14:33:34 +0000 (10:33 -0400)]
PINES Survey Link - TPAC Edition

PINES does an online survey that runs for a week every Spring. These
changes create a red link to the survey above the search bar on the
OPAC home page.

6 years agoRemove "Claims Never Checked Out" in Items Out summary
Chris Sharp [Wed, 10 Apr 2013 17:06:55 +0000 (13:06 -0400)]
Remove "Claims Never Checked Out" in Items Out summary

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoadding in gmcharlt's fix for trailing TCN spaces
Chris Sharp [Fri, 13 Jan 2012 22:26:14 +0000 (17:26 -0500)]
adding in gmcharlt's fix for trailing TCN spaces

Conflicts:

Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/BibCommon.pm

6 years agoadding new macros to listed ones
Chris Sharp [Wed, 26 Sep 2012 17:14:16 +0000 (13:14 -0400)]
adding new macros to listed ones

6 years agoAdding GPLS Helpdesk link to Staff Client portal page and correcting a small typo
Chris Sharp [Thu, 7 Mar 2013 00:23:33 +0000 (19:23 -0500)]
Adding GPLS Helpdesk link to Staff Client portal page and correcting a small typo

Conflicts:

Open-ILS/web/opac/locale/en-US/lang.dtd

Conflicts:
Open-ILS/xul/staff_client/server/index.xhtml

6 years agoRevert "Use my_asv here.. surveys pertinent to the workstation library.. in case...
Chris Sharp [Wed, 1 Feb 2012 20:16:08 +0000 (15:16 -0500)]
Revert "Use my_asv here.. surveys pertinent to the workstation library.. in case survey usage ever takes off.  Should probably move some of this to the middle layer"

This reverts commit 54d45c37d91c78cffa00ca3ff0f6298261d548b2.

6 years agoadding file that returns circ mod view to normal
Chris Sharp [Thu, 17 Nov 2011 13:06:10 +0000 (08:06 -0500)]
adding file that returns circ mod view to normal

6 years agoadding mrpeters' awesome favicon
Chris Sharp [Fri, 29 Mar 2013 13:09:18 +0000 (09:09 -0400)]
adding mrpeters' awesome favicon

6 years agoadding PINES help links
Chris Sharp [Wed, 20 Mar 2013 01:22:35 +0000 (21:22 -0400)]
adding PINES help links

Conflicts:

Open-ILS/src/templates/opac/parts/login/help.tt2

6 years agoupdating the username/password hints for the opac
Chris Sharp [Wed, 20 Mar 2013 01:19:04 +0000 (21:19 -0400)]
updating the username/password hints for the opac

Conflicts:

Open-ILS/src/templates/opac/parts/login/form.tt2
Open-ILS/src/templates/opac/parts/login/password_hint.tt2

6 years agoimproving the default hold message for range-protected items
Chris Sharp [Tue, 19 Mar 2013 17:41:49 +0000 (13:41 -0400)]
improving the default hold message for range-protected items

6 years agoEnabling the display of 856 field URLs for related resources
Chris Sharp [Tue, 19 Mar 2013 17:18:16 +0000 (13:18 -0400)]
Enabling the display of 856 field URLs for related resources

6 years agoPassword Length Helpers
Michael Peters [Wed, 13 Mar 2013 12:31:43 +0000 (08:31 -0400)]
Password Length Helpers

This branch provides length helpers when patrons are setting or resetting
passwords.

This assumes the default 7 characters, 1 number requirement that comes stock.
You would need to change the hard coded strings if you use a different password
requirement regex in Library Settings Editor.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
6 years agoRemove the hardcoded width of locg dropdown
Michael Peters [Thu, 7 Mar 2013 13:47:37 +0000 (08:47 -0500)]
Remove the hardcoded width of locg dropdown

The hard coded 12em width causes longer library names to be cut
off.  This removes that restriction.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
6 years agoremoving journal title and bib call number from query type selector dropdown
Chris Sharp [Wed, 6 Mar 2013 21:56:35 +0000 (16:56 -0500)]
removing journal title and bib call number from query type selector dropdown

Conflicts:

Open-ILS/src/templates/opac/parts/qtype_selector.tt2

Conflicts:
Open-ILS/src/templates/opac/parts/qtype_selector.tt2

6 years agoadding newly designed PINES logos
Chris Sharp [Wed, 6 Mar 2013 18:37:10 +0000 (13:37 -0500)]
adding newly designed PINES logos

6 years agoremoving bib level advanced search filter
Chris Sharp [Wed, 6 Mar 2013 18:31:02 +0000 (13:31 -0500)]
removing bib level advanced search filter

Conflicts:

Open-ILS/src/templates/opac/parts/config.tt2

Conflicts:
Open-ILS/src/templates/opac/parts/config.tt2

6 years agoadding footer and topnav links and logo
Chris Sharp [Wed, 6 Mar 2013 05:01:18 +0000 (00:01 -0500)]
adding footer and topnav links and logo

Conflicts:

Open-ILS/src/templates/opac/parts/footer.tt2
Open-ILS/src/templates/opac/parts/topnav_logo.tt2

Conflicts:
Open-ILS/src/templates/opac/parts/footer.tt2

6 years agoPINES GALILEO TPAC link and auth redirector
Bill Erickson [Mon, 19 Aug 2013 13:27:58 +0000 (09:27 -0400)]
PINES GALILEO TPAC link and auth redirector

* adds a GALILEO link in the footer template
* adds a new TPAC URL target for /eg/opac/galileo, which redirects the
  user to the GALILEO URL, ensuring the user is first logged in.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Conflicts:
Open-ILS/src/templates/opac/parts/footer.tt2

PINES/GALILEO avoid auth redirect within library

If the physical_loc is set, indicating the patron is physically at a
branch (via IP redirect), link directly to the GALILEO site with no
authentication pass-through.  GALILEO does not requires PINES auth
if the client is coming from a known IP address.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Conflicts:
Open-ILS/src/templates/opac/parts/footer.tt2

Sadly, GALILEO/EBSCO does not use HTTPS, so this will create errors for patrons who authenticate via PINES.  Reverting to HTTP.

6 years agoBumping version numbers, adding Upgrade Script and Changelog
Galen Charlton [Mon, 9 Sep 2019 21:16:32 +0000 (17:16 -0400)]
Bumping version numbers, adding Upgrade Script and Changelog

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agotypo fix for SQL update script rel_3_4_0_stock
Galen Charlton [Wed, 2 Oct 2019 21:05:24 +0000 (17:05 -0400)]
typo fix for SQL update script

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoBumping version numbers and adding Changelog
Galen Charlton [Wed, 2 Oct 2019 20:28:10 +0000 (16:28 -0400)]
Bumping version numbers and adding Changelog

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agobump up Perl version
Galen Charlton [Wed, 2 Oct 2019 20:25:47 +0000 (16:25 -0400)]
bump up Perl version

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoupdate release notes for 3.4.0
Galen Charlton [Wed, 2 Oct 2019 20:23:13 +0000 (16:23 -0400)]
update release notes for 3.4.0

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoupdate release notes for 3.4-rc
Galen Charlton [Wed, 2 Oct 2019 00:02:40 +0000 (20:02 -0400)]
update release notes for 3.4-rc

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoTranslation updates - po files
Galen Charlton [Wed, 2 Oct 2019 20:20:08 +0000 (16:20 -0400)]
Translation updates - po files

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoupdate upgrade instructions for 3.4.0
Galen Charlton [Wed, 2 Oct 2019 20:11:54 +0000 (16:11 -0400)]
update upgrade instructions for 3.4.0

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agonote minimum OpenSRF version in upgrade instructions
Galen Charlton [Wed, 2 Oct 2019 20:08:59 +0000 (16:08 -0400)]
note minimum OpenSRF version in upgrade instructions

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1846369: add libhtml-defang-perl to Debian Buster installation
Galen Charlton [Wed, 2 Oct 2019 16:55:28 +0000 (12:55 -0400)]
LP#1846369: add libhtml-defang-perl to Debian Buster installation

This patch fixes an oversight where the HTML::Defang dependency
added in LP#1825851 wasn't installed on Debian Buster.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
6 years agoLP#1846357: adjust 3.3.3-3.4.0 schema update
Galen Charlton [Wed, 2 Oct 2019 15:38:42 +0000 (11:38 -0400)]
LP#1846357: adjust 3.3.3-3.4.0 schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agostage what will become the final 3.3.3-3.4.0 schema update
Galen Charlton [Wed, 2 Oct 2019 15:35:41 +0000 (11:35 -0400)]
stage what will become the final 3.3.3-3.4.0 schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoupdated 3.3.3-3.4-rc schema update
Galen Charlton [Tue, 1 Oct 2019 23:50:55 +0000 (19:50 -0400)]
updated 3.3.3-3.4-rc schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1846357: fix circulation and billing aging
Galen Charlton [Wed, 2 Oct 2019 15:31:06 +0000 (11:31 -0400)]
LP#1846357: fix circulation and billing aging

An error merging an update to action.age_circ_on_delete() resulted
in a regression to the aging of billings. This patch fixes it.

To test
-------
[1] Apply the patch, then age circulations. Verify that relevant
    billings are also aged.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoTranslation updates - po files
Galen Charlton [Wed, 2 Oct 2019 00:02:33 +0000 (20:02 -0400)]
Translation updates - po files

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoTranslation updates - newpot
Galen Charlton [Tue, 1 Oct 2019 23:58:33 +0000 (19:58 -0400)]
Translation updates - newpot

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1842940: stamping and slight tweak to upgrade script
Jane Sandberg [Tue, 1 Oct 2019 21:47:07 +0000 (14:47 -0700)]
LP1842940: stamping and slight tweak to upgrade script

Mike Rylander suggested the INSERT ... SELECT ... WHERE NOT
EXISTS approach, since this fix is being backported to older
releases, and we don't want to cause duplicate entries or
upgrade failures if the perm already exists

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP#1842940: Improve Alert
Mike Rylander [Tue, 17 Sep 2019 15:07:04 +0000 (11:07 -0400)]
LP#1842940: Improve Alert

Attempt to float the alerts below the sticky bar and above the main
content of the user editor.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP#1842940: Alert when editing is disallowed
Mike Rylander [Wed, 11 Sep 2019 18:46:44 +0000 (14:46 -0400)]
LP#1842940: Alert when editing is disallowed

Provide functions that checks the permissions required to edit ones
own account, or accounts in groups based on group application
permissions, and alert the user if and why they can't edit an account.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP#1842940: add perm to permit staff to edit their own accounts in the client
Jeff Davis [Thu, 5 Sep 2019 17:23:55 +0000 (10:23 -0700)]
LP#1842940: add perm to permit staff to edit their own accounts in the client

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP#1842940: Don't allow self-edit or perm-restricted edit
Mike Rylander [Thu, 5 Sep 2019 15:34:51 +0000 (11:34 -0400)]
LP#1842940: Don't allow self-edit or perm-restricted edit

Pre-webstaff, we disallowed editing of ones own record, an of records
that have a group application permission that the staff do not possess.

This commit brings back those restrictions.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP#1835458: bump up OpenSRF requirement
Galen Charlton [Tue, 1 Oct 2019 21:56:47 +0000 (17:56 -0400)]
LP#1835458: bump up OpenSRF requirement

OpenSRF 3.2.0 or later is now required for Evergreen 3.4+ as
a consequence of the new support for Debian 10 Buster.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoupdates to 3.4 release notes
Galen Charlton [Tue, 1 Oct 2019 21:55:58 +0000 (17:55 -0400)]
updates to 3.4 release notes

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1835085: stamp DB update
Galen Charlton [Tue, 1 Oct 2019 21:24:16 +0000 (17:24 -0400)]
LP#1835085: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLp 1835085: Update Item Status templates for auto-renewal
Jason Stephenson [Mon, 9 Sep 2019 12:47:09 +0000 (08:47 -0400)]
Lp 1835085: Update Item Status templates for auto-renewal

Add checks for circ.auto_renewal() == 't' in the circ list and summary
pane views of the web staff client Item Status interface.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLp 1835035: Refactor auto_renewal back end code
Jason Stephenson [Fri, 30 Aug 2019 15:37:24 +0000 (11:37 -0400)]
Lp 1835035: Refactor auto_renewal back end code

Refactor the auto_renewal feature so that it works like other renewal
types: opac_renewal, sip_renewal, etc.  This refactor prevents
desk_renewal from being set when auto_renewal is set.

Deprecate the newly added open-ils.circ.renew.auto API and ensure that
it still works as intended.  Add release note indicating the
deprecation of this API and intent to remove it in Evergreen 3.5.

Modify the AutoRenew action trigger reactor to use the plain
open-ils.circ.renew API with the auto_renewal option set to 1.

Add database update script to cleanup (i.e. set to FALSE) the
desk_renewal field on action.circulation and action.aged_circulation
tables where auto_renewal is TRUE.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1835577: stamp schema updates
Galen Charlton [Tue, 1 Oct 2019 21:19:51 +0000 (17:19 -0400)]
LP#1835577: stamp schema updates

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLp 1835577: Add more missing auto_renewal fields
Jason Stephenson [Tue, 10 Sep 2019 15:27:07 +0000 (11:27 -0400)]
Lp 1835577: Add more missing auto_renewal fields

Add missing auto_renewal and auto_renewal_remaining fields to the
following additional IDL classes:

* aacs
* aoc
* circbyyr
* robcirc

Add database updates to add auto_renewal fields to the following
views:

* action.billable_circulations
* action.open_circulation
* reporter.circ_type
* reporter.overdue_circs

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLp 1835577: Add missing Auto Renewal fields to the IDL
Jason Stephenson [Thu, 29 Aug 2019 14:15:33 +0000 (10:15 -0400)]
Lp 1835577: Add missing Auto Renewal fields to the IDL

Add entries for auto_renewal and auto_renewal_remaining fields to the
acirc and combcirc classes in fm_IDL.xml.  They were missing after the
auto-renewal feature was added.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1839002: stamp DB update
Galen Charlton [Tue, 1 Oct 2019 21:15:36 +0000 (17:15 -0400)]
LP#1839002: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLp 1839002: Default circulation auto_renewal field to FALSE
Jason Stephenson [Thu, 29 Aug 2019 15:06:56 +0000 (11:06 -0400)]
Lp 1839002: Default circulation auto_renewal field to FALSE

Change the definition of the action.circulation table so that the
auto_renewal field is not null, default false.

Add an upgrade script to update the field values and alter the field
definition in both the action.circulation and action.aged_circulation
tables.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1840669: stamp schema update
Galen Charlton [Tue, 1 Oct 2019 21:06:16 +0000 (17:06 -0400)]
LP#1840669: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLp 1840669: Handle autorenewals when aging circulations
Jason Stephenson [Thu, 29 Aug 2019 14:03:50 +0000 (10:03 -0400)]
Lp 1840669: Handle autorenewals when aging circulations

Add auto_renewal and auto_renewal_remaining fields to the
action.age_circ_on_delete trigger function.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1845050: fix issue where reports interface was partially loaded
Galen Charlton [Tue, 24 Sep 2019 17:48:08 +0000 (13:48 -0400)]
LP#1845050: fix issue where reports interface was partially loaded

This patch adjusts mod_xmlent to not free its XML parser
prematurely in the face of an EOS bucket received while processing
a sub-request.

To test
-------
[1] Test on a platform that has Apache 2.4.25 or later, such as
    Debian Stretch.
[2] Note that when loading the reports interface that the source
    of the frame containing oils_rpt.xhtml is incomplete and that
    actions like creating a template or folder do not work in the
    interface.
[3] Apply the patch and repeat step 2. This time, oils_rpt.xhtml
    should be fully loaded and the interface fuctional.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
6 years agoLP#1845260: add additional DB update to be sure
Galen Charlton [Tue, 1 Oct 2019 20:54:39 +0000 (16:54 -0400)]
LP#1845260: add additional DB update to be sure

... that the function is correct if somebody is upgrading a
beta1 or beta2 database.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1845260: fix error in vandelay.auto_overlay_org_unit_copies db function
Jeff Davis [Mon, 23 Sep 2019 23:15:14 +0000 (16:15 -0700)]
LP#1845260: fix error in vandelay.auto_overlay_org_unit_copies db function

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1844812 Combobox avoids processing matching entry lists
Bill Erickson [Fri, 20 Sep 2019 15:31:16 +0000 (11:31 -0400)]
LP1844812 Combobox avoids processing matching entry lists

Teach the combobox to only process newly provided entry lists if they
are different from the list already on record for the combobox.

The combobox entry list Input() is responsive to changes in data
throughout the life of the combobox.  As a new entry list is provided,
the component will perform various actions on the list.  However, in
many cases the list provided may be identical the list the component
already has, which can lead to a lot of unnecessary processing and in
some case an infinite loop of inputs and outputs.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1811442 - Assign copy alert permissions.
Chris Sharp [Mon, 20 May 2019 19:44:08 +0000 (15:44 -0400)]
LP#1811442 - Assign copy alert permissions.

VIEW_COPY_ALERTS and ADMIN_COPY_ALERT permissions were added
recently, but not assigned in the default seed data.  This branch
assigns VIEW_COPY_ALERTS to Staff profiles at the Consortium depth
and adds ADMIN_COPY_ALERT to the Cataloging Administrator profile.

Since permissions are set so specifically per-site, this branch does
not contain an upgrade script, but does provide an update to release
notes reminding site admins to manually add them to the appropriate
profiles.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1560805 Webstaff locale picker repair
Bill Erickson [Wed, 23 May 2018 15:13:16 +0000 (11:13 -0400)]
LP#1560805 Webstaff locale picker repair

Make the locale picker less finicky by replacing the search/replace
regex with a simple static URL for applying the locale.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1830642: add tests for authenticating users when password contains percent sign
Jeff Davis [Mon, 27 May 2019 19:03:00 +0000 (12:03 -0700)]
LP#1830642: add tests for authenticating users when password contains percent sign

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1768141: Stamping Upgrade Script
Jason Boyer [Tue, 1 Oct 2019 19:10:56 +0000 (15:10 -0400)]
LP#1768141: Stamping Upgrade Script

Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
6 years agoLP#1768141: (follow-up) change schema update
Galen Charlton [Fri, 2 Aug 2019 14:41:44 +0000 (10:41 -0400)]
LP#1768141: (follow-up) change schema update

Change the update to an "ALTER FUNCTION ... STABLE" both
to make the purpose of the update more clear and to remove
the need to check the rest of the function definition when
backporting.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
6 years agoLP#1768141 - Mark permission.grp_descendants STABLE.
Chris Sharp [Mon, 20 May 2019 20:14:00 +0000 (16:14 -0400)]
LP#1768141 - Mark permission.grp_descendants STABLE.

Quoting Galen Charlton's comments on the bug report:

The database function permission.grp_descendants should
be marked stable; it qualifies, and doing so should allow
PostgreSQL to improve query plans. One example of a query
that would benefit is searching by patron profile (a la
bug 1497322)

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
6 years agoLP1739607: Add missing columns to patron record
Jane Sandberg [Wed, 21 Aug 2019 17:26:47 +0000 (10:26 -0700)]
LP1739607: Add missing columns to patron record

To test:
1) Open up a patron record with some bills.
2) On the Items Out tab, notice that there is a column named Location
3) On the Bills tab, open up Bill history.
4) In the history transactions grid, note that the column picker is
missing the following columns:
  * Item owning library
  * Checkout/renewal library
  * Due date
  * Fines Stopped Reason
5) In the history payments grid, note that the column picker is missing
the same columns.
6) Apply this commit.
7) Note that the Items Out tab's column is renamed to "Shelving
Location".
8) Notice that both Bill history grids column pickers include the
requested columns.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
6 years agoDocs: minor formatting changes to Hide Fields doc
Andrea Buntz Neiman [Tue, 1 Oct 2019 17:57:32 +0000 (13:57 -0400)]
Docs: minor formatting changes to Hide Fields doc

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
6 years agoDocs: adding Hiding Fields in Holdings Editor docs and screenshots
Beth Willis [Tue, 1 Oct 2019 17:32:06 +0000 (13:32 -0400)]
Docs: adding Hiding Fields in Holdings Editor docs and screenshots

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
6 years agoDocs: added another contributor
Andrea Buntz Neiman [Fri, 27 Sep 2019 20:51:35 +0000 (16:51 -0400)]
Docs: added another contributor

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>