evergreen/tadl.git
3 years agoLP1888723 Volcopy parts on demand; checkdigit preference
Bill Erickson [Mon, 14 Sep 2020 18:43:25 +0000 (14:43 -0400)]
LP1888723 Volcopy parts on demand; checkdigit preference

Support creating monograph parts on the fly in the Angular holdings
editor.

Create a separate preference for controlling the visibility of the 'Use
Checkdigit' checkbox.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Combobox avoids clearing selected for freetext
Bill Erickson [Mon, 14 Sep 2020 18:27:34 +0000 (14:27 -0400)]
LP1888723 Combobox avoids clearing selected for freetext

Follow-up to LP#1850547: Avoid clearing the selected item in the
combobox when selectedId is set to null in cases where freetext is
enabled and a freetext value is present.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Item attrs edit owning lib change repair
Bill Erickson [Thu, 10 Sep 2020 21:59:23 +0000 (17:59 -0400)]
LP1888723 Item attrs edit owning lib change repair

Fixes a thinko in the item update code when changing the owning lib for
an item.  A value must be passed to copy.ischange(...) to have any
effect.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Item attributes editor can now clear stat cats
Bill Erickson [Thu, 10 Sep 2020 21:38:10 +0000 (17:38 -0400)]
LP1888723 Item attributes editor can now clear stat cats

Correctly implement stat cat copy map deletion in the Angular holdings
editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Angular volcopy UI mods and repairs
Bill Erickson [Wed, 26 Aug 2020 22:09:11 +0000 (18:09 -0400)]
LP1888723 Angular volcopy UI mods and repairs

* Use plus/minus buttons for adding and removing vols and copies.
* Support adding multiple vols and copies via add-multi pop-over
* Support hiding the Parts column
* Move Generate Barcodes and Use Checkdigit to bottom row.
* Collapse Batch Actions row by default, state stored in preferences.
* Fix issue where loading a record with no holdings would result in a
  mostly image page.
* Various display/layout repairs for showing/hiding columns

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Holdings refresh handles deleted call numbers
Bill Erickson [Mon, 24 Aug 2020 16:16:49 +0000 (12:16 -0400)]
LP1888723 Holdings refresh handles deleted call numbers

Teach the holdings grid in the staff catalog to correctly remove deleted
volumes from its tree when holding are modified in another tab.

To test, in the holding editor, modify a call number to have the same
label as another call number with the same owning org unit and save.  On
the backend, this will result in one of the call numbers getting
deleted.  Confirm the deleted call number no longer appears in the
holdings grid.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Angular holdings broadcast changes
Bill Erickson [Tue, 18 Aug 2020 20:44:34 +0000 (16:44 -0400)]
LP1888723 Angular holdings broadcast changes

Broadcast to other tabs information about which holdings have changed
during editing in the Angular volcopy UI.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Angular holdings trims barcode spaces
Bill Erickson [Tue, 18 Aug 2020 20:35:02 +0000 (16:35 -0400)]
LP1888723 Angular holdings trims barcode spaces

The barcode input form trims leading and trailing spaces from barcodes
in the Angular holdings editor.

Spaces in the middle of the barcode are not removed.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Angular holdings from catalog edit link; 1i8n repairs
Bill Erickson [Fri, 14 Aug 2020 16:48:29 +0000 (12:48 -0400)]
LP1888723 Angular holdings from catalog edit link; 1i8n repairs

The 'Edit' link in the copy table within the Angular staff catalog nows
directs users to the Angular volcopy editor.

Remove a number of nested 1i8n declarations.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Angular Holdings Maint / Item Attr Release Notes
Bill Erickson [Thu, 23 Jul 2020 20:23:59 +0000 (16:23 -0400)]
LP1888723 Angular Holdings Maint / Item Attr Release Notes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Angular Holdings Maintenance / Item Attributes Editor
Bill Erickson [Thu, 4 Jun 2020 16:36:09 +0000 (12:36 -0400)]
LP1888723 Angular Holdings Maintenance / Item Attributes Editor

Angular port of the holdings and item attributes editors interfaces.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Angular File exporter service
Bill Erickson [Tue, 23 Jun 2020 20:57:07 +0000 (16:57 -0400)]
LP1888723 Angular File exporter service

Package up some of the nitty gritty of supporting file exports from the
Angular client into a utility service.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 combobox down arrow same as click
Bill Erickson [Thu, 2 Jul 2020 21:39:00 +0000 (17:39 -0400)]
LP1888723 combobox down arrow same as click

<eg-combobox /> now treats down arrow as the same as a click operation,
allowing for activation of selectabled options dropdown via keyboard.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Cat vol update API repairs
Bill Erickson [Thu, 2 Jul 2020 20:56:46 +0000 (16:56 -0400)]
LP1888723 Cat vol update API repairs

Repair cases where subs in the volume update API failed to return the
expected response constructs, specifically (response, event).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1888723 Barcode auto-generate API skip-dupes option
Bill Erickson [Thu, 30 Apr 2020 19:33:57 +0000 (15:33 -0400)]
LP1888723 Barcode auto-generate API skip-dupes option

Option to verify generated barcodes do not exist in the database.  When
a dupe is found, skip over it and continue to the next barcode.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1906058: Course-term map interface only allow reasonable mappings
Jane Sandberg [Fri, 23 Jul 2021 17:15:13 +0000 (10:15 -0700)]
LP1906058: Course-term map interface only allow reasonable mappings

Different libraries will use different sets of course terms.  In an
academic library context, for example, a consortium may include
libraries with very different start and end dates to their terms/semesters,
different numbers of terms/year, etc.

This commit changes the interface to only allow users to associate
a course with a term from the same library or one of its ancestors.

To test:
1. Create many courses and course terms and many different OUs.
2. On the course list, click "Terms taught".  Associate some courses
and course terms.  Make sure that you aren't able to associate your
course with any course terms that would not be reasonable for the
course's library.
3. Edit a course, and choose the Course terms tab.  Continue to associate
courses and terms, and make sure the mappings are reasonable.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1917809 Create Course: Owning Library Default
Michele Morgan [Tue, 30 Mar 2021 20:16:59 +0000 (20:16 +0000)]
LP#1917809 Create Course: Owning Library Default

Changes the default for the owning library in the Create Course modal to the logged
in user's workstation org unit instead of the consortium.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Christine Burns <christine.burns@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1905068: (follow-up) never initialize an OU ID to 1
Galen Charlton [Sun, 15 Aug 2021 15:27:41 +0000 (11:27 -0400)]
LP#1905068: (follow-up) never initialize an OU ID to 1

This change has no effect on behavior, as defaultOuId's
initialization value always gets replaced with the user's
WS OU or the org root when the contructor is run, but
avoids any implication during code-reading that the top
of the OU tree can be assumed to have ID 1.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1905068: Add org-family-select to course list
Jane Sandberg [Wed, 23 Jun 2021 23:59:51 +0000 (16:59 -0700)]
LP1905068: Add org-family-select to course list

To test:

1) Apply this patch
2) Admin > Local admin > Course reserves list
3) Check that the list defaults to courses available
at your workstation org unit
4) Check that, when you select ancestors, descendants,
or a different org unit, the course list updates
accordingly
5) Check that the list only displays org units for
which you have the MANAGE_RESERVES permission

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1923076: Add Perl live test
Jason Stephenson [Fri, 9 Apr 2021 20:31:57 +0000 (16:31 -0400)]
LP1923076: Add Perl live test

Add lp1923076-test-perl-scalar-return.t to the Perl live tests to test
a couple of back end calls affected by the changes in this branch.
These backend calls are those that are easily testable with Concerto
data.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
3 years agoLP1923976: Remove some dead code
Jason Stephenson [Fri, 9 Apr 2021 17:42:42 +0000 (13:42 -0400)]
LP1923976: Remove some dead code

Remove a block of commented code that was turned up while working on
this issue.  This is in its own commit to make it easier to revert, if
necessary.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
3 years agoLP1923076: Add cast to int in more places
Jason Stephenson [Fri, 9 Apr 2021 17:41:40 +0000 (13:41 -0400)]
LP1923076: Add cast to int in more places

Add cast to int of scalar used on arrays in more places where it seems
necessary.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
3 years agoLP#1923076: ensure length of empty array is treated as a number when retrieving hold...
Jeff Davis [Thu, 8 Apr 2021 02:41:49 +0000 (19:41 -0700)]
LP#1923076: ensure length of empty array is treated as a number when retrieving hold counts

Thanks to Jason Stephenson for suggesting this solution.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
3 years agoLP1935693: Improve spacing on the OPAC course materials table
Jane Sandberg [Fri, 13 Aug 2021 15:34:03 +0000 (08:34 -0700)]
LP1935693: Improve spacing on the OPAC course materials table

Signed-off-by; Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Christine Burns <christine.burns@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1935693: Add circulation modifier to course page
Jane Sandberg [Tue, 13 Jul 2021 03:56:01 +0000 (20:56 -0700)]
LP1935693: Add circulation modifier to course page

Also makes some strings extractable for translation that
were previously missed.

To test:
1) Enable the course materials module
2) Add some courses
3) Add some materials to those courses, using a mix of
circulation modifiers
4) In the OPAC, use the Course Search to search for
your courses
5) Click on the course you created
6) Note that physical items associated with the course
display their circulation modifiers in the circulation
modifier column.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Christine Burns <christine.burns@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1895052: add a release notes entry
Galen Charlton [Fri, 13 Aug 2021 22:08:53 +0000 (18:08 -0400)]
LP#1895052: add a release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1895052: stamp schema update
Galen Charlton [Fri, 13 Aug 2021 22:03:50 +0000 (18:03 -0400)]
LP#1895052: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1895052: Avoid foreign targets when local items exist
Mike Rylander [Mon, 28 Jun 2021 19:06:26 +0000 (15:06 -0400)]
LP#1895052: Avoid foreign targets when local items exist

This commit adds a new YAOUS that allows a pickup library to specify
that it does not want its holds to have foreign (prox > 0) copies
directly targeted if there is a local copy in an available status (on
the shelf).  The setting is an interval, and after the age of the hold
has passed that interval, foreign direct targetting is allowed.

This does not change the calculation of the potential list, so
op-capture will be availalbe (all else being equal) without
retargetting.

This setting (circ.pickup_hold_stalling.hard) is meant to be used in
concert with the other new setting in the parent commit
(circ.pickup_hold_stalling.soft), and should generally have a value the
same or smaller than the soft setting.  Doing this allows tiered
targetting, where no remote items are targeted via the hard setting for,
say, 3 days, where all capture is restricted to only the pickup, and
then, with a soft setting of 5 days, the next 2 days allow only direct
target capture of foreign copies.  After 5 days, normal, global
targetting and op-capture resumes.

An alternative use for this setting is to ignore the parent-commit soft
setting and allow op-capture everywhere, but only direct targetting at
the pickup library.  The effect of this, if used globally throughout an
entire Evergreen instance, would be that the pull list would only
represent pickup-local holds, but serendipitous scans of items that
could fill remote holds could capture for transit.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1895052: Allow pickup lib to control stalling
Mike Rylander [Wed, 23 Jun 2021 16:28:39 +0000 (12:28 -0400)]
LP#1895052: Allow pickup lib to control stalling

This commit provides a new YAOUS that, when set, takes precedence over
the current "soft stalling interval" YAOUS.  Instead of limiting capture
to items owned by the pickup library (or the directly targeted item)
based on the context of scanned item's circulating library, it instead
restricts op capture to holds that have a pickup library of the scanning
location when the hold is younger that the interval, base on the context
of the pickup location of each hold.

tl;dr: It allows the pickup library to control op capture stalling
rather than the circulating library of an arbitrary scanned item.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1938450 - missing pieces slip printer context set to receipt
Josh Stompro [Mon, 2 Aug 2021 13:30:06 +0000 (08:30 -0500)]
LP#1938450 - missing pieces slip printer context set to receipt

Set the missing pieces slip to receipt context so it gets printed
to the receipt printer.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1910452 Remove staff catalog read-only OPAC Patron View
Bill Erickson [Thu, 29 Jul 2021 20:02:44 +0000 (16:02 -0400)]
LP1910452 Remove staff catalog read-only OPAC Patron View

This is superseded by a new Patron View button.

Also removes the underlying component, since it's not longer used
anywhere.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
3 years agoLP1910452 Staff catalog Patron View button
Bill Erickson [Wed, 28 Jul 2021 14:17:48 +0000 (10:17 -0400)]
LP1910452 Staff catalog Patron View button

Adds a Patron View button to the Angular staff catalog record detail
page which opens the catalog in a new browser tab.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
3 years agoLP#1912852: add jump-on-one-hit support to Angular staff catalog
Galen Charlton [Tue, 13 Jul 2021 14:11:29 +0000 (10:11 -0400)]
LP#1912852: add jump-on-one-hit support to Angular staff catalog

This patch add support for the opac.staff.jump_to_details_on_single_hit
library setting to the Angular staff catalog.

To test
-------
[1] Apply the patch.
[2] Ensure that the opac.staff.jump_to_details_on_single_hit setting
    is off for your workstation.
[3] Perform searches using the Angular staff catalog. Verifying that
    searches that return any number of results display them on the
    results page.
[4] Set the library setting to true and reload the staff catalog.
[5] Perform keyword, numeric, and MARC searches using terms that
    result in a single-record result set. Verify that the interface
    redirects to the single-record page for that hit.
[6] Perform searches that would return zero results. Verify that
    the results page indicates zero hits fuond.
[7] Perform searches that would return more than one result. Verify
    that the results are displayed on the results page.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
3 years agoLP#1917396 - Staff Curbside Scheduling UTC Issues
Josh Stompro [Fri, 5 Mar 2021 01:09:44 +0000 (19:09 -0600)]
LP#1917396 - Staff Curbside Scheduling UTC Issues

When a staff person tries to schedule curbside appointments
after their UTC equivalent time moves to the next day, the
timeslots for the next day are shown, and appointments get
made for the next day.

For example, when CST is the local timezone (UTC-6), after 6pm
appointments for the current day are scheduled for the next day.
Appointments for the next day get scheduled for the day after.

This happens because toISOString is used to grab the current date,
but toISOString always returns UTC time.  The date widget will show
the correct date, but the time slots will actually be for the next
day.  This is more noticeable if days have different schedules.

Another clue is that the time slot selector will show all timeslots for
the day, not just the ones that are upcoming.

Testing Plan:

1. Enable curbside for test location, and set org unit hours to
   be at least through 8pm for open hours.

2. Wait until after 4PM (Pacific), 6pm CST, 7PM EST, or
   change your computer clock.

3. Try to schedule an appointment for the current day.

4. The appointment should get scheduled for the next day.

5. Apply the fix.

6. Try to schedule another appointment and see that the correct
   date gets selected.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agofix a think-o that prevented the Angular tests from building
Galen Charlton [Thu, 12 Aug 2021 22:11:37 +0000 (18:11 -0400)]
fix a think-o that prevented the Angular tests from building

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1802682: stamp DB update
Galen Charlton [Thu, 12 Aug 2021 22:01:07 +0000 (18:01 -0400)]
LP#1802682: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1802682: Use Default Net Access Level OUS
Jason Boyer [Sat, 10 Nov 2018 22:53:16 +0000 (17:53 -0500)]
LP1802682: Use Default Net Access Level OUS

This branch does two things: makes use of the OUS
that determines the default Net Access Level, and
also changes the type of the coust entry to make
using it more user friendly.

Signed-off-by: Jason Boyer <JBoyer@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1916754 Angular Grid row index shows > 99
Bill Erickson [Tue, 16 Mar 2021 21:27:05 +0000 (17:27 -0400)]
LP1916754 Angular Grid row index shows > 99

The row number column along the left of each grid now fully shows
3-digit numbers (100 -> 999) without truncating the value.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1933381 Notify by SMS requires SMS fields when placing holds
Dan Briem [Sat, 31 Jul 2021 02:34:26 +0000 (22:34 -0400)]
LP#1933381 Notify by SMS requires SMS fields when placing holds

When placing a hold, if the notification method is set to SMS
and no carrier is selected, the hold fails with a generic error.

This disables the Place Hold(s) button if notify by SMS is
selected and the SMS phone number or carrier fields are not set.

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Erica Rohlfs <erica.rohlfs@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1909584 Title for Shared Lists in Bootstrap OPAC
Terran McCanna [Thu, 24 Jun 2021 14:28:41 +0000 (10:28 -0400)]
LP1909584 Title for Shared Lists in Bootstrap OPAC

This displays the title and description for shared lists
when viewed in the Bootstrap OPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1901028 Update seed data for checkout print template
Terran McCanna [Wed, 30 Jun 2021 19:13:36 +0000 (15:13 -0400)]
LP1901028 Update seed data for checkout print template

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1901028 Print Template for Checkout Missing Fields
Terran McCanna [Thu, 22 Oct 2020 22:05:37 +0000 (18:05 -0400)]
LP1901028 Print Template for Checkout Missing Fields

The fields are actually available, but the hints in the template
were incorrect. This fixes the hints for call number, owning library
name, owning library short name, and circulation modifier.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1920273: improve Bootstrap self registration display
Garry Collum [Mon, 22 Mar 2021 19:09:16 +0000 (15:09 -0400)]
LP1920273: improve Bootstrap self registration display

This patch makes the form in the self-registration screen in the Bootstrap
opac a little responsive on smaller devices.

To test.

1. Turn on self-registration in the library settings.
2. Go to the self-registration screen and make the screen as small as possible.
3. Apply the patch.
4. Notice that the form labels and input boxes are now more aesthetic.
5. Create some self-registration requests to make sure the form captures the data.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1923640: add release notes entry
Galen Charlton [Thu, 12 Aug 2021 21:33:09 +0000 (17:33 -0400)]
LP#1923640: add release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1923640 Manage visibility of grid action menu entries
Bill Erickson [Tue, 13 Apr 2021 17:05:18 +0000 (13:05 -0400)]
LP1923640 Manage visibility of grid action menu entries

Adds a new Angular Grid configuration menu entry labeled "Manage Actions
Menu", which launches a new dialog which allows staff to show/hide
individual entries in the grid toolbar actions menu / context menu.

The new menu action is disabled when a grid has no toolbar actions.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Erica Rohlfs <erica.rohlfs@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1926971: (follow-up) update base holds for patron template
Galen Charlton [Thu, 12 Aug 2021 21:20:43 +0000 (17:20 -0400)]
LP#1926971: (follow-up) update base holds for patron template

... to add more information about what is available to the
template.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agolp1926971 augment holds for patrons print template
Jason Etheridge [Mon, 3 May 2021 15:13:08 +0000 (11:13 -0400)]
lp1926971 augment holds for patrons print template

with patron data, to support what the template editor preview is allowing

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1930308: avoid duplicate circ modifier column
Jeff Davis [Mon, 31 May 2021 19:39:01 +0000 (12:39 -0700)]
LP#1930308: avoid duplicate circ modifier column

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1933125 Bootstrap OPAC Hold Count Alignment
Terran McCanna [Mon, 21 Jun 2021 16:11:48 +0000 (12:11 -0400)]
LP1933125 Bootstrap OPAC Hold Count Alignment

This groups and styles the hold count with the available
copy count.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1932358 Serialize patron bucket entry batch deletion
Bill Erickson [Tue, 3 Aug 2021 21:11:42 +0000 (17:11 -0400)]
LP1932358 Serialize patron bucket entry batch deletion

Avoid large sets of parallel patron bucket item delete calls by
serialzing the calls so they go one at a time.

Adds a progress meter to the display during delete.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1919497: Make the login box translateable
Jane Sandberg [Wed, 26 May 2021 03:24:12 +0000 (20:24 -0700)]
LP1919497: Make the login box translateable

Thanks to Eva Cerninakova for reporting and identifying the solution!

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1929839 Load Shared Bucket text error
Garry Collum [Thu, 27 May 2021 17:49:00 +0000 (13:49 -0400)]
LP1929839 Load Shared Bucket text error

Changes the title of the Load Shared Bucket pop-up box from "Load Shared
Bucket Bucket by ID" to "Load Shared Bucket by ID".  I decided not to
change it to "Load Shared Bucket by Bucket ID" since "Bucket ID" is
displayed next to the input field.

This affects all 3 types of buckets: item, record and user.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1813191: stamp DB update
Galen Charlton [Thu, 12 Aug 2021 20:05:56 +0000 (16:05 -0400)]
LP#1813191: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1813191: Dots Need Chaperones
Jason Boyer [Thu, 12 Aug 2021 11:39:06 +0000 (07:39 -0400)]
LP1813191: Dots Need Chaperones

Regular expressions are fun.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1813191: Add a Dewey Classification View to acn
Jason Boyer [Mon, 28 Jan 2019 15:22:01 +0000 (10:22 -0500)]
LP1813191: Add a Dewey Classification View to acn

The most-missed part of the Classic Item View in the
reporter are the dewey ranges and blocks. This branch
pulls those out into their own view and hangs it off
of a link from asset.call_number so they can be used
in reports from any path that connects to acn.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1904244 Stamping DB Upgrade : ACQ Admin
Bill Erickson [Thu, 12 Aug 2021 19:20:53 +0000 (15:20 -0400)]
LP1904244 Stamping DB Upgrade : ACQ Admin

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This currently apply to 'int' type fields.

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

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

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Ruth Frasur <rfrasur@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>