evergreen/pines.git
3 years agoeven further typo fix
Chris Sharp [Mon, 29 Aug 2022 16:38:29 +0000 (12:38 -0400)]
even further typo fix

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
3 years agofurther typo fix
Chris Sharp [Mon, 29 Aug 2022 16:37:31 +0000 (12:37 -0400)]
further typo fix

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
3 years agotypo fix
Chris Sharp [Mon, 29 Aug 2022 16:34:51 +0000 (12:34 -0400)]
typo fix

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
3 years agoOnline Renewal - First stab at adding erenew to Ecard.pm
Terran McCanna [Mon, 29 Aug 2022 16:24:12 +0000 (12:24 -0400)]
Online Renewal - First stab at adding erenew to Ecard.pm

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoOnline Renewal - Create page to hold embedded form
Terran McCanna [Thu, 25 Aug 2022 19:42:53 +0000 (15:42 -0400)]
Online Renewal - Create page to hold embedded form

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoOnline Renewal - Create new API instead of piggybacking on vital_stats
Terran McCanna [Wed, 24 Aug 2022 16:44:24 +0000 (12:44 -0400)]
Online Renewal - Create new API instead of piggybacking on vital_stats

New api: open-ils.actor.user.opac.renewal

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoOnline Renewal: Flesh out patron info in API
Terran McCanna [Mon, 22 Aug 2022 18:33:26 +0000 (14:33 -0400)]
Online Renewal: Flesh out patron info in API

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoOnline Renewal - Add standing penalty
Terran McCanna [Mon, 11 Oct 2021 20:36:08 +0000 (16:36 -0400)]
Online Renewal - Add standing penalty

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoOnline Renewal - Start of working branch
Terran McCanna [Thu, 5 Aug 2021 22:36:17 +0000 (18:36 -0400)]
Online Renewal - Start of working branch

- Creates placeholders for new English & Spanish pages
- Adds ability for those pages to load
- Create div on My Account main page & prefs page to hold renewal message or button
- Adds code to check whether or not patron is eligible to renew online or not:
* patron has not already had one temporary renewal
* patron account is still active
* patron account expiration date is no more than 30 days in the future
* patron account is not barred
* patron account does not have a staff-added blocking alert
* patron does not owe any fines
* patron is not in collections (even if patron pays fines, staff still need
to remove collections note)
* patron is in one of these perm groups: Patron (2), Friend (14), GLS (56),
Homebound (53), Trustee (22), Quipu (64), Digital Only (60)
* patron has a valid billing address
* patron has a valid day phone

NOTE: New standing penalty needs to be created called PATRON_TEMP_RENEWAL.
It should display a staff alert and have the label "Patron was given a 30-day temporary account renewal. Please archive this message after the account is fully renewed." It should not create any type of block on its own. The ID of
the new standing penalty needs to be updated in the Account.pm file.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoRevert "PINES - Remove Novelist"
Chris Sharp [Wed, 7 Sep 2022 15:09:25 +0000 (11:09 -0400)]
Revert "PINES - Remove Novelist"

This reverts commit 1ff00b5bc345f04a60691629d148013899cf3736.

3 years agoPINES: Add label next to Toggle for advanced search filters in staff client
Terran McCanna [Fri, 12 Aug 2022 18:40:13 +0000 (14:40 -0400)]
PINES: Add label next to Toggle for advanced search filters in staff client

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoremove more OpenAthens cruft
Chris Sharp [Mon, 15 Aug 2022 18:43:57 +0000 (14:43 -0400)]
remove more OpenAthens cruft

3 years agoremove extra OpenAthens file
Chris Sharp [Mon, 15 Aug 2022 18:36:38 +0000 (14:36 -0400)]
remove extra OpenAthens file

3 years agofix typo
Chris Sharp [Mon, 15 Aug 2022 18:30:34 +0000 (14:30 -0400)]
fix typo

3 years agoPINES - Remove Novelist
Terran McCanna [Thu, 21 Jul 2022 16:23:25 +0000 (12:23 -0400)]
PINES - Remove Novelist

Novelist added contract ends summer of 2022. In addition to updating this
file, be sure to comment out these lines in eg_vhost.conf:

    #SetEnv OILS_NOVELIST_URL
    #SetEnv OILS_NOVELIST_PROFILE
    #SetEnv OILS_NOVELIST_PASSWORD

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoPINES - Add list icon next to carousel title
Terran McCanna [Fri, 1 Jul 2022 20:34:01 +0000 (16:34 -0400)]
PINES - Add list icon next to carousel title

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoPINES Stripe Fix #2
Terran McCanna [Fri, 8 Jul 2022 16:53:08 +0000 (12:53 -0400)]
PINES Stripe Fix #2

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoTemp fix for Stripe bug when there are negative bills
Terran McCanna [Fri, 18 Mar 2022 20:14:37 +0000 (16:14 -0400)]
Temp fix for Stripe bug when there are negative bills

This just checks the billing rows and if any of them are
negative it hides the payment buttons and directs them to staff.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoRevert "lp1965579 stop gap for negative bills in opac"
Chris Sharp [Fri, 8 Jul 2022 18:56:54 +0000 (14:56 -0400)]
Revert "lp1965579 stop gap for negative bills in opac"

This reverts commit 7018281303cf2cec99a2845989563ea9c55192bd.

3 years agoPINES add library link next to library search filter box
Terran McCanna [Fri, 1 Jul 2022 21:03:18 +0000 (17:03 -0400)]
PINES add library link next to library search filter box

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP1977761: Create fund rollover perm
Tiffany Little [Mon, 6 Jun 2022 18:05:15 +0000 (14:05 -0400)]
LP1977761: Create fund rollover perm

This patch adds a new permission to perform fund propagation and rollover.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
3 years agoLP#1930617: reduce parallel requests initiated by AngularJS holdings editor
Galen Charlton [Mon, 23 May 2022 23:06:48 +0000 (19:06 -0400)]
LP#1930617: reduce parallel requests initiated by AngularJS holdings editor

This patch decreases the number of parallel requests spawned by the
AngularJS holdings editor. This can reduce load on open-ils.pcrud when
the editor is used to handle a large number of items in one batch.

This patch takes the following approaches:

- the fetching of call number affixes now only makes one request
  per relevant org unit
- item alerts are now retrieved via fleshing when the batch of items
  is requested (as opposed to doing a PCRUD request for each copy)
- fetching monograph parts is now done serially

To test
-------
[1] Apply the patch.
[2] Create a bucket with a few hundred items and edit all of them
    in the AngularJS holdings editor (which is what you get when
    you edit items from the bucket interface).
[3] Verify that the editing loads itself without causing errors
    or PCRUD drone spikes.
[4] Verify that item alerts and monograph parts are loaded
[5] Verify that the call number prefix and suffix drop-downs
    are correctly populated.
[6] Verify that copy alerts can be attached to newly-created items
    and saved.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP#1946531: use batch method to add users to bucket via User Buckets UI
Jeff Davis [Wed, 11 May 2022 22:55:21 +0000 (15:55 -0700)]
LP#1946531: use batch method to add users to bucket via User Buckets UI

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
3 years agoUse the batch API call to add and remove items from item buckets.
Jessica Woolford [Thu, 7 Apr 2022 19:15:55 +0000 (15:15 -0400)]
Use the batch API call to add and remove items from item buckets.

3 years agoLP#1931737: Allow the delay of symspell updates
Mike Rylander [Fri, 13 May 2022 16:35:24 +0000 (12:35 -0400)]
LP#1931737: Allow the delay of symspell updates

This commit adds a new internal flag, auto-created at the time of need,
to control whether record ingest will cause immediate updates to the
symspell dictionary, or if those updates will simply be recorded for
later incorporation.  Inline symspell dictionary updates can cause
record updates to be logically serialized, impacting the preformance of
other tools used for batch reingest.

pingest.pl is changed to allow an administrator to make use of this
feature via the --delay-symspell command line flag.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
3 years agoLP#1931737: DYM can cause deadlocks w/ parallel ingest
Mike Rylander [Fri, 4 Mar 2022 15:38:12 +0000 (10:38 -0500)]
LP#1931737: DYM can cause deadlocks w/ parallel ingest

This patch causes all symspell dictionary updates to occur at then end
of metabib search field updates in one go, which allows Postgres' INSERT
... ON CONFLICT mechanism to properly lock and serialize changes when
necessary.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Jason Stephenson <jason@sigio.com>
3 years agocreate the unlogged table
Chris Sharp [Thu, 19 May 2022 12:59:14 +0000 (08:59 -0400)]
create the unlogged table

3 years agoLP#1931737: Allow the delay of symspell updates
Mike Rylander [Fri, 13 May 2022 16:35:24 +0000 (12:35 -0400)]
LP#1931737: Allow the delay of symspell updates

This commit adds a new internal flag, auto-created at the time of need,
to control whether record ingest will cause immediate updates to the
symspell dictionary, or if those updates will simply be recorded for
later incorporation.  Inline symspell dictionary updates can cause
record updates to be logically serialized, impacting the preformance of
other tools used for batch reingest.

pingest.pl is changed to allow an administrator to make use of this
feature via the --delay-symspell command line flag.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
3 years agoLP#1931162: DYM needs some situational optimization
Mike Rylander [Mon, 7 Jun 2021 19:57:32 +0000 (15:57 -0400)]
LP#1931162: DYM needs some situational optimization

For some data sets and some queries the Did You Mean search suggestion
logic can be much too slow. This is mainly in cases where a "misspelled"
word of sufficient length greater than the symspell prefix length is
checked against many short prefixes that have many long suggestions
attached to them.

This commit optimizes for that case in particular by testing the length
of suggestions and prefix keys against the user input to avoid
unnecessary tests.  Futher, it captures the edit distance of suggestions
that pass that test in-line, avoiding expensive retesting, and caches
the short-cutoff edit distance when in low-verbosity mode to avoid
future different-but-not-too-different suggestions coming from the same
prefix key.

It additionally provides a general optimization by batching the capture
of suggest counts to avoid per-suggestion secondary lookups, and a
micro-optimization of ordering suggestions by length at distance cache
time.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Shula Link <slink@gchrl.org>
3 years agolp1965579 stop gap for negative bills in opac
Jason Etheridge [Wed, 20 Apr 2022 18:27:14 +0000 (14:27 -0400)]
lp1965579 stop gap for negative bills in opac

and zero bills. If present, disallows payment and points the patron to their library to resolve.

Cribbed from Terran's rel_3_8_0_temp_fix_for_stripe_negative_bill_bug @ evergreen/pines.git

Signed-off-by: Jason Etheridge <jason@EquinoxOLI.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoRevert "Temp fix for Stripe bug when there are negative bills"
Chris Sharp [Tue, 26 Apr 2022 11:16:35 +0000 (07:16 -0400)]
Revert "Temp fix for Stripe bug when there are negative bills"

This reverts commit 1b9ab2c67e698f220cd038a25db20559ba1c2cba.

3 years agoCorrection - user id rather than card id
Terran McCanna [Mon, 25 Apr 2022 16:43:11 +0000 (12:43 -0400)]
Correction - user id rather than card id

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoPINES Stripe Change - User ID
Terran McCanna [Fri, 22 Apr 2022 20:47:12 +0000 (16:47 -0400)]
PINES Stripe Change - User ID

Adds the patron's database id to the info being passed to Stripe
so that payments that Stripe collected that didn't get registered
in Evergreen can be more easily tracked down.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP1956626 Copy editor loads all needed copy locations
Bill Erickson [Tue, 19 Apr 2022 17:27:17 +0000 (13:27 -0400)]
LP1956626 Copy editor loads all needed copy locations

The item-location-select component now allows the caller to pass in a
set of context org unit IDs (in lieu of just a single id) for loading
copy locations across different areas of the org unit tree (without
having to load *all* copy locations).

Changes applied to the Angular copy location editor to pass the needed
context org units to the item location select component.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
3 years agoadd 2022 survey link
Chris Sharp [Sun, 17 Apr 2022 13:23:53 +0000 (09:23 -0400)]
add 2022 survey link

3 years agoPINES: Tweak patron summary bar
Terran McCanna [Wed, 30 Mar 2022 21:04:17 +0000 (17:04 -0400)]
PINES: Tweak patron summary bar

- When preferred name is used, move Legal Name higher on the summary bar
- Make alert titles into links that open the Notes tab

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoPINES Customization: Hide Pending Patrons from nav bar menus
Terran McCanna [Wed, 30 Mar 2022 13:44:25 +0000 (09:44 -0400)]
PINES Customization: Hide Pending Patrons from nav bar menus

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoTemp fix for Stripe bug when there are negative bills
Terran McCanna [Fri, 18 Mar 2022 20:14:37 +0000 (16:14 -0400)]
Temp fix for Stripe bug when there are negative bills

This just checks the billing rows and if any of them are
negative it hides the payment buttons and directs them to staff.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoDisable tooltips on templated action cells in the staff catalog item table
Mike Rylander [Fri, 4 Mar 2022 15:41:52 +0000 (10:41 -0500)]
Disable tooltips on templated action cells in the staff catalog item table

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoalter logging to learn more about stripe failures
Chris Sharp [Mon, 28 Feb 2022 16:05:29 +0000 (11:05 -0500)]
alter logging to learn more about stripe failures

3 years agoupdate location of PINES logo
Chris Sharp [Mon, 21 Feb 2022 21:56:33 +0000 (16:56 -0500)]
update location of PINES logo

3 years agoadding PINES logo for receipt templates, etc.
Chris Sharp [Mon, 21 Feb 2022 21:50:12 +0000 (16:50 -0500)]
adding PINES logo for receipt templates, etc.

3 years agoLP1956970 Sort Patron Notes - Most Recent First
Terran McCanna [Mon, 31 Jan 2022 22:26:15 +0000 (17:26 -0500)]
LP1956970 Sort Patron Notes - Most Recent First

This changes the default sort order of patron notes from oldest
first to most recent first.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP1958265 Angular Holds Grids Not Printing Barcode
Terran McCanna [Mon, 31 Jan 2022 19:29:16 +0000 (14:29 -0500)]
LP1958265 Angular Holds Grids Not Printing Barcode

This adds the ability to print (or download CSV) the Current Item
and Requested Item barcodes from the Holds Pull List and from the
Holds tab of the bib record.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoAvoid fleshing standing penalty org unit children
Jeff Godin [Fri, 28 Jan 2022 22:54:38 +0000 (17:54 -0500)]
Avoid fleshing standing penalty org unit children

When fleshing the org unit on standing penalties, exclude child org
units. We don't need them, and they can cause issues when your
standing penalty has a Depth of "Everywhere": you end up with a full
copy of the org unit tree, and you will include this when editing
and saving the user.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
3 years agoLP1958573 PMC messages created by action triggers not patron-visible
Terran McCanna [Thu, 20 Jan 2022 19:42:33 +0000 (14:42 -0500)]
LP1958573 PMC messages created by action triggers not patron-visible

This adds a missing patron-visibility flag to messages created for
the patron message center by notification action triggers.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoFix for Stripe payment form
Terran McCanna [Wed, 19 Jan 2022 16:43:55 +0000 (11:43 -0500)]
Fix for Stripe payment form

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoRevert "LP#1845556: Spine Label Enhanced Printing Rebase January 2022. Fixes known"
Chris Sharp [Wed, 19 Jan 2022 16:20:08 +0000 (11:20 -0500)]
Revert "LP#1845556: Spine Label Enhanced Printing Rebase January 2022. Fixes known"

This reverts commit 1151bea675167ae82f4d78b58aa759b4143b42ba.

3 years agorepair OpenAthens login
Chris Sharp [Tue, 18 Jan 2022 16:16:42 +0000 (11:16 -0500)]
repair OpenAthens login

3 years agoLP#1842297: Fix staff client following rebase
oajulianclementson [Fri, 24 Sep 2021 18:11:07 +0000 (19:11 +0100)]
LP#1842297: Fix staff client following rebase

3 years agoLP#1842297: OpenAthens documentation updates
oajulianclementson [Fri, 24 Sep 2021 18:10:34 +0000 (19:10 +0100)]
LP#1842297: OpenAthens documentation updates

3 years agoPINES Update - correct pull list link on splash page
Terran McCanna [Tue, 18 Jan 2022 14:33:28 +0000 (09:33 -0500)]
PINES Update - correct pull list link on splash page

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLocalization for Angular translations
Terran McCanna [Fri, 14 Jan 2022 17:25:47 +0000 (12:25 -0500)]
Localization for Angular translations

This change allows us to translate the dropdowns that are
controlled in the Angular interfaces.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP1953193 Add autofilter to funding sources
Tiffany Little [Fri, 3 Dec 2021 18:53:40 +0000 (13:53 -0500)]
LP1953193 Add autofilter to funding sources

Adds an autofilter on the active column.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
3 years agoAdded Author to Pending view in Item Buckets
Lynn Floyd [Thu, 30 Dec 2021 20:56:29 +0000 (15:56 -0500)]
Added Author to Pending view in Item Buckets

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoKPAC Kirkus link fix
Terran McCanna [Mon, 10 Jan 2022 21:21:26 +0000 (16:21 -0500)]
KPAC Kirkus link fix

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP#1845556: Spine Label Enhanced Printing Rebase January 2022. Fixes known
Adam Bowling [Tue, 11 Jan 2022 22:10:11 +0000 (17:10 -0500)]
LP#1845556: Spine Label Enhanced Printing Rebase January 2022. Fixes known
issues in spine label printing.

Signed-off-by: Adam Bowling <abowling@emeralddata.net>
3 years agoLocal fix for OPAC SMS Carrier problem
Terran McCanna [Wed, 12 Jan 2022 21:18:23 +0000 (16:18 -0500)]
Local fix for OPAC SMS Carrier problem

This updates some OPAC fixes that didn't make it into the PINES
version.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoPINES local fix for patron search
Terran McCanna [Wed, 12 Jan 2022 16:13:31 +0000 (11:13 -0500)]
PINES local fix for patron search

This removes a previous fix I'd created for the patron search
"clear" button, but keeps the previous fix for the patron
search inactive checkbox.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoForces header & footer in OPAC to always be visible
Terran McCanna [Mon, 10 Jan 2022 17:10:05 +0000 (12:10 -0500)]
Forces header & footer in OPAC to always be visible
(we can do this now since we are no longer embedding the
OPAC in an iframe in the web client)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP1838580: Holds Shelf detail view record summary doesn't populate
Garry Collum [Tue, 16 Nov 2021 18:43:17 +0000 (13:43 -0500)]
LP1838580: Holds Shelf detail view record summary doesn't populate

Fixes the record summary of the detail view from the holds shelf. After
the patch is applied the bibliographic data displays in the detail view.

To test:

1. Go to Holds Shelf
2. Select a line
3. Click on the Detail View button, and notice that the bibliographic
information doesn't populate.
4. Click on the MARC link, to see to that the link does not take you to the
MARC view.
5. Apply patch.
6. Repeat 1-4.  The bibliographic information now displays, and the MARC link
takes you to the correct page.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLocal conflict resolution for LP1903767
Terran McCanna [Thu, 6 Jan 2022 17:23:48 +0000 (12:23 -0500)]
Local conflict resolution for LP1903767

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoConflict resolution fix between master and local for login redirect.
Terran McCanna [Mon, 10 Jan 2022 19:40:35 +0000 (14:40 -0500)]
Conflict resolution fix between master and local for login redirect.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoTemp workaround until OPAC email bug 1955079 is fixed
Terran McCanna [Mon, 10 Jan 2022 17:45:36 +0000 (12:45 -0500)]
Temp workaround until OPAC email bug 1955079 is fixed

This just hides all of the OPAC email links for now.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoRevert "LP1929749 ACQ Load MARC Order Records port"
Chris Sharp [Mon, 10 Jan 2022 16:16:20 +0000 (11:16 -0500)]
Revert "LP1929749 ACQ Load MARC Order Records port"

This reverts commit 504b3249a34855910b4bfa88865ebb38508d3665.

3 years agoRevert "LP1929749 Fixes missing reference"
Chris Sharp [Mon, 10 Jan 2022 16:16:18 +0000 (11:16 -0500)]
Revert "LP1929749 Fixes missing reference"

This reverts commit b72b60e67114f836c7fc462382255e1e21c2daf6.

3 years agoSQL: include DB changes for LP1951162
Chris Sharp [Mon, 10 Jan 2022 15:07:47 +0000 (10:07 -0500)]
SQL: include DB changes for LP1951162

3 years agoLP1951162 Migrate copy templates setting
Bill Erickson [Fri, 3 Dec 2021 18:27:01 +0000 (13:27 -0500)]
LP1951162 Migrate copy templates setting

Rename the user setting "webstaff.cat.copy.templates" to
"cat.copy.templates" and migrate any existing values.  This operation is
not performed for any databases where a "cat.copy.templates" user or
workstation setting type already exists.

Teach the Angular copy editor to avoid looking up templates in local
storage, since only XUL templates are stored there, which are not
compatible.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 years agocheck for column existence while dropping
Chris Sharp [Sun, 9 Jan 2022 02:33:32 +0000 (21:33 -0500)]
check for column existence while dropping

3 years agoonly create extension if not exists
Chris Sharp [Sun, 9 Jan 2022 00:04:12 +0000 (19:04 -0500)]
only create extension if not exists

3 years agoPINES OPAC Holdings Sorting
Terran McCanna [Fri, 3 Dec 2021 22:12:59 +0000 (17:12 -0500)]
PINES OPAC Holdings Sorting

This adds back the customization to sort holdings by system before
sorting by branch.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP#1950394: isolate attribute extraction of metarecord
Galen Charlton [Tue, 9 Nov 2021 23:22:07 +0000 (18:22 -0500)]
LP#1950394: isolate attribute extraction of metarecord

This patch ensures that calling the Template Toolkit block
get_marc_attrs() on the metarecord's lead record's MARCXML
does not interfere with attributes already parsed from the
current bib's MARCXML on the record summary page in the Bootstrap
OPAC.

This fixes an issue where electronic resource links could fail to
be displayed under the following conditions:

- the MARC record has an 856 field with ind1 = 4 and ind2 = 0 or 1
  and is NOT a located URI
- the bib is part of a metarecord set with at least one other member
- the master record in the metarecord set does not have 856 fields

To test
-------
[1] Create a setup where two bibs are in the same metarecord set, one
    with 856 fields and one without. Arrange that the one without
    856 fields is the lead record in the metarecord.
[2] View the one that has 856 fields in the Bootstrap OPAC's record
    summary page. Note that the electronic resource links do not
    appear.
[3] Apply the patch and repeat step 2. This time, the links should
    appear.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoLP1909681 Open hold grid links in new tab
Terran McCanna [Fri, 31 Dec 2021 18:37:09 +0000 (13:37 -0500)]
LP1909681 Open hold grid links in new tab

This updates the holds grid used by Hopeless Holds, the Holds Pull
List, and the staff catalog record View Holds tab.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP1955927_Barcode_search_fails_in_patron_search_modal
Garry Collum [Wed, 29 Dec 2021 19:29:41 +0000 (14:29 -0500)]
LP1955927_Barcode_search_fails_in_patron_search_modal

Fixes the barcode search in the patron search modal in the holds screen.

To test:
1. Navigate to the 'place a hold' screen in a bib record and open
the patron search modal.
2. Enter a patron barcode.
3. The search for the patron fails.
4. Apply the patch and repeat.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP1950826 fix invalidate email action
Jason Etheridge [Mon, 15 Nov 2021 22:30:17 +0000 (17:30 -0500)]
LP1950826 fix invalidate email action

and other invalidate contact actions

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP#1950468: make Replace Barcode from Item Status detect duplicate barcodes
Galen Charlton [Wed, 10 Nov 2021 15:06:36 +0000 (10:06 -0500)]
LP#1950468: make Replace Barcode from Item Status detect duplicate barcodes

This patch makes the Replace Barcode action when invoked from
Item Status properly detect and warn if the replacement barcode
is a duplicate of one already found in the system. This is a complement
to the fix for bug 1890498.

To test
-------

[1] Enter an item barcode into Item Status.
[2] Try 'Replace Barcode' from detail view and set the
    replacement barcode to one that is already active in
    Evergreen. Note that the dialog closes without
    updating the barcode or warning about the duplicate and
    that a error is logged in the browser console.
[3] Repeat step 2, but this time from list view. Note
    the problem remains the same.
[4] Apply the patch and repeat steps 2 and 3. Note that
    now the dialog will remain open and will display an
    error message complaining about the duplicate barcode.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
3 years agoPINES fix for self-check missing code
Terran McCanna [Thu, 30 Dec 2021 17:39:45 +0000 (12:39 -0500)]
PINES fix for self-check missing code

This adds back code that is in master and was in rel_3_6_1, but was
missing in rel_3_8_0.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoStaff Client Customization: Local Admin Page Menu Order Update
Terran McCanna [Tue, 28 Dec 2021 21:47:03 +0000 (16:47 -0500)]
Staff Client Customization: Local Admin Page Menu Order Update

Adding back Non-Cataloged Types Editor that I accidentally deleted before.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
3 years agoLP#1949910: serialize deleting items from item bucket
Galen Charlton [Thu, 11 Nov 2021 16:21:11 +0000 (11:21 -0500)]
LP#1949910: serialize deleting items from item bucket

This patch serializes the fetching and fleshing of items to delete
when the delete-from-item-bucket action is invoked, thereby
avoiding possible drone starvation from open-ils.search. It
also throws up the progress dialog for good measure while
the deletion occurs.

To test
-------
[1] Set up an item bucket with 25-50 items.
[2] From the item bucket intervace, invoke the action to delete
    all of the items.
[3] Note that the open-ils.search.asset.copy.fleshed2.retrieve calls,
    one for each item, are all made simultaneously. Assuming stock
    max_children settings, this will cause open-ils.search to log
    that some requests are hitting the backlog.
[4] Apply the patch and refresh the item bucket page, then repeat
    step 2 (it doesn't matter for this purpose that the items have
    already been deleted). This time, the open-ils.search API calls
    are made serially and a progress bar is displayed while the
    deletion takes place. Verify that no requests hit the backlog.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
4 years agoPINES - add context help to closed dates editor
Terran McCanna [Tue, 23 Nov 2021 19:42:04 +0000 (14:42 -0500)]
PINES - add context help to closed dates editor

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES opac tweak for geosort buttons
Terran McCanna [Tue, 23 Nov 2021 19:12:34 +0000 (14:12 -0500)]
PINES opac tweak for geosort buttons

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES staff catalog tweaks
Terran McCanna [Tue, 23 Nov 2021 20:14:11 +0000 (15:14 -0500)]
PINES staff catalog tweaks

- hide record notes tab we don't use
- improve look of Patron OPAC View button

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES: Remove links to traditional staff catalog
Terran McCanna [Tue, 23 Nov 2021 17:49:23 +0000 (12:49 -0500)]
PINES: Remove links to traditional staff catalog

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoSyndetics - remove part that relies on old perl
Terran McCanna [Tue, 23 Nov 2021 18:16:48 +0000 (13:16 -0500)]
Syndetics - remove part that relies on old perl

(because it's borking things)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLP1929749 Fixes missing reference
Tiffany Little [Mon, 29 Nov 2021 14:08:04 +0000 (09:08 -0500)]
LP1929749 Fixes missing reference

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
4 years agoLP1929749 ACQ Load MARC Order Records port
Tiffany Little [Wed, 17 Nov 2021 17:41:50 +0000 (12:41 -0500)]
LP1929749 ACQ Load MARC Order Records port

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
4 years agoSyndetics - upgrade from Classic to Unbound
Terran McCanna [Mon, 22 Nov 2021 20:48:27 +0000 (15:48 -0500)]
Syndetics - upgrade from Classic to Unbound

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES OPAC Carousel CSS
Terran McCanna [Wed, 17 Nov 2021 22:00:08 +0000 (17:00 -0500)]
PINES OPAC Carousel CSS

Adds additional CSS for iframe usage that overrides the basic
OPAC usage CSS.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoLocal fix for duplicate login form in OPAC
Terran McCanna [Wed, 17 Nov 2021 22:28:21 +0000 (17:28 -0500)]
Local fix for duplicate login form in OPAC

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoPINES Custom Bill Payment Receipt: Add CC Approval Code
Terran McCanna [Wed, 17 Nov 2021 14:35:46 +0000 (09:35 -0500)]
PINES Custom Bill Payment Receipt: Add CC Approval Code

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoSQL: remove acq picklist setting pending fixes
Chris Sharp [Tue, 16 Nov 2021 22:14:15 +0000 (17:14 -0500)]
SQL: remove acq picklist setting pending fixes

4 years agoRevert "LP1929741 ACQ Load MARC Order Records port"
Chris Sharp [Tue, 16 Nov 2021 22:12:20 +0000 (17:12 -0500)]
Revert "LP1929741 ACQ Load MARC Order Records port"

This reverts commit 02db7a0a0ef8b25c8af042d90fd05b7869b7bf7c.

4 years agoRevert "Adds support for picking up library settings."
Chris Sharp [Tue, 16 Nov 2021 22:12:18 +0000 (17:12 -0500)]
Revert "Adds support for picking up library settings."

This reverts commit f39fa60292a5228df993aa678de4a07d56298363.

4 years agoRevert "LP1929741 Finetuning LMOR based on LP comments"
Chris Sharp [Tue, 16 Nov 2021 22:12:16 +0000 (17:12 -0500)]
Revert "LP1929741 Finetuning LMOR based on LP comments"

This reverts commit f7d72c50822df9cd8e75a8abaa03ae0335c67721.

4 years agoSQL: add further DB changes to upgrade scripts
Chris Sharp [Tue, 16 Nov 2021 22:07:27 +0000 (17:07 -0500)]
SQL: add further DB changes to upgrade scripts

4 years agoLP1929741 Finetuning LMOR based on LP comments
Tiffany Little [Mon, 20 Sep 2021 14:58:29 +0000 (10:58 -0400)]
LP1929741 Finetuning LMOR based on LP comments

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
4 years agoAdds support for picking up library settings.
Tiffany Little [Thu, 3 Jun 2021 11:45:33 +0000 (07:45 -0400)]
Adds support for picking up library settings.

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
4 years agoLP1929741 ACQ Load MARC Order Records port
Tiffany Little [Fri, 28 May 2021 15:29:53 +0000 (11:29 -0400)]
LP1929741 ACQ Load MARC Order Records port

Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
4 years agoPINES Custom - Make buttons on hold cancel dialogs consistent
Terran McCanna [Fri, 12 Nov 2021 22:10:51 +0000 (17:10 -0500)]
PINES Custom - Make buttons on hold cancel dialogs consistent

This makes the order and wording of the AngularJS and Angular cancel hold
options consistent between the patron account and the hopeless holds interface.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 years agoStaff Client Customization: Local Admin Page Menu Order
Terran McCanna [Tue, 9 Nov 2021 19:06:44 +0000 (14:06 -0500)]
Staff Client Customization: Local Admin Page Menu Order

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>