working/Evergreen.git
7 years agoLP#1775466 test docs
Bill Erickson [Fri, 18 May 2018 13:53:50 +0000 (09:53 -0400)]
LP#1775466 test docs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 ng-lint updates
Bill Erickson [Thu, 17 May 2018 22:09:27 +0000 (18:09 -0400)]
LP#1775466 ng-lint updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 ng-lint updates
Bill Erickson [Thu, 17 May 2018 21:29:58 +0000 (17:29 -0400)]
LP#1775466 ng-lint updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 IDL/org unit tests with mock data
Bill Erickson [Thu, 17 May 2018 20:23:49 +0000 (16:23 -0400)]
LP#1775466 IDL/org unit tests with mock data

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Unit tests setup / ported EgEventService test
Bill Erickson [Thu, 17 May 2018 18:01:59 +0000 (14:01 -0400)]
LP#1775466 Unit tests setup / ported EgEventService test

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Doc updates
Bill Erickson [Wed, 16 May 2018 15:05:36 +0000 (11:05 -0400)]
LP#1775466 Doc updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 More testing cleanup
Bill Erickson [Tue, 15 May 2018 19:48:59 +0000 (15:48 -0400)]
LP#1775466 More testing cleanup

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 remove some test cruft
Bill Erickson [Tue, 15 May 2018 19:45:30 +0000 (15:45 -0400)]
LP#1775466 remove some test cruft

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Doc updates
Bill Erickson [Tue, 15 May 2018 17:09:17 +0000 (13:09 -0400)]
LP#1775466 Doc updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Doc updates
Bill Erickson [Tue, 15 May 2018 16:34:01 +0000 (12:34 -0400)]
LP#1775466 Doc updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Doc updates
Bill Erickson [Tue, 15 May 2018 15:46:50 +0000 (11:46 -0400)]
LP#1775466 Doc updates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Ang6 upgrade
Bill Erickson [Tue, 15 May 2018 15:42:54 +0000 (11:42 -0400)]
LP#1775466 Ang6 upgrade

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 server admin ui
Bill Erickson [Tue, 15 May 2018 14:48:10 +0000 (10:48 -0400)]
LP#1775466 server admin ui

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 docs
Bill Erickson [Tue, 15 May 2018 14:30:16 +0000 (10:30 -0400)]
LP#1775466 docs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 docs
Bill Erickson [Tue, 15 May 2018 14:27:59 +0000 (10:27 -0400)]
LP#1775466 docs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 server admin ui
Bill Erickson [Tue, 15 May 2018 14:27:38 +0000 (10:27 -0400)]
LP#1775466 server admin ui

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 server admin ui
Bill Erickson [Mon, 14 May 2018 21:08:12 +0000 (17:08 -0400)]
LP#1775466 server admin ui

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 more printing
Bill Erickson [Mon, 14 May 2018 16:35:38 +0000 (12:35 -0400)]
LP#1775466 more printing

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 printing / more dates
Bill Erickson [Mon, 14 May 2018 16:12:48 +0000 (12:12 -0400)]
LP#1775466 printing / more dates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 More grid / csv
Bill Erickson [Sun, 13 May 2018 22:03:19 +0000 (18:03 -0400)]
LP#1775466 More grid / csv

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 More grid
Bill Erickson [Sun, 13 May 2018 19:03:28 +0000 (15:03 -0400)]
LP#1775466 More grid

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 More grid
Bill Erickson [Sun, 13 May 2018 16:58:55 +0000 (12:58 -0400)]
LP#1775466 More grid

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 More formatting / dates
Bill Erickson [Sat, 12 May 2018 16:32:22 +0000 (12:32 -0400)]
LP#1775466 More formatting / dates

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Date select / hard due date example
Bill Erickson [Fri, 11 May 2018 22:16:51 +0000 (18:16 -0400)]
LP#1775466 Date select / hard due date example

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Grid / billing types continued
Bill Erickson [Fri, 11 May 2018 20:04:21 +0000 (16:04 -0400)]
LP#1775466 Grid / billing types continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Grid / billing types continued
Bill Erickson [Fri, 11 May 2018 16:36:31 +0000 (12:36 -0400)]
LP#1775466 Grid / billing types continued

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Grid selection; width configs
Bill Erickson [Thu, 10 May 2018 22:20:17 +0000 (18:20 -0400)]
LP#1775466 Grid selection; width configs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Grid column persistence
Bill Erickson [Thu, 10 May 2018 19:22:48 +0000 (15:22 -0400)]
LP#1775466 Grid column persistence

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Grid column persistence
Bill Erickson [Thu, 10 May 2018 18:38:02 +0000 (14:38 -0400)]
LP#1775466 Grid column persistence

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Grid column width config
Bill Erickson [Thu, 10 May 2018 17:31:10 +0000 (13:31 -0400)]
LP#1775466 Grid column width config

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Grid column header sort icons
Bill Erickson [Thu, 10 May 2018 16:29:47 +0000 (12:29 -0400)]
LP#1775466 Grid column header sort icons

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Revert to remote bootstrap CSS for now
Bill Erickson [Thu, 10 May 2018 16:07:07 +0000 (12:07 -0400)]
LP#1775466 Revert to remote bootstrap CSS for now

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 more grid
Bill Erickson [Tue, 8 May 2018 22:29:10 +0000 (18:29 -0400)]
LP#1775466 more grid

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 more grid
Bill Erickson [Tue, 8 May 2018 18:50:15 +0000 (14:50 -0400)]
LP#1775466 more grid

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 more grid
Bill Erickson [Tue, 8 May 2018 13:22:34 +0000 (09:22 -0400)]
LP#1775466 more grid

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 grid columns config
Bill Erickson [Thu, 3 May 2018 19:41:25 +0000 (15:41 -0400)]
LP#1775466 grid columns config

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Billing types; grid additions, misc
Bill Erickson [Thu, 3 May 2018 16:32:56 +0000 (12:32 -0400)]
LP#1775466 Billing types; grid additions, misc

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Billing type admin / misc.
Bill Erickson [Wed, 2 May 2018 21:57:30 +0000 (17:57 -0400)]
LP#1775466 Billing type admin / misc.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 /eg2 Apache configs
Bill Erickson [Wed, 2 May 2018 15:18:25 +0000 (11:18 -0400)]
LP#1775466 /eg2 Apache configs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1775466 Angular5 base app + some services, UI's, etc.
Bill Erickson [Sun, 19 Nov 2017 00:51:20 +0000 (19:51 -0500)]
LP#1775466 Angular5 base app + some services, UI's, etc.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1635354: Stamping upgrade script for acqusitions invoice timestamp
Kathy Lussier [Wed, 5 Sep 2018 03:55:08 +0000 (23:55 -0400)]
LP#1635354: Stamping upgrade script for acqusitions invoice timestamp

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1635354 Support date is/not NULL ACQ searches
Bill Erickson [Thu, 19 Apr 2018 20:15:51 +0000 (16:15 -0400)]
LP#1635354 Support date is/not NULL ACQ searches

Adds support for searching on 'date is NULL' in the ACQ unified search
interface.  To use, chose the 'is' or 'is not'  matcher and leave the
text input value empty.

Update the canned completed invoices search to filter on 'close_date IS
NOT NULL' instead of the now-removed 'complete' field.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1635354 Invoice close date/by release notes
Bill Erickson [Wed, 14 Mar 2018 16:56:07 +0000 (12:56 -0400)]
LP#1635354 Invoice close date/by release notes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1635354 Invoice close date/by fields
Bill Erickson [Tue, 13 Mar 2018 20:02:41 +0000 (16:02 -0400)]
LP#1635354 Invoice close date/by fields

Acquisitions invoices have 2 new fields:

* Close Date -- This is set to the time when the ACQ user clicks the
  "Close" button in the invoice interface.

This field replaces the existing "Complete" field.  An invoice is now
considered complete if a close date value is set.

* Closed By -- This is set to the logged in staff user who performs the
  "Close" action.

As with the now-defunct 'complete' field, but new fields are cleared in the
event an invoice is reopened.

These new fields are visible in the invoice interface under the 'Show
Details' action for closed invoices.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1746824 - WebStaff egGrid styling
Cesar Velez [Thu, 22 Feb 2018 22:01:39 +0000 (17:01 -0500)]
LP#1746824 - WebStaff egGrid styling

This allows egGrid to receive CSS selector strings via egGridField
declarations in templates, or else auto-generates them based on the
path of the field. Also, sets the DOM id of the grid to its declared
persistKey, unless an id is explicitly given.

For example, due dates could be displayed in purple
as follows by adding the following CSS:

grid-due_date {
   color: purple;
}

The above example uses the autog-enerated class name. One could also
set an explicit one in the eg-grid-field element, e.g.,

<eg-grid-field label="[% l('Due Date') %]" path='due_date' css-selector="purple" ...

In this case, the grid-due_date class would /not/ be generated, and the
developer would be expected to supply CSS for the purple class. (But
with semantic class names :) )

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1774277 Stamping upgrade for patron acq reqs
Bill Erickson [Tue, 4 Sep 2018 21:37:32 +0000 (17:37 -0400)]
LP#1774277 Stamping upgrade for patron acq reqs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agolp1774277 release notes for patron acq requests
Jason Etheridge [Thu, 23 Aug 2018 19:18:05 +0000 (15:18 -0400)]
lp1774277 release notes for patron acq requests

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agolp1774277 Improvements to Patron Acquisition Request
Jason Etheridge [Mon, 12 Mar 2018 22:02:47 +0000 (18:02 -0400)]
lp1774277 Improvements to Patron Acquisition Request

Squashed and rebased against master, this is an Angular reimplementation of the
Patron Acquisition Request user interface with some improvements.  It still
reaches into the Dojo-based Acquisition interfaces.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
toward acq requests

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
4-status-not-updating-to-recieved-unless-all-items-in-order-are-recieved

Change to acq patron request status logic, which now looks like this:

If a cancel_reason is set on the patron request, then status = "Canceled"

If there is an associated hold request that has fulfillment_time set,
then status = 'Fulfilled"

If there is an associated lineitem has a state of "received", then status =
"Received"

If there is an associated purchase order with a state of "on-order" and an
associated hold request, then status = "Ordered, Hold Placed"

If there is an associated purchase order with a state of "on-order" but no
associated hold request (created through the automated process), then status =
"Ordered, Hold Not Placed"

If there is an associated lineitem (selection list), then status = "Pending"

If there is no associated lineitem, then status = "New"

Any other condition, which should be impossible (I should never say that), will
give a status of "Error"

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
6-upc-not-on-patron-request-form

Adds a UPC column to the patron acq request table

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
2-hold-request-fields-that-make-use-of-user-preferences

For new requests (or edited requests when a user barcode is scanned), the user's
preferences (if any) for hold notifications and pickup library will be used to
set various fields in the request dialog.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
5-pick-up-library-not-defaulting-to-patrons-home-library

when creating new requests, given a user, default to the user's pickup library
preference setting, or absent a preference, default to their home library.

Absent a user, default to the pickup library selector value from the request
list, if it's of an org type that can have volumes.  Otherwise, default to the
workstation library.  Technically, the without-a-user behavior is going to be
mooted whenever a user is chosen.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
5-pick-up-library-not-defaulting-to-patrons-home-library

Fix defaulting to patron home library in absense of user setting when creating
acq patron request from user context

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
misc fixes

to the IDL and for the email_notify checkbox.

some refactoring to avoid using foreign fields in the request object

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
7-retrieve-patron-fails-to-load-patron-record

give the user_request.view permission some parity with VIEW_USER

And some defensive programming if trying to create a request in
the user already known context without adequate permission

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
handle undefined values for email/hold checkboxes

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
remove acq.holds.allow_holds_from_purchase_request

This was added a long time ago but never actually used by the code.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
match pcrud perm for aur with aurs

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
live_t/ test

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1514085: stamp schema update
Galen Charlton [Tue, 4 Sep 2018 22:35:28 +0000 (18:35 -0400)]
LP#1514085: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1514085: add to release notes with a server configuration note
Galen Charlton [Tue, 4 Sep 2018 22:33:09 +0000 (18:33 -0400)]
LP#1514085: add to release notes with a server configuration note

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1514085: sync schema update script to reflect changes in master
Galen Charlton [Tue, 4 Sep 2018 21:46:49 +0000 (17:46 -0400)]
LP#1514085: sync schema update script to reflect changes in master

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1514085 Release notes for vandelay session tracking
Bill Erickson [Thu, 23 Aug 2018 18:17:11 +0000 (14:17 -0400)]
LP#1514085 Release notes for vandelay session tracking

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1514085 Vandelay in-database session tracking
Bill Erickson [Thu, 28 Jun 2018 16:38:57 +0000 (12:38 -0400)]
LP#1514085 Vandelay in-database session tracking

Adds a new DB table vandelay.session_tracker for monitoring progress on
Vandelay enqueue and import sessions.

Enqueue and import APIs get a new option to exit early, returning the
newly created tracker object, so the caller can monitor the tracker
instead of listening to streamed responses, which are not supported in
browser client Dojo interfaces.

Teach the existing Dojo Vandelay UI to exit early on enqueu & export and
to poll for tracker data in lieu of waiting for streamed progress data.

On user merge / purge, trackers are migrated to the destination user.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1777675 Stamping upgrade script for latest inventory date support
Dan Wells [Tue, 4 Sep 2018 20:36:09 +0000 (16:36 -0400)]
LP#1777675 Stamping upgrade script for latest inventory date support

Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoLP#1777675: Change table names to Latest Inventory
Kathy Lussier [Tue, 4 Sep 2018 18:38:33 +0000 (14:38 -0400)]
LP#1777675: Change table names to Latest Inventory

Makes the backend code consistent with the new labels that have been added for
the latest inventory date.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoLP#1777675 Tweak IDL label for copy inventory
Dan Wells [Thu, 23 Aug 2018 18:38:50 +0000 (14:38 -0400)]
LP#1777675 Tweak IDL label for copy inventory

"Last Copy Inventory" can be misunderstood at first reading as
inventory of the "last copy".  "Latest Inventory" seems easier to
understand, and also still goes well with a potential future "All
Inventories" entry in the IDL.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1777675 Re-add missing columns to checkin interface
Dan Wells [Thu, 23 Aug 2018 18:34:57 +0000 (14:34 -0400)]
LP#1777675 Re-add missing columns to checkin interface

During one iteration of the inventory code, a box was added to the
interface, and some room was made for it by shrinking these other
interface components.

Since the box is now gone, let's get this row back up to the expected
twelve units of width.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1777675: Fix code to update Item Status grid
Remington Steed [Wed, 22 Aug 2018 18:19:19 +0000 (14:19 -0400)]
LP#1777675: Fix code to update Item Status grid

Testing revealed that the grid rows use a different data structure, and
the object member names include dots (periods). Thus, bracket notation
is required to access those members.

This commit also makes a few smaller changes:
  - Prevents an error in the Check-in app when a last_copy_inventory
    doesn't exist yet.
  - Removes the "refresh" parameter from the updateInventory() function,
    which is never supplied when called, nor used by the function.
  - Adds some brief code comments.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1777675: Release notes entry for inventory date
Kathy Lussier [Tue, 21 Aug 2018 17:31:59 +0000 (13:31 -0400)]
LP#1777675: Release notes entry for inventory date

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoLP#1777675: Add inventory checkin modifier setting to server storage
Kathy Lussier [Tue, 21 Aug 2018 17:04:13 +0000 (13:04 -0400)]
LP#1777675: Add inventory checkin modifier setting to server storage

Allows the inventory checkin modifier value to be stored on the server instead
of the browser as is done with other checkin modifier settings.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agolp1777675 inventory date support
Kyle Huckins [Mon, 9 Jul 2018 18:11:05 +0000 (18:11 +0000)]
lp1777675 inventory date support

- Add toggle for updating inventory date and workstation on checkin
- Create new table asset.last_copy_inventory containing inventory date and inventory workstation columns.
- Add code to do_checkin subroutine to update last_copy_inventory table on checkin.
- Update Holdings view, Checkins table, copy buckets, and item detail grid and lists to display new
inventory date and workstation information.
- Add Update Inventory action to Item Status detail and list views.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/web/js/ui/default/staff/circ/services/item.js

Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoLP#1712854 Stamping DB upgrade for hold UIs sort/speed
Bill Erickson [Tue, 4 Sep 2018 17:37:33 +0000 (13:37 -0400)]
LP#1712854 Stamping DB upgrade for hold UIs sort/speed

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1712854: Add wide_hold grid settings to server storage
Kathy Lussier [Wed, 29 Aug 2018 21:00:39 +0000 (17:00 -0400)]
LP#1712854: Add wide_hold grid settings to server storage

Adds the new wide_hold grid settings used in the holds shelf and record holds
interfaces to server storage, as is done with other grid settings. Also removes
the legacy eg.grid.circ.holds.shelf and eg.grid.cat.catalog.holds settings.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1712854: Provide context-relevant default sort orders
Mike Rylander [Thu, 30 Aug 2018 20:48:23 +0000 (16:48 -0400)]
LP#1712854: Provide context-relevant default sort orders

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1712854: Include shelf-expired holds in the "clearable" set
Mike Rylander [Thu, 30 Aug 2018 20:37:21 +0000 (16:37 -0400)]
LP#1712854: Include shelf-expired holds in the "clearable" set

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1712854: Make use of local cache when moving to All Holds list
Mike Rylander [Tue, 28 Aug 2018 16:23:50 +0000 (12:23 -0400)]
LP#1712854: Make use of local cache when moving to All Holds list

Clearing holds takes care of local updates to the hold data, so there is no
need to refetch the hold list when moving from Clearable to All.  Actions
that change hold state otherwise do cause a refetch, however.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1712854: Provide a "only last captured copy" option to filter holds shelf
Mike Rylander [Tue, 28 Aug 2018 15:45:11 +0000 (11:45 -0400)]
LP#1712854: Provide a "only last captured copy" option to filter holds shelf

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1712854: Fix typo in function names for cancel and uncancel of wide holds
Mike Rylander [Tue, 28 Aug 2018 15:09:06 +0000 (11:09 -0400)]
LP#1712854: Fix typo in function names for cancel and uncancel of wide holds

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1712854: Speed improvements for two hold interfaces
Mike Rylander [Thu, 19 Jul 2018 00:52:25 +0000 (20:52 -0400)]
LP#1712854: Speed improvements for two hold interfaces

The Hold Shelf and Record -> View Holds interfaces are painfully slow when
faced with a large set of holds.  The main reason is the 2-stage process used
to gather the data: 1) find hold IDs for the context 2) for each hold, fetch
all the requisite data using a relatively slow API.

Here we create a new API that provides a streaming response of pre-inflated
hold data.  The full result set is loaded immediately, and once loaded, the
grid makes use of the "clientsort" feature to provide fast sorting without
the need to go back to the server when only changing the sort columns and
direction, and when paging through results.  The Hold Shelf UI now has a
progress indicator that appears whenever the hold list is retrieved from the
server, and the progress indicator for the Record -> View Holds UI is enhanced
to provide more granular updates.

It is expected that other hold interfaces will be able to make use of this new
API for performance and functionality improvements.

NOTE: This includes an additional change required to protect localStorage from
overlarge values when attempting to save the "last printed value" for future
reprinting.  Previously, when attempting to print a 2000+ hold list,
localStorage throws an error and the print fails.  Now the print will succeed,
but the value is not stored for reprinting and a message is logged to the JS
console.

NOTE: The original development plan was base this a new API on a native
Postgres materialized view, and provide a LISTEN/NOTIFY daemon to monitor for
events that should trigger a refresh of that view.  As it happens, the use of
other new Postgres features (primarily the LATERAL join type) allows us to
avoid that maintenance and run-time complication.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/web/js/ui/default/staff/services/hatch.js

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1779920: stamp database update
Galen Charlton [Tue, 4 Sep 2018 18:07:38 +0000 (14:07 -0400)]
LP#1779920: stamp database update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1779920: adjust release notes
Galen Charlton [Tue, 4 Sep 2018 17:55:18 +0000 (13:55 -0400)]
LP#1779920: adjust release notes

Wrap text and change the order of the paragraphs to put the
intent of the feature first.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1779920 Auto-renew modify related tables/views
Bill Erickson [Tue, 4 Sep 2018 14:31:00 +0000 (10:31 -0400)]
LP#1779920 Auto-renew modify related tables/views

Add new columns to these tables/views:

* action.all_circulation
* action.all_circulation_slim
* action.aged_circulation
* action.all_circ_chain
* action.summarize_all_circ_chain

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1779920 - Autorenewal Feature-Release Docs
Cesar Velez [Tue, 21 Aug 2018 22:23:14 +0000 (18:23 -0400)]
LP#1779920 - Autorenewal Feature-Release Docs

Summary release notes for Autorenewal

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1779920 Circ auto-renewal repairs
Bill Erickson [Wed, 29 Aug 2018 21:19:07 +0000 (17:19 -0400)]
LP#1779920 Circ auto-renewal repairs

* Remove hard-coded granularity for auto-renewal notification event
  generation
* Moved schema update changes from 950 seed file into schema files.
* Added CircIsOpen validator to auto-renewal reactor on the off chance
  a circ is renewed by the patron in the middle of event processing.
* Notification template formatting and language updates, and removed
  debugging content.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1779920 - Autorenew Feature
Cesar Velez [Tue, 28 Aug 2018 20:13:51 +0000 (16:13 -0400)]
LP#1779920 - Autorenew Feature

This branch adds the necessary changes to allow Evergreen via the
Action/Trigger system to generate daily automatic renewals of
outstanding loans. Implemented as pair of A/T definitions: Autorenew and
AutorenewNotify.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1776020: stamp database update
Galen Charlton [Tue, 4 Sep 2018 17:32:46 +0000 (13:32 -0400)]
LP#1776020: stamp database update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1776020 Deduplicate name keywords in patron merge
Bill Erickson [Tue, 28 Aug 2018 02:49:12 +0000 (22:49 -0400)]
LP#1776020 Deduplicate name keywords in patron merge

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1776020 Add pref names to bills and items-out receipt templates
Bill Erickson [Tue, 28 Aug 2018 02:00:52 +0000 (22:00 -0400)]
LP#1776020 Add pref names to bills and items-out receipt templates

Add support (with inline docs) for pref_.* name fields in Bills
Current/Historical/Payment templates and the patron Items Out template.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1776020: Tweaks to display of name keywords
Kathy Lussier [Mon, 27 Aug 2018 20:15:31 +0000 (16:15 -0400)]
LP#1776020: Tweaks to display of name keywords

Add an icon next to the primary name to indicate the presence of name keywords,
which can be seen via hovering. The name keywords continue to display at the
bottom of the patron summary sidebar.

Also fixes a minor bug where preferred name would display for anyone with
a middle name.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1776020 Release notes for pref name / keywords
Bill Erickson [Wed, 22 Aug 2018 01:31:15 +0000 (21:31 -0400)]
LP#1776020 Release notes for pref name / keywords

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP#1776020 Patron preferred name & name keywords
Bill Erickson [Mon, 21 May 2018 02:15:23 +0000 (22:15 -0400)]
LP#1776020 Patron preferred name & name keywords

Preferred Name

Adds a new set of patron preferred name fields for prefix, first,
middle, last, and suffix allowing patrons to provide preferred name
information.  Preferred names are optional and each acts as an overlay
to the analogous primary name field, making it possible to provide
preferred name values for individual fields.

For example, a patron named William Erickson may have a preferred first
name (pref_first_given_name) of Bill, in which case the preferred name
would be Bill Erickson.  Note a preferred last name is not required in
this case as the code uses primary name values as defaults when not
replaced with a preferred version.

* Patrons will see primary names displayed in the catalog when set.
* Staff will see both primary name and preferred name in the patron
  summary side bar.
* Patron searches for any given name field will search both the primary
  and preferred name data.
* Preferred name fields are available in Action/Trigger templates and
  are present in various patron-focused print templates.

Name Keywords

Adds a new field to store miscellaneous patron name search terms.  These
values are only for searching and do not appear in any interfaces, apart
from the patron summary side bar and the patron edit UI.

Included is a new search field in the patron search UI which searches
keyword values and all other name fields.  It's essentially a global patron
name keyword search.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
7 years agoLP1752370: Add weight column to metabib fields grid
Jane Sandberg [Mon, 4 Jun 2018 04:09:20 +0000 (21:09 -0700)]
LP1752370: Add weight column to metabib fields grid

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1740412 Double grid tooltip max width
Bill Erickson [Wed, 29 Aug 2018 18:05:09 +0000 (14:05 -0400)]
LP#1740412 Double grid tooltip max width

Bump the max-width of the grid tooltip from 200 to 400px to accommodate
longer messages.  Shorter messages will continue using narrower
tooltips.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1740412 Grid cell tooltips moved to top-left
Bill Erickson [Fri, 24 Aug 2018 14:30:34 +0000 (10:30 -0400)]
LP#1740412 Grid cell tooltips moved to top-left

Avoid rendering the tooltip in the middle of a section of overflowed
text, since it can lead to tooltips being pushed far to the right.
Render at top left of cell instead.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1740412 Grid cell tooltips limited to long content
Bill Erickson [Thu, 23 Aug 2018 17:52:38 +0000 (13:52 -0400)]
LP#1740412 Grid cell tooltips limited to long content

Only display grid cell tooltips when the content of the cell overflows
its container.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1740412 Grid cell content tooltips
Bill Erickson [Mon, 25 Jun 2018 16:19:36 +0000 (12:19 -0400)]
LP#1740412 Grid cell content tooltips

Display a tooltip (popover), containing the full grid contents, when
mousing over a grid cell.  This allows users to see the full contents of
a cell without having to resize the grid column.

This applies to text contents and pre-compiled HTML contents.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1744756: Stamping upgrade script for custom perm group display
Kathy Lussier [Thu, 30 Aug 2018 16:37:45 +0000 (12:37 -0400)]
LP#1744756: Stamping upgrade script for custom perm group display

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agolp1744756 Utilize Parent Trees
Kyle Huckins [Wed, 29 Aug 2018 15:20:17 +0000 (15:20 +0000)]
lp1744756 Utilize Parent Trees

- Allow Patron Edit interface to make use of Parent OU trees when
expect tree doesn't exist.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agolp1744756 Docs fix and Permission change
Kyle Huckins [Mon, 27 Aug 2018 20:21:45 +0000 (20:21 +0000)]
lp1744756 Docs fix and Permission change

- Introduce MANAGE_CUSTOM_PERM_GRP_TREE permission.

- Remove unnecessary references to unused "disabled"
field for pgtdes.

- Update documentation to correctly explain how removing
and adding display entries works.

 Changes to be committed:
modified:   Open-ILS/examples/fm_IDL.xml
modified:   Open-ILS/src/sql/Pg/006.schema.permissions.sql
modified:   Open-ILS/src/sql/Pg/950.data.seed-values.sql
modified:   Open-ILS/src/sql/Pg/upgrade/XXXX.schema.perm-group-display.sql
modified:   Open-ILS/web/js/ui/default/staff/admin/local/permission/app.js
modified:   Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
modified:   docs/RELEASE_NOTES_NEXT/Client/pgtde.adoc

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoLP#1744756 Grp display tree minor fixes.
Bill Erickson [Mon, 6 Aug 2018 15:35:44 +0000 (11:35 -0400)]
LP#1744756 Grp display tree minor fixes.

1. Fix group tree display entry IDL sequence copy/paste issue:

permission.grp_tree_id_seq => permission.grp_tree_display_entry_id_seq

2. Apply consistent use of tabs in the IDL.

3. Fix thinko use of grp as a function in the no-entries-exist scenario
   in the patron editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agolp1744756 Release Notes for PGTDEs
Kyle Huckins [Thu, 14 Jun 2018 16:11:34 +0000 (16:11 +0000)]
lp1744756 Release Notes for PGTDEs

- Include release notes for Permission Group Tree Display
Entry UI and usage.
- Include pictures of interface for documentation.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agolp1744756 Profile Tree Display Entry Admin UI
Kyle Huckins [Thu, 15 Mar 2018 18:54:13 +0000 (18:54 +0000)]
lp1744756 Profile Tree Display Entry Admin UI

- Flesh out permission.group_tree_display_entries table.
- Create pgtde IDL class corresponding to new permission.group_tree_display_entries
table.
- Admin UI for Permission Group Tree Entries capable of viewing, adding, removing,
or changing position of entries within tree based on OU.
- Save functionality to persist any changes made.
- Persist changes in positions of permission group display
entries in Admin UI with the Profile Selector in the patron
edit interface.
- Make profile selector use original functionality if there are no
display entries.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
7 years agoForward-port 3.1.5 upgrade script
Dan Wells [Wed, 29 Aug 2018 22:18:54 +0000 (18:18 -0400)]
Forward-port 3.1.5 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoForward-port 3.0.11 upgrade script
Dan Wells [Wed, 29 Aug 2018 22:18:25 +0000 (18:18 -0400)]
Forward-port 3.0.11 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 years agoLP#978095 ACQ use last-canceled copy reason if best
Bill Erickson [Fri, 27 Jul 2018 18:30:07 +0000 (14:30 -0400)]
LP#978095 ACQ use last-canceled copy reason if best

Only use an alternate keep-debits cancel reason if the currently
canceled copy is not using a keep-debits reason.

Also clarify in the docs that if another keep-debits reason is selected,
it's essentially chosen at random, not necessarily the "last" copy.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agolp978095 auto-canceling lineitems
Jason Etheridge [Fri, 2 Feb 2018 16:30:36 +0000 (11:30 -0500)]
lp978095 auto-canceling lineitems

"Acq: lineitems display as "on order" even after all copies have been cancelled"

When a copy (lineitem detail) on a lineitem is canceled through the UI, all of
the sibling copies are examined, and if they also happen to be canceled, then a
cancel attempt is made on the parent lineitem.

The cancel reason fed to the lineitem cancelation attempt will be the last
cancel reason on an examined sibling lineitem where Keep Debits is True, or
failing that, the cancel reason used wih the copy just canceled.

The UI will refresh to the lineitem view when such an auto-cancelation happens.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
7 years agoLP#1768902 Stamping DB upgrade for Z39 UPC
Bill Erickson [Fri, 24 Aug 2018 20:05:09 +0000 (16:05 -0400)]
LP#1768902 Stamping DB upgrade for Z39 UPC

Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1768902: quick release note entry
Ben Shum [Thu, 3 May 2018 17:36:31 +0000 (12:36 -0500)]
LP#1768902: quick release note entry

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoLP#1768902: Add UPC to z3950 search for OCLC and LOC
Ben Shum [Thu, 3 May 2018 17:24:44 +0000 (12:24 -0500)]
LP#1768902: Add UPC to z3950 search for OCLC and LOC

Based on settings provided by Jane Sandberg, add the UPC as a search
attribute definition for OCLC and LOC z3950 targets.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 years agoDocs: adding release notes and docs for LP1760160
Jane Sandberg [Tue, 1 May 2018 08:22:15 +0000 (03:22 -0500)]
Docs: adding release notes and docs for LP1760160

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>