working/Evergreen.git
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 years agoLP1904244 Stamping DB Upgrade : ACQ Admin
Bill Erickson [Thu, 12 Aug 2021 19:20:53 +0000 (15:20 -0400)]
LP1904244 Stamping DB Upgrade : ACQ Admin

Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: add release notes
Galen Charlton [Tue, 22 Jun 2021 22:00:33 +0000 (18:00 -0400)]
LP#1904244: add release notes

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: add grid config settings
Galen Charlton [Mon, 29 Mar 2021 02:50:42 +0000 (22:50 -0400)]
LP#1904244: add grid config settings

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: Angular currency and exchange rates interface
Galen Charlton [Fri, 26 Mar 2021 22:21:30 +0000 (18:21 -0400)]
LP#1904244: Angular currency and exchange rates interface

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: Angular distribution formulas interface
Galen Charlton [Fri, 26 Mar 2021 22:13:01 +0000 (18:13 -0400)]
LP#1904244: Angular distribution formulas interface

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: Angular EDI attr sets interface
Galen Charlton [Fri, 26 Mar 2021 21:58:51 +0000 (17:58 -0400)]
LP#1904244: Angular EDI attr sets interface

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1406424: display total of rolled over encumbrances during FPC
Galen Charlton [Tue, 8 Jun 2021 14:41:34 +0000 (10:41 -0400)]
LP#1406424: display total of rolled over encumbrances during FPC

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: Angular funds interface
Galen Charlton [Wed, 3 Mar 2021 23:25:40 +0000 (18:25 -0500)]
LP#1904244: Angular funds interface

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: schema: add two indexes
Galen Charlton [Thu, 3 Jun 2021 15:39:13 +0000 (11:39 -0400)]
LP#1904244: schema: add two indexes

These two indexes support retrieving transactions that account
for a given fund debit.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: schema: make fund.code NOT NULL
Galen Charlton [Fri, 16 Apr 2021 20:59:51 +0000 (16:59 -0400)]
LP#1904244: schema: make fund.code NOT NULL

Any funds whose code was null will have it set to "FUND-WITH-ID-$id"

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: change automatically-generated fund allocation notes for transfers
Galen Charlton [Wed, 24 Mar 2021 20:12:17 +0000 (16:12 -0400)]
LP#1904244: change automatically-generated fund allocation notes for transfers

The automatically-generated note for fund allocations created during a fund
transfer is now:

Now Transfer {to,from} FUND_CODE (YEAR) (FUND_ORG_UNIT_SHORTNAME)

Previously, the note had the fund ID rather than the more
descriptive combination of code, year, and owner.

No attempt is made to retroactively adjust previous transfer allocation
nodes.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: format: switch from CurrencyPipe to DecimalPipe
Galen Charlton [Tue, 1 Jun 2021 22:23:36 +0000 (18:23 -0400)]
LP#1904244: format: switch from CurrencyPipe to DecimalPipe

CurrencyPipe has no easy way of displaying the monetary amount
without a currency symbol, which means that currency amounts
display with a dollar sign -- which isn't a univeral assumption
for Evergreen.

Future work is indicated to (a) teach Evergreen a global flag
or a library setting for the system's base currency and (b) let
the format service be passed a currency code. Once both are in place,
CurrencyPipe can be restored.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: item-location-select: include ancestors
Galen Charlton [Tue, 20 Apr 2021 21:00:26 +0000 (17:00 -0400)]
LP#1904244: item-location-select: include ancestors

Specifically, when using permFilter, include locations at ancestors of
permitted OUs.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: AdminPageComponent: move onRowActivate subscription to markup
Galen Charlton [Mon, 19 Apr 2021 21:21:39 +0000 (17:21 -0400)]
LP#1904244: AdminPageComponent: move onRowActivate subscription to markup

This allows extenders of this interface to set their own non-default
handlers.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: combobox: add idlBaseQuery input
Galen Charlton [Mon, 14 Jun 2021 22:43:12 +0000 (18:43 -0400)]
LP#1904244: combobox: add idlBaseQuery input

This option allows to caller to tack on additional conditions to the
auto-generated data source, e.g., to restrict a selector to only
"active" values.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: combobox: asyncSupportsEmptyTermClick fix
Galen Charlton [Fri, 4 Dec 2020 16:17:51 +0000 (11:17 -0500)]
LP#1904244: combobox: asyncSupportsEmptyTermClick fix

Fixes situation where combobox would fetch the needed entries
in async mode, but fail to open the drop-down.

This includes code originally written by Bill Erickson with
additions by Galen Charlton to insure that static data sources
would continue to work.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: combobox: add a 'mandatory' attribute
Galen Charlton [Tue, 1 Jun 2021 21:59:49 +0000 (17:59 -0400)]
LP#1904244: combobox: add a 'mandatory' attribute

This is a synonym of the 'required' attribute, as overloading
the HTML5 required attribute can lead the colored left border
indicated the state of the widget extending to the container
of the combobox.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: combobox: include org unit in label for funds
Galen Charlton [Tue, 6 Apr 2021 20:53:14 +0000 (16:53 -0400)]
LP#1904244: combobox: include org unit in label for funds

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: fm-editor: add min/max field options
Galen Charlton [Thu, 3 Jun 2021 21:08:37 +0000 (17:08 -0400)]
LP#1904244: fm-editor: add min/max field options

This currently apply to 'int' type fields.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: fm-editor: prevent all-blank input
Galen Charlton [Thu, 3 Jun 2021 14:52:14 +0000 (10:52 -0400)]
LP#1904244: fm-editor: prevent all-blank input

Text inputs no longer accept input that's entirely whitespace.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: fm-editor: add a linkedSearchConditions field option
Galen Charlton [Tue, 20 Apr 2021 21:57:08 +0000 (17:57 -0400)]
LP#1904244: fm-editor: add a linkedSearchConditions field option

This option allows the caller to specify conditions to add
when retrieving values for a linked field, e.g., to specify
that only active values should be fetched.

Example usage:

[fieldOptions]="{fund:{linkedSearchConditions:{'active':'t'}}}"

If the underlying record has a value set for the linked field, that
value will be included when preloadLinkedValues and the value
doesn't otherwise meet the search conditions.

This patch also sorts the values if preloadLinkedValues is used.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: fm-edit: teach how to format selectors when wiring up comoboxes
Galen Charlton [Sun, 28 Mar 2021 17:38:55 +0000 (13:38 -0400)]
LP#1904244: fm-edit: teach how to format selectors when wiring up comoboxes

Matches similar functionality in combobox.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: eg-grid: define style for negative money values
Galen Charlton [Tue, 20 Apr 2021 15:44:33 +0000 (11:44 -0400)]
LP#1904244: eg-grid: define style for negative money values

This adds a negative-money-amount class when displaying money
fields whose value is less than zero.

Currently all that the class does is color the text red.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: teach grid columns how to start with a filter set
Galen Charlton [Thu, 25 Mar 2021 17:44:44 +0000 (13:44 -0400)]
LP#1904244: teach grid columns how to start with a filter set

This adds initialFilterOperator and initialFilterValue inputs
to eg-grid-column to specify that the data set should start off
with a column filter set.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: add various IDL links from fund debits
Galen Charlton [Thu, 3 Jun 2021 15:35:50 +0000 (11:35 -0400)]
LP#1904244: add various IDL links from fund debits

This patch also adds acqlid (line item details) to PCRUD.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: update various IDL labels for acq columns
Galen Charlton [Wed, 7 Apr 2021 21:49:55 +0000 (17:49 -0400)]
LP#1904244: update various IDL labels for acq columns

* Claiming and fund tables: "Org Unit" or "Org" to "Owner"
* "Claim Policy ID" to "Claim Policy" for links to claim
  policies
* "Fund ID" to "Fund" for links to funds
* Fund allocation and fund debit times

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: add edi_accounts virtual field to EDI attribute sets
Galen Charlton [Sat, 27 Mar 2021 21:00:02 +0000 (17:00 -0400)]
LP#1904244: add edi_accounts virtual field to EDI attribute sets

This facilitates retrieving the list of EDI accounts that use
a given attribute set.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: add acqftr (fund transfers) to pcrud control
Galen Charlton [Tue, 16 Mar 2021 22:00:24 +0000 (18:00 -0400)]
LP#1904244: add acqftr (fund transfers) to pcrud control

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: mark various fund columns as required in the IDL
Galen Charlton [Tue, 16 Mar 2021 17:01:43 +0000 (13:01 -0400)]
LP#1904244: mark various fund columns as required in the IDL

In particular:

* Fund: org unit, name, year, currency, code
* Fund allocation: linked fund, linked funding source, amount,
                   allocating user
* Fund tag: owner, name
* Funding source: name, owner, currency, code
* Funding source credit: linked funding source, amount

As a consequence of this change, various recording editing interfaces
will now require that input be supplied for these fields.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP#1904244: consolidate claiming administration into single page
Galen Charlton [Tue, 2 Mar 2021 22:54:17 +0000 (17:54 -0500)]
LP#1904244: consolidate claiming administration into single page

This patch consolidates the following acquisitions administration
interfaces into a single tabbed page for managing claiming
policies:

- Claim Policies
- Claim Policy Actions
- Claim Types
- Claim Event Types

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 years agoLP1934184 Vandelay Delete Queue action repair
Bill Erickson [Tue, 3 Aug 2021 20:58:29 +0000 (16:58 -0400)]
LP1934184 Vandelay Delete Queue action repair

Fixes the Queue Details page Delete Queue link.  Before it did nothing,
now it prompts the user to confirm deletion followed by deleting the
queue (when confirmed).

To test, go to Cataloging => MARC Batch Import/Export => Inspect Queue
=> Double-click a queue => Click Delete Queue (under Queue Actions) and
confirm that the confirmation dialog appears and deletion works.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoLP1919483: Fix the queries for secondary admin pages
Jane Sandberg [Sun, 11 Jul 2021 22:49:19 +0000 (15:49 -0700)]
LP1919483: Fix the queries for secondary admin pages

To test, go to the following screens, and make sure that their
secondary admin pages don't show errors and filter properly.

* Authority Control Set
* Authority Thesaurus
* Course list
* Hard due dates
* MARC import remove fields
* MARC Search/Facet fields
* Z39.50 servers

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Christine Burns <christine.burns@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoLP#1450519: remove unauthorized access to library setting history
Galen Charlton [Fri, 6 Aug 2021 15:35:49 +0000 (11:35 -0400)]
LP#1450519: remove unauthorized access to library setting history

This patch changes the current Library Settings editor so that
it doesn't display the setting history for a setting that the user
doesn't have the underlying view permission for. It also removes
the coustl IDL class [config.org_unit_setting_type_log] from PCRUD.

Access to the setting history is now done through a new method,
open-ils.actor.org_unit.settings.history.visible.retrieve, which
accepts an authtoken and a setting name. If the user has the
relevant view permission, setting history entries at all of the
OUs that they have the permission at are returned. If the user
lacks the permission, an empty array is returned. If the setting
has no permission associated with it, all history entries for
the setting are returned. The user must have at least STAFF_LOGIN
to retrieve any entries at all.

To test
-------
[1] As an administrator, make some changes to the values of
    a privileged library setting (such as one of the credit card
    ones) and an unprivileged one (e.g., lib.info_url).
[2] Log in as a staff user without administration privileges
    and go to the library settings editor. Note that while the
    current value of privileged settings are not displayed, clicking
    on the history link displays the full history of the setting.
[3] Apply the patch and repeat step 2.
[4] This time, history for the privileged setting is not displayed,
    while history for an unprivileged setting continues to be
    available.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Shula Link <slink@gchrl.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
4 years agoLP#1931167: stamp DB update
Galen Charlton [Thu, 12 Aug 2021 15:17:56 +0000 (11:17 -0400)]
LP#1931167: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoLP#1931167: Missing YAOUS for DYM
Mike Rylander [Mon, 7 Jun 2021 20:39:34 +0000 (16:39 -0400)]
LP#1931167: Missing YAOUS for DYM

The baseline schema did not get updated to include the
opac.did_you_mean.max_suggestions YAOUS, so fresh, rather than upgraded,
Evergreen installs will be missing it.

This commit adds it to the baseline and provides an upgrade script to
give the setting to impacted instances.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Erica Rohlfs <erica.rohlfs@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoLp 1936662: Add CPAN Module Prerequisites for Debian and Ubuntu
Jason Stephenson [Fri, 16 Jul 2021 19:50:59 +0000 (15:50 -0400)]
Lp 1936662: Add CPAN Module Prerequisites for Debian and Ubuntu

This commit adds the missing CPAN module prerequisites for the "did
you mean" feature to the PostgreSQL server Makefile targets for Debian
Jessie, Stretch, Buster and Ubuntu Bionic.

They were added to the Makefile target for Ubuntu Focal but were
apparently overlooked in the other distros.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoLP#1937299: stamp DB update
Galen Charlton [Thu, 12 Aug 2021 14:00:30 +0000 (10:00 -0400)]
LP#1937299: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoLP1937299: Collections Exempt User Setting Repair
Jason Boyer [Thu, 22 Jul 2021 17:50:53 +0000 (13:50 -0400)]
LP1937299: Collections Exempt User Setting Repair

The collections exempt user setting was never added to the seed data
meaning that depending on the age of your database it may or may not
be there. Additionally, correct the label for this setting in the
user editor.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoLP#1815968 - Self Check Audio Alerts
Josh Stompro [Tue, 25 May 2021 14:42:22 +0000 (09:42 -0500)]
LP#1815968 - Self Check Audio Alerts

The method of playing audio alerts seems to not be working in modern browsers.

It seemed to work in firefox V40, but no longer in V68.

Adding the autoplay element and then immediately removing it prevents the audio
from playing.  I've also noticed in the past that the audio had been cut off
before the file was fully played.

Using the .play() method does seem to work in newer versions of Firefox
and Chrome.  Tested with Chrome V90 and Firefox V78.10.1esr.

Testing Plan:

1. Enable Self Check Audio Alerts Library Setting.
2. See the docs for setting up the default audio alerts.
https://docs.evergreen-ils.org/reorg/3.1/command_line_admin/_self_check_interface.html
3. Launch self check interface, create a workstation and try to trigger an alert.
https://eg-server.you.com/eg/circ/selfcheck/main
4. entering a fake barcode will trigger an alert which should not be audible.

Apply the fix:

1. Launch self check interface, and reload/clear cache.
2. Enter a fake barcode to trigger an audio alert.
3. The audio alert should now be audible.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Erica Rohlfs <erica.rohlfs@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoLP#1264746: add a release notes line
Galen Charlton [Wed, 11 Aug 2021 21:54:25 +0000 (17:54 -0400)]
LP#1264746: add a release notes line

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoLP#1264746 return boolean, not promise
Jeff Godin [Tue, 26 Mar 2019 21:29:18 +0000 (17:29 -0400)]
LP#1264746 return boolean, not promise

Change check_email_different to return a boolean instead of a
promise. Thanks, berick!

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoLP#1264746 Add "email password reset" to user editor
Jeff Godin [Tue, 26 Mar 2019 21:14:00 +0000 (17:14 -0400)]
LP#1264746 Add "email password reset" to user editor

Add a button for "Send Password Reset Link" to the user editor.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>