evergreen/pines.git
6 years agoLP#1787479: Adds customization for multipage print label printing and fixes the issue
Adam Bowling [Thu, 10 Jan 2019 07:05:50 +0000 (02:05 -0500)]
LP#1787479: Adds customization for multipage print label printing and fixes the issue
with saving templates after the change to DB saving from local storage.

Signed-off-by: Adam Bowling <abowling@emeralddata.net>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1787479: Relocate t_view.tt2 file
Kathy Lussier [Fri, 23 Nov 2018 14:07:26 +0000 (09:07 -0500)]
LP#1787479: Relocate t_view.tt2 file

Accidentally saved tt2 changes in last commit to the wrong directory. Fixing
it in this commit.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1787479: More layout changes
Kathy Lussier [Sat, 17 Nov 2018 18:56:12 +0000 (13:56 -0500)]
LP#1787479: More layout changes

Based on cataloger feedback, we 1) Moved the Label Set Configuration higher
grouped with the spine and spine/pocket options because all of these options
are related 2) Moved the starting label option higher because this is the
one setting that will probably be adjusted on each use of the interface and
3) Made the Gap Between Columns setting label conditional on whether the
user us printing to a sheet with label sets or not.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1787479: Make the display of some fields conditional on the Print Feed Option
Kathy Lussier [Wed, 14 Nov 2018 17:49:16 +0000 (12:49 -0500)]
LP#1787479: Make the display of some fields conditional on the Print Feed Option

Ideally, we would remove the entire Page Settings section for those who are
printing to a continuous feed printer, but it carries the risk of users
not being able to see a field with a value that is affecting the layout. However, there are several fields within that section that don't affect the
continuous feed layout and can be hidden in continuous feed mode. I also
adjusted one help tip to display different information for continuous and
sheet feed printing.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1787479: Make label names more descriptive
Kathy Lussier [Wed, 14 Nov 2018 02:07:19 +0000 (21:07 -0500)]
LP#1787479: Make label names more descriptive

As previously discussed on the cataloging list and the LP bug, the previous
label names of 'left' and 'right' no longer make sense since staff can
control the placement of these labels. However, label 1 and label 2 are too
generic. We therefore are going back to spine and pocket labels.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1787479: Some CSS and other formatting changes
Kathy Lussier [Tue, 13 Nov 2018 17:27:02 +0000 (12:27 -0500)]
LP#1787479: Some CSS and other formatting changes

Moved most of the CSS to cat.css.tt2; removed most borders since they aren't
needed as much without the full settings descriptions on the page; added some
more help text and removed Windows carriage returns.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1787479: Use help tips for settings descriptions
Kathy Lussier [Mon, 12 Nov 2018 18:04:02 +0000 (13:04 -0500)]
LP#1787479: Use help tips for settings descriptions

We are now using popup help tips for descriptions on this page. Adding these
help tips for the new settings added through this branch.

Also changes strings in this interface to translatable text.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1787479: Restore spacing fixes
Kathy Lussier [Mon, 12 Nov 2018 14:42:50 +0000 (09:42 -0500)]
LP#1787479: Restore spacing fixes

Restore spacing fixes introduced by Garry Collum that were overwritten with
the original branch.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoModified Evergreen custom print label toolbox with save modifications.
Adam Bowling [Fri, 9 Nov 2018 05:35:25 +0000 (00:35 -0500)]
Modified Evergreen custom print label toolbox with save modifications.

Signed-off-by: Adam Bowling <abowling@emeralddata.net>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoCustom label printing toolbox
Adam Bowling [Wed, 17 Oct 2018 20:15:44 +0000 (16:15 -0400)]
Custom label printing toolbox

Signed-off-by: Adam Bowling <abowling@emeralddata.net>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/staff/cat/printlabels/t_view.tt2

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

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

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

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

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

6 years agolp177677 Test Notification Method
Kyle Huckins [Thu, 12 Jul 2018 15:40:33 +0000 (15:40 +0000)]
lp177677 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

6 years agoLP#1749475: Allow control (and propagation) of the sort direction on print/email... lp-1749475-print_email_improvements
Mike Rylander [Wed, 23 Jan 2019 18:46:46 +0000 (13:46 -0500)]
LP#1749475: Allow control (and propagation) of the sort direction on print/email; Silence log message in SendEmail reactor.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1749475: Propagate sort option from anonymous buckets
Mike Rylander [Fri, 18 Jan 2019 17:31:43 +0000 (12:31 -0500)]
LP#1749475: Propagate sort option from anonymous buckets

Signed-off-by: Mike Rylander <mrylander@gmail.com>
6 years agoLP#1749475: OPAC email/print record improvements
Mike Rylander [Thu, 1 Nov 2018 21:56:09 +0000 (17:56 -0400)]
LP#1749475: OPAC email/print record improvements

This commit provides new functionality for controlling and delivering print
and email bibliographic record export options.

Staff will be able to adjust existing and create new print and email formats
using the Action/Trigger infrastructure and the new Event Definition Group
capability.

Patrons will be able to choose from one of several formats, as configured by
staff, in which to receive one or more bibliographic records.  Print and email
preview is made available for individual records via the existing links on the
record detail page, and for lists of records via new entry points on both the
Basket (anonymous list) and My Lists interfaces.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
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 agoForward-port 3.2.3 upgrade script
Dan Wells [Tue, 22 Jan 2019 19:33:08 +0000 (14:33 -0500)]
Forward-port 3.2.3 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
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 agoLP#1812698 - Fix broken pubdate display
Chris Sharp [Mon, 21 Jan 2019 16:49:54 +0000 (11:49 -0500)]
LP#1812698 - Fix broken pubdate display

reporter.simple_record, which is now used more
extensively for bib display, had a copy-paste error
originating in 2014 that now gets corrected.

Signed-off-by: Chris Sharp <csharp@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 agoLP1783421 - Make Copy Alerts permission not global
James Fournie [Thu, 17 Jan 2019 21:23:12 +0000 (13:23 -0800)]
LP1783421 - Make Copy Alerts permission not global

For some reason copy alerts require global permissions.  Instead
update the IDL for asset.active_copy_alert and asset.copy_alert to
require {CREATE,VIEW,UPDATE,DELETE}_COPY_ALERT perms only as far as
they are scoped for the circ lib of the copy.

Signed-off-by: James Fournie <jfournie@vcc.ca>
6 years agoRevert "LP#1746360 Record Bucket Missing Deleted and Edition Columns"
Chris Sharp [Wed, 16 Jan 2019 23:12:58 +0000 (18:12 -0500)]
Revert "LP#1746360 Record Bucket Missing Deleted and Edition Columns"

This reverts commit 3730fc8f0146cbb44ce8722defec2d8a5af19d86.

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 agoLP#1746360 Record Bucket Missing Deleted and Edition Columns
McCanna [Wed, 7 Nov 2018 17:33:42 +0000 (12:33 -0500)]
LP#1746360 Record Bucket Missing Deleted and Edition Columns

Added deleted and edition columns to the record bucket grid.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
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#1779467: Fix 'Dicard' typo
Kathy Lussier [Fri, 23 Nov 2018 21:07:24 +0000 (16:07 -0500)]
LP#1779467: Fix 'Dicard' typo

Signed-off-by: Kathy Lussier <klussier@masslnc.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

6 years agoPINES CSS Customizations
Terran McCanna [Wed, 12 Dec 2018 17:14:54 +0000 (12:14 -0500)]
PINES CSS Customizations

Restores previous CSS customizations that got knocked out
somewhere along the way.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoOffline Interface: Display text for non-cataloged items
McCanna [Thu, 13 Dec 2018 16:29:04 +0000 (11:29 -0500)]
Offline Interface: Display text for non-cataloged items

When a non-cataloged item is checked out, display preview
text instead of a blank barcode.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Customization: Alert when no hold notification options
Terran McCanna [Mon, 10 Dec 2018 19:17:42 +0000 (14:17 -0500)]
PINES Customization: Alert when no hold notification options

Present an alert if no notification options are selected in
both the OPAC and web staff client.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Custom: Adjust top menu bar in OPAC for baskets
Terran McCanna [Mon, 10 Dec 2018 20:58:39 +0000 (15:58 -0500)]
PINES Custom: Adjust top menu bar in OPAC for baskets

- Adjust spacing so that the basket doesn't go off the edge of the
menu bar.
- Add responsive code as well.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Custom Offline Checkout and Renew Receipts
Terran McCanna [Mon, 10 Dec 2018 20:36:05 +0000 (15:36 -0500)]
PINES Custom Offline Checkout and Renew Receipts

- Correct due date to not show due time.
- Show 'Non-cataloged Item' text when there is no barcode.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoPINES Custom fix for Patron Self Registration Form DOB Validation
Terran McCanna [Fri, 7 Dec 2018 22:10:16 +0000 (17:10 -0500)]
PINES Custom fix for Patron Self Registration Form DOB Validation

This moved away from master at some point. This patch brings it back
in line along with correcting a dob format checking error.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoadding new post-upgrade script
Chris Sharp [Sat, 17 Nov 2018 12:59:57 +0000 (07:59 -0500)]
adding new post-upgrade script

6 years agoLP 1779467: Fix Error When Marking Item on Hold as Discard/Weed
Jason Stephenson [Mon, 12 Nov 2018 14:17:11 +0000 (09:17 -0500)]
LP 1779467: Fix Error When Marking Item on Hold as Discard/Weed

Fix the following error when marking an on-hold item as Discard/Weed:

Can't use an undefined value as an ARRAY reference at
/usr/local/share/perl/5.18.2/OpenILS/Application/Circ.pm line 1393.

Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP 1779467: Fix typo in circ/renew/app.js.
Jason Stephenson [Mon, 12 Nov 2018 14:03:31 +0000 (09:03 -0500)]
LP 1779467: Fix typo in circ/renew/app.js.

Had copyies for copies in one location and this prevented marking an
item as Discard/Weed from working on the renew item interface.

Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP 1779467: Fix SyntaxError: missing ) after argument list
Jason Stephenson [Mon, 5 Nov 2018 21:38:48 +0000 (16:38 -0500)]
LP 1779467: Fix SyntaxError: missing ) after argument list

Missing parenthesis in Open-ILS/web/js/ui/default/staff/cat/catalog/app.js
caused the titular error when searching the catalog.

Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP 1779467: Enhance Mark Items Functionality
Jason Stephenson [Sat, 27 Oct 2018 19:48:54 +0000 (15:48 -0400)]
LP 1779467: Enhance Mark Items Functionality

A new option to "Mark Item as Discard/Weed" is added to many actions
menus in the staff client.  This command is connected to the back end
function open-ils.circ.mark_item_discard.

The back end functionality for the open-ils.circ.mark_item_* family of
functions is altered to provide more consistent behavior and to avoid
some strange situations that have come up in the past, such as items
with the Missing status having active transits or open circulations.

The code for "Mark Item as Damaged" and "Mark Item as Missing" are
altered to take advantage of the back end changes.  NB: These changes
do not affect the "Mark Item as Missing Pieces" function, as that is
handled by different back end code.

Perl live tests are added for the backend functionality changes to
test that certain conditions works.  Like most of our tests these
could be expanded to cover more potential situations.

See the release notes for more detail on changes in functionality.

Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoPINES Cust: Fix layout for Patron Edit Form
McCanna [Mon, 5 Nov 2018 18:18:46 +0000 (13:18 -0500)]
PINES Cust: Fix layout for Patron Edit Form

Readjustments to previous customizations that no longer work
properly with 3.2. Also added links to relevant documentation.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
6 years agoPINES OPAC fix to My Lists
McCanna [Mon, 5 Nov 2018 20:14:49 +0000 (15:14 -0500)]
PINES OPAC fix to My Lists

Removes incomplete IF statement that caused page not to load.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
6 years agoremove post-upgrade script
Chris Sharp [Sun, 21 Oct 2018 22:32:05 +0000 (18:32 -0400)]
remove post-upgrade script

6 years agoPINES doesn't use LoC bib source
Chris Sharp [Sat, 20 Oct 2018 22:03:07 +0000 (18:03 -0400)]
PINES doesn't use LoC bib source

6 years agodrop triggers first
Chris Sharp [Sat, 20 Oct 2018 20:15:02 +0000 (16:15 -0400)]
drop triggers first

6 years agocreate index only if not exists
Chris Sharp [Sat, 20 Oct 2018 17:03:28 +0000 (13:03 -0400)]
create index only if not exists

6 years agoLP#793802 Billing/payment purge improvements
Bill Erickson [Wed, 26 Sep 2018 21:22:11 +0000 (17:22 -0400)]
LP#793802 Billing/payment purge improvements

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#793802 Aged billings/payments release notes
Bill Erickson [Fri, 21 Sep 2018 19:56:25 +0000 (15:56 -0400)]
LP#793802 Aged billings/payments release notes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#793802 Aged billings/payments PGTAP tests
Bill Erickson [Fri, 21 Sep 2018 19:53:23 +0000 (15:53 -0400)]
LP#793802 Aged billings/payments PGTAP tests

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#793802 Add money.all_[payments|billings] views
Bill Erickson [Mon, 24 Sep 2018 14:33:13 +0000 (10:33 -0400)]
LP#793802 Add money.all_[payments|billings] views

Similar to money.all_circulation_slim, add views to collect data from
both active and aged versions of the payment and billing tables.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#793802 Aged billings and payments
Bill Erickson [Fri, 21 Sep 2018 18:53:33 +0000 (14:53 -0400)]
LP#793802 Aged billings and payments

Creates tables money.aged_billing and money.aged_payment.  When a
circulation is aged, billings/payments linked to the circ are migrated
to the aged_* table.

Upgrade script includes a migration script for migrating existing
billings and payments.

Includes IDL entries for reporting and pcrud access just in case it's
needed.  Note the 'xact' column on these new tables links directly to
the aged circulation instead of the non-existent money.billable_xact.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoAdd fix for PG segfaults during reingest.
Chris Sharp [Mon, 10 Sep 2018 20:37:11 +0000 (16:37 -0400)]
Add fix for PG segfaults during reingest.

Also add inline docs.

6 years agofix eg version in post upgrade script
Chris Sharp [Mon, 10 Sep 2018 01:18:37 +0000 (21:18 -0400)]
fix eg version in post upgrade script

6 years agoremove z3950 update for LoC
Chris Sharp [Sun, 9 Sep 2018 18:13:19 +0000 (14:13 -0400)]
remove z3950 update for LoC

6 years agofix out-of-sync id sequence
Chris Sharp [Sun, 9 Sep 2018 16:32:27 +0000 (12:32 -0400)]
fix out-of-sync id sequence

6 years agodrop reporter.copy_statistics_view for upgrade to work
Chris Sharp [Sun, 9 Sep 2018 14:40:24 +0000 (10:40 -0400)]
drop reporter.copy_statistics_view for upgrade to work

6 years agoLP#1672346 - Copy Statistics View
Chris Sharp [Sun, 8 Oct 2017 02:44:49 +0000 (22:44 -0400)]
LP#1672346 - Copy Statistics View

Certain third-party products such as collection development
management providers require copy statistics that are not
readily available in a single report.  This view adds those,
which will also benefit library staff reports generally.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoadd pre-3.2-upgrade script
Chris Sharp [Sat, 8 Sep 2018 20:36:36 +0000 (16:36 -0400)]
add pre-3.2-upgrade script

6 years agoadding 3.1-3.2 upgrade script
Chris Sharp [Sat, 8 Sep 2018 20:02:02 +0000 (16:02 -0400)]
adding 3.1-3.2 upgrade script

6 years agomove reingests to the end
Chris Sharp [Sat, 8 Sep 2018 20:00:49 +0000 (16:00 -0400)]
move reingests to the end

6 years agoLP#1772062: prevent copy template apply failure on null stat cats and non-null statca...
Jeff Davis [Fri, 8 Jun 2018 19:09:54 +0000 (12:09 -0700)]
LP#1772062: prevent copy template apply failure on null stat cats and non-null statcat filter

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
6 years agoadd iOS link to OPAC footer
Chris Sharp [Fri, 24 Aug 2018 16:21:56 +0000 (12:21 -0400)]
add iOS link to OPAC footer

6 years agoLP#1738249: further fix to checkout workstation
Galen Charlton [Tue, 6 Feb 2018 21:44:32 +0000 (16:44 -0500)]
LP#1738249: further fix to checkout workstation

Since accs.checkout_workstation contains the workstation associated
with the initial loan (and not any subsequent renewals), use that.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1738249 - Fix checkout_workstation display issue
Cesar Velez [Thu, 25 Jan 2018 17:50:59 +0000 (12:50 -0500)]
LP#1738249 - Fix checkout_workstation display issue

Addresses the issue with checkout workstation, by
attaching as a object property to the flatCopy hash.
Also makes sure the pcrud call uses combcirc.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP#1788260 - Break out in-house-use non-cat circulations.
Chris Sharp [Tue, 21 Aug 2018 18:22:05 +0000 (14:22 -0400)]
LP#1788260 - Break out in-house-use non-cat circulations.

Previously, all non-cataloged circulations were grouped
together, causing problems for libraries who need to
exclude in-house circulations from circ counts.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoLP#1785887 edi_order_pusher.pl sets message account
Bill Erickson [Tue, 7 Aug 2018 20:26:27 +0000 (16:26 -0400)]
LP#1785887 edi_order_pusher.pl sets message account

Apply the edi_message.account value when sending EDI order messages via
edi_order_pusher.pl.  This solves a problem where EDI ORDERS message
were not visible in the interface, because there was no way to complete
the permission check.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1743650: Bib vis testing needs different handling
Mike Rylander [Tue, 16 Jan 2018 23:54:47 +0000 (18:54 -0500)]
LP#1743650: Bib vis testing needs different handling

For bib-level visibility testing, we can only use the source helper for
positive inclusion, and have to deal with LURIs on a case-by-case basis.
This is because, unlike the copy visibility cache, the LURI cache is pre-
composed in a single value for all LURIs on a record, not separate ones
for each.  This is fine, as we just need to find the effectively visible
org units and test for that subset of the relevant orgs. This commit provides
a sub to test for that, and handles LURI test composition at the perl
level rather than in the database.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>