evergreen/tadl.git
17 months agoLP#2013223: quiet browser console noise from some AngularJS grids
Galen Charlton [Wed, 29 Mar 2023 16:09:32 +0000 (12:09 -0400)]
LP#2013223: quiet browser console noise from some AngularJS grids

This patch quells console error noise from certain AngularJS grids.

To test
-------
[1] Go to the AngularJS Renew Items, Holds Shelf, or patron holds list
    pages.
[2] Note that the brower console has a lot of "TypeError: action.handler is undefined"
    error messages.
[3] Apply the patch and repeat step 1. This time, the "action.handler"
    errors should be gone.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
17 months agoLP#1920826: Add release notes and stamp upgrade script
Chris Sharp [Tue, 9 May 2023 15:08:25 +0000 (11:08 -0400)]
LP#1920826: Add release notes and stamp upgrade script

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
17 months agoLP#1920826: ensure that some DB updates missed in 3.6.0 are included
Galen Charlton [Fri, 31 Mar 2023 22:11:36 +0000 (18:11 -0400)]
LP#1920826: ensure that some DB updates missed in 3.6.0 are included

This patch fixes a situation where an Evergreen database that had
been been upgraded to 3.6.0 at some point in its past using the
3.5.1-3.6.0 DB update script may be missing some DB revisions.

To test
-------
[1] Locate a test database that had been upgraded to 3.6.0 at some point
    and is missing some or all of DB revisions 1236-1240.
[2] Run the DB update in this patch.
[3] Verify that the DB revisions are in place and that the following
    bugs are resolved:

    - https://bugs.launchpad.net/evergreen/+bug/1788260 (1236)
    - https://bugs.launchpad.net/evergreen/+bug/1908727 (1237)
    - https://bugs.launchpad.net/evergreen/+bug/1835127 (1238)
    - https://bugs.launchpad.net/evergreen/+bug/1910891 (also 1238)
    - https://bugs.launchpad.net/evergreen/+bug/1882825 (1239)
    - https://bugs.launchpad.net/evergreen/+bug/1096209 (1240)

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
17 months agoLP#1989195: (follow-up) flesh out Chrome e2e options
Galen Charlton [Tue, 9 May 2023 14:53:39 +0000 (10:53 -0400)]
LP#1989195: (follow-up) flesh out Chrome e2e options

- add instructions to the cheat sheet
- add a chrome-headless mode

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
17 months agoLP#1989195: (follow-up) minor reformatting of Angular cheat sheet
Galen Charlton [Tue, 9 May 2023 14:18:53 +0000 (10:18 -0400)]
LP#1989195: (follow-up) minor reformatting of Angular cheat sheet

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
17 months agoLP1989195: upgrade nightwatch
Jane Sandberg [Thu, 23 Feb 2023 14:24:14 +0000 (06:24 -0800)]
LP1989195: upgrade nightwatch

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
17 months agoLP1989195: Update nightwatch selectors
Jane Sandberg [Wed, 22 Feb 2023 15:17:13 +0000 (07:17 -0800)]
LP1989195: Update nightwatch selectors

Also, remove flakey test for now

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
17 months agoLP1989195: Nightwatch Chrome Config & Notes
Bill Erickson [Tue, 25 Oct 2022 17:39:06 +0000 (13:39 -0400)]
LP1989195: Nightwatch Chrome Config & Notes

This does not install the chrome driver by default.  It only modifies
the config to support chrome as an option.

For those that want to test with Chrome in addition to Firefox:

$ npm install --save-dev chromedriver
$ ng e2e --env chrome

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
17 months agoLP1989195: Use nightwatch for e2e testing angular client
Jane Sandberg [Fri, 9 Sep 2022 18:51:14 +0000 (11:51 -0700)]
LP1989195: Use nightwatch for e2e testing angular client

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
17 months agoLP#2003946 Add Release Note
Michele Morgan [Tue, 9 May 2023 14:26:07 +0000 (10:26 -0400)]
LP#2003946 Add Release Note

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

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
17 months agoLP1972917: fix circ modifier column in course materials grid
Jane Sandberg [Fri, 3 Mar 2023 23:55:43 +0000 (15:55 -0800)]
LP1972917: fix circ modifier column in course materials grid

To test:
1. Add a circulation modifier to your system if it doesn't
already have some.
2. In Local Admin > Course Materials > Edit Course > Course
Materials, turn on the circ modifier column in the grid.
3. Associate an item with the course using its barcode.
Make sure you have selected a circulation modifier and
checked the circulation modifier box.
4. Press the "Add Material" button.
5. Note that the circulation modifier column says
"[Object object]"
6. Apply this patch and repeat steps 2-4.
7. Note that the column now has the name of the circulation
modifier.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
17 months agoLP2001728 - Don't display circ_staff for opac and autorenewals
Michele Morgan [Wed, 1 Mar 2023 17:18:09 +0000 (12:18 -0500)]
LP2001728 - Don't display circ_staff for opac and autorenewals

Item Status Circ History List: Displays the placeholder <OPAC Renewal>
or <Auto-renewal> instead of the patron information in the Check Out
Staff field.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
17 months agoLP#2004052 Hold Shelf Actions Menu Includes Irrelevant Actions
Dan Briem [Thu, 16 Mar 2023 18:21:03 +0000 (14:21 -0400)]
LP#2004052 Hold Shelf Actions Menu Includes Irrelevant Actions

Removes Activate, Suspend, Set Top of Queue, Un-Set Top of Queue,
Set Desired Item Quality, Transfer to Marked Title from the
actions menu on the Holds Shelf grid.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
17 months agoLP1940321: Remove apt-key from Makefile.debian
Jason Boyer [Thu, 18 Aug 2022 13:23:37 +0000 (09:23 -0400)]
LP1940321: Remove apt-key from Makefile.debian

Bullseye is the end of the line for apt-key, but we don't need to wait
until it's gone to give it a send-off.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
17 months agoLP2011434 stamping upgrade script
Jane Sandberg [Tue, 9 May 2023 02:54:17 +0000 (19:54 -0700)]
LP2011434 stamping upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
17 months agoLP2011434 (follow-up): use NOT VALID / VALIDATE CONSTRAINT pattern to minimize lockin...
Jane Sandberg [Tue, 9 May 2023 02:43:04 +0000 (19:43 -0700)]
LP2011434 (follow-up): use NOT VALID / VALIDATE CONSTRAINT pattern to minimize locking on action.hold_request

Also simplify the WHERE clause in the UPDATE statement, making its intentions clearer to my eye at least

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
17 months agoadding a foreign key check for selction_ou on action.hold_request
Rogan Hamby [Mon, 13 Mar 2023 13:16:48 +0000 (09:16 -0400)]
adding a foreign key check for selction_ou on action.hold_request

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
adding a check in the upgrade script for a non-existent selection_ou and changing it to the request_lib

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
17 months agoLP2015481: Re-align Labels for Circ History
Jason Boyer [Thu, 6 Apr 2023 14:46:54 +0000 (10:46 -0400)]
LP2015481: Re-align Labels for Circ History

Move Call number to the end of the Circ History table to match Items Out
and also correct the label order for narrow screen CSS.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
17 months agoLP2015141 Labels for email record math captcha
Stephanie Leary [Wed, 3 May 2023 12:46:15 +0000 (12:46 +0000)]
LP2015141 Labels for email record math captcha

Adds a <label> tag surrounding the math problem shown to users who are
not logged in when they email a record from the OPAC.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#2018534: treat year as numeric when retrieving item circs by year
Jeff Davis [Thu, 4 May 2023 18:13:42 +0000 (11:13 -0700)]
LP#2018534: treat year as numeric when retrieving item circs by year

The open-ils.pcrud.search.circbyyr API uses EXTRACT to extract the year
from circulation timestamps.  In recent versions of Postgres, the return
type for EXTRACT was changed from double precision to numeric (thanks to
Jason Boyer for noticing this!); for obscure reasons, this causes pcrud
to return the year as a string instead of a number.  So, let's get the
staff client to force those values to be numbers before doing math with
them.

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
18 months agoLP2018208 Empty alt for result record images, icons
Stephanie Leary [Wed, 3 May 2023 17:18:59 +0000 (17:18 +0000)]
LP2018208 Empty alt for result record images, icons

Adds empty alt attributes for jacket images and format icons that are
immediately followed by equivalent text representations, and are
therefore redundant for screen reader users.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoTranslation updates - newpot - main branch
Galen Charlton [Thu, 4 May 2023 13:24:34 +0000 (09:24 -0400)]
Translation updates - newpot - main branch

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP2006971 Stamping SQL Upgrade (Custom Penalties)
Bill Erickson [Wed, 3 May 2023 20:48:34 +0000 (16:48 -0400)]
LP2006971 Stamping SQL Upgrade (Custom Penalties)

Signed-off-by: Bill Erickson <berickxx@gmail.com>
18 months agoLP#2006971: Batch penalty script additions
Mike Rylander [Mon, 19 Dec 2022 17:18:52 +0000 (12:18 -0500)]
LP#2006971: Batch penalty script additions

Teach batch penalty processing script to accept penalty subsets,
allow alternate context location based on each patron home library,
and allow has/does-not-have penalty command line options to look up
custom system penalties by name.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Elizabeth Davis <elizabeth.davis@sparkpa.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
18 months agoLP1944986 Has / No-Has Penalty filters
Bill Erickson [Tue, 12 Jul 2022 15:10:07 +0000 (11:10 -0400)]
LP1944986 Has / No-Has Penalty filters

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Elizabeth Davis <elizabeth.davis@sparkpa.org>
18 months agoLP1944986 Patron penalty batch updater script
Bill Erickson [Mon, 11 Jul 2022 20:42:20 +0000 (16:42 -0400)]
LP1944986 Patron penalty batch updater script

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Elizabeth Davis <elizabeth.davis@sparkpa.org>
18 months agoLP#2006971: Custom system penalty business logic
Mike Rylander [Mon, 19 Dec 2022 17:16:04 +0000 (12:16 -0500)]
LP#2006971: Custom system penalty business logic

Allow processing of penalty subsets, and the option of patron home
context rather than staff workstation location context.

Adjust Collections API to make use of the custom penalty versions
where applicable.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Elizabeth Davis <elizabeth.davis@sparkpa.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
18 months agoLP#2006971: Custom system penalties
Mike Rylander [Wed, 14 Dec 2022 17:43:03 +0000 (12:43 -0500)]
LP#2006971: Custom system penalties

This development creates a set of Library Settings that a staff
member with appropriate permissions can use to set a custom value
for a stock penalty according to the following workflow:

-- Create a new penalty in Standing Penalties
-- Set the desired penalty threshold in Group Penalty Thresholds
-- Use the Library Setting to associate your new penalty with a
   stock system penalty and organizational unit context.

The custom penalty will be automatically applied in place of the
stock penalty at the specified org units, when the patrons'
account meets the penalty criteria.

System penalties that can be overridden:

 * PATRON_EXCEEDS_FINES
 * PATRON_EXCEEDS_OVERDUE_COUNT
 * PATRON_EXCEEDS_CHECKOUT_COUNT
 * PATRON_EXCEEDS_LOST_COUNT
 * PATRON_EXCEEDS_LONGOVERDUE_COUNT
 * PATRON_EXCEEDS_COLLECTIONS_WARNING
 * PATRON_IN_COLLECTIONS

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Elizabeth Davis <elizabeth.davis@sparkpa.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
18 months agoLP#1965446 Stamping upgrade script
Michele Morgan [Wed, 3 May 2023 19:08:56 +0000 (15:08 -0400)]
LP#1965446 Stamping upgrade script

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
18 months agoLP1965446 Option to Disable Title-Level Holds on Bib Records with Parts
Jason Etheridge [Thu, 12 Jan 2023 06:16:29 +0000 (01:16 -0500)]
LP1965446 Option to Disable Title-Level Holds on Bib Records with Parts

This feature adds one global flag and one library setting, respectively:

    * circ.holds.api_require_monographic_part_when_present
      Holds: Require Monographic Part When Present for hold check.
    * circ.holds.ui_require_monographic_part_when_present
      Require Monographic Part when Present

Normally the selection of a monographic part during hold placement is optional if there is at least one copy
on the bib without a monographic part.  A true value for this setting for any involved owning library for the
bib or for the global flag will require part selection even under this condition.  This essentially removes
the All/Any Parts option from the part selection drop-down, for both versions of the public catalog (TPAC and
BOOPAC), and for the Angular staff catalog interface.

At the API level, we consider just the global flag and will throw a TITLE_HOLD_WHEN_MONOGRAPHIC_PART_REQUIRED
event for a title hold request when there are items with monographic parts on the bib.  It is possible for
the library settings and the global flag to differ, but the global flag will catch every instance of hold
placement including those by third party callers, SIP, etc.

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Jennifer Weston <jennifer.weston@equinoxoli.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
18 months agoTranslation updates - newpot - main branch
Galen Charlton [Wed, 3 May 2023 15:31:12 +0000 (11:31 -0400)]
Translation updates - newpot - main branch

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP2018403 Update sr-only class in Facets sidebar
Stephanie Leary [Wed, 3 May 2023 14:16:53 +0000 (14:16 +0000)]
LP2018403 Update sr-only class in Facets sidebar

Changes the new Facets sidebar heading in the staff catalog search
results from the Bootstrap 4 sr-only class to the Bootstrap 5 one,
visually-hidden.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1901932: (follow-up) add caveats to documentation
Galen Charlton [Wed, 3 May 2023 15:02:21 +0000 (11:02 -0400)]
LP#1901932: (follow-up) add caveats to documentation

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1901932: (follow-up) update dataset for upcoming 3.11-beta release
Galen Charlton [Wed, 3 May 2023 14:50:04 +0000 (10:50 -0400)]
LP#1901932: (follow-up) update dataset for upcoming 3.11-beta release

As it happens, very little actually changed, though a significant
chunk of make_concerto_from_evergreen_db.pl's output was not checked
it because it consisted purely of differences in timestamp columns
due to time zone differences.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1901932: (follow-up) update help in make_release
Galen Charlton [Wed, 3 May 2023 14:35:28 +0000 (10:35 -0400)]
LP#1901932: (follow-up) update help in make_release

This patch clarifies the usage of make_release during
updates of Enhanced Concerto and makes it clear that
such updates are considered experimental for now.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1901932: (follow-up) update release notes
Galen Charlton [Wed, 3 May 2023 14:25:23 +0000 (10:25 -0400)]
LP#1901932: (follow-up) update release notes

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1901932 Wish List - Enhanced Concerto dataset
blake [Wed, 1 Mar 2023 21:19:30 +0000 (15:19 -0600)]
LP#1901932 Wish List - Enhanced Concerto dataset

Tweaks to the build script, hardcoding some sequences that aren't set
automatically. Also removed the "admin" user (1) entry from actor.passwd

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1901932 Wish List - Enhanced Concerto dataset
blake [Thu, 22 Dec 2022 16:58:04 +0000 (10:58 -0600)]
LP#1901932 Wish List - Enhanced Concerto dataset

. Adding better ECD output for master branch
. Much improved enhanced generator script
. Introducing make_release changes to incorporate the upgrade of the ECD.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1901932 Wish List - Enhanced Concerto dataset
blake [Mon, 5 Dec 2022 21:30:50 +0000 (15:30 -0600)]
LP#1901932 Wish List - Enhanced Concerto dataset

Introducing a new concerto dataset. Loadable via eg_db_config.
Including the perl script and full documentation on this dataset
How to re-create it, etc.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1979345: Stamping upgrade script
Jeff Davis [Wed, 3 May 2023 05:33:43 +0000 (22:33 -0700)]
LP#1979345: Stamping upgrade script

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
18 months agoLP#1979345: restrict access to holds pull list
Jeff Davis [Wed, 6 Jul 2022 23:04:20 +0000 (16:04 -0700)]
LP#1979345: restrict access to holds pull list

This commit adds a new VIEW_HOLD_PULL_LIST permission.  In order to view
a library's holds pull list, you need to have the new permission at that
library.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
18 months agoLP1993305 stamp upgrade script
Jane Sandberg [Wed, 3 May 2023 02:56:55 +0000 (19:56 -0700)]
LP1993305 stamp upgrade script

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
18 months agoLP1993305 Comprise SmartPay release notes
Jason Etheridge [Wed, 2 Nov 2022 03:40:50 +0000 (23:40 -0400)]
LP1993305 Comprise SmartPay release notes

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
18 months agoLP1993305 Comprise SmartPay support, middle layer bits
Jason Etheridge [Fri, 4 Feb 2022 14:14:24 +0000 (09:14 -0500)]
LP1993305 Comprise SmartPay support, middle layer bits

Squashed commits:
  * middle
  * billing total in smartpay last_chance equivalent
  * fix xact propagation
  * remove some logging in middle layer
  * increase timeout for cached object and hope it exceeds smartpay session expiry

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
18 months agoLP1993305 Comprise SmartPay support, UI bits
Jason Etheridge [Tue, 26 Oct 2021 14:52:42 +0000 (10:52 -0400)]
LP1993305 Comprise SmartPay support, UI bits

Squashed commits:
  * ui
  * 0.50 minimum across the board

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
18 months agoLP1993305 Comprise SmartPay support, schema
Jason Etheridge [Wed, 20 Oct 2021 01:32:05 +0000 (21:32 -0400)]
LP1993305 Comprise SmartPay support, schema

Squashed commits:
   * schema
   * SmartPAY location ID description

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
18 months agolp1857911 follow-up: remove console.log
Jane Sandberg [Wed, 3 May 2023 02:47:54 +0000 (19:47 -0700)]
lp1857911 follow-up: remove console.log

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
18 months agolp1857911: stamp upgrade script
Jane Sandberg [Tue, 2 May 2023 21:11:25 +0000 (14:11 -0700)]
lp1857911: stamp upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
18 months agolp1857911 (follow-up): update mock to match new AdminPageComponent API
Jane Sandberg [Tue, 2 May 2023 21:01:32 +0000 (14:01 -0700)]
lp1857911 (follow-up): update mock to match new AdminPageComponent API

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
18 months agolp1857911 follow-up tweaks
Jason Etheridge [Wed, 12 Apr 2023 12:09:42 +0000 (08:09 -0400)]
lp1857911 follow-up tweaks

* AdminPage component  -> Return button if page was invoked with gridFilters
* AdminPage component  -> options to hide delete and edit actions
* Stat cat admin pages -> disable edit and delete for stat cat entries to match                                                          behavior of legacy interfaces, until we discuss
                          something better
* AdminPage component  -> stock delete confirmation for AdminPage component
* Stat cat admin pages -> custom delete confirmation prompts for stat cats
* AdminPage component  -> sticky org selector options for org fields in fmEditor
* AdminPage component  -> option for new record org fields to follow context org
* Stat cat admin pages -> enable org field follows context org featuer
* orgFamilySelect      -> persistKey support
* Stat cat admin pages -> use a persistKey for main org selector

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
18 months agolp1857911 angularized stat cat admin interfaces
Jason Etheridge [Wed, 14 Dec 2022 05:57:25 +0000 (00:57 -0500)]
lp1857911 angularized stat cat admin interfaces

* for stat cats and stat cat entries in the IDL, make sure we have pcrud controller enabled and pcrud permissions set.  Also set config_field for "entries" so that the AdminPage component can link them out to their own admin pages
* item and patron stat cat admin pages
* lp1857911 release notes

Leverages the BasicAdminPage component, with some tweaks.

Changes to the BasicAdminPage and AdminPage components all default to off, so should not affect existing interfaces:

* add an option to hide the Clear Filters action from subordinate admin pages (when you follow config fields)
* add an option to propagate recordLabel to the fmEditor component, and also use said label within the admin page
* add an option to propagate orgDefaultAllowed to the fmEditor component

For the stat cat and entry admin pages specifically, we leverage these to:

* hide Clear Filters so that we don't let the user get into a situation where they try to create a new stat cat entry but have a blank and unsettable stat cat field (because we mark that field as read-only in the fmEditor)
* default the Owner field for new stat cats and entries to the workstation library
* use Item and Patron instead of Asset and Actor in various labels (at least until we're ready to make that change wholesale in the IDL)

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
18 months agolp1857911 underline links in normal eg-grid cells
Jason Etheridge [Wed, 14 Dec 2022 05:53:43 +0000 (00:53 -0500)]
lp1857911 underline links in normal eg-grid cells

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
18 months agolp1857911 allow override of IDL class label for display in the FM editor
Jason Etheridge [Wed, 14 Dec 2022 05:51:57 +0000 (00:51 -0500)]
lp1857911 allow override of IDL class label for display in the FM editor

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
18 months agoLP2018326 Contrast fix for catalog pagination
Stephanie Leary [Tue, 2 May 2023 18:36:59 +0000 (18:36 +0000)]
LP2018326 Contrast fix for catalog pagination

Adds explicit background color styles in the staff catalog pagination
component to prevent blue-on-blue links for the current page.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
18 months agoLP#2000482: (Followup) Update Angular Version in Makefile.common
Jason Boyer [Tue, 2 May 2023 15:53:36 +0000 (11:53 -0400)]
LP#2000482: (Followup) Update Angular Version in Makefile.common

Install Angular 15 during DIST-REL-developer make targets.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
18 months agoDocs: fixing image file reference
Andrea Buntz Neiman [Mon, 1 May 2023 21:45:17 +0000 (17:45 -0400)]
Docs: fixing image file reference

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
18 months agoLP#1979071: stamp DB update
Galen Charlton [Mon, 1 May 2023 16:27:48 +0000 (12:27 -0400)]
LP#1979071: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1979071: add release notes
Galen Charlton [Mon, 1 May 2023 16:20:15 +0000 (12:20 -0400)]
LP#1979071: add release notes

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1979071: (follow-up) fix various DB schema and update issues
Galen Charlton [Mon, 1 May 2023 15:51:42 +0000 (11:51 -0400)]
LP#1979071: (follow-up) fix various DB schema and update issues

* Incorporate the delayed reification option for search dictionary
  updates derived from authority records (see bug 1997485)
* Fixed an issue that prevented propagation of changes to main
  headings
* Fixed an issue introduced in bug 1977485 that prevented
  authority headings from being deleted
* Remove now-disused authority.indexing_ingest_or_delete()
* Remove an older version of authority.propagate_changes()
  from the base schema; this would be an issue in new databases
  installed from scratch.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1979071: (follow-up) install ingest_ctl by default
Galen Charlton [Mon, 1 May 2023 13:12:28 +0000 (09:12 -0400)]
LP#1979071: (follow-up) install ingest_ctl by default

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP1979071 Fix column/value name ambiguity
Bill Erickson [Wed, 26 Apr 2023 20:50:16 +0000 (16:50 -0400)]
LP1979071 Fix column/value name ambiguity

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1979071: Queued Ingest
Mike Rylander [Fri, 4 Mar 2022 15:41:07 +0000 (10:41 -0500)]
LP#1979071: Queued Ingest

This feature allows for the separation of bib and authority record
updates and the search (and other) indexing that occurs when a record is
modified in some way.

The Queued Ingest mechanism consists of several parts working together:
 * A set of configuration flags that control when ingest should be
   performed immediately, and when it can be deferred until after the
   transaction commits and control is returned to the user.
 * Refactoring of the in-database ingest triggers to separate deciding
   what should happen to a record given a data modification event, and
   when/how that process should take place.
 * A set of queuing tables used to track which records are to be
   processed and in what ways, when that processing was requested, and
   the ability to group processing requests into named queues that can
   report who made a processing request and for what purpose.
 * A Queued Ingest Coordinator that runs in the background monitoring
   the queuing tables for activity and processes records as they are
   enqueued.  This can run on any server that can connect to the
   database and has the OpenSRF Perl modules installed.
 * A command line tool to be usedby administrators to enqueue records
   for Queued Ingest processing, to create named queues, and to process
   enqueued records either in one queue or all outstanding enqueued
   entries.  This tool can also report on the status of requested Queued
   Ingest processing, whether pending, ongoing, or complete, either for
   all time or since a particular date and time.

The queuing tables added here are not yet included in the IDL for
reporting or Staff interface construction.  They can be added as the
need arises.

To test Queued Ingest:
 * Upgrade the database schema using the appropriate upgrade script.
 * Install OpenILS/src/support-scripts/ingest_ctl in the usual OpenSRF
   bin directory.
 * Start the Queued Ingest Coordinator by using the --coordinator
   parameter to ingest_ctl along with the relevant database parameters.
   Use the --help parameter for more details.
 * Enable the Global Flag called 'ingest.queued.all'
 * Edit, import, and delete some bib and authority records, and use the
   --stats parameter to ingest_ctl to see entries being processed.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoUpdating fonts and sounds settings
Gina Monti [Tue, 14 Feb 2023 16:07:04 +0000 (11:07 -0500)]
Updating fonts and sounds settings

No LP, DIG revamp project.

Changing to Disable Sounds

Fixing typo.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
18 months agoLP1615707 ARIA landmarks for staff interface
Stephanie Leary [Mon, 12 Dec 2022 20:27:26 +0000 (14:27 -0600)]
LP1615707 ARIA landmarks for staff interface

Adds the following ARIA landmarks and roles to the Angular staff
interface:

* <main> and role="main" for the content container
* <nav> and role="navigation" for the navbar
* role="form" for the catalog search form (which lacks a <form> tag)
* role="search" for the search tab panel inside the form
* type="search" and role="searchbox" for the search term input field
* a custom region for the bib record summary box
* <aside> and role="complementary" for the facet sidebar

To construct the ARIA label for the bib record summary, I've added an ID
to the header row of the bib summary component so the screen reader can
use the localized text.

Since the staff interface doesn't really have a header section other
than the navigation, and there is no footer, I've left out these
landmarks.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
18 months agoLP#1977554: (follow-up) fix delayed dictionary reification
Galen Charlton [Sat, 29 Apr 2023 11:52:58 +0000 (11:52 +0000)]
LP#1977554: (follow-up) fix delayed dictionary reification

This patch fixes a regression introduced by the authority heading
update patches in this branch and ensures that updates to
authority records participate in the option to delay
suggestion dictionary reification.

Co-authored-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1977554: (follow-up) include release notes entry
Galen Charlton [Fri, 28 Apr 2023 20:31:57 +0000 (20:31 +0000)]
LP#1977554: (follow-up) include release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1977554: (follow-up) tag new strings for translations
Galen Charlton [Fri, 28 Apr 2023 20:30:25 +0000 (20:30 +0000)]
LP#1977554: (follow-up) tag new strings for translations

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1977554: (follow-up) style tweaks
Galen Charlton [Fri, 28 Apr 2023 20:04:19 +0000 (20:04 +0000)]
LP#1977554: (follow-up) style tweaks

Deal with issues introduced by a merge conflict resolution
error and the Bootstrap 5 upgrade.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1977554: (follow-up) remove "switch" role
Galen Charlton [Fri, 28 Apr 2023 19:53:40 +0000 (19:53 +0000)]
LP#1977554: (follow-up) remove "switch" role

... not needed for these buttons

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP1977554 - Add Password visibility toggle on login screens
Scott Angel [Thu, 23 Mar 2023 21:27:05 +0000 (16:27 -0500)]
LP1977554 - Add Password visibility toggle on login screens

Changed the <span> tags to <button> tags so it can be reached via
keyboard navigation.

Added a few more attributes to the password input tag.
autocapitalize="none"
spellcheck="false"
aria-description so screen readers can describe to the user what
the current state is.

Added aria-checked to the button for screen readers

Added a new css file for the login.component with a little styling.

Signed-off-by: Scott Angel <scottangel@mobiusconsortium.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP1977554 - Add Password visibility toggle on login screens
Scott [Wed, 1 Mar 2023 17:12:29 +0000 (11:12 -0600)]
LP1977554 - Add Password visibility toggle on login screens

Added an icon to each login input of a closed eye when input type is set to password.
If you click the icon it switches to an open eye and the input type is set to text.
It's a pretty standard way to allow people to view their password before submitting it.

Signed-off-by: Scott <scottangel@mobiusconsortium.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP1977554 - Add Password visibility toggle on login screens
Scott Angel [Tue, 24 Jan 2023 17:26:17 +0000 (11:26 -0600)]
LP1977554 - Add Password visibility toggle on login screens

Added an icon to each login input of a closed eye when input type is set to password.
If you click the icon it switches to an open eye and the input type is set to text.
It's a pretty standard way to allow people to view their password before submitting it.

Signed-off-by: Scott Angel <scottangel@mobiusconsortium.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1967328: add release notes entry
Galen Charlton [Fri, 28 Apr 2023 11:17:41 +0000 (11:17 +0000)]
LP#1967328: add release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1967328: (follow-up) tweak layout
Galen Charlton [Fri, 28 Apr 2023 11:11:36 +0000 (11:11 +0000)]
LP#1967328: (follow-up) tweak layout

The modal to add permission maps is now wider and uses
a bit less vertical space, allowing the user to see more
of the pending mappings at once.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1967328 Add multiple new permission group mappings at once
Dan Briem [Sat, 5 Nov 2022 03:15:50 +0000 (03:15 +0000)]
LP#1967328 Add multiple new permission group mappings at once

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1997485: stamp database update
Galen Charlton [Fri, 28 Apr 2023 10:45:15 +0000 (10:45 +0000)]
LP#1997485: stamp database update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1997485: (follow-up) flesh out reingest intructions
Galen Charlton [Thu, 27 Apr 2023 18:34:45 +0000 (18:34 +0000)]
LP#1997485: (follow-up) flesh out reingest intructions

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1997485: (follow-up) fixes to the authority suggestions updates
Galen Charlton [Thu, 27 Apr 2023 17:57:14 +0000 (17:57 +0000)]
LP#1997485: (follow-up) fixes to the authority suggestions updates

* Fix a long-standing issue where a stored procedure used in
  search suggestion dictionary generation was not included in
  baseline.
* Fix an error in direct reingest query.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1997485: (follow-up) fix propagation of settings
Galen Charlton [Thu, 27 Apr 2023 17:54:45 +0000 (17:54 +0000)]
LP#1997485: (follow-up) fix propagation of settings

Ensures if the search suggestions library settings have not been
set, that the attempt to copy them over to the search classes
will not display error messages.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1997485: (follow-up) update release notes
Galen Charlton [Thu, 27 Apr 2023 17:52:10 +0000 (17:52 +0000)]
LP#1997485: (follow-up) update release notes

* Reflect change to how authority-derived suggestions
  are generated.
* Advise Evergreen administrator to review the search
  class settings.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1997485: Include authority headings in symspell dict
Mike Rylander [Wed, 26 Apr 2023 17:53:45 +0000 (13:53 -0400)]
LP#1997485: Include authority headings in symspell dict

This patch adjusts the generation of search suggestions
based on authority headings by:

* Including all indexed authority headings (1XX, 4XX, and 5XX) from
  authority records for author, title, and subject headings in the
  search suggestion dictionary.
* As a consequence, suggestions can be based entirely on headings
  found in authority 4XX and 5XX fields without those headings
  also needing to be directly in at least one bibliographic record.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1997485: Release notes for multi-term Did You Mean
Mike Rylander [Thu, 12 Jan 2023 17:35:06 +0000 (12:35 -0500)]
LP#1997485: Release notes for multi-term Did You Mean

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1997485: Reify baseline schema
Mike Rylander [Fri, 31 Mar 2023 19:01:28 +0000 (15:01 -0400)]
LP#1997485: Reify baseline schema

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1997485: Multi-term Did You Mean
Mike Rylander [Fri, 11 Nov 2022 19:39:24 +0000 (14:39 -0500)]
LP#1997485: Multi-term Did You Mean

Expanding on the previous single-class, single-term search suggestion
development, this feature provides suggestions for single-class searches
with multiple terms.

 * The Library Settings that were previously used to control the global
behavior of search suggestions have been moved to search class
configuration fields.  This was done because the data in each search
class benefits from different setting values.

 * If a patron's search brings back a suggestion that matches an authority
variant heading, the system will provide the main heading as a suggestion
as well, along with spelling-corrected suggestions.

 * Quoated phrases in user input require strict term order and adjacency
for the phrase portion of the suggestion generated for the phrase(s),
whereas unquoted input (or the portion that is not quoted) does not.

MARC Search/Facet Class (config.metabib_class) field additions:

 * variant_authority_suggestion   Whether this class should attempt variant authority suggestions based on search-class/browse-axis mapping
 * symspell_transfer_case         Whether suggestions should retain user-supplied letter case
 * symspell_skip_correct          Only supply suggestions to misspelled words
 * symspell_suggestion_verbosity  Setting that controls the amount of effort, and therefore time, spent on suggestion generation
 * max_phrase_edit_distance       Maximum average per-word edit distance when evaluating suggestions
 * suggestion_word_option_count   Maximum alternate suggestions per word
 * max_suggestions                Maximum suggstions to present
 * low_result_threshold           Maximum hit count beyond which suggestions are not provided
 * min_suggestion_use_threshold   Minimum number of times a suggestion must exist in the corpus
 * pg_trgm_weight                 Weight of the trigram similarity metric; 0 avoids calculation costs
 * soundex_weight                 Weight of the soundex similarity metric; 0 avoids calculation costs
 * keyboard_distance_weight       Weight of the keyboard distance similarity metric; 0 avoids calculation costs

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#2000482: add a brief release notes entry
Galen Charlton [Thu, 27 Apr 2023 11:28:07 +0000 (11:28 +0000)]
LP#2000482: add a brief release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#2000482: (follow-up) couple more layout tweaks
Galen Charlton [Thu, 27 Apr 2023 11:23:04 +0000 (11:23 +0000)]
LP#2000482: (follow-up) couple more layout tweaks

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#2000482: (follow-up) update Angular cheat sheet
Galen Charlton [Thu, 27 Apr 2023 10:55:52 +0000 (10:55 +0000)]
LP#2000482: (follow-up) update Angular cheat sheet

... since `ng build --prod` no longer works.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP2000482: Get tests passing
Jane Sandberg [Tue, 25 Apr 2023 13:23:30 +0000 (06:23 -0700)]
LP2000482: Get tests passing

* Update karma config
* Update Patron Barcode Validator directive due to a breaking change in rxjs single()
* Update test assertion to match new ar-JO localization

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP2000482: update tsconfig options to satisfy compiler warning
Jane Sandberg [Tue, 25 Apr 2023 13:00:11 +0000 (06:00 -0700)]
LP2000482: update tsconfig options to satisfy compiler warning

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP2000482 Bootstrap 5 continued
Bill Erickson [Fri, 14 Apr 2023 16:11:01 +0000 (16:11 +0000)]
LP2000482 Bootstrap 5 continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP2000482 Angular 15 and Bootstrap 5 upgrade
Bill Erickson [Mon, 26 Dec 2022 17:06:09 +0000 (12:06 -0500)]
LP2000482 Angular 15 and Bootstrap 5 upgrade

Includes numerous markup and CSS adjustments to cope with Bootstrap 5.

This patch is a squash of patches authored by Bill Erickson
and Stephanie Leary.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1791791: remove a regression regression on bug 1923225
Galen Charlton [Thu, 30 Mar 2023 18:11:26 +0000 (14:11 -0400)]
LP#1791791: remove a regression regression on bug 1923225

This was introduced on the Bootstrap side by the patch for
bug 1955403.

To test:

[0] This applies to the Bootstrap OPAC skin.
[1] Perform a search on ISBN.
[2] Note that on the record page, the ISBN (under more details)
    is not properly highlighted.
[3] Apply the patch and repeat step 1. This time, the ISBN
    should be highlighted.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1791791: prevent regression on bug 1923225
Galen Charlton [Thu, 30 Mar 2023 18:06:35 +0000 (14:06 -0400)]
LP#1791791: prevent regression on bug 1923225

Ensures that when doing an ISBN search, the ISBN on the record
page is properly highlighted.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP1791791: Google book previews not displaying from a bib linked from a search.
Garry Collum [Sun, 19 Dec 2021 01:31:22 +0000 (20:31 -0500)]
LP1791791: Google book previews not displaying from a bib linked from a search.

The javascript that queries Google Books Preview looks for ISBN(s) wrapped in
a rdetail_value class.  There was a line of code in which the isbn variable
 was not enclosed in this class.  This patch just wraps that stray variable
into a <span> with the class.

To test:
0. Use the TPAC skin - this bug does not affect the Bootstrap skin
1. Perform a keyword search for an bib that should have a google book's link.
   As of March 2023, ISBN 9780786496570 has previews enabled.
2. Go to the bib display and notice that there is no link.
3. Remove the ';query=something' text from the url and notice that the
google book information displays.
4. Apply the patch.
5. Perform the same search.  The google book information should now display.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP#1863387: multi-select now allows filtering shelving locations by owner
Galen Charlton [Fri, 9 Sep 2022 16:55:22 +0000 (12:55 -0400)]
LP#1863387: multi-select now allows filtering shelving locations by owner

The Angular multi-select component now has a special case for
shelving locations: when the IDL class of "acpl" is selected,
rather than just displaying a combobox, the item-location-select
component followed by an org selector is displayed and checkbox.

The org selector defaults to workstation OU and is used to restrict
the list of shelving locations displayed in the shelving location
combobox to the context org unit and its ancestors. If the checkbox
is also selected, descendants of the context OU are included as well.

The effect of this is to allow large consortial to more efficiently
select the shelving locations to be used by a carousel.

To test
-------
[1] Apply the patch.
[2] Create or edit carousel definitions. Verify that the widget
    for the carousel's shelving locations now displays both a
    combobox for the location selector as well as one for the
    location owning library. Further verify that when the OU
    selector for the owning library is changed, that the list
    of available shelving locations reflects the locations available
    at the ancestors of the filter OU. Also verify that the
    "Include descendants?" checkbox updates the list of available
    locations as well.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
fix

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
18 months agoDocs: updates to record buckets
Britta Dorsey [Wed, 26 Apr 2023 15:58:14 +0000 (11:58 -0400)]
Docs: updates to record buckets

Signed-off-by: Britta Dorsey <bdorsey@library.in.gov>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
18 months agoDocs: adding Angular Staff View docs for 3.11
Andrea Buntz Neiman [Wed, 26 Apr 2023 15:33:49 +0000 (11:33 -0400)]
Docs: adding Angular Staff View docs for 3.11

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
18 months agoLP#1970946: stamp schema update
Galen Charlton [Wed, 19 Apr 2023 14:05:13 +0000 (10:05 -0400)]
LP#1970946: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
18 months agoLP1970946 Adjust color contrast in result highlights
Stephanie Leary [Mon, 9 Jan 2023 19:46:53 +0000 (13:46 -0600)]
LP1970946 Adjust color contrast in result highlights

Lowers the contrast on search result match highlights in the staff
catalog, and changes the highlight tag from <b> (PostgreSQL's default),
to <mark> (new in HTML5).

As an additional consequence, the color contrast for highlighted
search terms in the Bootstrap OPAC (using default styles) improves
from 4.38 to 17.12.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>