working/Evergreen.git
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 23 Jun 2020 20:57:11 +0000 (16:57 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agolpxxx file exporter service
Bill Erickson [Tue, 23 Jun 2020 20:57:07 +0000 (16:57 -0400)]
lpxxx file exporter service

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 23 Jun 2020 16:27:47 +0000 (12:27 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Mon, 22 Jun 2020 22:04:55 +0000 (18:04 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Mon, 22 Jun 2020 20:42:36 +0000 (16:42 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Mon, 22 Jun 2020 19:34:14 +0000 (15:34 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1880726 MARC Batch edit Angular port
Bill Erickson [Fri, 19 Jun 2020 20:50:38 +0000 (16:50 -0400)]
LP1880726 MARC Batch edit Angular port

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoBroadcast service / holdings
Bill Erickson [Fri, 19 Jun 2020 20:50:18 +0000 (16:50 -0400)]
Broadcast service / holdings

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Fri, 19 Jun 2020 18:11:31 +0000 (14:11 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Fri, 19 Jun 2020 16:27:14 +0000 (12:27 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy / TABS
Bill Erickson [Fri, 19 Jun 2020 16:15:57 +0000 (12:15 -0400)]
LPXXX Angular Volcopy / TABS

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Thu, 18 Jun 2020 22:01:56 +0000 (18:01 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Thu, 18 Jun 2020 16:24:53 +0000 (12:24 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Wed, 17 Jun 2020 21:36:30 +0000 (17:36 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Wed, 17 Jun 2020 20:36:02 +0000 (16:36 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoVOLCOPY Item attr batch component
Bill Erickson [Wed, 17 Jun 2020 20:35:58 +0000 (16:35 -0400)]
VOLCOPY Item attr batch component

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Wed, 17 Jun 2020 19:21:49 +0000 (15:21 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Wed, 17 Jun 2020 18:53:52 +0000 (14:53 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Wed, 17 Jun 2020 16:22:36 +0000 (12:22 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Wed, 17 Jun 2020 15:48:45 +0000 (11:48 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoVOLCOPY Item attr batch component
Bill Erickson [Wed, 17 Jun 2020 15:48:41 +0000 (11:48 -0400)]
VOLCOPY Item attr batch component

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 16 Jun 2020 22:18:41 +0000 (18:18 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1850555 Item location selector improvements
Bill Erickson [Wed, 20 May 2020 20:36:23 +0000 (16:36 -0400)]
LP1850555 Item location selector improvements

* Ensure that the desired location is always available in the selector
  regardless of whether the staff have permission to use the location.

* Display org unit short name for selected locations simimilar to how
  they are displayed in the selector dropdown.

* Adds an <Unset> option in cases where the new 'required' flag is set
  to false.  This explicitly makes it possible for staff to cleare the
  value.

* Gracefully handle cases where locations from no org units are eligible
  for display.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1850555 Angular Item (Copy) Location Select Component
Bill Erickson [Wed, 6 Nov 2019 17:41:32 +0000 (12:41 -0500)]
LP1850555 Angular Item (Copy) Location Select Component

<eg-item-location-select .../>

Adds a new item location select component which filters the list of
displayed locations based on a permission-check org or a specific
context org unit.

Values in the selector are decorated with the org unit short name in
parens after the location name to clarify the owning lib.

Sandbox example included.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 16 Jun 2020 21:48:25 +0000 (17:48 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoVOLCOPY Item attr batch component
Bill Erickson [Wed, 27 May 2020 21:04:24 +0000 (17:04 -0400)]
VOLCOPY Item attr batch component

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 16 Jun 2020 21:05:22 +0000 (17:05 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1878079 Staffcat 'Edit' items / call numbers support
Bill Erickson [Wed, 13 May 2020 16:17:19 +0000 (12:17 -0400)]
LP1878079 Staffcat 'Edit' items / call numbers support

Adds support to the Angular staff catalog to properly handle requests
to Edit Items, Edit Call Numbers, and Edit Call Numbers and Items.
Prior to his change, these operations would behave more like Add
operations than Edit operations.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1878079 Staffcat Add Call Nums honors selected orgs
Bill Erickson [Mon, 11 May 2020 19:10:37 +0000 (15:10 -0400)]
LP1878079 Staffcat Add Call Nums honors selected orgs

When adding new call numbers from the Angular staff catalog Holdings
View grid, take all selected grid rows into consideration when
determining how many call numbers to add and what their owning libs
should be.

To test:
* Navigate to the Holdings View tab of a record detail page in the Angular
  staff catalog.
* Select multiple rows in the grid which are org unit-only rows (i.e.
  the row does not refer to a specific call number or item).
* From the action menu / right client menu, select "Add Callnumbers"
* Confirm that a call number entry for each selected org unit is present
  in the spawned holdings editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 16 Jun 2020 20:24:50 +0000 (16:24 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 16 Jun 2020 20:19:55 +0000 (16:19 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular accesskey sort repair
Bill Erickson [Tue, 16 Jun 2020 16:35:54 +0000 (12:35 -0400)]
LPXXX Angular accesskey sort repair

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 16 Jun 2020 14:47:49 +0000 (10:47 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Mon, 15 Jun 2020 21:00:06 +0000 (17:00 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Mon, 15 Jun 2020 15:17:37 +0000 (11:17 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Fri, 12 Jun 2020 14:01:41 +0000 (10:01 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 9 Jun 2020 21:22:08 +0000 (17:22 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 9 Jun 2020 18:55:03 +0000 (14:55 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 9 Jun 2020 17:33:36 +0000 (13:33 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Tue, 9 Jun 2020 17:12:03 +0000 (13:12 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Mon, 8 Jun 2020 16:23:50 +0000 (12:23 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Fri, 5 Jun 2020 21:49:31 +0000 (17:49 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Fri, 5 Jun 2020 20:54:23 +0000 (16:54 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Barcode auto-generate API get skip-dupes option
Bill Erickson [Thu, 30 Apr 2020 19:33:57 +0000 (15:33 -0400)]
LPXXX Barcode auto-generate API get skip-dupes option

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

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Fri, 5 Jun 2020 20:28:39 +0000 (16:28 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Fri, 5 Jun 2020 18:07:39 +0000 (14:07 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Fri, 5 Jun 2020 16:30:10 +0000 (12:30 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Fri, 5 Jun 2020 15:30:13 +0000 (11:30 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Thu, 4 Jun 2020 22:21:50 +0000 (18:21 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Thu, 4 Jun 2020 20:18:31 +0000 (16:18 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLPXXX Angular Volcopy
Bill Erickson [Thu, 4 Jun 2020 16:36:09 +0000 (12:36 -0400)]
LPXXX Angular Volcopy

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1880035: Fix rendering of monograph parts
Jason Boyer [Thu, 21 May 2020 22:19:57 +0000 (18:19 -0400)]
LP1880035: Fix rendering of monograph parts

A BorderContainer is primarily used to allow anchoring views to the top,
bottom, left, or right of the container and usually allows the use of a
splitter to resize child views. Since we don't use any of that and don't
need such a control, it was apparrently just luck that it worked at all.
Using a plain ContentPane instead allows the page to render as expected.

Thanks to Galen Charlton for tracking this down and finding the fix.

Signed-off-by: Jason Boyer <JBoyer@eoli.info>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1837656 Org proximity admin disable org filter
Bill Erickson [Thu, 22 Aug 2019 14:12:53 +0000 (10:12 -0400)]
LP1837656 Org proximity admin disable org filter

Disable the org unit filter for the auto-generated org unit proximity
adjustment admin page so that it does not automatically filter the grid by
any of the org unit fields.

Modify the IDL to indicate that the 'pos' field on the org unit
proximity adjustement class is required.

To test:

1. Navigate to
   /eg2/en-US/staff/admin/server/actor/org_unit_proximity_adjustment
2. Create an adjustment if non exist.
3. Confirm the 'Position' field is now required.
4. Confirm new adjusment row appears in the grid after it's created.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1847800 Admin grid filter display, default fields, IDL repairs
Bill Erickson [Wed, 6 May 2020 14:47:37 +0000 (10:47 -0400)]
LP1847800 Admin grid filter display, default fields, IDL repairs

* Indicate in the UI when grid filters are applied via URL and offer a
  way for the user to clear the filters.

* When grid filters are applied, use them as the basis for the "Default
  New Record" object which seeds the fm-editor.  In other words, apply
  default values to the fm-editor to match the grid filters.

* Repair some IDL thinkos and add more 'selector' values.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1847800: secondary admin pages for Authority Control Sets and Authority Thesauri
Jeff Davis [Tue, 5 May 2020 21:37:05 +0000 (14:37 -0700)]
LP#1847800: secondary admin pages for Authority Control Sets and Authority Thesauri

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1847800 / LP#1847810: secondary admin pages: MARC Search/Facet Fields -> virtual...
Jeff Davis [Tue, 5 May 2020 21:11:41 +0000 (14:11 -0700)]
LP#1847800 / LP#1847810: secondary admin pages: MARC Search/Facet Fields -> virtual index definitions

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1847800 / LP#1847781: secondary admin pages for MARC Import Remove Fields
Jeff Davis [Tue, 5 May 2020 19:16:37 +0000 (12:16 -0700)]
LP#1847800 / LP#1847781: secondary admin pages for MARC Import Remove Fields

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP1847800 Admin grids support config_field links
Bill Erickson [Wed, 29 Apr 2020 21:27:23 +0000 (17:27 -0400)]
LP1847800 Admin grids support config_field links

For IDL fields which have config_field=true, the value in the admin grid
is rendered as a link to the grid for the linked field.  Additionally,
the link contains a gridFilter so the destination grid only displays
rows related to the selected field.

Adds config_field=true values for z39.50 source and two links for hard
due date and hard due date values.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1847800 / LP#1834687: secondary admin pages: config_field attribute in IDL
Jeff Davis [Wed, 18 Dec 2019 00:06:19 +0000 (16:06 -0800)]
LP#1847800 / LP#1834687: secondary admin pages: config_field attribute in IDL

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1873048 - Stamp upgrade script
Chris Sharp [Mon, 4 May 2020 17:20:09 +0000 (13:20 -0400)]
LP#1873048 - Stamp upgrade script

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1873048: add scoped retrieve perms for booking resource types and resources
Jeff Davis [Thu, 30 Apr 2020 17:36:44 +0000 (10:36 -0700)]
LP#1873048: add scoped retrieve perms for booking resource types and resources

In the XUL client, when selecting a resource type, the list was limited
by owning library.  But in the web client, the list would show all
resource types across all libraries.  This commit addresses that
regression by adding a new VIEW_BOOKING_RESOURCE_TYPE permission with
context_field in the IDL.  That way, users only see resource types owned
by org units where they have the permission.

While we're at it, a new VIEW_BOOKING_RESOURCE perm is also added for
resources.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1865533: save changes on Edit Hold in My Account
Jeff Davis [Tue, 28 Apr 2020 20:52:52 +0000 (13:52 -0700)]
LP#1865533: save changes on Edit Hold in My Account

When editing a hold in the OPAC, changes are not saved if the SMS field
is blank.  The sms_notify value is being passed as an empty string, and
this non-null value violates the "sms_check" constraint on
action.hold_request.  Replacing the empty string with undef allows the
hold update to succeed.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP1787636: Sort Libraries without Holdings In Holdings View
Daniel Pearl [Wed, 13 Mar 2019 14:07:17 +0000 (10:07 -0400)]
LP1787636: Sort Libraries without Holdings In Holdings View

Empty libraries in holdings view are listed at the end of the library
list instead of integrated within the list.  This patch sorts them
within the list.

Signed-off-by: Daniel Pearl <dpearl@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP1787636: Remove right justification in grid view
Jason Stephenson [Thu, 19 Mar 2020 13:45:18 +0000 (09:45 -0400)]
LP1787636: Remove right justification in grid view

Align all owning libraries to the left as requested in the bug
description and comments.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP1813088: Coerce Values to String in egGridValueFilter
Jason Stephenson [Thu, 26 Mar 2020 14:47:46 +0000 (10:47 -0400)]
LP1813088: Coerce Values to String in egGridValueFilter

Coerce values to string in the switch for Boolean columns in the main
egGridValueFilter function.  This came about after an IRC conversation
with Mike Rylander who suggested this as a possible fix.  It should
when field values are strings, integers, or Booleans.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP1869906 Angular staff cat browse links
Bill Erickson [Tue, 31 Mar 2020 15:51:41 +0000 (11:51 -0400)]
LP1869906 Angular staff cat browse links

Use routerLinks instead of click-handlers for browse results links so
users have the option to control-click and open individual results in a
new tab.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1876163 - Fix Angular Test Failure
Jason Stephenson [Thu, 30 Apr 2020 18:09:40 +0000 (14:09 -0400)]
LP#1876163 - Fix Angular Test Failure

ERROR in app/core/format.spec.ts -  TS2554: Expected 4 arguments,
but got 3.

orgService = new OrgService(netService, authService, pcrudService);

Commit 9e8d662f418 added a new first argument to the OrgService
constructor and two files needed updates:

* app/core/format.spec.ts
* src/app/core/org.spec.ts

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1869794: Stamping upgrade script
Ben Shum [Thu, 30 Apr 2020 18:16:19 +0000 (14:16 -0400)]
LP#1869794: Stamping upgrade script

Signed-off-by: Ben Shum <ben@evergreener.net>
5 years agoLP#1869794 new best hold sort order
Jason Etheridge [Wed, 26 Feb 2020 14:40:04 +0000 (09:40 -0500)]
LP#1869794 new best hold sort order

owning lib to requestee home lib proximity

implementation, release notes and TechRef tweak

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Lindsay Stratton <lstratton@wlsmail.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
5 years agoLP1858448 Aged money pgtap test repair
Bill Erickson [Wed, 29 Apr 2020 14:14:34 +0000 (10:14 -0400)]
LP1858448 Aged money pgtap test repair

Enable the "age money with circulations" setting in the original aged
money pgtap test so the aged money it seeks may be created and found.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP#1873286 - Add release notes entry
Chris Sharp [Wed, 29 Apr 2020 15:40:08 +0000 (11:40 -0400)]
LP#1873286 - Add release notes entry

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP1873286: Fix Bad End Tags
Jason Stephenson [Fri, 24 Apr 2020 18:22:25 +0000 (14:22 -0400)]
LP1873286: Fix Bad End Tags

Fix self-closing tags used in non-void HTML and non-empty XHTML tags.
These tags now cause errors with jQuery version 3.5.0 and were
technically wrong from the start.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1375296 - Quiet deprecation warnings in autoreconf -i step.
Chris Sharp [Mon, 2 Mar 2020 22:51:08 +0000 (17:51 -0500)]
LP#1375296 - Quiet deprecation warnings in autoreconf -i step.

Thanks to Warren Layton for suggesting this fix to the community!

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP1848550 / LP1835128 Redirect to AngJS splash page
Bill Erickson [Thu, 26 Dec 2019 17:17:55 +0000 (12:17 -0500)]
LP1848550 / LP1835128 Redirect to AngJS splash page

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP1848550 Cache org settings in IndexedDB (Angular)
Bill Erickson [Mon, 2 Dec 2019 17:26:22 +0000 (12:26 -0500)]
LP1848550 Cache org settings in IndexedDB (Angular)

Teach the org settings lookup code to store cacheable settings (those
for "here") in IndexedDB to reduce the number of repetitive network
calls for org unit settings.

Settings cached in IndexedDB are cleared upon successful login to avoid
stale values.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP1854850 Angular IndexedDB Shared Worker Communication
Bill Erickson [Mon, 2 Dec 2019 17:26:08 +0000 (12:26 -0500)]
LP1854850 Angular IndexedDB Shared Worker Communication

Implements the client side of the communication to the Evergreen
IndexedDB shared worker for Angular.

From this may be built caching mechanisms, offline transaction
handling, etc.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1848550: client-side caching of org settings for AngularJS
Jeff Davis [Wed, 27 Nov 2019 00:12:37 +0000 (16:12 -0800)]
LP#1848550: client-side caching of org settings for AngularJS

The web client almost always does live lookups any time it needs to
check an org setting.  But these settings rarely change, so it would
make sense to cache them.  They're already cached using Lovefield in
order to support offline; this commit checks the cache first, and only
does a live lookup if the setting is uncached.

The settings cache is cleared on login to ensure stale values don't
stick around forever.  To refresh the cache, simply logout and then
login; cached values will be deleted and the latest values will be
retrieved from the server when they are needed.

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLp 1858448: Fix version number in upgrade script
Jason Stephenson [Tue, 28 Apr 2020 18:51:25 +0000 (14:51 -0400)]
Lp 1858448: Fix version number in upgrade script

Change "TODO" to "1202" in versioned upgrade script.  I'm not sure how
that didn't happen unless I forgot to save the file or doing an
--amend before pushing changed things.

Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP 1858448: Stamping Upgrade Script
Jason Stephenson [Tue, 28 Apr 2020 18:44:11 +0000 (14:44 -0400)]
LP 1858448: Stamping Upgrade Script

Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP1858448 Disable inititial aged money migration
Bill Erickson [Fri, 24 Apr 2020 14:42:42 +0000 (10:42 -0400)]
LP1858448 Disable inititial aged money migration

Modify the existing SQL upgrade scripts to prevent the automatic
migration of billings/payments to the new aged money tables.  This is
done to prevent data loss for sites which have not yet upgraded to the
affected versions.

The schema changes are kept so both pre- and post-upgrade sites can
follow the same schema update path.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP1858448 Upgrade instructions WIP
Bill Erickson [Tue, 14 Apr 2020 14:48:32 +0000 (10:48 -0400)]
LP1858448 Upgrade instructions WIP

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP1858448 Money aging srfsh script function repair
Bill Erickson [Tue, 14 Apr 2020 14:28:09 +0000 (10:28 -0400)]
LP1858448 Money aging srfsh script function repair

Fixes a copy pasto in the money aging script, teaching it call the
correct money aging function.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP1858448 More IDL fixups
Jason Stephenson [Wed, 11 Mar 2020 16:47:55 +0000 (12:47 -0400)]
LP1858448 More IDL fixups

Make IDL fixes as recommended in the Launchpad bug discussion.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1858448 Aged money control flags
Bill Erickson [Thu, 13 Feb 2020 16:01:41 +0000 (11:01 -0500)]
LP1858448 Aged money control flags

Adds 2 global flags for controling if/when billings and payments are
aged.

history.money.age_with_circs
history.money.retention_age

Adds a srfsh script for manually aging money based on the
'history.money.retention_age' setting value.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP1858448 Aged payment fields release notes
Bill Erickson [Fri, 7 Feb 2020 20:52:19 +0000 (15:52 -0500)]
LP1858448 Aged payment fields release notes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP1858448 Additional aged_payment fields
Bill Erickson [Fri, 7 Feb 2020 20:19:15 +0000 (15:19 -0500)]
LP1858448 Additional aged_payment fields

Adds accepting_usr, cash_drawer, and billing columns to the
money.aged_payment table.

Modifies the existing "xact" column for aged payments and billings in
the IDL to link to "mbt" instead of "acirc", since not all
payments/billings are linked to aged circs.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP#1772053 - Fix minor typos
Chris Sharp [Thu, 23 Apr 2020 19:36:41 +0000 (15:36 -0400)]
LP#1772053 - Fix minor typos

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
5 years agoLP 1772053: Cleanup Dan's code.
Jason Stephenson [Mon, 10 Sep 2018 20:09:26 +0000 (16:09 -0400)]
LP 1772053: Cleanup Dan's code.

Mostly whitespace cleanup, but I did restore a line or two that appear
to have been accidentally deleted.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP 1772053: Add Missing Fields to Print Templates
Dan Pearl [Fri, 7 Sep 2018 17:18:56 +0000 (13:18 -0400)]
LP 1772053: Add Missing Fields to Print Templates

Almost complete implementation for LP1772053.  To be done: items
relating to call numbers, prefixes and suffixes for Hold Pull Lists
and Transit Slips.

Signed-off-by: Daniel Pearl <dpearl@cwmars.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP1781274 Fix floating point issue preventing transactions from closing
Michele Morgan [Fri, 20 Dec 2019 21:00:08 +0000 (16:00 -0500)]
LP1781274 Fix floating point issue preventing transactions from closing

Paying multiple bills with a single payment can lead to some
transactions not closing because of floating point math inaccuracies.
This branch resolves the issue by limiting pending payment amounts to
2 decimal places.

The bug can be reproduced using grocery bills as follows.

Retrieve a patron that owes no money.

Add a billing of $.90
Add a billing of $.10
Select both billings
Enter $1 in payment received and Apply the payment

Click on History in the billings screen. Turn on the Total Billed and
Transaction Finish Time column and note that the $.10 bill has zero
balance owed, but does not have a transaction finish time.

To test:

Use the steps above to reproduce, noting the lack of Transaction
Finish Time.  Apply the patch.

Use the same steps above and note that the post patch payments
resulted in both transactions getting a Transaction Finish Time.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoDocs: additions to 3.5 release notes
Jane Sandberg [Tue, 21 Apr 2020 16:41:10 +0000 (09:41 -0700)]
Docs: additions to 3.5 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1868354 Angular catalog item/call number transfer
Bill Erickson [Wed, 1 Apr 2020 14:47:08 +0000 (10:47 -0400)]
LP1868354 Angular catalog item/call number transfer

Add support for 3 varieties of items and call number transfer in the
Angular staff catalog.

1. Transfer selected items to selected call number.

2. Transfer selected call numbers and attached items to selected bib
record.

3. Transfer selelected items to selected bib record and org unit ID
(owning library) creating new call numbers as needed.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 years agoLP#1819540 - Change expire list to match what the hold expire function
Steven Callender [Tue, 19 Mar 2019 16:57:55 +0000 (12:57 -0400)]
LP#1819540 - Change expire list to match what the hold expire function

Updated to use 'today'::timestamptz as suggested by Mike Rylander.

Testing:

1. Update a few holds that show up on the hold shelf so their shelf time
is set to now.

2. Confirm that you see them on the holds shelf.

3. Show clearable holds, holds are on the list.

4. Check in one of the items, and see that it goes back on the hold shelf.

After Fix Applies.

1. Update a few holds that show up on the hold shelf so their shelf time
is set to now.

2. Confirm that you see them on the holds shelf.

3. Show clearable holds, holds are no longer on the list.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agolp1801137 Item Status Precat Information
Kyle Huckins [Wed, 11 Mar 2020 21:07:11 +0000 (21:07 +0000)]
lp1801137 Item Status Precat Information

- Display precat title, author, and isbn in place of
regular title, author, and isbn fields in Item Status
list view when working with precat items.
- Add Dummy Title and Dummy Author fields to Item Status
Detail view when looking at a precat item.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1774268: Tidy up hold notification testing
Jason Boyer [Wed, 1 Apr 2020 12:57:53 +0000 (08:57 -0400)]
LP1774268: Tidy up hold notification testing

Signed-off-by: Jason Boyer <JBoyer@eoli.info>
5 years agoLP#1774268: handle opac.hold_notify empty string in AngJS patron editor
Jeff Davis [Wed, 19 Feb 2020 20:36:30 +0000 (12:36 -0800)]
LP#1774268: handle opac.hold_notify empty string in AngJS patron editor

If a patron does not want either phone or email hold notifications,
their opac.hold_notify user setting will be an empty string.  Let's
ensure that the hold notify checkboxes remain unchecked in the patron
editor when that is the case.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jason Boyer <JBoyer@eoli.info>
5 years agoLP 1774268: Default Hold Notification checkboxes
Suzanne Paterno [Tue, 6 Aug 2019 15:29:57 +0000 (11:29 -0400)]
LP 1774268: Default Hold Notification checkboxes

On patron edit screen set the email and phone notification
to true when patron doesn't have any prefernces. This mimics
the behavior in the xul client.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jason Boyer <JBoyer@eoli.info>
5 years agoLP1849683: Stamp upgrade script
Jason Boyer [Tue, 31 Mar 2020 12:07:45 +0000 (08:07 -0400)]
LP1849683: Stamp upgrade script

Signed-off-by: Jason Boyer <JBoyer@eoli.info>
5 years agoLP1849683: i18n and space supplement
Jason Boyer [Thu, 5 Mar 2020 15:44:07 +0000 (10:44 -0500)]
LP1849683: i18n and space supplement

Minor changes to realign inserts and permission assignment
with those surrounding, and remove a bit of EOL whitespace
in the release note.

Signed-off-by: Jason Boyer <JBoyer@eoli.info>
5 years agoLP1849683: Permission for custom css setting
Rogan Hamby [Mon, 28 Oct 2019 23:30:57 +0000 (19:30 -0400)]
LP1849683: Permission for custom css setting

Add a permission to restrict who has access to
the Custom CSS for the OPAC setting.

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Jason Boyer <JBoyer@eoli.info>