evergreen/tadl.git
20 months agoLP1997098 Stamping DB Upgrade: PG 15
Bill Erickson [Thu, 2 Mar 2023 16:46:39 +0000 (11:46 -0500)]
LP1997098 Stamping DB Upgrade: PG 15

Signed-off-by: Bill Erickson <berickxx@gmail.com>
20 months agoLP1997098: Add Support for PostgreSQL 15
Jason Stephenson [Wed, 23 Nov 2022 20:38:00 +0000 (15:38 -0500)]
LP1997098: Add Support for PostgreSQL 15

Add Makefile targets to install the PostgreSQL 15 server
prerequisites.

Make postgresql-client-15 the default client version.

Add full text search configuration for PostgreSQL 15.

Modify config.ccmm_once_per_paramset and config.chmm_once_per_paramset
indexes for the interval casting function change from immutable to
stable.

Add a database upgrade script for the above.

Update the server installation instruction (README) for PostgreSQL 15.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
20 months agoLp 2008925: Patch Templates Adversely Affected by Lp 1992490
Jason Stephenson [Wed, 1 Mar 2023 19:34:25 +0000 (14:34 -0500)]
Lp 2008925: Patch Templates Adversely Affected by Lp 1992490

The patch for Lp 1992490 wrapped several text blocks in the l()
translation function.  At least two of these introduced syntax error
in Template Toolkit.  Some of the others could have been done
differntly to fit in better with the general idiom of how we use the
fuction in Evergreen.

This commit modifies those that stood out as the most egregious
examples.

An easy way to test this is to login to the OPAC on an unpatched
system and click to open "Messages."  You will get an Internal Server
Error.  After you apply this commit and install the affected
templates, you will not get an Internal Server Error.

The other modified templates do not seem to crash, but use the
translation funciton in idiosyncratic ways.  This commit attempts to
smooth those out.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP1940662: Add a --pipe option to marc_export
Jason Stephenson [Thu, 2 Mar 2023 15:33:34 +0000 (10:33 -0500)]
LP1940662: Add a --pipe option to marc_export

Add a --pipe option to marc_export to force reading of record ids from
standard input when one or more of the --library, or --descendants
options are used.  This permits more flexibility when exporting
records with holdings for given libraries or subsets of a collection.

It is an error to specify the --all or --since and --pipe options in
the same command line.

Co-authored-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Josh Stompro <stomproj@larl.org>
20 months agoLP1814978 Keyboard support for bib record actions
Stephanie Leary [Wed, 1 Mar 2023 15:52:19 +0000 (09:52 -0600)]
LP1814978 Keyboard support for bib record actions

Adds the ngbDropdownItem directive to dropdown menu items in the staff
catalog bib record actions: Serials, Mark For, and Other Actions. This
adds support for navigating the menus using the up/down arrows on the
keyboard.

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>
20 months agoLP #1998494: Angular Holdings Editor: Cannot create empty call numbers
Jessica Woolford [Fri, 9 Dec 2022 15:32:25 +0000 (10:32 -0500)]
LP #1998494: Angular Holdings Editor: Cannot create empty call numbers

Returns support for adding empty call numbers when adding holdings.

Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
Signed-off-by: Mary Llewelln <mllewell@biblio.org>
Signed-off-by: Elaine Hardy <ehardy@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
20 months agoLP#2003707: add releases note entry
Galen Charlton [Wed, 1 Mar 2023 18:49:15 +0000 (13:49 -0500)]
LP#2003707: add releases note entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP2003707: Add an OpenSRF Core Config Param to autogen.sh
Jason Boyer [Mon, 23 Jan 2023 12:23:15 +0000 (07:23 -0500)]
LP2003707: Add an OpenSRF Core Config Param to autogen.sh

What it says on the tin, if you change the name or location of
opensrf_core.xml now you can still run autogen.sh.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP#1987910: stamp DB update
Galen Charlton [Wed, 1 Mar 2023 17:09:07 +0000 (12:09 -0500)]
LP#1987910: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP1987910: Correcting typo in opac.located_uri.act_as_copy
Gina Monti [Tue, 29 Nov 2022 15:20:11 +0000 (10:20 -0500)]
LP1987910: Correcting typo in opac.located_uri.act_as_copy

Includes revisions by Scott Angel.

Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Scott Angel <scottangel@mobiusconsortium.org>
Signed-off-by: Mary Llewellyn <mllewell@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP#1987908: stamp DB update
Galen Charlton [Wed, 1 Mar 2023 17:07:16 +0000 (12:07 -0500)]
LP#1987908: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP1987908: Fixing typo in seed data for history.money.age_with_circs
Scott Angel [Tue, 6 Dec 2022 22:03:55 +0000 (16:03 -0600)]
LP1987908: Fixing typo in seed data for history.money.age_with_circs

Created upgrade sql script to accompany Gina's original commit.

Signed-off-by: Scott Angel <scottangel@mobiusconsortium.org>
Signed-off-by: Mary Llewellyn <mllewell@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP1987908: Fixing typo in seed data for history.money.age_with_circs
Gina Monti [Tue, 29 Nov 2022 14:50:41 +0000 (09:50 -0500)]
LP1987908: Fixing typo in seed data for history.money.age_with_circs

Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Mary Llewellyn <mllewell@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP2007591 Allow Last-Copy Delete to Create Hold Notices
Bill Erickson [Thu, 16 Feb 2023 16:02:49 +0000 (11:02 -0500)]
LP2007591 Allow Last-Copy Delete to Create Hold Notices

Fixes an issue where attempting to create A/T events for recently
canceled holds fails becuase the cancel_time on the hold is the
pre-insert value of "now" instead of a valid date string.

Resolve the issue by fetching the post-insert copy of the hold, so it has
all of the correct in-database values, before passing the hold to A/T
for processing.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
20 months agoLP#1914625: add release notes entry
Galen Charlton [Wed, 1 Mar 2023 16:51:33 +0000 (11:51 -0500)]
LP#1914625: add release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP1914625: Add Emacs Mode to fm_IDL.xml
Jason Stephenson [Thu, 17 Mar 2022 15:22:41 +0000 (11:22 -0400)]
LP1914625: Add Emacs Mode to fm_IDL.xml

Adds the Emacs Local Variables block above the vim modeline at the
bottom of the file.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP1991562 Accessible link and button colors in Angular staff interface
Stephanie Leary [Tue, 1 Nov 2022 16:33:04 +0000 (11:33 -0500)]
LP1991562 Accessible link and button colors in Angular staff interface

Several of the default colors in Bootstrap 4 do not meet WCAG Level AA
accessibility requirements when used for links (#007bff blue) or button
backgrounds with white text (blue/primary, #28a745 green/success, and

Additionally, while the yellow/warning color (#ffc107) does pass the
contrast check with black text, the button itself does not pass the
graphical object contrast check against white or #f7f7f7 page/tab
backgrounds, meaning people with some forms of color blindness can't see
the shape of the button.

This patch updates link and button colors using Bootstrap 5 tints
(https://getbootstrap.com/docs/5.0/customize/color/#all-colors). While
slightly lighter custom colors could be used to pass the contrast
checks, sticking to the Bootstrap 5 color scheme should make it easier
for us to stay consistent as new components are added in the future.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Shula Link <slink@gchrl.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP1980874 Limit depth dropdown in patron notes
Stephanie Leary [Thu, 19 Jan 2023 15:18:40 +0000 (09:18 -0600)]
LP1980874 Limit depth dropdown in patron notes

Adds standard form control styling to the depth select menu in the
Patron > Create Note modal. This limits the width of the closed dropdown
to the width of the form and prevents long labels from overflowing.

This does not prevent the individual options from overflowing the
<select> width due to the limited CSS support for the <option> tag; all
width and text wrap properties are currently unsupported.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP#1999410 Move LI loading progress bar
Tiffany Little [Fri, 16 Dec 2022 20:24:37 +0000 (15:24 -0500)]
LP#1999410 Move LI loading progress bar

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP1999268 PO Link to invoice should not retrieve closed invoices
Tiffany Little [Fri, 9 Dec 2022 16:58:19 +0000 (11:58 -0500)]
LP1999268 PO Link to invoice should not retrieve closed invoices

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Mary Llewellyn <mllewell@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP2002920: Angular acq batch updater now updates the circ modifier
Tiffany Little [Sun, 15 Jan 2023 21:44:52 +0000 (16:44 -0500)]
LP2002920: Angular acq batch updater now updates the circ modifier

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP2002337 Pre-Fetch All Holds Checkbox Appears Twice
Terran McCanna [Mon, 9 Jan 2023 17:28:46 +0000 (12:28 -0500)]
LP2002337 Pre-Fetch All Holds Checkbox Appears Twice

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

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months agoLP1998969 Make disabled <option>s more obvious
Stephanie Leary [Tue, 6 Dec 2022 22:56:14 +0000 (16:56 -0600)]
LP1998969 Make disabled <option>s more obvious

Changes the color of disabled options in <select> dropdowns to 30% gray.

To test, visit the staff catalog. In the search filters, with the search
type set to keyword, notice that the "matches exactly" and "starts with"
options in the "Contains" dropdown are now better distinguished from
valid choices.

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>
20 months agoLP1999955 release note
Jane Sandberg [Tue, 28 Feb 2023 18:54:30 +0000 (10:54 -0800)]
LP1999955 release note

20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months agoLP2003947 Add LID count to Acq Search
Tiffany Little [Mon, 30 Jan 2023 18:52:58 +0000 (13:52 -0500)]
LP2003947 Add LID count to Acq Search

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months agoLP2006513 Angular login redirect repair
Bill Erickson [Wed, 22 Feb 2023 18:55:06 +0000 (13:55 -0500)]
LP2006513 Angular login redirect repair

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

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months agoLP#2007880: fix open-ils.actor.ou_setting.ancestor_default
Galen Charlton [Mon, 20 Feb 2023 23:35:10 +0000 (18:35 -0500)]
LP#2007880: fix open-ils.actor.ou_setting.ancestor_default

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

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

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

    Note that an error is returned.

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

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
20 months 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>
20 months agoLP#1999944: fix bug that can break drawing the folder tree for reports
Llewellyn Marshall [Fri, 9 Dec 2022 20:40:54 +0000 (15:40 -0500)]
LP#1999944: fix bug that can break drawing the folder tree for reports

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

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

Signed-off-by: Llewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months 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>
20 months 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>
20 months 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>
20 months agoLP2006749: Fix second call to ou_ancestor_setting_perm_check in AppUtils.pm
Chris Sharp [Thu, 9 Feb 2023 18:31:26 +0000 (13:31 -0500)]
LP2006749: Fix second call to ou_ancestor_setting_perm_check in AppUtils.pm

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

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

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

This commit corrects the call to ou_ancestor_setting_perm_check.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months 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>
20 months agoLP#1990306: avoid VIEW_USER perm lookup on egPatronApp startup when we have a null...
Jeff Davis [Tue, 18 Oct 2022 19:42:26 +0000 (12:42 -0700)]
LP#1990306: avoid VIEW_USER perm lookup on egPatronApp startup when we have a null authtoken

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months 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>
21 months 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>
21 months 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>
21 months agoLP#1984269: Bootstrap opac: display of tables on small screens
Garry Collum [Thu, 11 Aug 2022 18:44:19 +0000 (18:44 +0000)]
LP#1984269: Bootstrap opac: display of tables on small screens

This incorporates a generic process to display vertical tables in the Bootstrap
opac in small screens by adding a 'mobile-title' attr to any <td> elements
of the table.  This patch uses the copy_table.tt2 and results/table.tt2
as examples.

These two tables are best tested with bibs that contain items that have parts.
The results/table.tt2 is displayed by using the "Show More Details" button
on the results screen.  When the screen is sized so that the tables become
vertical the parts column is not displayed.  After the patch is applied
the parts column is displayed only on those bibs that contain parts.

For these two particular tables, it also refactors the method
in which the copies are numbered with the lists.  Prior to the patch the
mobile display would show the copy number, but it would stop at 10 for both
of these tables, because that's what was defined in CSS.  They should now
display a number for each table row displayed.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP#1983729: Bootstrap Opac: fix copy navigation links in small screens
Garry Collum [Wed, 10 Aug 2022 17:05:14 +0000 (17:05 +0000)]
LP#1983729: Bootstrap Opac: fix copy navigation links in small screens

This moves the previous, next, and Show more copies links out of the
copies table so that these values do not have incorrect labels on small
screens.

To test:
1. Retrieve a bib record with a large number of copies.
2. In a small screen notice that the previous, next, and show more copies
links are labeled, as Library and Call Number.
3. Apply the patch.
4. Repeat step 2.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP1980304 Bootstrap: Facets move when viewing results for grouped records.
Garry Collum [Wed, 14 Sep 2022 15:01:00 +0000 (15:01 +0000)]
LP1980304 Bootstrap: Facets move when viewing results for grouped records.

Fixes the displacement of the facets in the bootstrap opac when viewing grouped records.

To test:
1. Perform a search in the bootstrap opac with the Group Formats and Editions option
selected.  In concerto - "Ready Player One"
2. Click on a resulting title that contains more than one format.
3. Notice the placement of the facets.
4. Apply the patch and repeat.
5. The facets should no longer be displaced when viewing metarecords or non-metarecords.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP1966995: Bootstrap Opac: fix display of 856 $n, $z, and $3
Garry Collum [Fri, 5 Aug 2022 14:45:27 +0000 (14:45 +0000)]
LP1966995: Bootstrap Opac: fix display of 856 $n, $z, and $3

This fixes the display in the Bootstrap Opac for the 856 subfields n, z, and
3.

To test:

1. Create a record(s) with 856 fields which contain a combination of
subfield n, z and 3's.
2. Prior to the patch the fields do not display in the bootstrap opac.
3. Apply the patch.
4. The fields will now display.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Carol Witt <wittc@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP#1995623: stamp schema update
Galen Charlton [Sat, 28 Jan 2023 19:56:03 +0000 (14:56 -0500)]
LP#1995623: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP1995623 Ang checkout prevents due dates in the past
Bill Erickson [Thu, 3 Nov 2022 16:35:29 +0000 (12:35 -0400)]
LP1995623 Ang checkout prevents due dates in the past

Prevent previous date selection in due date selector.

Additionally warn when a time in the past on the current day selected
and prevent checkout submission.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP1995623 DateTime picker gets min/max date support
Bill Erickson [Thu, 3 Nov 2022 16:34:54 +0000 (12:34 -0400)]
LP1995623 DateTime picker gets min/max date support

Note this only affects the date select, since the time picker has no
notion of a minimum time.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP1995623 Patron data print template repairs
Bill Erickson [Thu, 3 Nov 2022 16:03:08 +0000 (12:03 -0400)]
LP1995623 Patron data print template repairs

Patron alert_message field is no more.  Remove it from the default
patron data print template.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP#1976126: (follow-up) update method documentation
Galen Charlton [Tue, 11 Oct 2022 20:06:24 +0000 (16:06 -0400)]
LP#1976126: (follow-up) update method documentation

This patch updates the open-ils.actor.patron.update method
documentation to explicitly state that updates to patron notes,
user activity, and standing penalities via that method are
ignored. This is to try to avoid a regression on this bug, as
otherwise it might be plausible for the method to allow the notes
and standing penalties (at least) to be updated.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP#1976126: Don't send useless (big) user data
Mike Rylander [Fri, 27 May 2022 20:48:41 +0000 (16:48 -0400)]
LP#1976126: Don't send useless (big) user data

When saving a user in the AngularJS UIs, we currently send the notes,
usr_activity, and standing_penalties fields to the actor service.
However, that's not how those get updated, and with large sets that can
cause problems.  This commit removes those fields before saving the
user.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP#1978978: stamp schema update
Galen Charlton [Sat, 28 Jan 2023 19:24:26 +0000 (14:24 -0500)]
LP#1978978: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP#1978978: add release notes entry
Galen Charlton [Sat, 28 Jan 2023 19:24:17 +0000 (14:24 -0500)]
LP#1978978: add release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP#1978978: (follow-up) remove pub from CDBI class
Galen Charlton [Sat, 28 Jan 2023 19:19:27 +0000 (14:19 -0500)]
LP#1978978: (follow-up) remove pub from CDBI class

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP#1978978: Remove public flag from biblio.record_note
Rogan Hamby [Fri, 17 Jun 2022 17:29:41 +0000 (13:29 -0400)]
LP#1978978: Remove public flag from biblio.record_note

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
21 months agoLP#1998386: add release notes entry
Galen Charlton [Sat, 28 Jan 2023 19:13:50 +0000 (14:13 -0500)]
LP#1998386: add release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoLP1998386 Add Report Template ID to Interface
Terran McCanna [Wed, 30 Nov 2022 19:58:01 +0000 (14:58 -0500)]
LP1998386 Add Report Template ID to Interface

This displays the report template id in the staff client
under Reports > Templates to aid in troubleshooting reports
questions.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
21 months agoDocs: updates to Standing Penalties and Group Penalty Thresholds
Andrea Buntz Neiman [Thu, 26 Jan 2023 16:28:49 +0000 (11:28 -0500)]
Docs: updates to Standing Penalties and Group Penalty Thresholds

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
21 months agoLP 1999696 - Saving stat cats and values in holdings templates
Jessica Woolford [Fri, 6 Jan 2023 20:32:42 +0000 (15:32 -0500)]
LP 1999696 - Saving stat cats and values in holdings templates

Updating the saveTemplate function so that is consults statCatValues

Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
21 months agoLP19800544 Import all holdings templates
Adam Woolford [Fri, 6 Jan 2023 20:13:53 +0000 (15:13 -0500)]
LP19800544 Import all holdings templates

Adds loop to importTemplate function so that the whole file will import

Signed-off-by: Adam Woolford <adam.woolford@hotmail.com>
Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
21 months agoDocs: 3.10 Antora update
Andrea Buntz Neiman [Thu, 19 Jan 2023 21:43:55 +0000 (16:43 -0500)]
Docs: 3.10 Antora update

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
21 months agoDocs: global flags docs fixes
Andrea Buntz Neiman [Thu, 19 Jan 2023 21:32:14 +0000 (16:32 -0500)]
Docs: global flags docs fixes

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
21 months agoDocs: web services docs fix
Andrea Buntz Neiman [Wed, 18 Jan 2023 20:52:53 +0000 (15:52 -0500)]
Docs: web services docs fix

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
21 months agoForward Port 3.8.2 Upgrade Script
Jason Boyer [Fri, 13 Jan 2023 19:42:01 +0000 (14:42 -0500)]
Forward Port 3.8.2 Upgrade Script

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
21 months agoDocs: Evergreen web services docs
Galen Charlton [Thu, 12 Jan 2023 17:38:32 +0000 (12:38 -0500)]
Docs: Evergreen web services docs

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
21 months agoLP#1955079: Use Email::MIME for emailing records in the OPAC
Jane Sandberg [Thu, 5 May 2022 05:42:26 +0000 (22:42 -0700)]
LP#1955079: Use Email::MIME for emailing records in the OPAC

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

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
21 months agoLP#1955079: Staff catalog can't email records
Mike Rylander [Wed, 12 Jan 2022 16:25:59 +0000 (11:25 -0500)]
LP#1955079: Staff catalog can't email records

The angular staff catalog uses the new print/email records
functionality, but calls it without some expected parameters.  This
causes the backend method to fail as it assumes the params will exist.

This commit removes that assumption by testing the length of the
parameter list before attempted to read them.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
21 months agoLP1992490-Bootstrap Opac: sr-only, aria-label, and title localization.
Garry Collum [Tue, 11 Oct 2022 17:47:14 +0000 (17:47 +0000)]
LP1992490-Bootstrap Opac: sr-only, aria-label, and title localization.

Corrects some instances of non-localization of sr-only fields, aria-labels,
and title attributes.  Also corrects some stray display strings that were
not localized.

To test:

Apply the patch, and view each page to see if it renders. View the page
source of each page to see if the sr-only fields, aria-labels, and
title attributes are rendered correctly.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
21 months agoLP1999304 (follow-up): blank alt text for decorative image
Jane Sandberg [Sat, 7 Jan 2023 04:19:55 +0000 (20:19 -0800)]
LP1999304 (follow-up): blank alt text for decorative image

Steps to test:
1. Search the staff catalog for Ready Player One in the concerto dataset.
2. Check the Group Formats/Editions checkbox
3. Press the Place hold button
4. Use your browser's dev tools (or a screen reader) to find the accessible
name of the Large Print Book checkbox.
5. Confirm that the accessible name is Large Print Book, rather than
Large Print Book Large Print Book.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
21 months agoLP1999304 Labels for metarecord hold checkboxes
Stephanie Leary [Tue, 13 Dec 2022 16:45:58 +0000 (10:45 -0600)]
LP1999304 Labels for metarecord hold checkboxes

Wraps metarecord hold format and language checkboxes in labels with
for attributes matched to input IDs.

To test:

1. Search the catalog for an item with multiple formats
2. Check the option to group formats/editions
3. Click "place hold" on one of the results
4. Find the table below "Placing METARECORD hold on record(s)"
5. Toggle the language or format checkboxes by clicking their labels or
   icons rather than the box itself

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
22 months agoLP1422927 Opac hold history pagination
Garry Collum [Thu, 25 Aug 2022 17:44:13 +0000 (17:44 +0000)]
LP1422927 Opac hold history pagination

Fixes the hold history pagination in both the TPac and the Bootstrap opac.

To test:
1. Login as a patron and enable the hold history preference.  The default
number of items on each page is 15, so place at least 16 holds for this
patron.  (The limit can be overridden in the url with the &limit switch).
2. View the hold history and notice that all items are displaying on all
pages.
3. Apply the patch
4. The results are now paginated with 15 items per page.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
22 months agoLP1995418 Shelving location selector won't dropdown
Tiffany Little [Wed, 28 Dec 2022 14:44:26 +0000 (09:44 -0500)]
LP1995418 Shelving location selector won't dropdown

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
22 months agoLP1999954 Modal header color contrast fixes
Stephanie Leary [Sat, 17 Dec 2022 00:58:36 +0000 (18:58 -0600)]
LP1999954 Modal header color contrast fixes

Changes modal header and close button to white in order to pass WCAG
color contrast checks.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
22 months agoLP#1908455 - Prevent multiple server processes
Clayton Liddell [Wed, 16 Dec 2020 22:12:44 +0000 (16:12 -0600)]
LP#1908455 - Prevent multiple server processes

Check for the existence of a server process before creating a new
server process in oils_ctl.sh.

Signed-off-by: Clayton Liddell <clayton@librarymarket.com>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
22 months agoLP1948693 Migrate from NgbTabset to ngbNav
Stephanie Leary [Wed, 19 Oct 2022 20:49:41 +0000 (15:49 -0500)]
LP1948693 Migrate from NgbTabset to ngbNav

Updates the deprecated NgbTabset components to ngbNav and adds directive
for keyboard navigation.

See https://gist.github.com/stephanieleary/800b9f2b1d9c08cc66d694daaa1788b9 for
a quick guide to the markup changes involved.

Screens to test:

1. /staff/acq/provider, right click an existing provider to show details tabs
2. /staff/admin/local/negative-balances
3. /staff/admin/local/action/survey, edit an existing survey, test Edit Survey
and Q&A tabs
4. /staff/admin/server/actor/org_unit, note that Addresses tab has a second set
of tabs underneath
5. /staff/admin/server/actor/org_unit_type, note that eg-tree has also changed
here
6. /staff/admin/server/permission/grp_tree, choose a group to see tabs
7. /staff/admin/server/config/print_template
8. /staff/booking/create_reservation
9. /staff/booking/manage_reservations, filter reservations section
10. /staff/booking/return
11. /staff/cat/authority/browse
12. /staff/cat/vandelay/import and all import/export tabs
13. /staff/cat/bucket/record/view
14. /staff/catalog/search
15. /staff/circ/holds/pull-list, right click a hold, choose Show Hold Details,
the tabs are at the bottom of the screen

Test plan:

Note that you cannot navigate tabbed interfaces using the tab key on your
keyboard.

Apply the patch, then visit the screens listed above.

You should be able to use the tab key to move sequentially through all the tabs.
Pressing Enter on an inactive tab should make it active, just as clicking it
would. You should not be able to click or press Enter to activate a disabled
tab.

You should be able to move from the last tab in the list into the first
focusable element in the active tab's content panel. If you spot a tab content
panel that doesn't contain a focusable element (i.e. links or inputs), let me
know; we have to set its tabindex attribute manually.

If a tab panel contains a second set of tabs, these should work as well.

Note on ARIA and roles:

Note that neither Bootstrap 5 nor ng-bootstrap are currently following the ARIA
Authoring Practices Guide for tabs with manual activation (the recommended
pattern for tab panels with complicated content, like form inputs or data
tables), which does not recommend sequential movement:
https://www.w3.org/WAI/ARIA/apg/example-index/tabs/tabs-manual.html. Therefore,
we aren't following this pattern either. We can revisit this and/or take it up
with Bootstrap.

For now, running axe DevTools on any screen with navs will show ARIA role errors
on role="tab" attributes. We are using ng-bootstrap's default ARIA roles for
tabs, but they are incorrect. I am trying to get traction on a pull request to
change the problem in ng-bootstrap, but in the meantime, we are not using the
automatic [roles] directive. Role attributes have been set explicitly on all
tabs and their containing elements.

Note on eg-tree CSS:

In the Org Unit Type screens, there was previously some inline CSS related to
eg-tree that was causing compiler errors. I have moved this to a separate CSS
file, and will revisit eg-tree styles more generally in another upcoming
project.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
22 months agoDocs: updating Global Flags docs
Andrea Buntz Neiman [Thu, 22 Dec 2022 17:25:58 +0000 (12:25 -0500)]
Docs: updating Global Flags docs

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
22 months agoLP1974581 Publication Year Filter Fields Out of Alignment
Scott Angel [Wed, 7 Dec 2022 21:59:44 +0000 (15:59 -0600)]
LP1974581 Publication Year Filter Fields Out of Alignment

Added 5px margin to the top of the <select> dropdown.

Signed-off-by: Scott Angel <scottangel@mobiusconsortium.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
22 months agoLP1999446 Localize "Record Summary" card heading
Stephanie Leary [Mon, 12 Dec 2022 21:48:31 +0000 (15:48 -0600)]
LP1999446 Localize "Record Summary" card heading

Wraps the bib summary card heading in a span for localization.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>