working/Evergreen.git
3 years agoLP1904036 Combobox supports domId input
Bill Erickson [Wed, 17 Mar 2021 16:23:13 +0000 (12:23 -0400)]
LP1904036 Combobox supports domId input

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron editor continued
Bill Erickson [Wed, 17 Mar 2021 16:19:10 +0000 (12:19 -0400)]
LP1904036 Patron editor continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Fix date select button alignment
Bill Erickson [Wed, 17 Mar 2021 16:18:52 +0000 (12:18 -0400)]
LP1904036 Fix date select button alignment

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 patron edit
Bill Erickson [Tue, 16 Mar 2021 21:11:34 +0000 (17:11 -0400)]
LP1904036 patron edit

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron groups; patron edit
Bill Erickson [Tue, 16 Mar 2021 20:41:21 +0000 (16:41 -0400)]
LP1904036 Patron groups; patron edit

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron group details UI
Bill Erickson [Tue, 16 Mar 2021 16:10:34 +0000 (12:10 -0400)]
LP1904036 Patron group details UI

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Allow newlines/spaces in long field lists
Bill Erickson [Tue, 16 Mar 2021 16:10:25 +0000 (12:10 -0400)]
LP1904036 Allow newlines/spaces in long field lists

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Lint
Bill Erickson [Tue, 16 Mar 2021 14:53:30 +0000 (10:53 -0400)]
LP1904036 Lint

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron stat cats
Bill Erickson [Tue, 16 Mar 2021 14:36:40 +0000 (10:36 -0400)]
LP1904036 Patron stat cats

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 patron survey responses
Bill Erickson [Mon, 15 Mar 2021 22:21:17 +0000 (18:21 -0400)]
LP1904036 patron survey responses

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Verify patron credentials
Bill Erickson [Mon, 15 Mar 2021 20:48:35 +0000 (16:48 -0400)]
LP1904036 Verify patron credentials

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 billing statement detail grids
Bill Erickson [Mon, 15 Mar 2021 17:37:33 +0000 (13:37 -0400)]
LP1904036 billing statement detail grids

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Grid toolbarLabel option
Bill Erickson [Mon, 15 Mar 2021 17:37:24 +0000 (13:37 -0400)]
LP1904036 Grid toolbarLabel option

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 billing statement
Bill Erickson [Fri, 12 Mar 2021 21:53:00 +0000 (16:53 -0500)]
LP1904036 billing statement

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 billing statement
Bill Erickson [Fri, 12 Mar 2021 21:49:53 +0000 (16:49 -0500)]
LP1904036 billing statement

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 billing statement
Bill Erickson [Fri, 12 Mar 2021 18:32:38 +0000 (13:32 -0500)]
LP1904036 billing statement

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 adjust to zero, refunds
Bill Erickson [Fri, 12 Mar 2021 16:38:47 +0000 (11:38 -0500)]
LP1904036 adjust to zero, refunds

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 void all billings action
Bill Erickson [Thu, 11 Mar 2021 22:54:28 +0000 (17:54 -0500)]
LP1904036 void all billings action

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 add billing and more
Bill Erickson [Thu, 11 Mar 2021 18:36:10 +0000 (13:36 -0500)]
LP1904036 add billing and more

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Payment receipts
Bill Erickson [Thu, 11 Mar 2021 16:55:27 +0000 (11:55 -0500)]
LP1904036 Payment receipts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Bills, Current admin UI sample data
Bill Erickson [Tue, 9 Mar 2021 22:44:17 +0000 (17:44 -0500)]
LP1904036 Bills, Current admin UI sample data

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Option to hide Holds grid popup dialog
Bill Erickson [Tue, 9 Mar 2021 22:09:18 +0000 (17:09 -0500)]
LP1904036 Option to hide Holds grid popup dialog

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Billing / payments
Bill Erickson [Tue, 9 Mar 2021 17:27:54 +0000 (12:27 -0500)]
LP1904036 Billing / payments

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 current bills receipt
Bill Erickson [Tue, 9 Mar 2021 15:59:11 +0000 (10:59 -0500)]
LP1904036 current bills receipt

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 patron tab counts
Bill Erickson [Tue, 9 Mar 2021 15:25:17 +0000 (10:25 -0500)]
LP1904036 patron tab counts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 open circ exists dialog; billing
Bill Erickson [Tue, 9 Mar 2021 15:14:01 +0000 (10:14 -0500)]
LP1904036 open circ exists dialog; billing

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Billing / payments
Bill Erickson [Mon, 8 Mar 2021 21:31:13 +0000 (16:31 -0500)]
LP1904036 Billing / payments

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Billing; credit card form
Bill Erickson [Mon, 8 Mar 2021 19:50:49 +0000 (14:50 -0500)]
LP1904036 Billing; credit card form

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Billing continued
Bill Erickson [Mon, 8 Mar 2021 16:57:19 +0000 (11:57 -0500)]
LP1904036 Billing continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Billing continued
Bill Erickson [Mon, 8 Mar 2021 15:47:05 +0000 (10:47 -0500)]
LP1904036 Billing continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Bills tab
Bill Erickson [Fri, 5 Mar 2021 21:50:59 +0000 (16:50 -0500)]
LP1904036 Bills tab

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Bills wireframing
Bill Erickson [Fri, 5 Mar 2021 16:22:42 +0000 (11:22 -0500)]
LP1904036 Bills wireframing

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Update stats after checkout; quite warning
Bill Erickson [Tue, 2 Mar 2021 23:01:41 +0000 (18:01 -0500)]
LP1904036 Update stats after checkout; quite warning

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 place new hold button/action
Bill Erickson [Tue, 2 Mar 2021 16:46:35 +0000 (11:46 -0500)]
LP1904036 place new hold button/action

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 patron summary pref name; penalties
Bill Erickson [Tue, 2 Mar 2021 16:18:19 +0000 (11:18 -0500)]
LP1904036 patron summary pref name; penalties

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 print/copy patron address; summary styling
Bill Erickson [Tue, 2 Mar 2021 15:43:59 +0000 (10:43 -0500)]
LP1904036 print/copy patron address; summary styling

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 lint
Bill Erickson [Mon, 1 Mar 2021 22:33:25 +0000 (17:33 -0500)]
LP1904036 lint

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 add billings
Bill Erickson [Mon, 1 Mar 2021 22:28:18 +0000 (17:28 -0500)]
LP1904036 add billings

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 add billings and more
Bill Erickson [Mon, 1 Mar 2021 22:15:07 +0000 (17:15 -0500)]
LP1904036 add billings and more

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 events and overrides
Bill Erickson [Mon, 1 Mar 2021 19:57:29 +0000 (14:57 -0500)]
LP1904036 events and overrides

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Alert dialog honors dialogTitle when present
Bill Erickson [Mon, 1 Mar 2021 19:57:12 +0000 (14:57 -0500)]
LP1904036 Alert dialog honors dialogTitle when present

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 events and overrides
Bill Erickson [Mon, 1 Mar 2021 17:19:45 +0000 (12:19 -0500)]
LP1904036 events and overrides

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Renew with due date
Bill Erickson [Mon, 1 Mar 2021 16:19:07 +0000 (11:19 -0500)]
LP1904036 Renew with due date

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Renew all; initial events override dialog
Bill Erickson [Fri, 26 Feb 2021 23:17:06 +0000 (18:17 -0500)]
LP1904036 Renew all; initial events override dialog

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Renew; Batch Checkout/Renew; shared circ components
Bill Erickson [Fri, 26 Feb 2021 22:04:40 +0000 (17:04 -0500)]
LP1904036 Renew; Batch Checkout/Renew; shared circ components

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Claims never checked out
Bill Erickson [Fri, 26 Feb 2021 21:16:07 +0000 (16:16 -0500)]
LP1904036 Claims never checked out

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Claims returned
Bill Erickson [Fri, 26 Feb 2021 20:59:34 +0000 (15:59 -0500)]
LP1904036 Claims returned

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Claims returned; circ notices
Bill Erickson [Fri, 26 Feb 2021 16:53:11 +0000 (11:53 -0500)]
LP1904036 Claims returned; circ notices

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron alerts page continued
Bill Erickson [Thu, 25 Feb 2021 22:59:58 +0000 (17:59 -0500)]
LP1904036 Patron alerts page continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron alerts page; resolver service
Bill Erickson [Thu, 25 Feb 2021 22:26:08 +0000 (17:26 -0500)]
LP1904036 Patron alerts page; resolver service

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Move precat dialog to shared circ service
Bill Erickson [Thu, 25 Feb 2021 17:32:42 +0000 (12:32 -0500)]
LP1904036 Move precat dialog to shared circ service

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron noncat count display
Bill Erickson [Thu, 25 Feb 2021 17:24:54 +0000 (12:24 -0500)]
LP1904036 Patron noncat count display

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Mark items lost
Bill Erickson [Thu, 25 Feb 2021 17:10:56 +0000 (12:10 -0500)]
LP1904036 Mark items lost

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Mark missing; initial checkin api
Bill Erickson [Tue, 23 Feb 2021 23:10:10 +0000 (18:10 -0500)]
LP1904036 Mark missing; initial checkin api

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Mark damaged; canceled holds display repair
Bill Erickson [Tue, 23 Feb 2021 21:24:24 +0000 (16:24 -0500)]
LP1904036 Mark damaged; canceled holds display repair

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Edit due date; styling overdues
Bill Erickson [Tue, 23 Feb 2021 16:54:28 +0000 (11:54 -0500)]
LP1904036 Edit due date; styling overdues

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron items out: printing
Bill Erickson [Mon, 22 Feb 2021 22:53:41 +0000 (17:53 -0500)]
LP1904036 Patron items out: printing

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron items out grid; shared circ grid; noncats
Bill Erickson [Mon, 22 Feb 2021 21:19:54 +0000 (16:19 -0500)]
LP1904036 Patron items out grid; shared circ grid; noncats

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Noncat batch retrieval API
Bill Erickson [Mon, 22 Feb 2021 21:19:41 +0000 (16:19 -0500)]
LP1904036 Noncat batch retrieval API

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron items out grid; shared circ grid
Bill Erickson [Fri, 19 Feb 2021 21:21:07 +0000 (16:21 -0500)]
LP1904036 Patron items out grid; shared circ grid

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Angular login now handles routeTo
Bill Erickson [Thu, 18 Feb 2021 17:05:37 +0000 (12:05 -0500)]
LP1904036 Angular login now handles routeTo

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Barcode completion continued
Bill Erickson [Thu, 18 Feb 2021 16:18:40 +0000 (11:18 -0500)]
LP1904036 Barcode completion continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Barcode completion dialog
Bill Erickson [Wed, 17 Feb 2021 21:26:57 +0000 (16:26 -0500)]
LP1904036 Barcode completion dialog

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 checkout continued; grid actions
Bill Erickson [Tue, 16 Feb 2021 18:52:14 +0000 (13:52 -0500)]
LP1904036 checkout continued; grid actions

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 precat checkouts
Bill Erickson [Mon, 8 Feb 2021 21:41:55 +0000 (16:41 -0500)]
LP1904036 precat checkouts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 precat dialog
Bill Erickson [Mon, 8 Feb 2021 18:15:08 +0000 (13:15 -0500)]
LP1904036 precat dialog

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Prompt dialog focus input followup
Bill Erickson [Mon, 8 Feb 2021 15:12:52 +0000 (10:12 -0500)]
LP1904036 Prompt dialog focus input followup

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Prompt dialog focus input; submit on enter
Bill Erickson [Sun, 7 Feb 2021 19:20:40 +0000 (14:20 -0500)]
LP1904036 Prompt dialog focus input; submit on enter

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron ui checkout tab
Bill Erickson [Fri, 5 Feb 2021 22:57:42 +0000 (17:57 -0500)]
LP1904036 Patron ui checkout tab

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron ui checkout tab
Bill Erickson [Fri, 5 Feb 2021 21:44:55 +0000 (16:44 -0500)]
LP1904036 Patron ui checkout tab

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron ui checkout tab
Bill Erickson [Fri, 5 Feb 2021 21:26:03 +0000 (16:26 -0500)]
LP1904036 Patron ui checkout tab

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron ui checkout tab; noncats
Bill Erickson [Fri, 5 Feb 2021 19:58:55 +0000 (14:58 -0500)]
LP1904036 Patron ui checkout tab; noncats

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Prompt dialog gets input type and min/max
Bill Erickson [Fri, 5 Feb 2021 19:58:33 +0000 (14:58 -0500)]
LP1904036 Prompt dialog gets input type and min/max

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron UI lint repairs; sanity checks
Bill Erickson [Thu, 12 Nov 2020 16:36:52 +0000 (11:36 -0500)]
LP1904036 Patron UI lint repairs; sanity checks

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron UI; search persistence
Bill Erickson [Fri, 28 Aug 2020 14:41:44 +0000 (10:41 -0400)]
LP1904036 Patron UI; search persistence

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron UI; canceled holds
Bill Erickson [Wed, 26 Aug 2020 14:40:48 +0000 (10:40 -0400)]
LP1904036 Patron UI; canceled holds

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 patron Ui holds tabs
Bill Erickson [Fri, 21 Aug 2020 21:53:58 +0000 (17:53 -0400)]
LP1904036 patron Ui holds tabs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 patron UI noncat/holds summary
Bill Erickson [Fri, 21 Aug 2020 21:02:10 +0000 (17:02 -0400)]
LP1904036 patron UI noncat/holds summary

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 patron expire check
Bill Erickson [Tue, 18 Aug 2020 14:48:12 +0000 (10:48 -0400)]
LP1904036 patron expire check

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Angular Patron UI initial structures
Bill Erickson [Wed, 12 Aug 2020 16:50:59 +0000 (12:50 -0400)]
LP1904036 Angular Patron UI initial structures

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Grid rowSelectionChange Output
Bill Erickson [Thu, 13 Aug 2020 15:44:34 +0000 (11:44 -0400)]
LP1904036 Grid rowSelectionChange Output

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron search form improvements
Bill Erickson [Wed, 12 Aug 2020 22:18:07 +0000 (18:18 -0400)]
LP1904036 Patron search form improvements

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1904036 Patron sesarch form improvements
Bill Erickson [Wed, 12 Aug 2020 16:50:48 +0000 (12:50 -0400)]
LP1904036 Patron sesarch form improvements

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agoLP1991344 rxjs empty() function deprecated
Shula Link [Fri, 30 Sep 2022 13:22:54 +0000 (09:22 -0400)]
LP1991344 rxjs empty() function deprecated

Futureproofing for rxjs 8 and the deprecation of the empty() function.
All the references to empty() have been replaced with the EMPTY constant.
Places where empty() was imported without being used have been removed.

Signed-off-by: Shula Link <slink@gchrl.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 years agolp1992657 - fix broken NPM test
Chris Sharp [Wed, 12 Oct 2022 14:16:43 +0000 (10:16 -0400)]
lp1992657 - fix broken NPM test

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 years agoLP1838553 User Display Name
Michele Morgan [Wed, 12 Oct 2022 20:40:21 +0000 (16:40 -0400)]
LP1838553 User Display Name

Add preferred names to 'User Alias or Display Name'

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
3 years agoLP1838553 User Display Name
Terran McCanna [Mon, 4 Apr 2022 17:03:02 +0000 (13:03 -0400)]
LP1838553 User Display Name

This modifies the User Display Name to incorporate the Preferred
Name if present.

(Note: Ryan Eby did this work, I just put it into a git branch. I
have not tested it. - TMcCanna)

Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
3 years agoLP1981628 Third follow-up
Terran McCanna [Fri, 29 Jul 2022 16:36:33 +0000 (12:36 -0400)]
LP1981628 Third follow-up

The last follow-up had the inadvertent side-effect of hiding the
message directing the patron to contact their library if they had a
negative balance. My thought is that if there are negative bills then
the patron should see the alert to contact their library about them
regardless of whether or not online payments are allowed. So, this
additional followup separates that alert from the myopac_cc_allowed logic.

This also makes some minor display tweaks to the BooPAC:
- Applies the Bootstrap 'alert-warning' to the negative bills message
in the BooPAC.
- Adds a page header.
- Changes the styling and wording of the grocery charges heading to match
the circulation charges heading.
- Changes the styling of the grocery and circulation tables to be
consistent with each other.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1981628 follow-up to the follow-up
Jason Etheridge [Mon, 18 Jul 2022 19:02:54 +0000 (15:02 -0400)]
LP1981628 follow-up to the follow-up

Consolidate some of the logic to make it more clear what is happening,
leverage the existing myopac_cc_allowed boolean, and catch the
Pay All Charges button in the TPAC.  This also clears up some display
oddities and makes sure the non-payment labeling is being used.

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1981628 Follow up to Stripe payment intents bug
Terran McCanna [Wed, 13 Jul 2022 20:12:36 +0000 (16:12 -0400)]
LP1981628 Follow up to Stripe payment intents bug

The bug fix for 1965579 only resolved the negative bills problem
for grocery bills. This follow up resolves the problem for
circulation bills as well.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1989209: SSO Shibboleth logout/re-login
Mike Rylander [Fri, 9 Sep 2022 16:40:47 +0000 (12:40 -0400)]
LP#1989209: SSO Shibboleth logout/re-login

When using Shibboleth for SSO, and global logout is disabled, logging in
after logout on the same computer can fail with a 404-Not Found. The
problem is that we need to ignore our local "don't trust Shibboleth
login" cookie in this situation.

This change also means we need to delegate SP logout, in addition to
possible IdP and/or global logout, to the Shibboleth configuration.
Therefore we always redirect to the Shibboleth logout service on
Evergreen logout (when Shibboleth SSO is enabled), and SP, IdP, and
global logout is configured and mediated by the Shibboleth and IdP
configuration.

This commit modifies the meaning of the opac.login.shib_sso.logout YAOUS
such that it is only used to decide if Evergreen timeout-forced logouts
will cause a Shibboleth logout as well.  All user-initiated logouts will
now inform Shibboleth, and the Shibboleth configuration will determine
the SSO logout degree (SP, IdP, global).

See details at
https://shibboleth.atlassian.net/wiki/spaces/SHIB2/pages/2577072384/NativeSPLogoutInitiator
and the simpler configuration option of
https://shibboleth.atlassian.net/wiki/spaces/SHIB2/pages/2577072434/NativeSPServiceLogout
for information on the Shibboleth configuration required for your local
needs.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1986479: (follow-up) do some refactoring
Galen Charlton [Fri, 9 Sep 2022 21:12:36 +0000 (17:12 -0400)]
LP#1986479: (follow-up) do some refactoring

- don't bother checking the reactor; instead, assume that
  if the event definition includes a context user path that
  evaluates to a discernable user record, there is reason
  to check for the user's preferred locale and for alternative
  templates
- make this section of code more idiomatic

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1986479: fix lookup of user locale during A/T event processing
Galen Charlton [Fri, 9 Sep 2022 20:42:05 +0000 (16:42 -0400)]
LP#1986479: fix lookup of user locale during A/T event processing

This patch fixes an issue with the new user-locale-sensitive
alternate Action Trigger template selection that supports letting
patrons receive notifications in their preferred language. In
particular, it corrects an assumption that the event target is
the user itself. With the patch, the the event definition's
context user path is consulted to identify the relevant user.

To test
-------
[1] Set up a patron with an email address and check out an item.
[2] Use the Quick Receipt drop-down to attempt an email checkout
    receipt.
[3] No email will be generated an the event will fail. The logs
    should contain something like

    Can't use an undefined value as a HASH reference at
    /usr/local/share/perl/5.28.1/OpenILS/Application/Trigger/Event.pm
    line 518.
[4] Apply the patch and repeat steps 1 and 2. This time, the email
    should be sent (or, at least, the A/T event will be successfully
    processed).

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1934164 Grid context/duration date minor refactoring
Bill Erickson [Wed, 30 Jun 2021 17:46:45 +0000 (13:46 -0400)]
LP1934164 Grid context/duration date minor refactoring

Move some repeated code into a shared method.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 years agoLP1934164 egDueDate and egOrgDateInContext Angular pipes
Bill Erickson [Tue, 29 Jun 2021 17:50:56 +0000 (13:50 -0400)]
LP1934164 egDueDate and egOrgDateInContext Angular pipes

These support displaying dates in the timezone of a specified org unit.

Example:

{{circ.xact_start() | egOrgDateInContext:circ.circ_lib():circ.duration()}}

The format service also gets a dateOnlyIntervalField parameter to
display dates as dates or dates + time depending on whether the provided
duration is day-granular.

Also adds a handy pipe (egDueDate) which takes a circulation as its
value and collects the correct parameters to display the due date in the
correct time zone and with the correct dateOnlyIntervalField value.

Example:

{{circ | egDueDate}}

Includes Sandbox examples.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 years agoLP1904036 Angular date utility class
Bill Erickson [Wed, 30 Jun 2021 15:33:41 +0000 (11:33 -0400)]
LP1904036 Angular date utility class

Including functions for intervalToSeconds, localDateFromYmd, and
localYmdFromDate.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 years agoLP1942220: stamp upgrade scripts
Jane Sandberg [Sun, 2 Oct 2022 15:18:01 +0000 (08:18 -0700)]
LP1942220: stamp upgrade scripts

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 years agoLP1942220: follow-up: ng lint fixes
Jane Sandberg [Sun, 2 Oct 2022 13:52:29 +0000 (06:52 -0700)]
LP1942220: follow-up: ng lint fixes

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 years agoLP1942220: follow-up: upgrade Node to 16.17.1
Jane Sandberg [Sun, 2 Oct 2022 13:46:23 +0000 (06:46 -0700)]
LP1942220: follow-up: upgrade Node to 16.17.1

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 years agoLP1942220 Catalog View/Place Orders uses new UI
Bill Erickson [Thu, 29 Sep 2022 15:27:28 +0000 (11:27 -0400)]
LP1942220 Catalog View/Place Orders uses new UI

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>