working/Evergreen.git
2 years agoLP2000482 Bootstrap 5: redundant input-group-text user/sleary/lp2000485-bootstrap5
Stephanie Leary [Thu, 9 Mar 2023 15:38:02 +0000 (15:38 +0000)]
LP2000482 Bootstrap 5: redundant input-group-text

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000482 Bootstrap 5: input group repairs
Stephanie Leary [Thu, 9 Mar 2023 15:06:09 +0000 (15:06 +0000)]
LP2000482 Bootstrap 5: input group repairs

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000482 Bootstrap 5: search form repairs
Stephanie Leary [Fri, 3 Mar 2023 21:10:47 +0000 (21:10 +0000)]
LP2000482 Bootstrap 5: search form repairs

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: Padding adjustments
Stephanie Leary [Thu, 2 Mar 2023 17:40:27 +0000 (17:40 +0000)]
LP2000485 Bootstrap 5: Padding adjustments

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: Acq receive input cleanup
Stephanie Leary [Thu, 2 Mar 2023 17:27:12 +0000 (17:27 +0000)]
LP2000485 Bootstrap 5: Acq receive input cleanup

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: Align acq search conjunction
Stephanie Leary [Thu, 2 Mar 2023 17:17:06 +0000 (17:17 +0000)]
LP2000485 Bootstrap 5: Align acq search conjunction

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: Acq provider search
Stephanie Leary [Thu, 2 Mar 2023 17:11:54 +0000 (17:11 +0000)]
LP2000485 Bootstrap 5: Acq provider search

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: Org family select
Stephanie Leary [Thu, 2 Mar 2023 17:11:45 +0000 (17:11 +0000)]
LP2000485 Bootstrap 5: Org family select

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: Acq search form
Stephanie Leary [Wed, 1 Mar 2023 23:21:59 +0000 (23:21 +0000)]
LP2000485 Bootstrap 5: Acq search form

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: Vandelay recent date form
Stephanie Leary [Wed, 1 Mar 2023 22:50:29 +0000 (22:50 +0000)]
LP2000485 Bootstrap 5: Vandelay recent date form

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: Manage Authorities form cleanup
Stephanie Leary [Wed, 1 Mar 2023 20:49:04 +0000 (20:49 +0000)]
LP2000485 Bootstrap 5: Manage Authorities form cleanup

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: More utility classes
Stephanie Leary [Wed, 1 Mar 2023 20:48:37 +0000 (20:48 +0000)]
LP2000485 Bootstrap 5: More utility classes

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: Style input group + label
Stephanie Leary [Wed, 1 Mar 2023 20:35:45 +0000 (20:35 +0000)]
LP2000485 Bootstrap 5: Style input group + label

Bootstrap input groups are not intended to be used with labels, but we
are doing so to provide screen reader support without (yet) redesigning
all our form layouts. This style removes extra padding and borders on
labels inside input groups.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000485 Bootstrap 5: Merge updates from bug squashing
Stephanie Leary [Wed, 1 Mar 2023 17:03:31 +0000 (17:03 +0000)]
LP2000485 Bootstrap 5: Merge updates from bug squashing

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
2 years agoLP2000482 Bootstrap 5: search form spacing
Stephanie [Tue, 28 Feb 2023 23:14:49 +0000 (23:14 +0000)]
LP2000482 Bootstrap 5: search form spacing

Signed-off-by: Stephanie <stephanie.leary@equinoxoli.org>
2 years agoLP2000482 Bootstrap 5: search results spacing
Stephanie [Tue, 28 Feb 2023 22:52:08 +0000 (22:52 +0000)]
LP2000482 Bootstrap 5: search results spacing

Signed-off-by: Stephanie <stephanie.leary@equinoxoli.org>
2 years agoLP2000482 Bootstrap 5: form-select
Stephanie [Tue, 28 Feb 2023 22:51:13 +0000 (22:51 +0000)]
LP2000482 Bootstrap 5: form-select

Signed-off-by: Stephanie <stephanie.leary@equinoxoli.org>
2 years agoLP2000482 Bootstrap 5: Font styles
Stephanie Leary [Thu, 23 Feb 2023 22:58:06 +0000 (16:58 -0600)]
LP2000482 Bootstrap 5: Font styles

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: hold component fixup
Stephanie Leary [Thu, 23 Feb 2023 21:59:56 +0000 (15:59 -0600)]
LP2000482 Bootstrap 5: hold component fixup

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: hold component fixup
Stephanie Leary [Wed, 22 Feb 2023 20:38:19 +0000 (14:38 -0600)]
LP2000482 Bootstrap 5: hold component fixup

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: form-label class for every <label>
Stephanie Leary [Wed, 22 Feb 2023 17:43:14 +0000 (11:43 -0600)]
LP2000482 Bootstrap 5: form-label class for every <label>

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: left/start, right/end
Stephanie Leary [Wed, 22 Feb 2023 17:10:06 +0000 (11:10 -0600)]
LP2000482 Bootstrap 5: left/start, right/end

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: Button blocks
Stephanie Leary [Wed, 22 Feb 2023 17:03:12 +0000 (11:03 -0600)]
LP2000482 Bootstrap 5: Button blocks

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: Form select and input group text classes
Stephanie Leary [Wed, 22 Feb 2023 16:58:36 +0000 (10:58 -0600)]
LP2000482 Bootstrap 5: Form select and input group text classes

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: Eliminate jumbotron style
Stephanie Leary [Wed, 22 Feb 2023 16:53:23 +0000 (10:53 -0600)]
LP2000482 Bootstrap 5: Eliminate jumbotron style

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: Modal/dialog close button classes
Stephanie Leary [Tue, 21 Feb 2023 23:17:33 +0000 (17:17 -0600)]
LP2000482 Bootstrap 5: Modal/dialog close button classes

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: org-family-select repairs
Bill Erickson [Thu, 12 Jan 2023 16:14:51 +0000 (11:14 -0500)]
LP2000482 Bootstrap 5: org-family-select repairs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: Avoid default href links
Bill Erickson [Thu, 12 Jan 2023 15:55:44 +0000 (10:55 -0500)]
LP2000482 Bootstrap 5: Avoid default href links

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5 / Recover .badge's
Bill Erickson [Thu, 12 Jan 2023 15:36:09 +0000 (10:36 -0500)]
LP2000482 Bootstrap 5 / Recover .badge's

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: MARC Editor
Bill Erickson [Tue, 27 Dec 2022 21:42:39 +0000 (16:42 -0500)]
LP2000482 Bootstrap 5: MARC Editor

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: MARC Editor
Bill Erickson [Tue, 27 Dec 2022 20:49:05 +0000 (15:49 -0500)]
LP2000482 Bootstrap 5: MARC Editor

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: verify credentials
Bill Erickson [Tue, 27 Dec 2022 17:54:21 +0000 (12:54 -0500)]
LP2000482 Bootstrap 5: verify credentials

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Silence some page load errors
Bill Erickson [Tue, 27 Dec 2022 17:45:04 +0000 (12:45 -0500)]
LP2000482 Silence some page load errors

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: Rename some utility classes
Bill Erickson [Tue, 27 Dec 2022 16:33:28 +0000 (11:33 -0500)]
LP2000482 Bootstrap 5: Rename some utility classes

See previous commit.  I missed a sub-dir.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: Rename some utility classes
Bill Erickson [Tue, 27 Dec 2022 16:02:57 +0000 (11:02 -0500)]
LP2000482 Bootstrap 5: Rename some utility classes

find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/font-weight/fw/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/ml-/ms-/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/mr-/me-/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/pl-/ps-/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/pr-/pe-/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/badge-/bg-/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/badge/rounded-pill/g'

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: Login Page
Bill Erickson [Tue, 27 Dec 2022 15:55:42 +0000 (10:55 -0500)]
LP2000482 Bootstrap 5: Login Page

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Angular 15; Bootstrap 5; And more\!; WIP
Bill Erickson [Mon, 26 Dec 2022 17:06:09 +0000 (12:06 -0500)]
LP2000482 Angular 15; Bootstrap 5; And more\!; WIP

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: search form spacing
Stephanie [Tue, 28 Feb 2023 23:14:49 +0000 (23:14 +0000)]
LP2000482 Bootstrap 5: search form spacing

Signed-off-by: Stephanie <stephanie.leary@equinoxoli.org>
2 years agoLP2000482 Bootstrap 5: search results spacing
Stephanie [Tue, 28 Feb 2023 22:52:08 +0000 (22:52 +0000)]
LP2000482 Bootstrap 5: search results spacing

Signed-off-by: Stephanie <stephanie.leary@equinoxoli.org>
2 years agoLP2000482 Bootstrap 5: form-select
Stephanie [Tue, 28 Feb 2023 22:51:13 +0000 (22:51 +0000)]
LP2000482 Bootstrap 5: form-select

Signed-off-by: Stephanie <stephanie.leary@equinoxoli.org>
2 years agoLP1999955 release note
Jane Sandberg [Tue, 28 Feb 2023 18:54:30 +0000 (10:54 -0800)]
LP1999955 release note

2 years agoLP1999955 AccessKeys info style updates
Stephanie Leary [Fri, 9 Dec 2022 17:22:13 +0000 (11:22 -0600)]
LP1999955 AccessKeys info style updates

Adds styles to the keyboard shortcuts to make them look more like
keys. Also adds striping to each row and makes the headers bold.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 years agoLP1999270: add release notes
Jane Sandberg [Tue, 28 Feb 2023 15:47:25 +0000 (07:47 -0800)]
LP1999270: add release notes

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
2 years agoLP1999270: Bold the Paid indicator on line items
Tiffany Little [Fri, 9 Dec 2022 18:16:55 +0000 (13:16 -0500)]
LP1999270: Bold the Paid indicator on line items

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Mary Llewellyn <mllewell@biblio.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
2 years agoLP#1916403 Staff catalog search form labels
Stephanie Leary [Mon, 5 Dec 2022 20:25:31 +0000 (14:25 -0600)]
LP#1916403 Staff catalog search form labels

Provides label tags for staff catalog search form fields.

Most labels in the form are visible. I have used the sr-only class to
make labels available to screen reader users while hiding them from
sight on the publication date range fields, which I think are easy
enough to use without visible labels. However, this combination of year
and operator dropdowns is not well organized for screen reader users,
and we should rethink the order and wording of these fields.

To test, visit staff/catalog/search and inspect each form field. Verify
that each one has a <label> tag where the for attribute matches the ID
of the associated form element. (Checkboxes wrapped in the <label> tag
still need matching ID and for attributes for consistent ARIA support.)

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
fix

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
2 years 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>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 years agoLP2004187 Opens acq provider link in new tab on PO
Tiffany Little [Mon, 30 Jan 2023 19:01:11 +0000 (14:01 -0500)]
LP2004187 Opens acq provider link in new tab on PO

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
2 years agoLP2003742 Shelf browse in angular catalog uses deleted call numbers
Garry Collum [Tue, 24 Jan 2023 16:22:28 +0000 (16:22 +0000)]
LP2003742 Shelf browse in angular catalog uses deleted call numbers

Fixes the call number browse.  To determine the call number for which
the browse list displays, deleted call numbers are not removed from
the query.

To test in Concerto:
1. Go to a bib and click on the shelf browse tab. Notice where the list
begins.
2. Add a new item with a call number less thatn the starting point of
the browse list.  For example, if the list begins at 780, create
a call number at 100.
3. Refresh the browse screen and notice that the list now begins at
the lower call number.
4. Delete the item and call number that was created, the list still
begins at the lower call number.
5. Apply the patch.
6. The list should now begin at it's original call number.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP#2007877: various fixes to Server Admin Print Templates page
Galen Charlton [Mon, 20 Feb 2023 22:13:45 +0000 (17:13 -0500)]
LP#2007877: various fixes to Server Admin Print Templates page

This patch fixes a regression introduced by the switch to NgbNav
as well as a number of other issues.

To test
-------
[1] Open the Server Administration -> Print Templates page and select
    a print template. Observe that the template editor is not displayed
    and that there are errors in the browser console.
[2] Apply the patch and repeat step 1. This time, the template is
    displayed along with its previewed.
[3] Switch to the Sample Data tab, then select another template. Observe
    that the template is reloaded and the active tab switched to the template
    editor.
[4] Select a template such as "Checkin" that does not have stock
    sample data. Observe that the Preview and Compiled Content panes on
    the template editor tab are empty and that the Sample Data tab
    has an empty control

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP1999282 (follow-up): fix css selector
Jane Sandberg [Sat, 25 Feb 2023 14:36:11 +0000 (06:36 -0800)]
LP1999282 (follow-up): fix css selector

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
2 years agoLP2000482 Bootstrap 5: Font styles
Stephanie Leary [Thu, 23 Feb 2023 22:58:06 +0000 (16:58 -0600)]
LP2000482 Bootstrap 5: Font styles

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: hold component fixup
Stephanie Leary [Thu, 23 Feb 2023 21:59:56 +0000 (15:59 -0600)]
LP2000482 Bootstrap 5: hold component fixup

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years 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>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 years agoLP2000482 Bootstrap 5: hold component fixup
Stephanie Leary [Wed, 22 Feb 2023 20:38:19 +0000 (14:38 -0600)]
LP2000482 Bootstrap 5: hold component fixup

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: form-label class for every <label>
Stephanie Leary [Wed, 22 Feb 2023 17:43:14 +0000 (11:43 -0600)]
LP2000482 Bootstrap 5: form-label class for every <label>

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: left/start, right/end
Stephanie Leary [Wed, 22 Feb 2023 17:10:06 +0000 (11:10 -0600)]
LP2000482 Bootstrap 5: left/start, right/end

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: Button blocks
Stephanie Leary [Wed, 22 Feb 2023 17:03:12 +0000 (11:03 -0600)]
LP2000482 Bootstrap 5: Button blocks

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: Form select and input group text classes
Stephanie Leary [Wed, 22 Feb 2023 16:58:36 +0000 (10:58 -0600)]
LP2000482 Bootstrap 5: Form select and input group text classes

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: Eliminate jumbotron style
Stephanie Leary [Wed, 22 Feb 2023 16:53:23 +0000 (10:53 -0600)]
LP2000482 Bootstrap 5: Eliminate jumbotron style

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: Modal/dialog close button classes
Stephanie Leary [Tue, 21 Feb 2023 23:17:33 +0000 (17:17 -0600)]
LP2000482 Bootstrap 5: Modal/dialog close button classes

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: org-family-select repairs
Bill Erickson [Thu, 12 Jan 2023 16:14:51 +0000 (11:14 -0500)]
LP2000482 Bootstrap 5: org-family-select repairs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: Avoid default href links
Bill Erickson [Thu, 12 Jan 2023 15:55:44 +0000 (10:55 -0500)]
LP2000482 Bootstrap 5: Avoid default href links

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5 / Recover .badge's
Bill Erickson [Thu, 12 Jan 2023 15:36:09 +0000 (10:36 -0500)]
LP2000482 Bootstrap 5 / Recover .badge's

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: MARC Editor
Bill Erickson [Tue, 27 Dec 2022 21:42:39 +0000 (16:42 -0500)]
LP2000482 Bootstrap 5: MARC Editor

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: MARC Editor
Bill Erickson [Tue, 27 Dec 2022 20:49:05 +0000 (15:49 -0500)]
LP2000482 Bootstrap 5: MARC Editor

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: verify credentials
Bill Erickson [Tue, 27 Dec 2022 17:54:21 +0000 (12:54 -0500)]
LP2000482 Bootstrap 5: verify credentials

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Silence some page load errors
Bill Erickson [Tue, 27 Dec 2022 17:45:04 +0000 (12:45 -0500)]
LP2000482 Silence some page load errors

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: Rename some utility classes
Bill Erickson [Tue, 27 Dec 2022 16:33:28 +0000 (11:33 -0500)]
LP2000482 Bootstrap 5: Rename some utility classes

See previous commit.  I missed a sub-dir.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Bootstrap 5: Rename some utility classes
Bill Erickson [Tue, 27 Dec 2022 16:02:57 +0000 (11:02 -0500)]
LP2000482 Bootstrap 5: Rename some utility classes

find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/font-weight/fw/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/ml-/ms-/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/mr-/me-/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/pl-/ps-/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/pr-/pe-/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/badge-/bg-/g'
find . -type f -name "*.html" -print0 | xargs -0 sed -i '' -e 's/badge/rounded-pill/g'

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
2 years agoLP2000482 Bootstrap 5: Login Page
Bill Erickson [Tue, 27 Dec 2022 15:55:42 +0000 (10:55 -0500)]
LP2000482 Bootstrap 5: Login Page

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP2000482 Angular 15; Bootstrap 5; And more\!; WIP
Bill Erickson [Mon, 26 Dec 2022 17:06:09 +0000 (12:06 -0500)]
LP2000482 Angular 15; Bootstrap 5; And more\!; WIP

Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP#1999274: Add Release Note
Jason Stephenson [Mon, 6 Feb 2023 19:10:25 +0000 (14:10 -0500)]
LP#1999274: Add Release Note

Add a one line release note to miscellaneous.adoc to indicate that a
search performance issue is resolved.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 years agoLP#1999274: Improve Search Performance on Pg 12+
Mike Rylander [Fri, 9 Dec 2022 17:41:43 +0000 (12:41 -0500)]
LP#1999274: Improve Search Performance on Pg 12+

Use OFFSET as an optimization fence to keep newer PGs from trying to
fold the c_attr and b_attr CTEs into the main search query.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 years agoLP1999282 Less intense badges for staff interface
Stephanie Leary [Fri, 9 Dec 2022 22:25:15 +0000 (16:25 -0600)]
LP1999282 Less intense badges for staff interface

Flips the contrast on badges to make them less intense and comply with
color contrast requirements. In keeping with the less intense alert
styles, the badges have more subtle background colors. I have also
adjusted the spacing and font weight to make the characters larger
without greatly increasing the overall size of the badge.

All of these styles pass WCAG AAA contrast checks. In anticipation of
Bootstrap 5, I have included the new .text-bg-* classes alongside the
current ones.

The access key modal (Control-H) is a good place to observe the overall
effect.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 years agoLP1841871: Add a test for creating authority record from bib field
Jane Sandberg [Thu, 29 Aug 2019 03:05:09 +0000 (20:05 -0700)]
LP1841871: Add a test for creating authority record from bib field

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years 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>
Signed-off-by: Jason Stephenson <jason@sigio.com>
2 years agoLP#1999065: update eg-pbx-mediator.pl to reflect RPC::XML::Server change
Josh Stompro [Mon, 5 Dec 2022 19:02:06 +0000 (13:02 -0600)]
LP#1999065: update eg-pbx-mediator.pl to reflect RPC::XML::Server change

RPC::XML::Server switched from add_proc to add_procedure in version 0.75.

This patch fixes the following error:

eg-pbx-mediator.pl will not run and returns an error:
Can't locate object method "add_proc" via package "RPC::XML::Server::new:

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years 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>
2 years agoLP1754455: Sanity checking and auto-strip 852s when using --items
Jason Boyer [Fri, 18 Nov 2022 13:31:31 +0000 (08:31 -0500)]
LP1754455: Sanity checking and auto-strip 852s when using --items

If a user passes --strip / inform them that their request to output nothing
but empty records has been denied. Also auto-remove existing 852 fields when
using --items because only actual holdings data should be output in that case.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP 1754455: Update Release Notes for Latest Template
Jason Stephenson [Fri, 9 Sep 2022 15:26:35 +0000 (11:26 -0400)]
LP 1754455: Update Release Notes for Latest Template

The four year old release notes used an out of date template.  This
commit changes two lines to bring them up to date with the latest
template.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1754455 Add Ability to remove fields or subfields in marc_export
Dan Pearl [Fri, 16 Mar 2018 17:14:03 +0000 (13:14 -0400)]
LP1754455 Add Ability to remove fields or subfields in marc_export

This commit adds a --strip option to marc_export that allows fields
and/or subfields to be removed from MARC records on export.

To test: Try all forms of --strip:
    --strip <tag> e.g. --strip 856
    --strip <tag>/<sub>   e.g.  --strip 856/0
    --strip /<sub>   e.g. --strip /0

Try some regular expressions:
    --strip 8..
    --strip /[ab0]

For all tests, compare the regular output to the stripped otput and
the plain (unstripped) output.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years 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>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years 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>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1999432: add release notes entry
Galen Charlton [Thu, 16 Feb 2023 15:05:56 +0000 (10:05 -0500)]
LP#1999432: add release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1999432: (follow-up) expand "PubDate" abbreviation
Galen Charlton [Thu, 16 Feb 2023 15:01:49 +0000 (10:01 -0500)]
LP#1999432: (follow-up) expand "PubDate" abbreviation

The shelf browse interface has enough space, so this patch
changes the label to "Publication Date" for the sake of translations
and consistency with other places in the interface that use
the full label.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1999432 Add PubDate to shelf browse list.
Garry Collum [Tue, 10 Jan 2023 17:12:44 +0000 (17:12 +0000)]
LP1999432 Add PubDate to shelf browse list.

Adds pubdate to the shelf browse list of the staff client.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1988321: Fix comparison problems to avoid incorrect error
Chris Sharp [Tue, 17 Jan 2023 16:11:36 +0000 (11:11 -0500)]
LP#1988321: Fix comparison problems to avoid incorrect error

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
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>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
2 years agoLP1999544_funddropdown Add owners limiter to fund dropdown
Tiffany Little [Fri, 16 Dec 2022 20:09:34 +0000 (15:09 -0500)]
LP1999544_funddropdown Add owners limiter to fund dropdown

Adds a limiter of owners to the acqf idlquery for fund dropdown in line items

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
2 years agoLP#1958258: (follow-up) tag new string for i18n
Galen Charlton [Tue, 14 Feb 2023 14:47:02 +0000 (09:47 -0500)]
LP#1958258: (follow-up) tag new string for i18n

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1958258 Angular login form shows pending offline xacts
Bill Erickson [Wed, 19 Jan 2022 16:46:27 +0000 (11:46 -0500)]
LP1958258 Angular login form shows pending offline xacts

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1969641 Show useful lack of staff working location message
Bill Erickson [Wed, 20 Apr 2022 16:08:52 +0000 (12:08 -0400)]
LP1969641 Show useful lack of staff working location message

When a user logs into the staff client that has STAFF_LOGIN permissions,
but no working locations, show a message to this affect instead of
resulting in a blank page.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoDocs: updating PO and SL documentation for 3.10
Andrea Buntz Neiman [Tue, 7 Feb 2023 21:20:16 +0000 (16:20 -0500)]
Docs: updating PO and SL documentation for 3.10

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoDocs: 3.10 updates to Load MARC Order Records
Andrea Buntz Neiman [Thu, 2 Feb 2023 20:48:54 +0000 (15:48 -0500)]
Docs: 3.10 updates to Load MARC Order Records

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#2003755 No Stat Cat Change Indication When Applying Template
Dan Briem [Wed, 25 Jan 2023 04:11:08 +0000 (23:11 -0500)]
LP#2003755 No Stat Cat Change Indication When Applying Template

Add indicator styles on statistical category form fields when
they are applied by a template in the Angular Holdings Editor.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1990306: Also check for authtoken at the auth service level
Chris Sharp [Fri, 27 Jan 2023 20:40:31 +0000 (15:40 -0500)]
LP#1990306: Also check for authtoken at the auth service level

Thank you to Bill Erickson and Jason Stephenson for assistance with this.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years 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>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1945355 Inconsistent button placement: delete holdings dialog
Dan Briem [Wed, 9 Feb 2022 16:44:54 +0000 (11:44 -0500)]
LP#1945355 Inconsistent button placement: delete holdings dialog

The cancel button on the delete-volcopy-dialog now appears last
to be consistent with the eg-confirm dialogs.

To test:
1. set the ou setting "Alert on empty bib records" to true
2. delete the last copy on a record
3. note the Delete Holdings/OK and Cancel buttons are in the
   same order on the delete and confirmation dialogs

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Jennifer Weston <jennifer.weston@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1980302 Bootstrap: applied search filters display oddly
Garry Collum [Thu, 14 Jul 2022 16:43:53 +0000 (16:43 +0000)]
LP1980302 Bootstrap: applied search filters display oddly

Moves the display of applied filters into bootstrap alert messages and aligns applied filters
in a row, and utilizes more native bootstrap classes.  Also, adds a label to the 'Locations'
filter and code to implement an 'OR' separator, if more than one location is selected.

To test:
1. Perform an advanced search in the bootstrap catalog and apply some filters. To test
the locations, select several location options.
2. Notice the formatting of the 'Filtered by:' display data.  Notice also the display
of the locations filter without a label or a separator.
3. Apply the patch.
4. Repeat 2 to see the new formatting.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1965065 Example DOB on self-registration displays twice
Garry Collum [Tue, 28 Jun 2022 15:07:46 +0000 (15:07 +0000)]
LP1965065 Example DOB on self-registration displays twice

This fixes the double display of the example text in the self-registration form of the opac.
Not only does DOB example display twice but the example text for phone, email, and
postal code also display twice.

To test:
1. Go to library settings and set "Allow Patron Self Registration" and "Show DOB field on patron
registration" to true.  Set a value for "Example dob field on patron registration".  If testing
phone, postal code, or email the appropriate values must be set for the show and example
parameters.
2. Go to "Request a Library Card" in the opac.
3. Notice that the DOB example displays twice.
4. Apply the patch.
5. The example now just displays once.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>