]> git.evergreen-ils.org Git - evergreen/tadl.git/log
evergreen/tadl.git
25 hours agoLP2042879 Shelving Location Groups Admin accessibility main
Stephanie Leary [Tue, 19 Dec 2023 16:04:35 +0000 (16:04 +0000)]
LP2042879 Shelving Location Groups Admin accessibility

Fixes duplicate groups in the All Shelving Locations list.

Corrects various accessibility issues in Admin > Local > Shelving
Location Groups:

* Keyboard support for all buttons, including up/down arrow key support
  for drag and drop
* Labels for all inputs, including checkboxes
* List and table markup, to provide context and navigation options for
  screen reader users
* Headings, for screen reader navigation
* Responsive layout to allow content to reflow when text is zoomed in

This also revises the drag and drop logic so that the position numbers
increment from the last unchanged position rather than their previous
value (which could result in unnecessarily large numbers).

Release-note: Refactors Shelving Location Groups Admin for accessibility

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Shula Link <slink@gchrl.org>
8 days agoLP1843940 - Permission Tree Display Sort Order
Michele Morgan [Thu, 4 Apr 2024 14:24:23 +0000 (14:24 +0000)]
LP1843940 - Permission Tree Display Sort Order

Applies a descending sort by permission.grp_tree_display_entry.position to the pgtde pcrud call

Release-Note: Fixes custom permission tree display sort in the patron registration/edit screen

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
9 days agoLP#2051874: various improvements
Galen Charlton [Wed, 21 Feb 2024 13:09:06 +0000 (08:09 -0500)]
LP#2051874: various improvements

* Tighten up parsing of Release-notes: tags per a suggestion from Jason Stephenson
* Recognize Co-authored-by tags
* Recognize Signed-off-by tags that do not have email addresses
* Put bug number at the end of the notes to follow current practice

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
9 days agoLP#2051874: new tool to help create release notes
Galen Charlton [Wed, 31 Jan 2024 19:09:49 +0000 (14:09 -0500)]
LP#2051874: new tool to help create release notes

extract_release_notes_from_commits.pl, found in docs/tools in the
source tree, looks for release note, author, committer,
reviewer, and sponsor information from a stream of commits
in the branch specified by the --current-branch option
from the commit that is the common ancestor of the branch
specified by --prev-release-branch, which will normally be
a tag branch for a previous release.

The output (sent to standard output) is AsciiDoc suitable for
pasting in release notes listing the short release notes (as
entered in Release-note tags in the commit messages), the
contributors (defined as patch authors, committers, and reviewers
from the Signed-off-by tags in the commit messages) and sponsors
(from the Sponsored-by tags in the commit messages).

The output of this script should be proofread before publishing
release notes.

Usage:

--prev-release-branch=<Git commit reference>
    Branch identifying the previous release to compare
    against. Would be something like origin/tags/rel_3_12_0
--current-branch=<Git commit reference>
    Branch to look for commits on. If not specified, defaults
    to "HEAD"
--help
    Print this help message

To test
-------
[1] Ensure that your Git checkout is up to date.
[2] Run the tool and compare its output with what you would
    expect from a manual inspection of the Git commit log.

Release-note: New development tool to help prepare release notes using information from Git commits.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
12 days agoLP#2019211: remove remoteauth.cgi
Jeff Davis [Mon, 11 Mar 2024 19:42:22 +0000 (12:42 -0700)]
LP#2019211: remove remoteauth.cgi

The remoteauth.cgi script is obsolete now that we have an EZProxy
integration method that uses auth profiles.

Release-Note: Removes obsolete remoteauth.cgi example script.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
2 weeks agoLP#2002572 Add Alert When No Hold Notifications Set
Steven Mayo [Thu, 18 Jan 2024 14:57:19 +0000 (09:57 -0500)]
LP#2002572 Add Alert When No Hold Notifications Set

Removed messages indicating that this is a pines customization for use
by other consortiums.

Release-Note: Presents an alert in the public catalog when no hold notifications are set.

Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: blake <blake@mobiusconsortium.org>
2 weeks agoLP#2002572 Alert when no hold notification options
Terran McCanna [Mon, 10 Dec 2018 19:17:42 +0000 (14:17 -0500)]
LP#2002572 Alert when no hold notification options

Present an alert if no notification options are selected in the OPAC.
Fixed the removed classes used for counting the number of notification
methods used.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: blake <blake@mobiusconsortium.org>
2 weeks agoForward-port 3.12.2-3.12.3 upgrade script
Jane Sandberg [Tue, 2 Apr 2024 00:09:52 +0000 (17:09 -0700)]
Forward-port 3.12.2-3.12.3 upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 weeks agoAdditional entry for release notes
Jane Sandberg [Mon, 1 Apr 2024 20:52:34 +0000 (13:52 -0700)]
Additional entry for release notes

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
2 weeks agoLP1821094: Add an AngularJS module that runs promises in batches
Jane Sandberg [Thu, 30 Jan 2020 19:40:13 +0000 (11:40 -0800)]
LP1821094: Add an AngularJS module that runs promises in batches

This service helps to reduce server load for repetitive OpenSRF
calls by dividing a large array of promises into batches. It
maintains the original order of the array when returning results.

Within each batch, calls are sent simultaneously. The batches
themselves are run sequentially.

This represents a middle ground between running a ton of OpenSRF
calls sequentially -- which leads to a long wait for the user --
and running them simultaneously, which can result in some serious
wait times.

One use case is when you need to get several rows from pcrud,
but the order of results is important and can't be just passed
using orderBy.

To use, you can just replace $q.all with egBatchPromises.all

This also changes the item status refresh code to use
egBatchPromises.all instead of $q.all, in response to some
pcrud-monopolizing noted in
https://bugs.launchpad.net/evergreen/+bug/1821094/comments/14

Release-note: Improves performance of item refresh after batch editing

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jennifer Weston <jennifer.weston@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 weeks agoLP1821094: Improve item status reload performance
Jane Sandberg [Sun, 28 Apr 2019 17:57:30 +0000 (13:57 -0400)]
LP1821094: Improve item status reload performance

To test:
1) Create a file with 500 or more item barcodes.
2) Load your file into Item Status.
3) Select a few rows.
4) Go to Actions > Edit > Items.
5) Make some changes, then Save and Exit.
6) Time how long it takes between clicking
"Save and Exit" and when the grid actually
refreshes.
7) Repeat steps 2-6, but use Actions > Edit
> Call Numbers instead.
8) Apply this commit.
9) Repeat steps 2-7. The time should be much
faster with this commit.
10) Verify that no columns lose their data
when refreshed, especially monograph parts
and in-house use count.
11) Note that there is also a progress bar.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
2 weeks agoLP1086550 Not clear to patron how to deselect a facet
Terran McCanna [Tue, 19 Mar 2024 17:56:21 +0000 (13:56 -0400)]
LP1086550 Not clear to patron how to deselect a facet

Adds an X icon in front of a selected search facet on the Bootstrap OPAC
search results screen. Hides X from screen-readers and from tab
navigation to eliminate redundant noise / effort.

Release-note: Adds an X icon to selected search facets in OPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: blake <blake@mobiusconsortium.org>
2 weeks agoDocs: Release notes for 3.11.5 and 3.12.3
Andrea Buntz Neiman [Mon, 1 Apr 2024 04:10:14 +0000 (00:10 -0400)]
Docs: Release notes for 3.11.5 and 3.12.3

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
2 weeks agoLP#2040514: Net::SFTP::Foreign is not Net::FTP
Jason Stephenson [Tue, 26 Mar 2024 17:37:02 +0000 (13:37 -0400)]
LP#2040514: Net::SFTP::Foreign is not Net::FTP

Fix the SFTP functions that use Net::SFTP::Foreign so that they
actually work.  The Net::FTP implementations do not work with
Net::SFTP::Foreign.

Add acquisitions release note.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: blake <blake@mobiusconsortium.org>
2 weeks agoLP#2404514: Disable StrictHostKeyChecking in Net::SFTP::Foreign
Jason Stephenson [Tue, 26 Mar 2024 15:37:08 +0000 (11:37 -0400)]
LP#2404514: Disable StrictHostKeyChecking in Net::SFTP::Foreign

Set the StrictHostKeyChecking option to no when using
Net::SFTP::Foreign.  Doing so allows the connection to proceed if
we've never connected to the server before or if the host key changes.

Note: This change has implications for security.  It should be kept as
a stand-alone commit in case a site decides to remove it.

Signed-off-by: Jason Stephenson <jason@sigio.com>
2 weeks agoLP#2040514: Followup repairs
Jason Boyer [Thu, 2 Nov 2023 12:06:55 +0000 (08:06 -0400)]
LP#2040514: Followup repairs

Fix syntax erorrs.

Make SFTP and SSH2 get along together.

Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
2 weeks agoLP#2040514: Re-implement Acq EDI SFTP.
Chris Sharp [Mon, 30 Jan 2023 21:38:54 +0000 (16:38 -0500)]
LP#2040514: Re-implement Acq EDI SFTP.

Change from using Net::SSH2 for SFTP in favor of Net::SFTP::Foreign.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
3 weeks agoLP#2057948: Add Idempotency-Key to prevent duplicate stripe requests
Ken Cox [Mon, 18 Mar 2024 18:15:59 +0000 (14:15 -0400)]
LP#2057948: Add Idempotency-Key to prevent duplicate stripe requests

* Create key from sorted list of transaction IDs passed through md5_hex.
* Do not include xact param for now, since I am not sure what it is;
  xact_misc is the list of transaction IDs selected in the payment form.
* Pass header through -ua_args option when constructing the Stripe obj,
  because the per-request method is not published yet to CPAN.

Tested with manual code on Ubuntu 22 LTS and Business::Stripe 0.07.

Release-note: Adds idempotency to Stripe to prevent duplicate payments

Signed-off-by: Ken Cox <kenstir@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 weeks agoLP#2000270: (follow-up) fix lint
Galen Charlton [Tue, 26 Mar 2024 15:31:10 +0000 (11:31 -0400)]
LP#2000270: (follow-up) fix lint

This patch also adds a "FIXME" to better signal an area
where the patch author was uncertain of how to properly
signal to Angular Forms when the OU selector has an invalid
value.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 weeks agoLP2047592 OPAC - My Lists - Button Order
Terran McCanna [Fri, 22 Mar 2024 20:53:16 +0000 (16:53 -0400)]
LP2047592 OPAC - My Lists - Button Order

LP2047592 OPAC - My Lists - Button Order

Moves the View in Catalog button (when visible) to the end of row
of buttons so that hiding/sharing a list doesn't visually disrupt
the page as much.

Release-note: Changes button order in OPAC My Lists

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 weeks agoLP#2000270 Staff catalog lets staff pick invalid pickup locations
Steven Mayo [Fri, 8 Dec 2023 20:40:58 +0000 (15:40 -0500)]
LP#2000270 Staff catalog lets staff pick invalid pickup locations

Added new check to the hold component that disables the 'Place Hold(s)' button if the
pickup location is empty or from the list of orgs that are shown but not
valid pickup locations.

Also modified the org-select component to check if the org it has
selected is supposed to be disabled. When the org-selector
is required, it will have the relevant class applied and have a little
green or red slice. NOTE: The validity is applied in a somewhat hacky way that doesn't
appear to be the official Angular way. It might not signal properly if
used in a form.

Steps to test:
[1] In the staff client, go to Cataloging -> Search the Catalog
[2] Search for something attempt to Place a Hold on it
[3] Click on the Pickup Location input
[4] Use the arrows and press tab to select an illegal pickup lib
[5] Note the color on the input and the transparency of the button
[6] Select a valid pickup location
[7] Select a valid user for the hold
[8] Note the color on the input and transparency of the button

Release-Note: Prevents holds with an invalid pickup location selected from being placed in the angular catalog

Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
3 weeks agoLP #1906859: Create carousels from items
Jane Sandberg [Thu, 10 Aug 2023 03:06:47 +0000 (20:06 -0700)]
LP #1906859: Create carousels from items

To test carousel creation from item buckets:
1. Create an item bucket
2. Add a variety of items to your bucket
3. Select all items
4. Open the buckets menu
5. Under items, select "Create Carousel from Bucket"
6. Give your new carousel a name
7. Go to Local Admin > Carousels and confirm that a carousel
now appears.
8. Open the record bucket for the new carousel and confirm
that it contains all the titles for the items.

To test carousel creation from item status:
1. Scan items into item status
2. Select all items
3. Open the actions menu
4. Select "Create Carousel from Selected Items"
5. Repeat steps 6-8 above

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Andrea Buntz Neiman <abneiman@EquinoxOLI.org>
Signed-off-by: Katie Greenleaf Martin <kgm@sparkpa.org>
Signed-off-by: Blake <blake@mobiusconsortium.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 weeks agoLP2043045 - Stop Log Noise - QueryParser.pm pullup()
Josh Stompro [Wed, 8 Nov 2023 19:18:02 +0000 (13:18 -0600)]
LP2043045 - Stop Log Noise - QueryParser.pm pullup()

Silence some "Use of uninitialized value" warnings the pop up with
every catalog search.

Look for these log entries before the fix after performing some catalog searches.

Use of uninitialized value in string eq at
/usr/local/share/perl/5.36.0/OpenILS/Application/Storage/QueryParser.pm line 1626.

Use of uninitialized value in addition (+) at
/usr/local/share/perl/5.36.0/OpenILS/Application/Storage/QueryParser.pm line 1661

After the fix is applied, no more should be generated.

Release-note: Silences some "Use of uninitialized value" log entries from catalog search

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 weeks agoLP#1929596: Adds help popover text next to 'Convert change to patron
Gina Monti [Sat, 13 Jan 2024 14:20:38 +0000 (09:20 -0500)]
LP#1929596: Adds help popover text next to 'Convert change to patron
credit'

Search for a patron
Go to Bills
Note the popover text next to 'Convert change to patron credit' modifier

Release-note: Adds help button for 'Convert change to patron credit' on patron bills

Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
<eg-help-popover help-text="[% l('Applies any remaining amount after payment to the patron account for future use.') %]">#

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 weeks agoLP#2047158 Annotate Payment Popup Box Skipped When Using Keyboard
Steven Mayo [Tue, 23 Jan 2024 16:48:45 +0000 (11:48 -0500)]
LP#2047158 Annotate Payment Popup Box Skipped When Using Keyboard
Navigation

Changed AngularJS text input modal to submit on keydown instead of
keyup.
This stops the modal from immediately closing after being opened by
the enter key.

Release-note: Fixes annotate payment when using keyboard navigation

Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Eva Cerniňáková <cernin@jabok.cz>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 weeks agoLP1930099: correct file paths in Windows doc building instructions
Jane Sandberg [Wed, 24 Jan 2024 22:07:00 +0000 (14:07 -0800)]
LP1930099: correct file paths in Windows doc building instructions

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
3 weeks agoLP1930099: Make generate_docs.pl Windows-compatible
blake [Tue, 23 Jan 2024 17:45:45 +0000 (11:45 -0600)]
LP1930099: Make generate_docs.pl Windows-compatible

Tweak to the Windows instruction, using "perl" instead of "run"

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
3 weeks agoLP1930099: Make generate_docs.pl Windows-compatible
Jane Sandberg [Thu, 4 Jan 2024 21:58:16 +0000 (13:58 -0800)]
LP1930099: Make generate_docs.pl Windows-compatible

* Use `npx` rather than relying on specific paths to
binaries within node_modules.
* Use the cross-platform $ENV and File::Copy provided
by Perl, rather than using the platform-specific
command-line syntax.

To test on Windows:
1) Use the instructions provided in the comment at
the top of generate_docs.pl.
2) Make sure that the locally generated documentation
displays correctly in your browser.

To test for regressions on Linux or MacOs:
1) `cd /path/to/Evergreen/docs && perl generate_docs.pl`
2) Make sure that the locally generated documentation
at /path/to/Evergreen/docs/output/index.html displays
correctly in your browser.

Release-note: Allow Windows users to generate the Evergreen manual locally.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
3 weeks agoLP1525394 moving toward fixing SIP hold titles
Jason Boyer [Tue, 24 Sep 2019 11:03:56 +0000 (07:03 -0400)]
LP1525394 moving toward fixing SIP hold titles

Signed-off-by: Jason Boyer <JBoyer@eoli.info>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 weeks agoLP1525394: Return Titles for All Hold Types in SIP
Jason Boyer [Mon, 9 Sep 2019 19:29:47 +0000 (15:29 -0400)]
LP1525394: Return Titles for All Hold Types in SIP

The SIP Patron Status Response message can include hold
titles if requested by the SIP client. This commit
adds Issuance holds to the previous commit addressing
part holds, and should finally represent full coverage
for our hold types.

Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 weeks agoLP1525394 SIP patron part level holds respond blank
blake [Fri, 11 Dec 2015 21:28:17 +0000 (15:28 -0600)]
LP1525394 SIP patron part level holds respond blank

Added code to flesh part level hold information in SIP/Patron.pm
In order to test this, you will need to identify a patron who has
a part level hold. Query SIP with a 63 message like:

6300120151211    104201     Y    AOhidden|AApatronbarcode|AC|AY1AZF08D

and the server should respond with the title in the |CD field for that
part level hold.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Jason Boyer <jboyer@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 weeks agoLP2046820 Add aria-current to current nav menu item
Stephanie Leary [Tue, 19 Dec 2023 23:33:32 +0000 (23:33 +0000)]
LP2046820 Add aria-current to current nav menu item

Adds the aria-current="page" attribute to the Angular staff navigation
menu item corresponding to the page being viewed, and styles that link
with a pale green background.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Shula Link <slink@gchrl.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
3 weeks agoDocs: follow up adding top level nav to Angular Staff Cat docs
Andrea Buntz Neiman [Fri, 22 Mar 2024 13:41:24 +0000 (09:41 -0400)]
Docs: follow up adding top level nav to Angular Staff Cat docs

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
3 weeks agoLP#2052567: allow Reports to load when BitWarden plugin is active
Galen Charlton [Wed, 7 Feb 2024 14:02:29 +0000 (09:02 -0500)]
LP#2052567: allow Reports to load when BitWarden plugin is active

This patches works around an issue where the legacy Reports interface
can fail to load if the BitWarden plugin is installed on the
user's browser.

To test
-------
[1] Set up your browser with the BitWarden plugin. It looks like it's
    necessary to create an account on the BitWarden service or on
    a self-hosted instance in order to exercise the bug.
[2] Attempt to load the Reports interface. It should fail to load.
[3] Apply the patch and repeat step 2. This time, the interface should
    load and function normally.

Release-note: Fixes issue where Reports interface would not load if the BitWarden browser plugin is installed

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Brett French <bfrench@cwmars.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 weeks agoLP2048798 Remove inaccurate count of Shelving Locations
Stephanie Leary [Tue, 5 Mar 2024 16:37:38 +0000 (16:37 +0000)]
LP2048798 Remove inaccurate count of Shelving Locations

Removes the count, which was inaccurate, from the Shelving Locations
table caption in the staff catalog.

Release-note: Removes inaccurate shelving location count in staff catalog

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 weeks agoLP#2028095: stamp DB update
Galen Charlton [Wed, 20 Mar 2024 13:27:24 +0000 (09:27 -0400)]
LP#2028095: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 weeks agoLP#2028095: (follow-up) update description only if it hasn't been customized
Galen Charlton [Wed, 20 Mar 2024 13:26:12 +0000 (09:26 -0400)]
LP#2028095: (follow-up) update description only if it hasn't been customized

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 weeks agoLP#2028095: Fix typo in Library Setting Description for acq.default_owning_lib_for_au...
Steven Mayo [Thu, 30 Nov 2023 16:30:49 +0000 (11:30 -0500)]
LP#2028095: Fix typo in Library Setting Description for acq.default_owning_lib_for_auto_lids_strategy

Updated the description for acq.default_owning_lib_for_auto_lids_strategy to the text suggested in the ticket.

Release-note: Improves description of the "How to set default owning library for auto-created line item items" Library Setting

Steps to test:
[1] Run XXXX.data.default_owning_lib_for_auto_lids_strategy_typo_fix.sql or install the seed data anew
[2] Go to Administration -> Local Admin -> Library Settings Editor
[3] Search for acq.default_owning_lib_for_auto_lids_strategy
[4] Read description

Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Christine Morgan <cmorgan@noblenet.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 weeks agoLP#2023803: (follow-up) add release notes
Galen Charlton [Tue, 19 Mar 2024 22:27:34 +0000 (18:27 -0400)]
LP#2023803: (follow-up) add release notes

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 weeks agoLP2023803 Replace btn-warning in AngularJS screens
Stephanie Leary [Tue, 12 Dec 2023 19:23:35 +0000 (19:23 +0000)]
LP2023803 Replace btn-warning in AngularJS screens

Replaces .btn-warning, which has poor color contrast, with other button
styles: .btn-destroy if data is being deleted, otherwise .btn-normal.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 weeks agoLP2023803 Replace btn-warning with appropriate color
Stephanie Leary [Tue, 12 Dec 2023 17:49:24 +0000 (17:49 +0000)]
LP2023803 Replace btn-warning with appropriate color

Replaces all instances of .btn-warning, which has poor color contrast,
with other button colors. Actions that reset forms or delete data use
.btn-destroy; other instances may use .btn-info or btn-normal depending
on their context.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 weeks agoLP2023803 Use gray buttons for modal Cancel actions
Stephanie Leary [Tue, 12 Dec 2023 17:40:51 +0000 (17:40 +0000)]
LP2023803 Use gray buttons for modal Cancel actions

Changes .btn-warning to .btn-normal for all modal dialog Cancel actions.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 weeks agoDocs: link fixes for Selection List docs
Andrea Buntz Neiman [Tue, 19 Mar 2024 20:23:09 +0000 (16:23 -0400)]
Docs: link fixes for Selection List docs

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
4 weeks agoDocs: Angular staff catalog documentation
Spencer Pennington [Thu, 7 Mar 2024 03:05:22 +0000 (22:05 -0500)]
Docs: Angular staff catalog documentation

Release-note: Adds documentation for the Angular staff catalog, based on documentation produced by Indiana Evergreen.

Signed-off-by: Spencer Pennington <spennington@una.edu>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
4 weeks agoDocs: LP2053050 Updates to strict barcode docs
Gina Monti [Tue, 13 Feb 2024 16:59:34 +0000 (11:59 -0500)]
Docs: LP2053050 Updates to strict barcode docs

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
4 weeks agoLP2051156 Mark Item as Missing Pieces barcode field too wide
Terran McCanna [Wed, 24 Jan 2024 18:39:49 +0000 (13:39 -0500)]
LP2051156 Mark Item as Missing Pieces barcode field too wide

Prior to this change, the barcode input field was the full width of
the screen and the submit button was below it. This small change makes
it more consistent with other screens.

Release-note: Fixes overly large barcode field on Mark Item as Missing Pieces page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
4 weeks agoLP2047588 Correct placement of Save Notes button
Terran McCanna [Wed, 27 Dec 2023 20:27:25 +0000 (15:27 -0500)]
LP2047588 Correct placement of Save Notes button

Moves Save Notes button in OPAC > My Lists > Edit Notes one
column to the right so that it appears in the correct column
when editing notes.

Release-note: Fixes placement of Save Notes button in public catalog My Lists page

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 weeks agoLP2051879 Display Org Unit ID in Org Configuration
Terran McCanna [Mon, 18 Mar 2024 17:20:26 +0000 (13:20 -0400)]
LP2051879 Display Org Unit ID in Org Configuration

This makes the numeric org unit ID visible in the Organizational
Unit Configuration Interface.

Release-note: Displays Org Unit ID in Org Config interface.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
4 weeks agoLP#2051944: Improve FMREC primary key column test
Mike Rylander [Fri, 2 Feb 2024 15:45:46 +0000 (10:45 -0500)]
LP#2051944: Improve FMREC primary key column test

FMRecordEditorComponent was depending on the @reporter:datatype to
identify the primary key (identity) field for an FM class.  Instead, it
should check the field name against the @oils_persist:primary attribute
of the <fields> element, which gets around the special case of org unit
id having a declared datatype of "org_unit", and future-proofs against
other possible edge cases.

This commit does that.

To test
-------
[1] Update the Organizational Units page's form to include "id" as
    a visible field, a la bug 2051879.
[2] Note that the form display a selector.
[3] Apply the patch and recompile the Angular staff client.
[4] This time, the OU ID should display as a read-only number.

Release-notes: Makes it possible to display the org unit ID as a number on Angular record editor forms for editing org units

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 weeks agoLP#1329872 - marc_export exit when required IDs are missing
Josh Stompro [Thu, 3 Aug 2023 19:58:52 +0000 (14:58 -0500)]
LP#1329872 - marc_export exit when required IDs are missing

The marc_export script would handle being passed invalid or empty
IDs as if you had the --all flag selected.  So if you accidentally
generated a file with a list of BIB id numbers that was empty and
passed it to the script, you would end up with an export of all bibs
in the system instead of an empty export.

Testing Notes:

=== Before fix ===

Create an empty file, or a file that just contains "id".

$ touch input1
$ echo "id" > input2

All these commands should result in a full export of all bibs.

$ cat ./input1 | marc_export
$ cat ./input2 | marc_export
$ echo "id" | marc_export
$ cat ./input1 | marc_export --pipe

=== After fix ===

Try the same commands as above, and the marc_export
script should error out each time.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
4 weeks agoLP2047704 Patrons with Negative Balances - Grid Columns
Terran McCanna [Fri, 29 Dec 2023 19:58:14 +0000 (14:58 -0500)]
LP2047704 Patrons with Negative Balances - Grid Columns

This adjusts the negative balances grid so that it shows the most
useful columns by default and upon reset. (Before this change,
resetting the columns showed ALL available columns.)

It also adds local column sortability.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 weeks agoLP1803788 Gear icon for AngularJS grid settings menu
Stephanie Leary [Mon, 4 Mar 2024 20:40:15 +0000 (20:40 +0000)]
LP1803788 Gear icon for AngularJS grid settings menu

Changes the icon for the grid settings dropdown menu in AngularJS
screens from the default Bootstrap downward caret to the gear icon, to
match the Angular grid buttons.

Release-note: Ensures that both AngularJS and Angular grids use a gear icon for the grid settings menu.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
4 weeks agoLP#2039725: handle patrons without cards in Patrons with Negative Balances UI
Jeff Davis [Wed, 18 Oct 2023 20:58:40 +0000 (13:58 -0700)]
LP#2039725: handle patrons without cards in Patrons with Negative Balances UI

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 weeks agoLP#2039725: users with negative balances should exclude deleted users
Jeff Davis [Wed, 18 Oct 2023 20:57:00 +0000 (13:57 -0700)]
LP#2039725: users with negative balances should exclude deleted users

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 weeks agoLP#2056204: support "Form of item" in MARC editor for electronic resources
Galen Charlton [Tue, 5 Mar 2024 20:27:13 +0000 (15:27 -0500)]
LP#2056204: support "Form of item" in MARC editor for electronic resources

This patch adds mappings to the Angular and AngularJS MARC editors
so that the "Form" (form of item) fixed field positions in the 006
and 008 fields are recognized and (in the case of the 008) editable
via the "Form" input when the record type is "m" (electronic resources/computer files).

Release-note: Fixes problem where "Form" value could not be saved in MARC editor for electronic resources.

To test
-------
[1] Open a bib record of type 'm' (electronic resource) in the Angular
    MARC editor.
[2] Change the form value with the input labeled "Form".
[3] Note that the corresponding position in the 008 is not updated.
[4] Apply the patch and repeat steps 1-3. This type, the change
    should stick.
[5] Bonus: do the same testing in the AngularJS MARC editor.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
4 weeks agoLP2050227: Add release notes
Jason Stephenson [Thu, 22 Feb 2024 15:54:03 +0000 (10:54 -0500)]
LP2050227: Add release notes

Add release notes about the IDL improvement and clean up to the
Architecture section.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
4 weeks agoLP2050227: Fix IDL after validation with xmllint
Jason Stephenson [Thu, 22 Feb 2024 15:29:26 +0000 (10:29 -0500)]
LP2050227: Fix IDL after validation with xmllint

Fix "relteype" for "reltype" typo on line 1490.

Remove redundant (and empty) retrieve permission on old line 7339.

The above resolve errors reported by `xmllint --scheam fm_IDL.xsd
fm_IDL.xml`:

    fm_IDL.xml:1490: element link: Schemas validity error : Element
    '{http://opensrf.org/spec/IDL/base/v1}link', attribute 'relteype':
    The attribute 'relteype' is not allowed.
    fm_IDL.xml:1490: element link: Schemas validity error : Element
    '{http://opensrf.org/spec/IDL/base/v1}link': The attribute
    'reltype' is required but missing.
    fm_IDL.xml:7339: element retrieve: Schemas validity error :
    Element
    '{http://open-ils.org/spec/opensrf/IDL/permacrud/v1}retrieve':
    This element is not expected. Expected is one of (
    {http://open-ils.org/spec/opensrf/IDL/permacrud/v1}update,
    {http://open-ils.org/spec/opensrf/IDL/permacrud/v1}delete ).
    fm_IDL.xml fails to validate

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
4 weeks agoLP2050227: Fix indentation in IDL
Jason Stephenson [Thu, 22 Feb 2024 15:24:28 +0000 (10:24 -0500)]
LP2050227: Fix indentation in IDL

Replace whitespace at the beginning of lines with tabs, using the vim
and Emacs configuration of four spaces to a tab.

Some comments and CDATA sections were also updated.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
4 weeks agoLP2050227: Improve IDL format
Jason Stephenson [Wed, 21 Feb 2024 21:35:17 +0000 (16:35 -0500)]
LP2050227: Improve IDL format

Update line wrap and spacing based on the output of the libxml2
program used to identify and update the required fields in the
previous commit.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
4 weeks agoLP2050227: Update fm_IDL.xml required fields
Jason Stephenson [Wed, 21 Feb 2024 15:09:22 +0000 (10:09 -0500)]
LP2050227: Update fm_IDL.xml required fields

Add the oils_obj:required="true" attribute to the IDL fields that are
actually required by the database.  A required field is one that
derives from a base table column that has a "NOT NULL" constraint and does
not have a default value.

IDL objects that are virtual or read-only are skipped as are virtual
fields.

Fields that already have the oils_obj:required attribute set are not
changed, even if the fields do not meet our criteria for being
required.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
4 weeks agoLP#1869971: (follow-up) also apply HTML::Defang in the OPAC templates
Galen Charlton [Mon, 18 Mar 2024 15:09:17 +0000 (11:09 -0400)]
LP#1869971: (follow-up) also apply HTML::Defang in the OPAC templates

This patch ensures that HTML::Defang (via the defang_string() TT helper)
is applied to the value of the OPAC custom CSS library setting. This
provides additional protection in cases where questionable values
predate these patches or if another means (such as direct database entry)
is used to set the value of the setting.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 weeks agolp1869971 use HTML::Defang to clean incoming via org unit setting
Rogan Hamby [Thu, 3 Dec 2020 13:55:35 +0000 (08:55 -0500)]
lp1869971 use HTML::Defang to clean incoming via org unit setting

Release-note: Remove potentially harmful javascript from the opac.patron.custom_css library setting when it is saved and before it is shown to a user.

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 weeks agoDocs: fixes links on Previous Docs page
Andrea Buntz Neiman [Fri, 15 Mar 2024 20:42:24 +0000 (16:42 -0400)]
Docs: fixes links on Previous Docs page

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
4 weeks agoLP2057432 Add shadows to dropdowns and active tabs
Stephanie Leary [Tue, 12 Mar 2024 03:26:11 +0000 (03:26 +0000)]
LP2057432 Add shadows to dropdowns and active tabs

Release-Note: Adds drop shadows to open dropdown menus and active tabs
in the Angular staff interfaces to help set them apart from the contents
of the page.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
4 weeks agoLP#2034617: improve how AngularJS handles logout BroadcastChannel messages
Galen Charlton [Wed, 6 Sep 2023 20:37:43 +0000 (16:37 -0400)]
LP#2034617: improve how AngularJS handles logout BroadcastChannel messages

This patch reduces the risk that if there are multiple tabs of the
AngularJS staff client open, that logging out from one of them will
cause a storm of logout messages on the eg.auth BroadcastChannel.

If the open staff client tabs are all AngularJS, the result of that
storm can freeze the user's browser. However, if one or more of
the tabs are running the Angular client, the Angular tabs can
_also_ make repeated open-ils.auth.session.delete calls at a high
rate of speed, thereby degrading the availability of the
open-ils.auth service.

Testing involves opening up 4 or 5 tabs running the staff client, with
at least three or four of them running the AngularJS client. It
is strongly recommended that testing of this patch be done only on
personal, isolated test Evergreen systems.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
5 weeks agoLP2051599 Fix Cash Reports User Payments Date Parsing
Bill Erickson [Mon, 11 Mar 2024 16:43:27 +0000 (12:43 -0400)]
LP2051599 Fix Cash Reports User Payments Date Parsing

Apply the same date parsing fix for User Payments in the Cash Reports
interface as the previous commit, which addressed Desk Payments.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
5 weeks agoLP#2051599: fix parsing of start and end dates by Cash Reports
Galen Charlton [Tue, 30 Jan 2024 15:19:22 +0000 (10:19 -0500)]
LP#2051599: fix parsing of start and end dates by Cash Reports

This patch fixes a bug where if you open the Cash Reports at a
time of day where the date in the local time zone is different
from the date in UTC and do not interact with the date selectors,
the report will not display payments made during the current day.

The problem was due to the use of Date.toISOString() when
attempting to extract just the date component; since Date.toISOString()
forces the timestamp to UTC. The effect is that if you (say) open
the Cash Reports page in North America sufficiently late in the date,
the date selectors will display your current date, but the query
to fetch payment information will (silently) supply the following day.

To test
-------
[1] Make some patron bill payments.
[2] Open the Cash Reports at a time of day when an UTC clock would
    report a different date from your local date. Observe that no
    payments are listed or that payments from the previous day are
    listed.
[3] Apply the patch and repeat step 2. This time, opening the Cash
    Reports page should show the payments for the current day.

Release-note: Fix bug that could cause the Cash Reports page to display payments for the wrong day.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
5 weeks agoLP2056069 Fix button styles in grid actions menu modal
Stephanie Leary [Mon, 4 Mar 2024 20:23:12 +0000 (20:23 +0000)]
LP2056069 Fix button styles in grid actions menu modal

Wraps the Menu Item and Visible toggles in <div> tags to fix an error
that made them appear as unstyled buttons.

Release-notes: Fixes the styling of the Angular grid's Manage Actions Menu modal

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 weeks agoLP2056069 Fix button styles in grid column config modal
Stephanie Leary [Mon, 4 Mar 2024 19:03:39 +0000 (19:03 +0000)]
LP2056069 Fix button styles in grid column config modal

Wraps the Name and Visibility toggles in <div> tags to fix an error that
made them appear as unstyled buttons.

Release-notes: Fixes the styling of the Angular grid's Manage Columns modal

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 weeks agoLP2046974 Hide "more" if facet has 5 or fewer links
Stephanie Leary [Tue, 5 Mar 2024 16:54:45 +0000 (16:54 +0000)]
LP2046974 Hide "more" if facet has 5 or fewer links

In the staff catalog search results, the "more"/"less" links are now
hidden for facets with 5 or fewer links available.

Release-note: Show the More/Less toggle on facet display in the staff catalog only when a facet has more than five entries.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 weeks agoLP#1779743: add privilege expiration date to Group Member Details
Galen Charlton [Tue, 23 Jan 2024 16:57:53 +0000 (11:57 -0500)]
LP#1779743: add privilege expiration date to Group Member Details

This patch adds the privilege expiration date to the list
of available columns in the AngularJS group member details
page. No equivalent change is needed to the experimental Angular
circ interface, as that column is already available there.

To test
-------
[1] Apply the patch.
[2] Navigate to a patron in the Evergreen staff interface
    and view the Group Member Details page.
[3] Verify that the privilege expiration date is now available
    in the column selector.

Release-note: Add privilege expiration date column to Group Member Details table

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org>
5 weeks agoLP2056480: docs: only index the latest version of the docs for lunr
Jane Sandberg [Mon, 11 Mar 2024 03:20:42 +0000 (20:20 -0700)]
LP2056480: docs: only index the latest version of the docs for lunr

This addresses a regression caused by bug 2056480.

To test:
* Build the docs using
  cd docs
  perl generate_docs.pl --base-url=http://example.com
* Open docs/output/index.html in your browser
* Type a search into the search box
* Note that you only get results for latest, rather than getting duplicate
results from multiple versions.
* Note that the file docs/output/search-index.js is now 3.3 MB, rather than
5.53 MB.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
5 weeks agoLP2047589 OPAC - My Lists - Change wording of submit button
Terran McCanna [Wed, 27 Dec 2023 21:38:59 +0000 (16:38 -0500)]
LP2047589 OPAC - My Lists - Change wording of submit button

Changes wording from "Create List" to "Save New List" to differentiate
it from the other "Create New List" button on the page.

Release-note: Clarify button text in public catalog New List interface.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 weeks agoLP #1980138: relabel Account Information and Preferences in the OPAC
Gina Monti [Thu, 7 Dec 2023 14:15:35 +0000 (09:15 -0500)]
LP #1980138: relabel Account Information and Preferences in the OPAC

Release-note: Changes "Account Information and Preferences" in areas of the OPAC to "Personal Information and Preferences"

Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Josh Stompro <stomproj@larl.org>
5 weeks agoLP#2036328: (follow-up) clean up a couple things
Galen Charlton [Wed, 21 Feb 2024 14:50:09 +0000 (09:50 -0500)]
LP#2036328: (follow-up) clean up a couple things

* Update generate_docs.pl help text to note the new
  default version
* Clean up more aggressively before installing Antora; I
  discovered that if you switch from 2.3 to 3.1.7 without
  doing so, the older version of the CLI still gets used
  (and fails because 2.3 predates Antora's extension mechanism)

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
5 weeks agoLP#2036328: update Antora to 3.1
Jane Sandberg [Thu, 1 Feb 2024 20:02:28 +0000 (12:02 -0800)]
LP#2036328: update Antora to 3.1

This patch updates the version of Antora used to build the documentation
to a supported release.

* Uses the new @antora/lunr-extension, rather than the antora 2 antora-lunr
* Fixes a few issues that are no longer supported in the new version of
  asciidoctor
* Installs antora via the antora npm package, rather than installing
  @antora/cli and @antora/site-generator separately

Release-note: Update the version of Antora used to build the documentation

Co-authored-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Co-authored-by: Robin Fitch <rfitch@biblio.org>
Co-authored-by: Andrea Buntz Neiman <abneiman@equinoxOLI.org>
Co-authored-by: Debbie Luchenbill <debbie@mobiusconsortium.org>
Co-authored-by: Lena Hernandez <lena.hernandez@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
6 weeks agoLP2051566 Make Angular Grid Column Headers Bold Again
Terran McCanna [Mon, 29 Jan 2024 16:48:04 +0000 (11:48 -0500)]
LP2051566 Make Angular Grid Column Headers Bold Again

A recent update changed the Angular grid column headers from
A links to buttons, which broke the CSS chain and they lost
their bold weight. This restores that.

Release-note: Restores bold weight to eg-grid column headers

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
6 weeks agoLP#2051250: restore bold styling in PO summary when PO is paid off
Galen Charlton [Mon, 29 Jan 2024 15:30:58 +0000 (10:30 -0500)]
LP#2051250: restore bold styling in PO summary when PO is paid off

This patch fixes a regression on bug 1999270 introduced by a patch
for bug 2000482.

To test
-------
[1] Create a purchase order whose full amount is paid off.
[2] View the order and note that the '$X Paid' text is red but not bold.
[3] Apply the patch and review the order again. This time, the text
    in the PO summary should also be bold.

Release-note: Restore bold styling of paid off amount in purchase order summary.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
6 weeks agoLP1991103: (follow-up) note that record note permissions must be assigned globally
Galen Charlton [Tue, 5 Mar 2024 14:57:22 +0000 (09:57 -0500)]
LP1991103: (follow-up) note that record note permissions must be assigned globally

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
6 weeks agoLP1991103: incorporate feedback from review, address failing test
Jane Sandberg [Wed, 28 Feb 2024 14:25:27 +0000 (06:25 -0800)]
LP1991103: incorporate feedback from review, address failing test

* Remove icon from tab
* Don't use warning styling
* Add spacing between the tab title and its number
* Make the test amenable to any number of spaces between the tab
  title and number; it doesn't really matter how many there are,
  but there needs to be at least one.

Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
6 weeks agoLP1991103: Display a count of record notes in the staff catalog tab
Jane Sandberg [Sun, 18 Feb 2024 22:59:37 +0000 (14:59 -0800)]
LP1991103: Display a count of record notes in the staff catalog tab

To test:

1. Apply this patch.
2. Open a record in the staff catalog.
3. Add some record notes.  Note that the tab updates with the number of
   record notes on the record.
4. Delete some record notes. Note that the tab still updates
   accordingly.
5. Leave and come back to the record.  Note that the number still
   persists in that tab.

Release-Note: Show the total number of record notes in the Record Note tab in the staff catalog.

Sponsored-by: PaILS
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Signed-off-by: Elizabeth Davis <elizabeth.davis@sparkpa.org>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
6 weeks agoLP#2021862: (follow-up) improve visibility of inline help text
Galen Charlton [Thu, 29 Feb 2024 14:26:45 +0000 (09:26 -0500)]
LP#2021862: (follow-up) improve visibility of inline help text

The font-weight and color are from a suggestion from Stephanie Leary
(and also fix a color contrast issue on the darker zebra-striped
rows); the italics are from me.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
6 weeks agoLP2021862 Remove placeholders from fm-editor
Stephanie Leary [Thu, 1 Jun 2023 15:56:05 +0000 (15:56 +0000)]
LP2021862 Remove placeholders from fm-editor

Removes placeholder attributes from the input fields in the fieldmapper
editor, to make it clearer to users which fields have not been filled
out.

Help text is moved from a tooltip to a persistent .form-text area, which
is placed first in the source order for screen reader users' benefit but
appears below the input visually.

Also attaches the Translate button to its input field and prevents it
from wrapping to the next line.

Release-note: Removes placeholder attributes from inputs in the Angular record editor and display field help directly rather than in a tooltip. Also moves the translate button next to text inputs for translatable fields.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
6 weeks agoupdate .mailmap entries for Galen Charlton
Galen Charlton [Wed, 28 Feb 2024 17:03:07 +0000 (12:03 -0500)]
update .mailmap entries for Galen Charlton

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
6 weeks agoLP#1828463: (follow-up) tweak focus outlines for buttons that are dropdown items
Galen Charlton [Wed, 28 Feb 2024 12:35:53 +0000 (07:35 -0500)]
LP#1828463: (follow-up) tweak focus outlines for buttons that are dropdown items

This patch makes the focus outline for buttons that are dropdown items
(e.g., Retrieve Last Bib Record in the Cataloging menu) match the
new style. This avoids the opacity of the focus outline from changing
when navigating between items in the nav menus that can contain
a mixture of anchors and buttons.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
6 weeks agoLP1828463 More obvious and stylish focus outlines
Stephanie Leary [Wed, 20 Dec 2023 23:59:38 +0000 (23:59 +0000)]
LP1828463 More obvious and stylish focus outlines

Bumps the opacity of focus outlines from 25% to 75% and adds a more
stylish outline color to the staff navigation menu.

Release-note: Increase the visibility of focus outlines in the Angular staff client

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
7 weeks agoLP2012971 Item Alerts Not Editable
Jason Etheridge [Tue, 9 Jan 2024 14:50:29 +0000 (09:50 -0500)]
LP2012971 Item Alerts Not Editable

Release-notes: Fixes invocation of (Manage) Item Alerts dialog in Holdings Editor
Release-notes: Adds batch edit for Item Alerts in Holdings Editor. Alerts get grouped together for editing if they are mostly identical
Release-notes: Adds Manage Alerts button to Item Alerts dialog during alert display in Angular ("eg2") interfaces.
Release-notes: Fixes TypeError: defaults is null exception for missing Default Item Alert Type preference
Release-notes: Adds a Changes Pending indicator for Holdings Editor

Note that we do not address LP2044028 where multiple invocations of the
Item Alerts dialog in the Holdings Editor do not show pending changes
prior to a Save.

Example testing:

    In staff client with Concerto dataset,
    Cataloging -> Retrieve Bib Record By ID -> 1
    Holdings View -> Show Copies
    Select lines 5 and 6 (for CONC40000536 and CONC41000536)
    -> Edit: Edit Items
    -> Add Item Alerts: Item Alerts
    Should see a dialog for "Managing alerts in common for 2 item(s)."
    Normal Checkout, Test Note 123 -> Add New, Apply Changes
    Should see a CHanges Pending label before Apply All & Save
    Apply All, Save & Exit

    Back in Holdings View,
    Select lines 5 and 8 (for CONC40000536 and CONC4000036)
    -> Edit: Edit Items
    -> Add Item Alerts: Item Alerts
    Should see a dialog for "Managing alerts in common for 2 item(s)."
    Should not see the "Test Note 123" alert.
    Close tab

    Back in Holdings View,
    Select lines 5 and 6 again
    -> Edit: Edit Items
    -> Add Item Alerts: Item Alerts
    Should see a dialog for "Managing alerts in common for 2 item(s)."
    Should also see the "Test Note 123" alert.
    Close tab

    Circulation -> Check Out
    99999372363 -> Submit
    In the URL, change /eg/ to /eg2/ for the experimental Angular circ interface
    CONC40000536 -> Submit
    Should see the Item Alerts dialog with the Test Note 123 alert.
    Should also see a Manage Alerts button in the dialog.
    Manage Alerts
    Should see a new dialog, "Managing alerts for item CONC40000536",
    which is the same Item Alerts dialog from the Holdings Editor.
    Changes in this dialog are not reflected in the original Item Alerts
    dialog from which it was spawned.

Signed-off-by: Jason Etheridge <jason@equinoxoli.org>
Signed-off-by: Carol Witt <wittc@cwmars.org>
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Steven Mayo <smayo@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
7 weeks agoLP2049774 - Acq Admin Doc updates - Fiscal Close
Josh Stompro [Fri, 26 Jan 2024 21:14:54 +0000 (15:14 -0600)]
LP2049774 - Acq Admin Doc updates - Fiscal Close

A few adjustments to the Fiscal Close / fund rollover docs.
Along with a few typos found in the document.

Release-note: Improves documentation of Fiscal Propagation and Rollover

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
7 weeks agoLP1909585: stamp upgrade script
Jane Sandberg [Tue, 27 Feb 2024 13:41:13 +0000 (05:41 -0800)]
LP1909585: stamp upgrade script

7 weeks agoLP1909585 Use full title on book list csv download
Terran McCanna [Tue, 24 Oct 2023 21:26:52 +0000 (17:26 -0400)]
LP1909585 Use full title on book list csv download

Adds subfield n and subfield p to CSV download for lists in the OPAC
in order to match the screen display.

To test:
1 - Create a List in the OPAC
2 - Add a record to the list that has subfields n and/or p (Concerto record id 224 has both)
3 - Download the CSV for the list to confirm that the full title appears

Release-note: Adds 245$n and 245$p to the title field in public catalog list CSV download, to better distinguish between multiple titles in the same series.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
7 weeks agoLP2054349 3.11.1-3.12.0 upgrade script 1395 portion
blake [Mon, 19 Feb 2024 22:21:49 +0000 (16:21 -0600)]
LP2054349 3.11.1-3.12.0 upgrade script 1395 portion

The 1395 portion needed to address the
config.org_unit_setting_type_log table as well.

If an installation has history for any of those settings,
PG will throw a foriegn key error upon commit;

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
7 weeks agoDocs: correction to 3.11.4 release notes
Andrea Buntz Neiman [Mon, 26 Feb 2024 18:18:29 +0000 (13:18 -0500)]
Docs: correction to 3.11.4 release notes

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
7 weeks agoDocs: correction to 3.12.2 release notes
Signed-off-by: Andrea Buntz Neiman [Mon, 26 Feb 2024 17:57:02 +0000 (12:57 -0500)]
Docs: correction to 3.12.2 release notes

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
7 weeks agoForward-port 3.11.4 upgrade script
Jane Sandberg [Mon, 26 Feb 2024 17:53:40 +0000 (11:53 -0600)]
Forward-port 3.11.4 upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
7 weeks agoForward-port 3.12.2 upgrade script
Jane Sandberg [Fri, 23 Feb 2024 23:32:03 +0000 (17:32 -0600)]
Forward-port 3.12.2 upgrade script

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
7 weeks agoDocs: don't include XUL client instructions in server upgrade docs
Jane Sandberg [Fri, 23 Feb 2024 23:03:56 +0000 (15:03 -0800)]
Docs: don't include XUL client instructions in server upgrade docs

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
7 weeks agoTranslation updates - newpot
Jane Sandberg [Fri, 23 Feb 2024 18:06:48 +0000 (12:06 -0600)]
Translation updates - newpot

Signed-off-by: Jane Sandberg <js7389@princeton.edu>
7 weeks agoDocs: follow up commit on Release Notes for 3.12.2
Andrea Buntz Neiman [Fri, 23 Feb 2024 16:41:56 +0000 (11:41 -0500)]
Docs: follow up commit on Release Notes for 3.12.2

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
7 weeks agoDocs: Release Notes for 3.12.2
Andrea Buntz Neiman [Fri, 23 Feb 2024 16:40:28 +0000 (11:40 -0500)]
Docs: Release Notes for 3.12.2

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>
7 weeks agoDocs: Release Notes for 3.11.4
Andrea Buntz Neiman [Fri, 23 Feb 2024 16:25:17 +0000 (11:25 -0500)]
Docs: Release Notes for 3.11.4

Signed-off-by: Andrea Buntz Neiman <abneiman@equinoxinitiative.org>