evergreen/pines.git
20 months agoLP1929593 UPDATE_COPY_BARCODE permission
Jason Etheridge [Tue, 24 Jan 2023 13:29:33 +0000 (08:29 -0500)]
LP1929593 UPDATE_COPY_BARCODE permission

This adds the permission UPDATE_COPY_BARCODE and a new API call,

  open-ils.cat.update_copy_barcode

which explicitly tests for both UPDATE_COPY_BARCODE and UPDATE_COPY,
with either being sufficient for allowing a barcode change.  Existing
Replace Barcode UI's in both Angular and AngularJS have been modified
to use this API call instead of the pcrud service.  One side-effect of
this has been better surfacing of errors, as errors in pcrud were
uncaught and bypassing the normal error handling.  This addresses
LP1951469.

The upgrade script gives any permission groups that already have the
UPDATE_COPY permission the new UPDATE_COPY_BARCODE permission at the
same depth, though it's technically not needed.

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
21 months agoPINEScustomization_LIsearchPOname
Tiffany Little [Mon, 27 Mar 2023 14:03:35 +0000 (10:03 -0400)]
PINEScustomization_LIsearchPOname

PO Name column in LI search goes directly to PO without LI fragment

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
21 months agoLP#2007880: fix open-ils.actor.ou_setting.ancestor_default
Galen Charlton [Mon, 20 Feb 2023 23:35:10 +0000 (18:35 -0500)]
LP#2007880: fix open-ils.actor.ou_setting.ancestor_default

This patch fixes a regression introduced by bug 2006749 that
prevented open-ils.actor.ou_setting.ancestor_default from retrieving
the value of a library setting that does not have a view permission
associated with it. It also fixes a similar issue with
open-ils.actor.org_unit.settings.history.retrieve.

To test
-------
[1] Use srfsh to retrieve the value of a library setting
    that does not have a view permission. E.g.,

    request open-ils.actor open-ils.actor.ou_setting.ancestor_default 4, "circ.grace.extend"

    Note that an error is returned.

[2] Apply the patch and repeat step 1. This time, the value of
    the setting should be returned.
[3] Verify that viewing the edit history of a setting in the
    Library Settings admin page works as expected.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP2006749: Fix second call to ou_ancestor_setting_perm_check in AppUtils.pm
Chris Sharp [Thu, 9 Feb 2023 18:31:26 +0000 (13:31 -0500)]
LP2006749: Fix second call to ou_ancestor_setting_perm_check in AppUtils.pm

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
21 months agoLP#2006749: Fix call to ou_ancestor_setting_perm_check in AppUtils.pm
Jason Stephenson [Thu, 9 Feb 2023 16:22:58 +0000 (11:22 -0500)]
LP#2006749: Fix call to ou_ancestor_setting_perm_check in AppUtils.pm

The $self and $e arguments are missing when the ou_ancestor_setting
subroutine calls ou_ancestor_setting_perm_check in AppUtils.

The $coust argument also need to be $coust->view_perm->code for the
allowed check in ou_ancestor_setting_perm_check.

This commit corrects the call to ou_ancestor_setting_perm_check.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
21 months agoPINES - Stripe warning message
Terran McCanna [Wed, 22 Mar 2023 16:15:19 +0000 (12:15 -0400)]
PINES - Stripe warning message

Adds message to OPAC about paying in person if their online
payment does not work.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
21 months agoLP#1369345: de-duplicate ILS events
Chris Sharp [Wed, 8 Mar 2023 16:25:01 +0000 (11:25 -0500)]
LP#1369345: de-duplicate ILS events

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
21 months agoRevert "LP#1999944: fix bug that can break drawing the folder tree for reports"
Chris Sharp [Fri, 3 Mar 2023 18:05:33 +0000 (13:05 -0500)]
Revert "LP#1999944: fix bug that can break drawing the folder tree for reports"

This reverts commit c4302618ef36608916a61990a8841c1eee4d618a.

21 months agoLP #1998494: Angular Holdings Editor: Cannot create empty call numbers
Jessica Woolford [Fri, 9 Dec 2022 15:32:25 +0000 (10:32 -0500)]
LP #1998494: Angular Holdings Editor: Cannot create empty call numbers

Returns support for adding empty call numbers when adding holdings.

Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
Signed-off-by: Mary Llewelln <mllewell@biblio.org>
Signed-off-by: Elaine Hardy <ehardy@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
22 months agotypo fix
Chris Sharp [Thu, 23 Feb 2023 20:25:09 +0000 (15:25 -0500)]
typo fix

22 months agoLP2006513 Angular login redirect repair
Bill Erickson [Wed, 22 Feb 2023 18:55:06 +0000 (13:55 -0500)]
LP2006513 Angular login redirect repair

The routeTo parameter must contain an eg2-based path (/staff/splash)
and not a full path (/eg2/staff/splash) or URL.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
22 months agoLP#1999944: fix bug that can break drawing the folder tree for reports
Llewellyn Marshall [Fri, 9 Dec 2022 20:40:54 +0000 (15:40 -0500)]
LP#1999944: fix bug that can break drawing the folder tree for reports

Specifically, skip drawfolders iteration if parent node cannot be
found and eport invalid parent folder in the browser console.

For example, if a user creates a template folder that is not shared
that has a child folder that _is_ shared, another user at the library
that the folder is shared with would see their report folders be
incompletely rendered.

Signed-off-by: Llewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
22 months agoPINEScustomization_LI_id_links
Tiffany Little [Thu, 2 Feb 2023 13:34:32 +0000 (08:34 -0500)]
PINEScustomization_LI_id_links

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
22 months agoLP2003947 Add LID count to Acq Search
Tiffany Little [Mon, 30 Jan 2023 18:52:58 +0000 (13:52 -0500)]
LP2003947 Add LID count to Acq Search

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
22 months agoRevert "attempt to stop warnings"
Chris Sharp [Wed, 1 Feb 2023 15:22:37 +0000 (10:22 -0500)]
Revert "attempt to stop warnings"

This reverts commit 2a1259be365ea6ccd0ac493df01e233952c53612.

22 months agoattempt to stop warnings
Chris Sharp [Wed, 1 Feb 2023 15:12:38 +0000 (10:12 -0500)]
attempt to stop warnings

22 months agoLP#2004420: check that $note is defined before using it
Chris Sharp [Tue, 31 Jan 2023 19:59:18 +0000 (14:59 -0500)]
LP#2004420: check that $note is defined before using it

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
22 months agoLP#2004420: remove debugging artifact causing WARN messages.
Chris Sharp [Wed, 1 Feb 2023 14:19:07 +0000 (09:19 -0500)]
LP#2004420: remove debugging artifact causing WARN messages.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
22 months agoLP#2004420: check that $note is defined before using it
Chris Sharp [Tue, 31 Jan 2023 19:59:18 +0000 (14:59 -0500)]
LP#2004420: check that $note is defined before using it

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
22 months agoquiet the logs
Chris Sharp [Tue, 31 Jan 2023 18:23:11 +0000 (13:23 -0500)]
quiet the logs

22 months agomore warn log quieting
Chris Sharp [Tue, 31 Jan 2023 18:14:32 +0000 (13:14 -0500)]
more warn log quieting

22 months agoquiet more useless warnings
Chris Sharp [Tue, 31 Jan 2023 18:11:57 +0000 (13:11 -0500)]
quiet more useless warnings

22 months agoquiet more unnecessary warn logs
Chris Sharp [Tue, 31 Jan 2023 18:06:03 +0000 (13:06 -0500)]
quiet more unnecessary warn logs

22 months agomore log fixes
Chris Sharp [Mon, 30 Jan 2023 19:20:24 +0000 (14:20 -0500)]
more log fixes

22 months agoRevert "more log warning fixes"
Chris Sharp [Mon, 30 Jan 2023 18:51:51 +0000 (13:51 -0500)]
Revert "more log warning fixes"

This reverts commit a6c0358f8a720b79e6810adfec04041585163508.

22 months agomore warnlog fixes
Chris Sharp [Mon, 30 Jan 2023 18:48:56 +0000 (13:48 -0500)]
more warnlog fixes

22 months agomore log warning fixes
Chris Sharp [Mon, 30 Jan 2023 18:42:54 +0000 (13:42 -0500)]
more log warning fixes

22 months agomore log quieting measures
Chris Sharp [Mon, 30 Jan 2023 18:32:29 +0000 (13:32 -0500)]
more log quieting measures

22 months agoquiet logs when authtoken doesn't exist
Chris Sharp [Mon, 30 Jan 2023 18:03:42 +0000 (13:03 -0500)]
quiet logs when authtoken doesn't exist

23 months agosuggested change from berick for dealing with bad auth calls
Chris Sharp [Fri, 27 Jan 2023 20:40:31 +0000 (15:40 -0500)]
suggested change from berick for dealing with bad auth calls

23 months agoRevert "attempted fix of null token perm calls"
Chris Sharp [Fri, 27 Jan 2023 20:38:33 +0000 (15:38 -0500)]
Revert "attempted fix of null token perm calls"

This reverts commit 54738e6d27adf77f4868ba4d5b1f7f586a7781b0.

23 months agoRevert "attempted fix of null token perm calls - small tweak"
Chris Sharp [Fri, 27 Jan 2023 20:38:18 +0000 (15:38 -0500)]
Revert "attempted fix of null token perm calls - small tweak"

This reverts commit d1c82bae2dfbf010992ca41963777b1148b50549.

23 months agoPINEScustomization Change invoice PO link
Tiffany Little [Thu, 26 Jan 2023 15:06:03 +0000 (10:06 -0500)]
PINEScustomization Change invoice PO link

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
23 months agoLP2003946 LI ID in Search jumps to item detail page
Tiffany Little [Thu, 26 Jan 2023 14:18:01 +0000 (09:18 -0500)]
LP2003946 LI ID in Search jumps to item detail page

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
23 months agoLP2003973 Remove perm checks from acq copy-attrs
Tiffany Little [Thu, 26 Jan 2023 18:05:03 +0000 (13:05 -0500)]
LP2003973 Remove perm checks from acq copy-attrs

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
23 months agoFix OpenAthens auth redirection to resource
Chris Sharp [Mon, 23 Jan 2023 21:31:00 +0000 (16:31 -0500)]
Fix OpenAthens auth redirection to resource

23 months agoLP#2003090 Angular Daily Cash Report Missing Print Capability
Dan Briem [Mon, 23 Jan 2023 02:19:13 +0000 (21:19 -0500)]
LP#2003090 Angular Daily Cash Report Missing Print Capability

Administration->Local Administration->Cash Reports

Add a print button to the Desk and Staff User Payment grids to
print the org, date range, totals, and full list.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
23 months agoPINES - remove extraneous code for carousel bucket problem
Terran McCanna [Thu, 19 Jan 2023 18:10:12 +0000 (13:10 -0500)]
PINES - remove extraneous code for carousel bucket problem

This removes a bit of code that got into the PINES version that
is not in master.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoLP#1996818 Issues Placing Holds from the Patron Record
Dan Briem [Thu, 19 Jan 2023 15:33:00 +0000 (10:33 -0500)]
LP#1996818 Issues Placing Holds from the Patron Record

This clears the patron hold target cookie when navigating from
the staff/catalog route, when the window is closed, and when
holds are successfully placed.

This also changes the AngularJS patron interface to set the
same session cookie as the Angular interface.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
23 months agoattempted fix of null token perm calls - small tweak
Chris Sharp [Thu, 19 Jan 2023 15:56:40 +0000 (10:56 -0500)]
attempted fix of null token perm calls - small tweak

23 months agoattempted fix of null token perm calls
Chris Sharp [Thu, 19 Jan 2023 15:44:19 +0000 (10:44 -0500)]
attempted fix of null token perm calls

23 months agolp1988321 - attempt to cast integer to string
Chris Sharp [Tue, 17 Jan 2023 16:02:57 +0000 (11:02 -0500)]
lp1988321 - attempt to cast integer to string

23 months agoLP2002920 Batch updater not updating circ mod
Tiffany Little [Sun, 15 Jan 2023 21:44:52 +0000 (16:44 -0500)]
LP2002920 Batch updater not updating circ mod

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
23 months agoPINES Preferred Name on Hold Shelf Slip
Terran McCanna [Sun, 15 Jan 2023 16:40:59 +0000 (11:40 -0500)]
PINES Preferred Name on Hold Shelf Slip

Fixes typo in previous customization

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoECARD - Temp workaround for charges page bug
Terran McCanna [Sun, 15 Jan 2023 16:32:30 +0000 (11:32 -0500)]
ECARD - Temp workaround for charges page bug

Commenting out a line that's causing problems on OPAC My Account
pages when the patron has charges - will need additional work to
figure out why.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoremoving errant conflict artifact
Chris Sharp [Sun, 15 Jan 2023 15:51:41 +0000 (10:51 -0500)]
removing errant conflict artifact

23 months agoquiet warn logs from stat cat warnings
Chris Sharp [Sun, 15 Jan 2023 14:26:20 +0000 (09:26 -0500)]
quiet warn logs from stat cat warnings

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
23 months agoPINES - Copyright Warning on Cover Image Uploader Modal
Terran McCanna [Wed, 11 Jan 2023 16:16:12 +0000 (11:16 -0500)]
PINES - Copyright Warning on Cover Image Uploader Modal

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoLP#1990306: avoid VIEW_USER perm lookup on egPatronApp startup when we have a null...
Jeff Davis [Tue, 18 Oct 2022 19:42:26 +0000 (12:42 -0700)]
LP#1990306: avoid VIEW_USER perm lookup on egPatronApp startup when we have a null authtoken

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
23 months agoLP2002425 Add an owners limiter to acqpro idlQueryAnd
Tiffany Little [Wed, 11 Jan 2023 14:51:21 +0000 (09:51 -0500)]
LP2002425 Add an owners limiter to acqpro idlQueryAnd

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
23 months agoPINES - fix duplicated copy notes and tags in OPAC holdings view
Terran McCanna [Tue, 10 Jan 2023 20:43:57 +0000 (15:43 -0500)]
PINES - fix duplicated copy notes and tags in OPAC holdings view

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoQuipu - Temporarily hide renewal links until we are ready to roll out
Terran McCanna [Tue, 10 Jan 2023 17:30:33 +0000 (12:30 -0500)]
Quipu - Temporarily hide renewal links until we are ready to roll out

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoLP2002337 Pre-Fetch All Holds Checkbox Appears Twice
Terran McCanna [Mon, 9 Jan 2023 17:28:46 +0000 (12:28 -0500)]
LP2002337 Pre-Fetch All Holds Checkbox Appears Twice

Removes duplicate Pre-Fetch All Holds checkbox from the Angular
View Holds page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoPINES - Remove Simple Reports menu item from navbars
Tiffany Little [Mon, 9 Jan 2023 17:02:43 +0000 (12:02 -0500)]
PINES - Remove Simple Reports menu item from navbars

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
23 months agoLP1953181 Fix combobox div and funds spacing
Tiffany Little [Mon, 9 Jan 2023 17:41:21 +0000 (12:41 -0500)]
LP1953181 Fix combobox div and funds spacing

Removes input-prepend that was causing other comboboxes to be shrunk, and moves the year selector closer to the Library dropdown so it's not floating out by itself.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
23 months agoAdding missing function
Jessica Woolford [Tue, 13 Dec 2022 21:02:21 +0000 (16:02 -0500)]
Adding missing function

Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
23 months agoLP # 1814966: No popup warning for invalid barcode
Jessica Woolford [Tue, 13 Dec 2022 19:41:44 +0000 (14:41 -0500)]
LP # 1814966: No popup warning for invalid barcode

Adds a check for an invalid barcode if "Use Checkdigit" is selected.
Prevents saving if the check fails.

Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
23 months agoPINES - Tweaks to Carousel Display
Terran McCanna [Wed, 28 Dec 2022 16:13:18 +0000 (11:13 -0500)]
PINES - Tweaks to Carousel Display

Attempting to resolve a bug causing a long gap before a carousel
would restart. Also, adding a little padding under the title.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoPINES - fix merge issues with OPAC notification prefs page
Terran McCanna [Tue, 27 Dec 2022 17:37:06 +0000 (12:37 -0500)]
PINES - fix merge issues with OPAC notification prefs page

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoLP#1955079: Use Email::MIME for emailing records in the OPAC
Jane Sandberg [Thu, 5 May 2022 05:42:26 +0000 (22:42 -0700)]
LP#1955079: Use Email::MIME for emailing records in the OPAC

Email::Simple was mangling the headers.  Let's use Email::MIME instead.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Garry Collum <gcollum@gmail.com>
23 months agoPINES Custom - Re-add Email links to OPAC
Terran McCanna [Thu, 22 Dec 2022 17:56:26 +0000 (12:56 -0500)]
PINES Custom - Re-add Email links to OPAC

(Had previously removed due to bug LP#1955079)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoOnline Renewal - tweak expire date comparison
Terran McCanna [Tue, 27 Dec 2022 18:05:33 +0000 (13:05 -0500)]
Online Renewal - tweak expire date comparison

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
23 months agoLP1995418 Shelving location selector won't dropdown
Tiffany Little [Wed, 28 Dec 2022 14:44:26 +0000 (09:44 -0500)]
LP1995418 Shelving location selector won't dropdown

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
23 months agoLP1953181 Adds optional LabelText to eg-combobox
Tiffany Little [Thu, 29 Dec 2022 21:04:12 +0000 (16:04 -0500)]
LP1953181 Adds optional LabelText to eg-combobox

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
23 months agoLP1953181 Acq funds year dropdown
Tiffany Little [Thu, 29 Dec 2022 21:03:08 +0000 (16:03 -0500)]
LP1953181 Acq funds year dropdown

Returns the fiscal year to a dropdown on the Funds screen, and removes the autofilter on the Year column.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
23 months agoSQL: fix typo
Chris Sharp [Wed, 4 Jan 2023 02:03:09 +0000 (21:03 -0500)]
SQL: fix typo

23 months agoSQL: fix columns mismatch
Chris Sharp [Wed, 4 Jan 2023 02:01:54 +0000 (21:01 -0500)]
SQL: fix columns mismatch

2 years agoOnline Account Renewal - skip over update perm map
Terran McCanna [Thu, 22 Dec 2022 20:37:43 +0000 (15:37 -0500)]
Online Account Renewal - skip over update perm map

The subroutine for updating the perm map was failing and does not
appear to be necessary for an update in any of my testing so far.

The failure appears to be caused by confusion between
permission.usr_perm_map and permission.perm_list, possibly due to
the way the tables are mapped.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoQuipu Online Account Renewal - Fixes for Address Validation
Terran McCanna [Wed, 21 Dec 2022 22:12:58 +0000 (17:12 -0500)]
Quipu Online Account Renewal - Fixes for Address Validation

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoPINES - fix opac copy table layout issue
Terran McCanna [Wed, 21 Dec 2022 14:24:24 +0000 (09:24 -0500)]
PINES - fix opac copy table layout issue

Removes excess </td> leftover from a merge, clean up code spacing

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoLP#1996651: treat empty string as null for preferred name/alias in wide_hold_data
Jeff Davis [Tue, 15 Nov 2022 23:11:49 +0000 (15:11 -0800)]
LP#1996651: treat empty string as null for preferred name/alias in wide_hold_data

This prevents the patron name from appearing blank in the hold shelf
"User Display Name" or "User Alias or Display Name" columns when the
alias or preferred name fields are empty strings.

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
2 years agoPINES merge fix for record details page
Terran McCanna [Tue, 20 Dec 2022 23:51:34 +0000 (18:51 -0500)]
PINES merge fix for record details page

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoPINES Carousel Title Link Tweak
Terran McCanna [Tue, 20 Dec 2022 22:51:28 +0000 (17:51 -0500)]
PINES Carousel Title Link Tweak

This corrects a problem where relative depth wasn't always working.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoPINES - replace Evergreen logo with PINES logo on staff client portal
Terran McCanna [Tue, 20 Dec 2022 19:11:28 +0000 (14:11 -0500)]
PINES - replace Evergreen logo with PINES logo on staff client portal

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoLP1915440 Clear Hopeless Date on Capture
Bill Erickson [Mon, 8 Aug 2022 18:04:55 +0000 (14:04 -0400)]
LP1915440 Clear Hopeless Date on Capture

Clear the hold hopeless date when a copy is captured for the hold.

One way to make this happen for testing:

. Configure the Missing copy status as holdable=true hopeless_prone=true
. Place hold with only 1 viable copy.
. Mark said copy as missing -- this stamps a hopeless_date on the hold.
. Check the copy in.  This results in a capture + hopeless hold.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoPINES - Remove link to illustrator web site
Terran McCanna [Tue, 20 Dec 2022 19:15:13 +0000 (14:15 -0500)]
PINES - Remove link to illustrator web site

Site no longer exists.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoPINES - Reports interface - add class and docs links
Terran McCanna [Tue, 20 Dec 2022 19:00:27 +0000 (14:00 -0500)]
PINES - Reports interface - add class and docs links

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoSQL: add erenew changes
Chris Sharp [Wed, 21 Dec 2022 13:11:58 +0000 (08:11 -0500)]
SQL: add erenew changes

2 years agoLP1991801 Reload page on same navigation
Tiffany Little [Mon, 19 Dec 2022 20:26:29 +0000 (15:26 -0500)]
LP1991801 Reload page on same navigation

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
2 years agoSQL: add more items to update
Chris Sharp [Mon, 19 Dec 2022 19:11:58 +0000 (14:11 -0500)]
SQL: add more items to update

2 years agoSQL: enable global flag for expired staff login:wq
Chris Sharp [Mon, 19 Dec 2022 19:06:27 +0000 (14:06 -0500)]
SQL: enable global flag for expired staff login:wq

2 years agoSQL: add post-upgrade script
Chris Sharp [Mon, 19 Dec 2022 18:56:50 +0000 (13:56 -0500)]
SQL: add post-upgrade script

2 years agoLP1999410 Move LI loading progress bar
Tiffany Little [Fri, 16 Dec 2022 20:24:37 +0000 (15:24 -0500)]
LP1999410 Move LI loading progress bar

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
2 years agoLP1991801 Refresh PO after activation
Tiffany Little [Fri, 16 Dec 2022 20:36:00 +0000 (15:36 -0500)]
LP1991801 Refresh PO after activation

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
2 years agoLP1999544 Also fixes fund dropdown in PO charges
Tiffany Little [Fri, 16 Dec 2022 20:55:21 +0000 (15:55 -0500)]
LP1999544 Also fixes fund dropdown in PO charges

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
2 years agoLPXXXX Potential fix for funds dropdown upgrade bug
Tiffany Little [Mon, 12 Dec 2022 21:01:27 +0000 (16:01 -0500)]
LPXXXX Potential fix for funds dropdown upgrade bug

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
2 years agoPINES customization - LMOR required fields
Tiffany Little [Mon, 12 Dec 2022 15:07:36 +0000 (10:07 -0500)]
PINES customization - LMOR required fields

Updates the requiredness of fields on the Load MARC Order Records Angular page

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
2 years agoQuipu Online Account Renewal - Squashed
Terran McCanna [Thu, 5 Aug 2021 22:36:17 +0000 (18:36 -0400)]
Quipu Online Account Renewal - Squashed

Online Renewal - Start of working branch

- Creates placeholders for new English & Spanish pages
- Adds ability for those pages to load
- Create div on My Account main page & prefs page to hold renewal message or button
- Adds code to check whether or not patron is eligible to renew online or not:
* patron has not already had one temporary renewal
* patron account is still active
* patron account expiration date is no more than 30 days in the future
* patron account is not barred
* patron account does not have a staff-added blocking alert
* patron does not owe any fines
* patron is not in collections (even if patron pays fines, staff still need
to remove collections note)
* patron is in one of these perm groups: Patron (2), Friend (14), GLS (56),
Homebound (53), Trustee (22), Quipu (64), Digital Only (60)
* patron has a valid billing address
* patron has a valid day phone

NOTE: New standing penalty needs to be created called PATRON_TEMP_RENEWAL.
It should display a staff alert and have the label "Patron was given a 30-day temporary account renewal. Please archive this message after the account is fully renewed." It should not create any type of block on its own. The ID of
the new standing penalty needs to be updated in the Account.pm file.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Add standing penalty

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal: Flesh out patron info in API

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Create new API instead of piggybacking on vital_stats

New api: open-ils.actor.user.opac.renewal

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Create page to hold embedded form

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - First stab at adding erenew to Ecard.pm

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
typo fix

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
further typo fix

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
even further typo fix

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
even FURTHER typo fix

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
declare the variable, and update it if needed

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
declare the variable once, then update the values

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Online Renewal - Remove old subroutines we don't use

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Add page routing to EGCatLoader

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Retrieve patron then update fields to push back

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Exceptions for temp renewal

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Fix msg declaration error

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Get URL path in a different way

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - fix typos

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Progress on writing quipu into to db

Still to do:
* Actor.pm - failing on standing penalties line 597
* sub update_addresses - creating separate addresses works if mailing & billing are different,
   but it is not checking the right checkbox
* writing new home ou is failing on terran-test, but should work on pines data
* after update, opac page doesn't refresh
* if this is a temporary (30 day) renewal, need to pass message to quipu telling patron to come to the library
* if temp renewal, need to add alert to patron account to inform staff to get proof of identity to do full renewal
* need to test voter registration survey on pines test server since I don't have that on my test server

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Show Updated Expire Date

Without this, the page loads the initial patron expiration date
and continues to show the button to renew the account.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Document which patron groups are eligible in code

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Now saving and responding okay

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
add column to permission.grp_tree to account for e-renew

Online Renewal - tweak SQL

- Parentheses on first SQL generated error.
- Set erenew default to FALSE instead of TRUE.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - See & update permission group setting through staff client

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Tweak new standing penalty

The ID of the standing penalty has to be under 100 to prevent
staff from manually adding it to patron accounts through the
client interface.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Add Standing Penalty when Temp Renewal

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Use standing penalty names instead of IDs

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - add temp renewal flag to quipu response

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Remove perm group ID references

Look up permission groups by name or by e-renewal eligibility flag
instead of by specific permission group ID.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Got surveys working

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Progress on updating addresses

(still issues with checkmarks when changing from 1 to 2
addresses or from 2 to 1 address)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Got address changes to save in the right way

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - add date to quipu name keyword entry

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Add check for valid mailing address

Only allow renewal option if neither mailing nor billing
addresses have been marked invalid.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Cleanup

- Get rid of subroutine I didn't end up using
- Make sure a user is logged in before showing the renewal form.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Online Renewal - Prevent user from re-submitting renewal after complete

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoLP1999270_boldPaid
Tiffany Little [Fri, 9 Dec 2022 18:16:55 +0000 (13:16 -0500)]
LP1999270_boldPaid

Bolds the Paid indicator on line items

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
2 years agoLP1999268 PO Link to invoice should not retrieve closed invoices
Tiffany Little [Fri, 9 Dec 2022 16:58:19 +0000 (11:58 -0500)]
LP1999268 PO Link to invoice should not retrieve closed invoices

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
2 years agoOPAC My Lists Fix for PINES
Terran McCanna [Tue, 29 Nov 2022 18:19:54 +0000 (13:19 -0500)]
OPAC My Lists Fix for PINES

This should clobber the old PINES customizations, apply the newer
version of the page, and re-apply a few PINES customizations.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoPINES OPAC - Fix double heading on Current Charges page
Terran McCanna [Tue, 29 Nov 2022 18:28:07 +0000 (13:28 -0500)]
PINES OPAC - Fix double heading on Current Charges page

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoLP#1971745: work around issue that can cause large hold shelf lists to fail
Galen Charlton [Thu, 5 May 2022 16:44:26 +0000 (12:44 -0400)]
LP#1971745: work around issue that can cause large hold shelf lists to fail

This patch addresses an issue where hold shelf lists with
more than ~350 rows can fail to be retrieved. It works by
making the open-ils.circ.hold.wide_hash.stream method fetch
the holds from an open-ils.storage method in one fell swoop,
rather than both streaming the list from open-ils.storage and
streaming it back to the client that invoked the open-ils.circ
method.

I suspect that this is working around a subtle OpenSRF bug when
bidirectional streaming is in play, but I'm not positive.

To test
-------
[1] Set up an environment with hundreds or thousands of holds on
    a shelf at an OU.
[2] Attempt to display the holds shelf list.
[3] It may fail; if it doesn't, try with even larger number of holds
    or by setting up a test system that has ejabberd s2s going on
    to service requests.
[4] Apply the patch and repeat step 2. This time, the holds shelf
    list should be consistently retrieved. There will also be a
    user-visible change: the spinner on the AngularJS holds shelf page
    will pause for a few seconds, then start advancing.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Josh Stompro <stompro@stompro.org>
2 years agoadd missing END tag to lists.tt2
Chris Sharp [Tue, 29 Nov 2022 15:56:52 +0000 (10:56 -0500)]
add missing END tag to lists.tt2

2 years agoPINES - replace missing div in patron summary bar
Terran McCanna [Mon, 28 Nov 2022 17:52:44 +0000 (12:52 -0500)]
PINES - replace missing div in patron summary bar

This line was inadvertently removed in a prior customization.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoPINES Local Admin Page - update links to Angular interfaces
Terran McCanna [Mon, 28 Nov 2022 19:17:21 +0000 (14:17 -0500)]
PINES Local Admin Page - update links to Angular interfaces

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 years agoRevert "fix typo"
Chris Sharp [Mon, 28 Nov 2022 15:23:51 +0000 (10:23 -0500)]
Revert "fix typo"

This reverts commit 201c0b45f0c506d78da8f3e2b70098d47ea16440.

2 years agoRevert "updated NPM"
Chris Sharp [Mon, 28 Nov 2022 15:00:44 +0000 (10:00 -0500)]
Revert "updated NPM"

This reverts commit e445a89e84a85b4e8f95a8e4465cbd1612ea3903.

2 years agoPINES Stripe Customizations - Squashed
Terran McCanna [Fri, 18 Nov 2022 18:28:21 +0000 (13:28 -0500)]
PINES Stripe Customizations - Squashed

Stripe - change minimum payment amount

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
alter logging to learn more about stripe failures

PINES Stripe Customizations

Note - most prior customizations were accepted into master for
3.9 and 3.10

2 years agoPINES Item Bucket Customizations
Terran McCanna [Fri, 18 Nov 2022 18:13:56 +0000 (13:13 -0500)]
PINES Item Bucket Customizations

Squashed previous commits for 3.10

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>