]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
2 years agoLP#1904244: fm-editor: add a linkedSearchConditions field option
Galen Charlton [Tue, 20 Apr 2021 21:57:08 +0000 (17:57 -0400)]
LP#1904244: fm-editor: add a linkedSearchConditions field option

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

Example usage:

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

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

This patch also sorts the values if preloadLinkedValues is used.

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

Matches similar functionality in combobox.

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

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

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

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

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

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

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

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

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

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

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

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

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

In particular:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Testing Plan:

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

Apply the fix:

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

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

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

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

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

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

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1904788 Browse navigation release notes
Bill Erickson [Mon, 23 Nov 2020 15:03:03 +0000 (10:03 -0500)]
LP1904788 Browse navigation release notes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1904788 Staff catalog browse results paging
Bill Erickson [Tue, 17 Nov 2020 22:55:20 +0000 (17:55 -0500)]
LP1904788 Staff catalog browse results paging

Adds the ability to step through browse headings directly from the
heading record list page without having to return to the original browse
search

To test:

1. Navigate to the staff catalog and perform a Browse search.

2. Click on one of the headings and you'll be taken to the page which
lists the bib records that use the selected heading.

3. Click the Previous Heading / Next Heading buttons to step through the
headings and view the linked bib records.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1894005: stamp DB update
Galen Charlton [Wed, 11 Aug 2021 21:38:46 +0000 (17:38 -0400)]
LP#1894005: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agolp1894005 Stripe payment intents, live test
Jason Etheridge [Tue, 11 May 2021 18:42:54 +0000 (14:42 -0400)]
lp1894005 Stripe payment intents, live test

Sponsored-by: CW MARS
Sponsored-by: NOBLE
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agolp1894005 Stripe payment intents, release notes
Jason Etheridge [Wed, 31 Mar 2021 12:26:05 +0000 (08:26 -0400)]
lp1894005 Stripe payment intents, release notes

Sponsored-by: CW MARS
Sponsored-by: NOBLE
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agolp1894005 Stripe payment intents
Jason Etheridge [Thu, 25 Mar 2021 20:21:00 +0000 (16:21 -0400)]
lp1894005 Stripe payment intents

===== Credit card payments using Stripe now implimented with PaymentIntents instead of Charges =====

This changes the Stripe code in the OPAC to use their PaymentIntents and confirmCreditCard API,
which is recommended over their Charges API.  Credit card charges are no longer finalized
(captured/confirmed) on Evergreen's backend, though the backend does check whether a payment was
made successfully before recording it.

Sponsored-by: CW MARS
Sponsored-by: NOBLE
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoDocs: small follow-up to remove an extra plus sign
Jane Sandberg [Mon, 2 Aug 2021 16:07:20 +0000 (09:07 -0700)]
Docs: small follow-up to remove an extra plus sign

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDOCS:Shelving Locations, Added images and updated directions
Lynn Floyd [Mon, 2 Aug 2021 16:03:15 +0000 (09:03 -0700)]
DOCS:Shelving Locations, Added images and updated directions

Added images and updated information on Shelving locations. Included information on Hold_Verify
Adding additional information in to the shelving locations.
Added Index terms.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: LP1776977: Update lsa-address_alert.adoc and add images
Gina Monti [Fri, 23 Jul 2021 13:08:52 +0000 (09:08 -0400)]
Docs: LP1776977: Update lsa-address_alert.adoc and add images

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 years agoUpdate lsa-address_alert.adoc
gmontimantis [Mon, 28 Jun 2021 16:53:25 +0000 (12:53 -0400)]
Update lsa-address_alert.adoc

https://bugs.launchpad.net/evergreen/+bug/1776977

The new address alert table is rearranged to match the web client.

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 years agoLP1908612 Bootstrap Opac - Limit to Available
Garry Collum [Mon, 10 May 2021 19:55:59 +0000 (15:55 -0400)]
LP1908612 Bootstrap Opac - Limit to Available

Adds the 'Show All Copies' and 'Show Only Available Copies' to the Bootstrap
Opac's copy screen.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoDocs: Update apache_rewrite_tricks.adoc to further address LP1837753
Gina Monti [Thu, 8 Jul 2021 19:02:22 +0000 (15:02 -0400)]
Docs: Update apache_rewrite_tricks.adoc to further address LP1837753

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 years agoDocs: update glossary.adoc to add TLD definition per LP1837753
Gina Monti [Thu, 8 Jul 2021 19:05:10 +0000 (15:05 -0400)]
Docs: update glossary.adoc to add TLD definition per LP1837753

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 years agoLP1718782: follow up to fix failing test
Jane Sandberg [Wed, 14 Jul 2021 16:20:03 +0000 (09:20 -0700)]
LP1718782: follow up to fix failing test

LP1718782 added a missing fixed field, but failed to also add it to
the expected data in this pgtap test.  This commit updates the
expected data to also include a SRCE fixed field.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoLP#1718782: stamp DB update
Galen Charlton [Tue, 13 Jul 2021 16:09:57 +0000 (12:09 -0400)]
LP#1718782: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1718782: Add the Srce fixed field to the Angular MARC editor
Jane Sandberg [Thu, 10 Sep 2020 18:35:22 +0000 (11:35 -0700)]
LP1718782: Add the Srce fixed field to the Angular MARC editor

To test:

1) Without using private browsing, open up a bibliographic record in
the Angular catalog MARC editor.
2) Notice that there is a gap between the ELvl and Audn fixed fields.
3) Apply this patch.
4) Open up the same bibliographic record, this time using private
   browsing (since the Angular MARC editor caches fixed field values).
5) Notice that the Srce fixed field is available between the ELvl and
   Audn fixed fields.
6) Notice that you can right click inside the fixed field to get a list
   of three possible values.
7) Repeat the test with different record types (e.g. BKS, SCO, VIS)

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Mary Llewellyn <mllewell@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1913807 Staff catalog shows preferred lib holdings counts
Bill Erickson [Tue, 6 Jul 2021 15:08:37 +0000 (11:08 -0400)]
LP1913807 Staff catalog shows preferred lib holdings counts

Always show holdings counts for the preferred library (when set) even
when the library is not directly in the search scope.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1910808 Staff catalog show call number
Bill Erickson [Mon, 5 Jul 2021 20:04:56 +0000 (16:04 -0400)]
LP1910808 Staff catalog show call number

In the search results page, show the first call number for each record
(sorting by label sortkey) that is owned either by the user's preferred
library or the search library.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1857060: Tests for ISBNs with 979 prefix
Jane Sandberg [Thu, 19 Dec 2019 23:54:18 +0000 (15:54 -0800)]
LP1857060: Tests for ISBNs with 979 prefix

Also includes a slight tweak to the Amazon AddedContent code to avoid
attempting to convert 979 ISBNs to ISBN-10s (which is not possible).

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1910891: stamp DB update
Galen Charlton [Tue, 13 Jul 2021 14:28:12 +0000 (10:28 -0400)]
LP#1910891: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1910891: Add new booking perms to appropriate groups
Jane Sandberg [Sun, 10 Jan 2021 06:20:29 +0000 (22:20 -0800)]
LP1910891: Add new booking perms to appropriate groups

Steps to test:

1) Without this patch, create a reservation for a BR1 resource at BR1.
2) Log in as a circulator at BR1.
3) Go to Booking > Manage Reservations.  Note that you can't see your reservation.
4) Run this upgrade script.
5) Repeat steps 2-3.  Notice that you can now see the reservation.
6) Wipe your database and re-install it with the additions to the seed data
in this commit.  Repeat steps 1-3 and notice that you can see the reservation
as expected.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1895737: Add Curbside Appointments to Bootstrap OPAC
Jason Boyer [Wed, 10 Mar 2021 23:48:12 +0000 (18:48 -0500)]
LP1895737: Add Curbside Appointments to Bootstrap OPAC

Add support for requesting / editing / canceling curbside
appointments to the bootstrap opac.

Signed-off-by: Jason Boyer <JBoyer@EquinoxInitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1908722: stamp schema update
Galen Charlton [Mon, 12 Jul 2021 21:01:51 +0000 (17:01 -0400)]
LP#1908722: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1908722: add electronic resource links
Galen Charlton [Fri, 9 Jul 2021 21:10:31 +0000 (17:10 -0400)]
LP#1908722: add electronic resource links

This patch adds electronic resource links to the Show More Details
view in the Angular staff catalog, above the table of items.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
2 years agoLP1908722 Staff catalog Show More Details
Bill Erickson [Fri, 2 Jul 2021 20:57:40 +0000 (16:57 -0400)]
LP1908722 Staff catalog Show More Details

Adds a "Show More Details" (and "Show Fewer Details") buttons to the
Angualr staff catalog.  Similar to the TPAC, activating the button means
more holdings details are displayed in the search results page.

Adds a new workstation setting type called
'eg.staff.catalog.results.show_more'

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
2 years agoLP#1844169: add release note entry
Galen Charlton [Mon, 12 Jul 2021 15:44:48 +0000 (11:44 -0400)]
LP#1844169: add release note entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1844169: (follow-up) add navigation
Galen Charlton [Mon, 12 Jul 2021 15:43:29 +0000 (11:43 -0400)]
LP#1844169: (follow-up) add navigation

This patch adds a link back to the list of Search Filter Groups
from the page for editing a single group.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1844169: (follow-up) add validation to entry form
Galen Charlton [Mon, 12 Jul 2021 15:42:24 +0000 (11:42 -0400)]
LP#1844169: (follow-up) add validation to entry form

The Search Filter Group Entries modal now enforces
required fields client-side.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1844169: fix lint
Galen Charlton [Mon, 12 Jul 2021 15:07:24 +0000 (11:07 -0400)]
LP#1844169: fix lint

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1844169: Compare query position against string
Kyle Huckins [Wed, 17 Mar 2021 19:48:44 +0000 (19:48 +0000)]
LP#1844169: Compare query position against string

Compare queryPosition against '0' rather than int 0, avoiding Angular
issues during build process

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1844169: port Search Filter Groups admin interface to Angular
Mike Risher [Tue, 17 Sep 2019 21:33:04 +0000 (21:33 +0000)]
LP#1844169: port Search Filter Groups admin interface to Angular

Port search filter groups admin from DOJO UI to Angular. Each search
filter group has its own edit page, from which you can edit search
filter group entries.

Signed-off-by: Mike Risher <mrisher@catalyte.io>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1362743 One modal at a time during batch checkin
Mike Risher [Wed, 6 May 2020 17:08:33 +0000 (17:08 +0000)]
LP#1362743 One modal at a time during batch checkin

Modify batch checkins so that only one modal pops up at a time.
When each one is dismissed the next one will appear.

Signed-off-by: Mike Risher <mrisher@catalyte.io>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1913221: Don't display blank course section number in OPAC
Jane Sandberg [Tue, 2 Feb 2021 02:04:02 +0000 (18:04 -0800)]
LP1913221: Don't display blank course section number in OPAC

To test:

1) Use the Library Settings Editor to turn on the Course Materials
   Module.
2) In Local administration, go to the course reserves list.
3) Add several courses, some with section numbers, others without.
4) In the OPAC, use the Course Search function to search for the courses
   you just added.
5) Notice that the search results page has a place for section numbers,
   whether or not the course has one.
6) Click into some of the courses.  Notice that the course page also
   includes a place for section numbers, whether or not the course has
   one.
7) Apply this patch.
8) Repeat steps 4-6.  Notice that the blank "section number" areas no
   longer appear.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1920210: stamp schema update
Galen Charlton [Wed, 7 Jul 2021 14:47:58 +0000 (10:47 -0400)]
LP#1920210: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1920210: add release notes
Galen Charlton [Fri, 4 Jun 2021 20:31:12 +0000 (16:31 -0400)]
LP#1920210: add release notes

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1920210: add auditor tables for acq.fund_debit
Jeff Davis [Thu, 1 Apr 2021 00:03:03 +0000 (17:03 -0700)]
LP#1920210: add auditor tables for acq.fund_debit

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1907296: stamp DB update
Galen Charlton [Wed, 7 Jul 2021 14:42:54 +0000 (10:42 -0400)]
LP#1907296: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1907296 Missing Workstation setting for staff cat item table
Michele Morgan [Fri, 9 Apr 2021 16:38:55 +0000 (12:38 -0400)]
LP#1907296 Missing Workstation setting for staff cat item table

Adds the ws setting type eg.grid.catalog.record.copies to allow users to
save grid preferences for the angular catalog item table.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1928005 Bootstrap Opac: Current charges not aligned on mobile.
Garry Collum [Tue, 11 May 2021 19:43:34 +0000 (15:43 -0400)]
LP1928005 Bootstrap Opac: Current charges not aligned on mobile.

This patch removes the classes from the charges table that presents the table in a vertical format.
It wraps the table in a <div> that uses the table-responsive class.

To test add some charges to a patron record.
Bring that patron's account up in the opac and view the charges table in the smallest browser size
possible.
Notice that the table switches to a vertical format and the column names are mis-aligned.

Apply the patch.

View the table again.  The table should now be horizontal with all of the columns correct.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1929136: (follow-up) reduce bounce time to 500ms
Galen Charlton [Fri, 4 Jun 2021 20:17:33 +0000 (16:17 -0400)]
LP#1929136: (follow-up) reduce bounce time to 500ms

During testing, 500ms was enough to avoid excessive
PCRUD calls while still keeping the interface's display
of duplicate or missing barcode warnings responsive.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1929136: delay barcode lookup on change in holdings editor
Jeff Davis [Thu, 20 May 2021 21:51:17 +0000 (14:51 -0700)]
LP#1929136: delay barcode lookup on change in holdings editor

In the Holdings Editor, any change to the barcode field results in an
immediate API call.  Thus, if you type the barcode "123456789", you
would get 9 separate calls: 1, 12, 123, 1234, 12345 ...

This commit adds a 1000ms delay to avoid excessive pcrud calls when
typing a barcode.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoDocs: updates to library settings; filename fixes
Andrea Buntz Neiman [Thu, 1 Jul 2021 20:58:23 +0000 (16:58 -0400)]
Docs: updates to library settings; filename fixes

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 years agoForward port the 3.6.3 to 3.6.4 db upgrade script
Jason Stephenson [Fri, 25 Jun 2021 17:05:49 +0000 (13:05 -0400)]
Forward port the 3.6.3 to 3.6.4 db upgrade script

Signed-off-by: Jason Stephenson <jason@sigio.com>
2 years agoForward port 3.5.4 to 3.5.5 db upgrade script
Jason Stephenson [Wed, 23 Jun 2021 20:21:39 +0000 (16:21 -0400)]
Forward port 3.5.4 to 3.5.5 db upgrade script

Signed-off-by: Jason Stephenson <jason@sigio.com>
2 years agoForward port 3.5.3 to 3.5.4 db upgrade script
Jason Stephenson [Wed, 23 Jun 2021 20:20:25 +0000 (16:20 -0400)]
Forward port 3.5.3 to 3.5.4 db upgrade script

Signed-off-by: Jason Stephenson <jason@sigio.com>
2 years agoForward-port 3.7.1 version upgrade script
Jane Sandberg [Wed, 23 Jun 2021 16:38:00 +0000 (12:38 -0400)]
Forward-port 3.7.1 version upgrade script

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoupdate Czech translations for Angular staff client
Galen Charlton [Wed, 23 Jun 2021 16:11:33 +0000 (12:11 -0400)]
update Czech translations for Angular staff client

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoDocs: 3.7.1 release notes
Jane Sandberg [Wed, 23 Jun 2021 15:27:18 +0000 (08:27 -0700)]
Docs: 3.7.1 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: 3.6 release notes
Jane Sandberg [Wed, 23 Jun 2021 15:02:43 +0000 (08:02 -0700)]
Docs: 3.6 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: Release notes for 3.5.5
Jane Sandberg [Wed, 23 Jun 2021 14:31:08 +0000 (07:31 -0700)]
Docs: Release notes for 3.5.5

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoLP#1930933: fix issue with over-escaping in search results title attributes
Galen Charlton [Mon, 14 Jun 2021 15:34:51 +0000 (11:34 -0400)]
LP#1930933: fix issue with over-escaping in search results title attributes

This patch fixes an issue where a record with a title containing the
word "hidden" can have its title, ironically enough, not show up
on public catalog search results.

To test
-------
[1] Create an OPAC-visible record whose 245 is something like:

    =245 04$aThe hidden one <script>alert('title!')</script>

[2] Search for the record in both the TPAC and Bootstrap skin. Note
    that the title isn't displayed.
[3] Apply the patch and repeat step 2. This time, the full title
    should be displayed.
[4] Verify that the OPAC does not display an alert box.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
2 years agoLP1910145 Angular Hold Detail Notes & Notifications
Bill Erickson [Mon, 4 Jan 2021 21:12:50 +0000 (16:12 -0500)]
LP1910145 Angular Hold Detail Notes & Notifications

The hold detail view now displays hold notes and hold notification
records.  Notes and Notifications may be created by staff.  Notes may be
deleted by staff.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1887876 Checkout catalog doesn't load workstation prefs
Dan Briem [Fri, 17 Jul 2020 03:39:09 +0000 (23:39 -0400)]
LP#1887876 Checkout catalog doesn't load workstation prefs

The catalog under the Holds tab in the Checkout interface
doesn't load the default search or preferred library if
you haven't visited the main catalog page earlier in the
session.

This branch sets these settings as cookies in the
AngularJS wrapper for the catalog embedded in the Checkout
interface under the Holds tab.

Test:
1. Close browser, open browser, log into Evergreen
2. Admin->Workstation set search & preferred library
3. Open a patron record -> Holds tab -> Place Holds
4. Search for an item owned by your preferred library
5. Note the library's copies aren't separately indicated
6. Apply patch and repeat steps 1-5
7. Note the library's copies are separately indicated

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1930088 Angular catalog: metarecord search returns no results
Dan Briem [Fri, 28 May 2021 16:58:27 +0000 (12:58 -0400)]
LP#1930088 Angular catalog: metarecord search returns no results

This adds a missing param to a call to get_one_record_summary
that's necessary after commit c07ce8.

To test, perform a search using the Group Formats/Editions checkbox
and you should see results.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1895738: stamp schema update
Galen Charlton [Fri, 4 Jun 2021 14:41:30 +0000 (10:41 -0400)]
LP#1895738: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agolp1895738 need eg.orgselect.hopeless.wide_holds
Jason Etheridge [Thu, 1 Oct 2020 15:45:44 +0000 (11:45 -0400)]
lp1895738 need eg.orgselect.hopeless.wide_holds

This fixes the following:

ERROR Error: Uncaught (in promise): No user or workstation setting type exists for: "eg.orgselect.hopeless.wide_holds".
Create a ws/user setting type or use setLocalItem() to store the value locally.

However, it exposes a different (harmless?) error within the /eg2 holds grid:

ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value for 'ng-untouched': 'true'. Current value: 'false'.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1901893: (follow-up) add cellTextGenerator
Galen Charlton [Fri, 4 Jun 2021 14:07:40 +0000 (10:07 -0400)]
LP#1901893: (follow-up) add cellTextGenerator

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1901893 Bucket column link tweak
Michele Morgan [Fri, 19 Mar 2021 17:31:06 +0000 (17:31 +0000)]
LP1901893 Bucket column link tweak

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1901893 Carousel bucket should be linked from grid
Terran McCanna [Wed, 28 Oct 2020 22:41:27 +0000 (18:41 -0400)]
LP1901893 Carousel bucket should be linked from grid

Re-formats the bucket column content as a link that opens the
carousel's associated bucket in a new tab.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1778955: stamp schema update
Galen Charlton [Wed, 2 Jun 2021 15:24:00 +0000 (11:24 -0400)]
LP#1778955: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1778955: fixing upgrade script, removing duplicate function definition
Jane Sandberg [Thu, 6 Aug 2020 15:08:50 +0000 (08:08 -0700)]
LP#1778955: fixing upgrade script, removing duplicate function definition

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1778955: Remove our custom version of array_remove(anyarray,anyelement)
Mike Rylander [Fri, 22 Jun 2018 18:29:26 +0000 (14:29 -0400)]
LP#1778955: Remove our custom version of array_remove(anyarray,anyelement)

As of Postgres 9.3 there is a built in array_remove() function that is faster
than our custom version that uses unnest().  We should use that instead.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP#1908619: add a release notes sentence
Galen Charlton [Wed, 2 Jun 2021 15:08:09 +0000 (11:08 -0400)]
LP#1908619: add a release notes sentence

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1908619 Adjustments to Staff Search Preferences Page
Terran McCanna [Tue, 5 Jan 2021 19:09:36 +0000 (14:09 -0500)]
LP1908619 Adjustments to Staff Search Preferences Page

Change 'Catalog Preferences' to 'Search Preferences' and
add a Return button at the bottom to make it more obvious how
to get out of the interface.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jennifer Bruch <jbruch@sparkpa.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoLP1922120: Add to carousel action in angular catalog
Jane Sandberg [Fri, 28 May 2021 02:32:27 +0000 (19:32 -0700)]
LP1922120: Add to carousel action in angular catalog

To test:

1) Create several manual carousels, and make sure they are
set to active.
2) Open a bib record in the Angular staff catalog.
3) Under Other Actions, choose the "Add to Carousel" action
4) Choose your preferred carousel.
5) Click Add to carousel.
6) Go back to carousel administration (or look at the carousel
itself), and confirm that the record has been added to the
carousel in question.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agodocs: fix typo in 3.6 release notes
Galen Charlton [Tue, 1 Jun 2021 14:27:35 +0000 (10:27 -0400)]
docs: fix typo in 3.6 release notes

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
2 years agoDocs: radio monograph part selector in OPAC
Jane Sandberg [Sat, 29 May 2021 01:52:14 +0000 (18:52 -0700)]
Docs: radio monograph part selector in OPAC

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: add admin docs for multiple holds feature
Jane Sandberg [Sat, 29 May 2021 01:03:07 +0000 (18:03 -0700)]
Docs: add admin docs for multiple holds feature

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: Update migrating_your_data.adoc
Stephen Wills [Sat, 29 May 2021 00:30:07 +0000 (17:30 -0700)]
Docs: Update migrating_your_data.adoc

Signed-off-by: Stephen Wills <swills@beyond-print.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoUpdate librarysettings.doc
Stephen Wills [Sat, 29 May 2021 00:13:14 +0000 (17:13 -0700)]
Update librarysettings.doc

Signed-off-by: Stephen Wills <swills@beyond-print.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: LP 1751146 browser bookmarks toolbar
katiegmartin [Mon, 26 Oct 2020 16:07:15 +0000 (12:07 -0400)]
Docs: LP 1751146 browser bookmarks toolbar

Add tips for using the browser bookmarks toolbar in place of the XUL button bar

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: LP 1250528 change font size in browser
katiegmartin [Mon, 26 Oct 2020 15:21:52 +0000 (11:21 -0400)]
Docs: LP 1250528 change font size in browser

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: small follow-up tweaks to survey documentation
Jane Sandberg [Fri, 28 May 2021 22:51:09 +0000 (15:51 -0700)]
Docs: small follow-up tweaks to survey documentation

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoUpdated Surveys Pictures
Lynn Floyd [Fri, 28 May 2021 15:21:18 +0000 (11:21 -0400)]
Updated Surveys Pictures

Updated images for Surveys.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDOC Addding Survey Administration
Lynn Floyd [Wed, 5 May 2021 20:42:44 +0000 (16:42 -0400)]
DOC Addding Survey Administration

Adding Survey Adminstration to Documentation

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDOC Add message about version switching.
Rosie Le Faive [Fri, 28 May 2021 18:05:57 +0000 (15:05 -0300)]
DOC Add message about version switching.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoNew billing section added and the circulation nav menu updated.
Jennifer Pringle [Fri, 28 May 2021 19:32:26 +0000 (12:32 -0700)]
New billing section added and the circulation nav menu updated.

Billing docs come from Sitka's Evergreen manual.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDOC Elaborate on what Items and bib records are.
Rosie Le Faive [Fri, 28 May 2021 19:39:35 +0000 (16:39 -0300)]
DOC Elaborate on what Items and bib records are.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>