evergreen/pines.git
5 years agolp1811710: automated tests
Jason Etheridge [Tue, 10 Sep 2019 20:29:19 +0000 (16:29 -0400)]
lp1811710: automated tests

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agolp1811710: hopeless holds release notes
Jason Etheridge [Fri, 16 Aug 2019 14:49:20 +0000 (10:49 -0400)]
lp1811710: hopeless holds release notes

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agolp1811710: minor fixes to other code
Jason Etheridge [Sun, 30 Jun 2019 00:53:15 +0000 (20:53 -0400)]
lp1811710: minor fixes to other code

outside of the holds grid and the Hopeless Holds interface

* Retargetd vs Retargeted typo

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agolp1811710: hide Pre-Fetch for now
Jason Etheridge [Tue, 11 Jun 2019 16:24:56 +0000 (12:24 -0400)]
lp1811710: hide Pre-Fetch for now

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agolp1811710: minor tweaks to the eg2 holds grid
Jason Etheridge [Fri, 7 Jun 2019 14:30:53 +0000 (10:30 -0400)]
lp1811710: minor tweaks to the eg2 holds grid

column label fixes and let some actions work with multiple rows

fix for item barcode link

prevent certain actions from spawning broken interfaces

disable Title Hold Transfer if non-title holds are selected

render hold status

return the sms carrier name instead of the id in the wide_holds API
(we may want to back this one out and do it differently)

show time component for timestamp columns

fixed live summaries for various hold actions intended for large batches

remove mvr.* from eg2 holds grid; not doing anything

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agolp1811710: toward hopeless data
Jason Etheridge [Tue, 4 Jun 2019 16:12:54 +0000 (12:12 -0400)]
lp1811710: toward hopeless data

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agolp1811710: toward hopeless UI
Jason Etheridge [Fri, 10 May 2019 06:52:01 +0000 (02:52 -0400)]
lp1811710: toward hopeless UI

dedicated interface and grid tweaks

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agolp1811710: toward hopeless holds, backend and existing UI's
Jason Etheridge [Wed, 17 Apr 2019 12:29:53 +0000 (08:29 -0400)]
lp1811710: toward hopeless holds, backend and existing UI's

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1857350 Org selector sorts by display value
Bill Erickson [Thu, 26 Dec 2019 18:18:26 +0000 (13:18 -0500)]
LP1857350 Org selector sorts by display value

When displaying the org unit selector, sort each set of children by the
display label (defaults to shortname).

Fixes issues with the org server sortTree function and adds a unit test
to test the repaired sort function.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoPINES Fix to custom holdings list
Terran McCanna [Thu, 26 Dec 2019 18:12:09 +0000 (13:12 -0500)]
PINES Fix to custom holdings list

Corrects system name not showing up on record detail screen in
holdings copy table. Also adds system name to the linked up library
info page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoLP#1843599: AngularJS MARC editor once again sets bib source
Galen Charlton [Fri, 20 Dec 2019 17:40:34 +0000 (12:40 -0500)]
LP#1843599: AngularJS MARC editor once again sets bib source

This patch fixes a regression introduced by the patch for bug 1693580
that prevent changes to the bib source from being made via the AngularJS
MARC editor.

To test
-------
[1] Apply the patch.
[2] Create a new bib record and save it with a non-empty source. Verify
    that the record sets the source as expected.
[3] Edit a bib record and change the source. Verify that the new source
    is retained when the record is saved.
[4] Edit an authority record and save it. Verify that it can be updated
    without error. (Note that authority records do not have sources in
    the same way that bib records do.)

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoPINES Hide Print and Email Options on Lists
Terran McCanna [Thu, 26 Dec 2019 18:51:41 +0000 (13:51 -0500)]
PINES Hide Print and Email Options on Lists

The print & email options on lists in the OPAC are currently
broken (launchpad bug 1854986) - hide them until fixed.

Also includes a couple minor adjustments to spacing.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agolp1712644 Prevent check out due date in past
Katlyn Beck [Mon, 26 Nov 2018 21:23:48 +0000 (21:23 +0000)]
lp1712644 Prevent check out due date in past

- Prevents selecting past due date when checking out an item
- Prevents saving a due date with hatch when input date is invalid

Signed-off-by: Katlyn Beck <kbeck@catalyte.io>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/staff/circ/patron/t_checkout.tt2
modified:   Open-ILS/web/js/ui/default/staff/circ/patron/checkout.js
modified:   Open-ILS/web/js/ui/default/staff/services/ui.js

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoPINES - indent popularity line on search results page
Terran McCanna [Mon, 30 Dec 2019 20:39:52 +0000 (15:39 -0500)]
PINES - indent popularity line on search results page

We recently enabled popularity ranking visibility in the OPAC,
but it isn't indented with the rest of the item info. This adds
the indent and un-does the bolding since it is distracting.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoPINES Self-check Customization
Terran McCanna [Thu, 19 Dec 2019 19:25:53 +0000 (14:25 -0500)]
PINES Self-check Customization

New PINES logo and matching color scheme

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoCustomization of self-check interface so that username, password,
Terran McCanna [Thu, 17 Oct 2019 18:22:37 +0000 (14:22 -0400)]
Customization of self-check interface so that username, password,
and barcode text banners appear in different colors in an effort
to make it clearer to patrons that they are being asked for a
different type of information.

Note that that this also tweaks the password check because the old
format was different from current master and no longer working correctly.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoPINES KPAC: New logo
Terran McCanna [Thu, 19 Dec 2019 19:57:20 +0000 (14:57 -0500)]
PINES KPAC: New logo

Updates to incorporate new PINES logo.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoPINES logo and color scheme changes
Terran McCanna [Thu, 12 Dec 2019 22:32:45 +0000 (17:32 -0500)]
PINES logo and color scheme changes

For January 2020 upgrade

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoPINES Staff Client Logo Update
Terran McCanna [Mon, 9 Dec 2019 17:25:07 +0000 (12:25 -0500)]
PINES Staff Client Logo Update

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoAdd new PINES logo.
Chris Sharp [Mon, 9 Dec 2019 16:53:49 +0000 (11:53 -0500)]
Add new PINES logo.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1846484 - Add BETWEEN SYMMETRIC to reporter SQL builder
Chris Sharp [Fri, 4 Oct 2019 18:31:22 +0000 (14:31 -0400)]
LP#1846484 - Add BETWEEN SYMMETRIC to reporter SQL builder

Let's give end users a break and forgive them when they mix
up the order of a date range.  BETWEEN SYMMETRIC allows users
to enter a date range in any order rather than strictly
enforcing "oldest date first" and returning an empty result
set.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1849334 - Protect precat volumes from accidental staff edits
Chris Sharp [Fri, 22 Nov 2019 20:18:57 +0000 (15:18 -0500)]
LP#1849334 - Protect precat volumes from accidental staff edits

It is possible to edit the precat volume (id = -1) in a batch
volume/copy edit in the webclient.  We assume that valid changeable
volumes have an id > 0, then allow changes.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoadding post-3.4 upgrade script
Chris Sharp [Fri, 22 Nov 2019 16:16:05 +0000 (11:16 -0500)]
adding post-3.4 upgrade script

5 years agoremoving legacy upgrade script
Chris Sharp [Fri, 22 Nov 2019 16:15:05 +0000 (11:15 -0500)]
removing legacy upgrade script

5 years agoLP#1822630: fix sanitizing CGI params on place_hold_result
Jeff Davis [Mon, 10 Jun 2019 16:53:44 +0000 (09:53 -0700)]
LP#1822630: fix sanitizing CGI params on place_hold_result

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jason Stephenson <jason@sigio.com>
(cherry picked from commit 019118895c94f5cc810b3f1fb95b2634a1c993b6)

5 years agoRevert "Temp fix for Broken Hold Links"
Chris Sharp [Fri, 8 Nov 2019 19:02:20 +0000 (14:02 -0500)]
Revert "Temp fix for Broken Hold Links"

This reverts commit d8722f1c7a5b76f965e59ffbf20342a4c48bbeb0.

5 years agoLP#1851524: fix adding a bucket when saving a new carousel
Galen Charlton [Wed, 6 Nov 2019 16:35:58 +0000 (11:35 -0500)]
LP#1851524: fix adding a bucket when saving a new carousel

This patch fixes a regression where saving a new carousel
would not result in its bucket being created due to the
post-save callback never getting invoked.

This patch does not fix any carousels that do not have
buckets due to this bug. Because such carousels will
not function anyway, they should be deleted and
recreated by the local admin.

To test
-------
[1] Create a new carousel in local adminstration. Open it
    in the edit modal again and note that no record bucket
    is linked to it.
[2] Apply the patch and repeat step 1. This time, the
    bucket should be created.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agodisable trigger USER, not ALL
Chris Sharp [Thu, 31 Oct 2019 17:53:06 +0000 (13:53 -0400)]
disable trigger USER, not ALL

5 years agoupdate 3.3-3.4 upgrade script with PINES customizations and speed improvements
Chris Sharp [Thu, 31 Oct 2019 17:50:07 +0000 (13:50 -0400)]
update 3.3-3.4 upgrade script with PINES customizations and speed improvements

5 years agoLP#1570072: add release notes
Galen Charlton [Thu, 8 Aug 2019 00:08:25 +0000 (20:08 -0400)]
LP#1570072: add release notes

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP#1570072: update hold notification methods upon preference changes
Cesar Velez [Tue, 22 Jan 2019 17:16:54 +0000 (12:16 -0500)]
LP#1570072: update hold notification methods upon preference changes

This patch adds a feature where if a patron's hold notification
preferences are changed, they are given an opportunity to have
notfication methods for their pending hold requests updated to
reflect their new prefernces.

This feature affects both the public catalog My Account interface
and the staff patron registration form. In both cases, the user
is presented with a modal (staff-side) or interstitial page (public
catalog) asking them whether to update current hold requests.

Sponsored-by: MassLNC
Additional-work-by: Mike Rylander <mrylander@gmail.com>
Additional-work-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoupdate DB upgrade scripts to accommodate what we have already applied
Chris Sharp [Wed, 25 Sep 2019 11:38:50 +0000 (07:38 -0400)]
update DB upgrade scripts to accommodate what we have already applied

6 years agoRemove "In Receiving" status from magical status list
Chris Sharp [Tue, 20 Aug 2019 11:11:41 +0000 (07:11 -0400)]
Remove "In Receiving" status from magical status list

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoAdding 'In Receiving' status to back-end functionality.
Chris Sharp [Fri, 2 Aug 2019 15:15:09 +0000 (11:15 -0400)]
Adding 'In Receiving' status to back-end functionality.

6 years agoKPAC Updates: Add E-Read Kids
Terran McCanna [Wed, 31 Jul 2019 20:46:45 +0000 (16:46 -0400)]
KPAC Updates: Add E-Read Kids

Add new permanent KPAC icon for E-Read Kids, hide summer reading,
show back to school.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Alter wording for COPY_CIRC_NOT_ALLOWED
Terran McCanna [Mon, 29 Jul 2019 14:37:41 +0000 (10:37 -0400)]
PINES Customization: Alter wording for COPY_CIRC_NOT_ALLOWED

Change wording of COPY_CIRC_NOT_ALLOWED message because the default
wording indicates that it is a problem with the copy, but it can
also be triggered when there is a problem with the user (such as when
a Digital Only user attempts to check out a physical item).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1713138 EDI buyer codes from RFF+API
Bill Erickson [Fri, 25 Aug 2017 19:46:31 +0000 (15:46 -0400)]
LP#1713138 EDI buyer codes from RFF+API

Support extracting buyer code (AKE edi_account.vendcode) values directly
from the EDI RFF+API field.  This provides better matching to
edi_accounts based on vendcode values for inbound EDI messages.

The code will still fall back to extracting vendcodes appended to the SAN,
when no RFF+API is present.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoModifies our previously customized code for the new books dropdown
Terran McCanna [Tue, 23 Jul 2019 20:55:20 +0000 (16:55 -0400)]
Modifies our previously customized code for the new books dropdown
list so that it limits what is retrieved in the new books supercat
feeds by available statuses only.

6 years agoLP #1705497 Replaces functionality in web client from legacy
Adam Bowling [Thu, 7 Mar 2019 04:06:09 +0000 (23:06 -0500)]
LP #1705497 Replaces functionality in web client from legacy
XUL client by including a find function for originating
acquisition where it exists.

Signed-off-by: Adam Bowling <abowling@emeralddata.net>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP1642036 Group member detail grid query repair
Bill Erickson [Wed, 24 Apr 2019 13:19:40 +0000 (09:19 -0400)]
LP1642036 Group member detail grid query repair

Teach the grid to automatically use the current version of the grid
query in group member details lookup, since the query changes as
patron's change and is sometimes applied after the grid has already
absorbed the setQuery function.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1029601: Prevent double-clicking when submitting hold requests.
Daniel Pearl [Wed, 12 Dec 2018 17:51:07 +0000 (12:51 -0500)]
LP#1029601: Prevent double-clicking when submitting hold requests.

Double clicking on hold submit buttons causes multiple holds to be generated.  This adds some code to
disable the Submit button(s) after the first click, so subsequent clicks don't "work" in unintended ways.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
6 years agoKPAC Update: Remove Tumblebooks Link
Terran McCanna [Thu, 6 Jun 2019 22:03:35 +0000 (18:03 -0400)]
KPAC Update: Remove Tumblebooks Link

GALILEO canceled Tumblebooks, so removing link.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES KPAC: Summer Reading 2019 Topics
Terran McCanna [Thu, 16 May 2019 22:12:25 +0000 (18:12 -0400)]
PINES KPAC: Summer Reading 2019 Topics

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1630271: Add a field, change a label.
Chris Sharp [Tue, 14 May 2019 19:14:39 +0000 (15:14 -0400)]
LP#1630271: Add a field, change a label.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1630271 - Correct encumbrance subquery.
Chris Sharp [Wed, 19 Jul 2017 12:55:45 +0000 (08:55 -0400)]
LP#1630271 - Correct encumbrance subquery.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1630271 - Add Purchase Order Summary View
Chris Sharp [Tue, 20 Jun 2017 13:05:07 +0000 (09:05 -0400)]
LP#1630271 - Add Purchase Order Summary View

The purchase order reporting source contains several fields that are
available in the reporter but are non-functional (because they are
generated on-the-fly within user interfaces).  This view allows a
similar calculation and provides access back to the PO object as well.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP 1744386 & LP 1777184 - stat cats & stat cat entries not alphabetical
Suzanne Paterno [Tue, 9 Apr 2019 14:42:15 +0000 (10:42 -0400)]
LP 1744386 & LP 1777184 - stat cats & stat cat entries not alphabetical

Statistical categories will be alphabetized first by library and then byt category.

The entires within each category will also be alphabetizes

6 years agofix broken holds link in My Account page
Chris Sharp [Mon, 25 Mar 2019 17:01:40 +0000 (13:01 -0400)]
fix broken holds link in My Account page

6 years agoPINES Customization: Link to spine label documentation
Terran McCanna [Wed, 6 Mar 2019 21:14:22 +0000 (16:14 -0500)]
PINES Customization: Link to spine label documentation

To be added on top of Adam's spine label work.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1777677 Test Notification Method
Terran McCanna [Tue, 26 Feb 2019 15:37:12 +0000 (10:37 -0500)]
LP#1777677 Test Notification Method

Correcting two code typos (USER_VIEW should be VIEW_USER in Actor.pm
and language string typo in test_notification.tt2).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agolp1777677 Security tweaks
Kyle Huckins [Mon, 14 Jan 2019 22:22:40 +0000 (22:22 +0000)]
lp1777677 Security tweaks

- Refactor test notification API to check if requestor
is user,and if not, then check if requestor has
permissions to view users at target user's home ou.
- Change event_def_type references to "hook"
- Separate out sendTestEmail and sendTestSMS functions
in frontend to prevent potential misuse of functionality.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
modified:   Open-ILS/src/templates/opac/myopac/prefs.tt2
modified:   Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
modified:   Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
modified:   Open-ILS/web/js/ui/default/opac/test_notification.js
modified:   Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agolp1777677 Test Notification Release Notes
Kyle Huckins [Wed, 12 Dec 2018 21:26:23 +0000 (21:26 +0000)]
lp1777677 Test Notification Release Notes

- Add release notes for Test Notification functionality.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
new file:   docs/RELEASE_NOTES_NEXT/Circulation/test_notification_method.adoc

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agolp1777677 Test Notification Permission & String change
Kyle Huckins [Wed, 12 Dec 2018 21:05:38 +0000 (21:05 +0000)]
lp1777677 Test Notification Permission & String change

- Update permission requirement to OPAC_LOGIN
- Update strings to be more end-user friendly

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
modified:   Open-ILS/src/sql/Pg/950.data.seed-values.sql
modified:   Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1777677-action-triggers-test-notification.sql
modified:   Open-ILS/src/templates/opac/myopac/prefs.tt2
modified:   Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
modified:   Open-ILS/src/templates/opac/myopac/test_notification.tt2

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agolp1777677 Show test notification buttons by retrieved data
Kyle Huckins [Wed, 28 Nov 2018 22:10:24 +0000 (22:10 +0000)]
lp1777677 Show test notification buttons by retrieved data

- Prevents test notification buttons from displaying when email or sms
data is input but no data exists on server.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
modified:   Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agolp1777677 Test Notification OPAC success prompt
Kyle Huckins [Wed, 28 Nov 2018 21:09:04 +0000 (21:09 +0000)]
lp1777677 Test Notification OPAC success prompt

- Move OPAC success prompt higher up to ensure message is
seen.
- Ensure OPAC SMS test notification doesn't send email.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/opac/myopac/prefs.tt2
modified:   Open-ILS/src/templates/opac/myopac/prefs_notify.tt2

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agolp1777677 Test Notification Method
Kyle Huckins [Thu, 12 Jul 2018 15:40:33 +0000 (15:40 +0000)]
lp1777677 Test Notification Method

- Create fire_test_notification subroutine to create, fire, and
return event
- Add Test Notification UI buttons to preferences and patron edit screen.
- Add Toast to inform of success or failure of sending test notification
- Add Strings to patron interface to handle ngToast notifications
- Add Test Notification to OPAC preferences UI for email
and default sms number.
- Abort Test Notification event if no user is found.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/perlmods/lib/OpenILS/Application/Actor.pm
modified:   Open-ILS/src/sql/Pg/400.schema.action_trigger.sql
modified:   Open-ILS/src/sql/Pg/950.data.seed-values.sql
new file:   Open-ILS/src/sql/Pg/upgrade/XXXX.data.lp1777677-action-triggers-test-notification.sql
modified:   Open-ILS/src/templates/opac/myopac/prefs.tt2
modified:   Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
new file:   Open-ILS/src/templates/opac/myopac/test_notification.tt2
modified:   Open-ILS/src/templates/opac/parts/header.tt2
modified:   Open-ILS/src/templates/opac/parts/js.tt2
modified:   Open-ILS/src/templates/staff/circ/patron/index.tt2
modified:   Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
new file:   Open-ILS/web/js/ui/default/opac/test_notification.js
modified:   Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoPINES Cust: Don't auto-open added content in staff client
Terran McCanna [Sat, 5 Jan 2019 00:22:30 +0000 (19:22 -0500)]
PINES Cust: Don't auto-open added content in staff client

Novelist and Syndetics content will still automatically open in
the OPAC but not in the staff client, which should improve client
performance.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agouncomment div to allow NoveList Select to work correctly
Chris Sharp [Wed, 27 Feb 2019 11:31:29 +0000 (06:31 -0500)]
uncomment div to allow NoveList Select to work correctly

6 years agoPINES Custom Default Spine & Pocket Label Template Code
Terran McCanna [Wed, 20 Feb 2019 20:10:37 +0000 (15:10 -0500)]
PINES Custom Default Spine & Pocket Label Template Code

This strips out old and unnecessary comments and code that is
no longer used after Adam's work is applied.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Custom UI Change: Date Field on Circ Screen
Terran McCanna [Wed, 6 Feb 2019 17:53:38 +0000 (12:53 -0500)]
PINES Custom UI Change: Date Field on Circ Screen

Forced size of custom date selector on checkout screen since
it is too small. This will probably be fixed differently in
master later, but this will help us for now.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Link to spine label documentation
Terran McCanna [Wed, 13 Feb 2019 23:27:27 +0000 (18:27 -0500)]
PINES Customization: Link to spine label documentation

To be added on top of Adam's spine label work.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1797973 - misc UI fixes where eg-org-selector expands too much
Cesar Velez [Tue, 16 Oct 2018 20:44:07 +0000 (16:44 -0400)]
LP#1797973 - misc UI fixes where eg-org-selector expands too much

The new template for the type-ahead OU selector needs to width bound
by a parent container, this adds one where needed.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

6 years agoLP1796945: More Accurate Joins in AngularJS IDL
Jason Boyer [Mon, 28 Jan 2019 14:45:35 +0000 (09:45 -0500)]
LP1796945: More Accurate Joins in AngularJS IDL

Currently all joins of all classes are hard-coded to
inner, which is clearly sub-optimal. This branch
tries to correct this by looking at the reltype param
on links.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
6 years agoLP#1642036 - Prevent race condition in Group Member Grid
Cesar Velez [Thu, 26 Jul 2018 21:39:36 +0000 (17:39 -0400)]
LP#1642036 - Prevent race condition in Group Member Grid

A timing condition was causing the setQuery() fnc to not
exist when called resulting in a blank group members grid.
A simple $timeout seems to address it.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

6 years agoadding xact rollback & begin
Chris Sharp [Wed, 23 Jan 2019 18:52:31 +0000 (13:52 -0500)]
adding xact rollback & begin

6 years agoRemoves red notice about emailed queue complete notice on LMOR.
Tiffany Little [Mon, 21 Jan 2019 16:29:27 +0000 (11:29 -0500)]
Removes red notice about emailed queue complete notice on LMOR.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
6 years agoReturns Activate PO ticky to LMOR
Tiffany Little [Mon, 21 Jan 2019 14:38:10 +0000 (09:38 -0500)]
Returns Activate PO ticky to LMOR

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
6 years agotypo correction
Chris Sharp [Sun, 20 Jan 2019 17:09:29 +0000 (12:09 -0500)]
typo correction

6 years agoadd copy alert perms to LocalAdmin and LibraryManager
Chris Sharp [Wed, 16 Jan 2019 15:53:13 +0000 (10:53 -0500)]
add copy alert perms to LocalAdmin and LibraryManager

6 years agoAdds documentation links to acqadmin menus
Tiffany Little [Thu, 10 Jan 2019 17:13:13 +0000 (12:13 -0500)]
Adds documentation links to acqadmin menus

Adds links to appropriate PINES wiki pages for remaining Dojo Acquisition administration menus. Additionally also marks required fields on Load MARC Order Records page.

6 years agoRemoves checkin date column
Tiffany Little [Tue, 15 Jan 2019 15:33:09 +0000 (10:33 -0500)]
Removes checkin date column

6 years agoRemoves Circ ID and fixes publisher
Tiffany Little [Thu, 10 Jan 2019 13:22:14 +0000 (08:22 -0500)]
Removes Circ ID and fixes publisher

6 years agoRemoves edition, due date, floating and holds count
Tiffany Little [Tue, 8 Jan 2019 15:58:04 +0000 (10:58 -0500)]
Removes edition, due date, floating and holds count

6 years agoRemoved auto-populate of column options in Item Bucket, individually outlined column...
Tiffany Little [Tue, 27 Nov 2018 16:27:14 +0000 (11:27 -0500)]
Removed auto-populate of column options in Item Bucket, individually outlined column options in alphabetical order.

6 years agoLP#1737800 - add delete action to pending patrons
Cesar Velez [Wed, 12 Dec 2018 22:43:35 +0000 (17:43 -0500)]
LP#1737800 - add delete action to pending patrons

This adds a way to remove a pending/staged user from
the pending users grid.

Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoremoving spine label printing feature
Chris Sharp [Tue, 15 Jan 2019 16:58:04 +0000 (11:58 -0500)]
removing spine label printing feature

6 years agoLP#1726568: expose circ lib and owning lib fields to spine/pocket labels
Galen Charlton [Thu, 15 Nov 2018 14:59:44 +0000 (09:59 -0500)]
LP#1726568: expose circ lib and owning lib fields to spine/pocket labels

This patch fleshes the item circulation library and owning library
fields so that spine/pocket labels can include the short name or
full name of the OU rather than just the ID.  As a consequence, the
following fields are now available for label templates:

* copy['call_number.owning_lib.id']
* copy['call_number.owning_lib.shortname']
* copy['call_number.owning_lib.name']
* copy['circ_lib.id']
* copy['circ_lib.shortname']
* copy['circ_lib.name']

If, for some reason, existing label templates intentionally use
copy['call_number.owning_lib'] or copy['circ_lib'] to include the numeric
ID of the OU on the label, they will need to be replaced with
copy['call_number.owning_lib.id'] or copy['circ_lib.id'] respectively.

To test
-------
[1] Apply the patch.
[2] Open the print labels window for an item and try including one
    or more of the new fields listed above; verify that the current
    value is displayed on the label preview.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoswitch around order, update already existing setting
Chris Sharp [Mon, 14 Jan 2019 15:35:33 +0000 (10:35 -0500)]
switch around order, update already existing setting

6 years agoadding several other post-upgrade tasks to script
Chris Sharp [Mon, 14 Jan 2019 15:12:44 +0000 (10:12 -0500)]
adding several other post-upgrade tasks to script

6 years agoLocalAdmin already has COPY_DELETE_WARNING.override
Chris Sharp [Mon, 14 Jan 2019 14:59:46 +0000 (09:59 -0500)]
LocalAdmin already has COPY_DELETE_WARNING.override

6 years agoCat1 already has COPY_DELETE_WARNING.override
Chris Sharp [Mon, 14 Jan 2019 14:45:06 +0000 (09:45 -0500)]
Cat1 already has COPY_DELETE_WARNING.override

6 years agoStaff already have CREATE_DUPLICATE_HOLDS perm
Chris Sharp [Mon, 14 Jan 2019 14:33:34 +0000 (09:33 -0500)]
Staff already have CREATE_DUPLICATE_HOLDS perm

6 years agomore typo corrections
Chris Sharp [Mon, 14 Jan 2019 14:28:25 +0000 (09:28 -0500)]
more typo corrections

6 years agoLocalAdmin already has EMERGENCY_CLOSING
Chris Sharp [Mon, 14 Jan 2019 14:22:11 +0000 (09:22 -0500)]
LocalAdmin already has EMERGENCY_CLOSING

6 years agotypo corrections
Chris Sharp [Mon, 14 Jan 2019 14:17:22 +0000 (09:17 -0500)]
typo corrections

6 years agoadding perms and settings for post-upgrade
Chris Sharp [Sun, 13 Jan 2019 16:44:55 +0000 (11:44 -0500)]
adding perms and settings for post-upgrade

6 years agoadding refressh of reporter.materialized_simple_record
Chris Sharp [Fri, 11 Jan 2019 23:03:53 +0000 (18:03 -0500)]
adding refressh of reporter.materialized_simple_record

6 years agotweak parent/guardian data update
Chris Sharp [Thu, 10 Jan 2019 12:23:42 +0000 (07:23 -0500)]
tweak parent/guardian data update

6 years agoPINES Fix to Search Results Title
McCanna [Tue, 8 Jan 2019 19:52:58 +0000 (14:52 -0500)]
PINES Fix to Search Results Title

Fixes problem where Search Results page title was overlapping
filter boxes.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoadding file to combine rbdigital installation
Chris Sharp [Tue, 8 Jan 2019 19:45:16 +0000 (14:45 -0500)]
adding file to combine rbdigital installation

6 years agoadding parent/guardian data
Chris Sharp [Tue, 8 Jan 2019 15:57:23 +0000 (10:57 -0500)]
adding parent/guardian data

6 years agoRemoves "Activate PO" ticky box on the Load MARC Order Records page.
Tiffany Little [Tue, 8 Jan 2019 14:47:49 +0000 (09:47 -0500)]
Removes "Activate PO" ticky box on the Load MARC Order Records page.

6 years agoLP#1714070 Patron parent/guardian field
Bill Erickson [Mon, 22 Oct 2018 00:10:19 +0000 (20:10 -0400)]
LP#1714070 Patron parent/guardian field

Adds a new dedicated patron parent/guardian field.  This field is
editable in the patron edit interface, displays in the patron summary
side bar on the browser client, and is search-able from the patron
search interface in the browser client.

Adds patron editor "show" and "suggest" library settings.

Also adds a new library setting
'ui.patron.edit.guardian_required_for_juv' ("GUI: Juvenile account
requires parent/guardian").  When this setting is applied, a value
will be required in the patron editor when the juvenile flag is active.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoPINES Cust: Make offline interface alerts bolder
Terran McCanna [Sat, 5 Jan 2019 01:22:17 +0000 (20:22 -0500)]
PINES Cust: Make offline interface alerts bolder

This overwrites the bootstrap CSS just for the offline
circulation page alerts boxes.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Custom: Redisplay print and email links on item record page
Terran McCanna [Sat, 5 Jan 2019 00:38:49 +0000 (19:38 -0500)]
PINES Custom: Redisplay print and email links on item record page

These were hidden in a previous patch because the functionality
wasn't there, but now that the functionality is working, adding
them back in.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1737800 - add delete action to pending patrons
Cesar Velez [Wed, 12 Dec 2018 22:43:35 +0000 (17:43 -0500)]
LP#1737800 - add delete action to pending patrons

This adds a way to remove a pending/staged user from
the pending users grid.

6 years agoPINES Customization: Patron Summary Link to Library
Terran McCanna [Tue, 11 Dec 2018 00:31:49 +0000 (19:31 -0500)]
PINES Customization: Patron Summary Link to Library

Turn patron home library name on the patron summary bar into
a link to the library's contact info page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoLP#1810296: Fix selfcheck patron password setting check
Chris Sharp [Wed, 2 Jan 2019 12:21:56 +0000 (07:21 -0500)]
LP#1810296: Fix selfcheck patron password setting check

Previously, the selfcheck ignored this setting if it was
set to "False", since the setting value is stored as text
and the truth test always succeeded.  Instead, explicitly
check that the setting is "True".

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoPINES Custom Hold Shelf Slip
Terran McCanna [Mon, 10 Dec 2018 19:43:07 +0000 (14:43 -0500)]
PINES Custom Hold Shelf Slip

Updated to include new preferred name at top of slip (when
present).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoadding perms for new copy alert features
Chris Sharp [Mon, 17 Dec 2018 17:48:24 +0000 (12:48 -0500)]
adding perms for new copy alert features