working/Evergreen.git
3 months agoLp 1752968: Focus Barcode Field in Volumes/Copy Editor
Jason Stephenson [Mon, 17 Dec 2018 16:08:47 +0000 (11:08 -0500)]
Lp 1752968: Focus Barcode Field in Volumes/Copy Editor

Always focus the barcode field when adding or editing volumes or
copies.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Janet Schrader <jschrader@cwmars.org>
3 months agoLP 1333893: Keep Empty Bib on Volume Transfer
Jason Stephenson [Thu, 11 Oct 2018 12:50:30 +0000 (08:50 -0400)]
LP 1333893: Keep Empty Bib on Volume Transfer

Volume transfer did not honor the cat.bib_keep_on_empty organizational
unit setting when removing empty bib records.  This commit changes it
so that tranfer honors the setting in the same manner that deleting
copies and volumes does.

To test this fix, set cat.bib_keep_on_empty for your workstation
org. unit to true, and then transfer all of the volumes from one bib
record to another.  The empty bib record should not get deleted.

You can also test with the setting on false to make sure that the
empty bib gets deleted.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Beth Willis <willis@noblenet.org>
3 months agoLP#1814943: (follow-up) remove ersatz ctx.page_type line
Galen Charlton [Mon, 29 Apr 2019 14:49:19 +0000 (10:49 -0400)]
LP#1814943: (follow-up) remove ersatz ctx.page_type line

Guessing that the original bug was due to "page_type" being
entered when "page_title" was meant.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
3 months agoLP#1814943 Closed Dates Editor Tab Missing Title
McCanna [Wed, 6 Feb 2019 18:52:48 +0000 (13:52 -0500)]
LP#1814943 Closed Dates Editor Tab Missing Title

Small fix to add missing page title.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
3 months agoLP#1823387: avoid double slashes in booking URLs, which will not work with recent...
Jeff Davis [Fri, 5 Apr 2019 18:08:55 +0000 (11:08 -0700)]
LP#1823387: avoid double slashes in booking URLs, which will not work with recent versions of Apache

Signed-off-by: Jeff Davis <jeff.davis@bc.libraries.coop>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
3 months agoLP1642036 Group member detail grid query repair
Bill Erickson [Wed, 24 Apr 2019 13:19:40 +0000 (09:19 -0400)]
LP1642036 Group member detail grid query repair

Teach the grid to automatically use the current version of the grid
query in group member details lookup, since the query changes as
patron's change and is sometimes applied after the grid has already
absorbed the setQuery function.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
3 months agoDocs: Fix TIP block and list formatting
Remington Steed [Thu, 25 Apr 2019 15:13:12 +0000 (11:13 -0400)]
Docs: Fix TIP block and list formatting

This improves the formatting of the docs section that Katie Martin just
improved.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
3 months agoDocs: Updated checkin modifiers
Katie G. Martin [Mon, 30 Apr 2018 20:35:20 +0000 (15:35 -0500)]
Docs: Updated checkin modifiers

Updated checkin modifiers to include Manual Float Active and Update
Inventory and their descriptions. For 3.3 only.

Signed-off-by: Katie G. Martin <bcl@blaircountylibraries.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
3 months agoLP1793005 Stamping upgrade / print settings as workstation settings
Bill Erickson [Wed, 24 Apr 2019 19:55:33 +0000 (15:55 -0400)]
LP1793005 Stamping upgrade / print settings as workstation settings

Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 months agoLP#1793005 Angular6 Hatch support / printer settings
Bill Erickson [Mon, 17 Sep 2018 15:26:11 +0000 (11:26 -0400)]
LP#1793005 Angular6 Hatch support / printer settings

Adds support for Hatch print communication to the Angular(6) app.
Migrates the print preferences settings (eg.print.config.*) from
in-Hatch settings to server-stored workstation settings.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: blake <blake@mobiusconsortium.org>
3 months agoLP#1778940: stamp schema update
Galen Charlton [Wed, 24 Apr 2019 19:41:49 +0000 (15:41 -0400)]
LP#1778940: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
3 months agoLP#1778940: (follow-up) create indexes concurrently during upgrade
Galen Charlton [Wed, 24 Apr 2019 19:37:06 +0000 (15:37 -0400)]
LP#1778940: (follow-up) create indexes concurrently during upgrade

This reduces potential for locking when run in a production
database, particularly if done outside of a full version upgrade.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
3 months agoLP1778940: Add Indexes to ate.*_output
Jason Boyer [Thu, 28 Jun 2018 18:36:27 +0000 (14:36 -0400)]
LP1778940: Add Indexes to ate.*_output

When there are many rows in action_trigger.event_output
simply ensuring referencial integrity can take an
unacceptably long time as Postgres has to make sure
that the output being deleted isn't referenced in
any of these 3 fields. Adding these indexes keeps
these checks always fast.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
3 months agoLP#1825578: reverse direction of sort-order arrows in eg-grid
Galen Charlton [Fri, 19 Apr 2019 21:20:42 +0000 (17:20 -0400)]
LP#1825578: reverse direction of sort-order arrows in eg-grid

This patch adjusts the arrow icons used to indicate if a column
in the Angular eg-grid is sorted to use the following convention:

  sort order ascending == display _up_ arrow
  sort order descending == display _descending_ arrow

To test
-------
[1] Apply the patch.
[2] In a grid with a sortable column (as can be found in /eg2/en-US/staff/sandbox),
    click on the heading to sort it. Verify that ascending sort displays
    the upwards arrow and descending sort the downwards.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
4 months agoTrivial change to file header comment
Dan Wells [Thu, 18 Apr 2019 14:14:04 +0000 (10:14 -0400)]
Trivial change to file header comment

Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoStamping upgrade script for holds prefetch setting
Dan Wells [Thu, 18 Apr 2019 19:19:18 +0000 (15:19 -0400)]
Stamping upgrade script for holds prefetch setting

Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1818288 WS Option to pre-fetch record holds
Bill Erickson [Mon, 4 Mar 2019 16:12:33 +0000 (11:12 -0500)]
LP1818288 WS Option to pre-fetch record holds

Adds a workstation setting allowing staff to decide whether to pre-fetch
all holds on the record detail holds tab, to perform sorting paging in
the client, or to leave the sorting/paging on the server.

Improves client-side sorting in the grid.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1818288 Grid checkboxes emit events
Bill Erickson [Mon, 4 Mar 2019 16:11:24 +0000 (11:11 -0500)]
LP1818288 Grid checkboxes emit events

Modify the grid toolbar checkbox onClick handler to emit events instead
of requesting a reference to a function.  This is more consistent with
other event-handling code.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1818288 Release notes - record holds tab
Bill Erickson [Fri, 1 Mar 2019 20:42:07 +0000 (15:42 -0500)]
LP1818288 Release notes - record holds tab

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1818288 Ang staff catalog record detail holds tab/actions
Bill Erickson [Sat, 16 Feb 2019 19:42:14 +0000 (11:42 -0800)]
LP1818288 Ang staff catalog record detail holds tab/actions

Adds support for the Holds tab in the record detail view of the Angular
staff catalog.  Includes grid and hold-related actions.

* Holds grid built from the new wide-holds API.
* batch cancel holds
* batch retarget holds
* batch edit holds
** Unified form to modify notify options, dates, etc.
* hold detail page (menu and row double-click)
* batch mark items damaged
* batch mark items missing
* show last few circulations
* retrieve patron
* support for indented menu groups a la angjs grids for grouping the
  hold actions menu.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoDocs: fix uneven lengths of code delimiter blocks
Dan Scott [Fri, 12 Apr 2019 03:17:10 +0000 (23:17 -0400)]
Docs: fix uneven lengths of code delimiter blocks

The lengths of the starting and ending sets of hyphens are supposed to be the
same. Asciidoc tools like asciidoctor can be less forgiving than the original
asciidoc processor, with less than hilarious results.

It would probably make sense to try to standardize on something like 60 hyphens
to easily flag this problem for deviations from the norm, but for now here's
the result of running the docs through asciidoctor and manually adjusting the
output.

Signed-off-by: Dan Scott <dan@coffeecode.net>
4 months agoLP1821196: Remove arrow function from item status
Jane Sandberg [Thu, 21 Mar 2019 16:11:51 +0000 (09:11 -0700)]
LP1821196: Remove arrow function from item status

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
4 months agoForward port 3.3.0 upgrade script
Dan Wells [Thu, 11 Apr 2019 19:55:08 +0000 (15:55 -0400)]
Forward port 3.3.0 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoDocs: Point to release notes for new version 3.3
Remington Steed [Thu, 11 Apr 2019 18:40:31 +0000 (14:40 -0400)]
Docs: Point to release notes for new version 3.3

Signed-off-by: Remington Steed <rjs7@calvin.edu>
4 months agolp1145213 avoid race condition in bib merge test
Jason Etheridge [Tue, 9 Apr 2019 21:34:16 +0000 (17:34 -0400)]
lp1145213 avoid race condition in bib merge test

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
4 months agoLP1744386: Alphabetize stat cats in volcopy attr editor
Jane Sandberg [Sun, 20 May 2018 16:00:48 +0000 (09:00 -0700)]
LP1744386: Alphabetize stat cats in volcopy attr editor

To test:
1. Go to the volume copy editor.  Confirm that the stat
cats do not display in order of owning library or stat cat
name.
2. Apply this commit.
3. Go to the volume copy editor.  Confirm that the stat
cats now display in alphabetical order by owning library,
then stat cat name.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
4 months agoLP#1666987: Include a user-agent to build the relator map
Dan Scott [Sun, 13 May 2018 14:59:24 +0000 (10:59 -0400)]
LP#1666987: Include a user-agent to build the relator map

loc.gov started using Cloudflare protection to block HTTP access from default
user agents, so identify ourselves as an Evergreen user agent to restore our
access.

Long term we should evolve to using the linked open data access method
via id.loc.gov but let's get this working first.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoForward-port 3.1.11 upgrade script
Dan Wells [Thu, 28 Mar 2019 21:03:38 +0000 (17:03 -0400)]
Forward-port 3.1.11 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoTranslation updates - po files
Dan Wells [Thu, 28 Mar 2019 15:43:31 +0000 (11:43 -0400)]
Translation updates - po files

Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoTranslation updates - newpot
Dan Wells [Thu, 28 Mar 2019 15:40:11 +0000 (11:40 -0400)]
Translation updates - newpot

Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoForward-port 3.2.5 upgrade script
Dan Wells [Thu, 28 Mar 2019 15:35:34 +0000 (11:35 -0400)]
Forward-port 3.2.5 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoCoerce numbers for bib IDs in Angular staff catalog
Bill Erickson [Wed, 27 Mar 2019 16:43:32 +0000 (12:43 -0400)]
Coerce numbers for bib IDs in Angular staff catalog

Under some circumstances, the search results screen in the new
experimental Angular staff catalog did not display any results (though
it did show the pager, facets, etc.).

This was traced back to the results array attempting to be populated
with ID values of '-1' instead of the real IDs.  Coercing the incoming
IDs to numbers appears to resolve the issue.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoFix Asciidoc levels in 3.3 release notes
Dan Wells [Tue, 26 Mar 2019 22:04:04 +0000 (18:04 -0400)]
Fix Asciidoc levels in 3.3 release notes

Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1821067 Angular i18n uses XMB; cs-CZ examples
Bill Erickson [Wed, 20 Mar 2019 18:38:44 +0000 (14:38 -0400)]
LP1821067 Angular i18n uses XMB; cs-CZ examples

Includes documentation updates and cs-CZ example using export cs-CZ .xtb
translation bundle.

Also remove xmliffmerge configuration options since we are not using
xliff files.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1821067 Angular Czech translation bundle
Bill Erickson [Wed, 20 Mar 2019 18:38:14 +0000 (14:38 -0400)]
LP1821067 Angular Czech translation bundle

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1811288 Sandbox editor handles dismissals
Bill Erickson [Mon, 25 Mar 2019 20:48:05 +0000 (20:48 +0000)]
LP1811288 Sandbox editor handles dismissals

Teach the sandbox FM editor example to log a useful message on dialog
dismissal instead of throwing an error (as a result of the uncaught
rejection).

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1811288 Allow Combobox to default to field id
Bill Erickson [Mon, 25 Mar 2019 20:29:27 +0000 (20:29 +0000)]
LP1811288 Allow Combobox to default to field id

If a combobox field is provided without a label, use the id value as the
display value.  This helps avoid ugly JS errors while trying to format
a null string.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1811288 Admin grids preload combobox values
Bill Erickson [Fri, 22 Mar 2019 21:43:34 +0000 (14:43 -0700)]
LP1811288 Admin grids preload combobox values

Adds a global option to the fieldmapper editor component to preload
linked selector values by default.  Update the basic admin pages to use
the new flag to preload comboboxes.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1811288 Basic admin page readonlyFields repair
Bill Erickson [Wed, 20 Feb 2019 18:51:36 +0000 (13:51 -0500)]
LP1811288 Basic admin page readonlyFields repair

Fix a bug in the basic admin page component that prevented the readOnly
fields from successfully propagating to the fieldmapper editor.

To Test:
1. Navigate to /eg2/en-US/staff/admin/booking/resource_type
2. Click "New Resource Type"
3. Confirm the "Bibliographic Record" field is disabled.

Includes ng-lint repair as well.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1811288 Angular fm-editor uses combobox
Bill Erickson [Thu, 10 Jan 2019 23:04:59 +0000 (18:04 -0500)]
LP1811288 Angular fm-editor uses combobox

* Linked field options traditionally rendered via <select> are now
  rendered with an eg-combobox.
* Caller has option to force a combobox to preload values or rely solely
  on typehead.
* Caller has option to provide a canned list of combobox values.
* Caller has option to set / override which field on the linked class
  should searched by the typeahead
* General improvements to fm-editor form building and field options
  management.
* Includes Angular7 rxjs import repairs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1811288 Combobox support entrylist+async / id labels
Bill Erickson [Fri, 11 Jan 2019 18:06:23 +0000 (13:06 -0500)]
LP1811288 Combobox support entrylist+async / id labels

Allow the caller to pass a seed entrylist value for async comboboxes.
This is useful when a value should be applied to the box on load instead
of waiting for user input for typeahead loading.

Allow combobox entries to default to using the 'id' field for the label
if no label is provided.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1821409 Ang admin editor clears fields on new
Bill Erickson [Fri, 22 Mar 2019 20:41:12 +0000 (13:41 -0700)]
LP1821409 Ang admin editor clears fields on new

The Angular admin pages re-use an FmEditor component for creating and
updating objects.  When creating a new object after editing an existing
object, reset the editor so it won't load the previously edited object.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1797934: follow-up: make the reservations tab in MyOpac optional
Jane Sandberg [Mon, 25 Feb 2019 18:24:09 +0000 (10:24 -0800)]
LP1797934: follow-up: make the reservations tab in MyOpac optional

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoDocs: finalizing 3.3 release notes and related documentation
Jane Sandberg [Fri, 22 Mar 2019 21:55:19 +0000 (14:55 -0700)]
Docs: finalizing 3.3 release notes and related documentation

4 months agoLP1819179 PCRUD selector fleshing handles maps
Bill Erickson [Fri, 8 Mar 2019 18:16:35 +0000 (13:16 -0500)]
LP1819179 PCRUD selector fleshing handles maps

Teach the PCUD selector fleshing code to handle selector fields on
mapped classes, where an intermediate object flesh is performed by pcrud
at flesh time.

Adds a 'selector' column on metabib.metarecord in the IDL so that we can
have a functioning example of this to use in the sandbox test code.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1819179 IDL2js includes 'map' attribute data
Bill Erickson [Fri, 8 Mar 2019 17:30:26 +0000 (12:30 -0500)]
LP1819179 IDL2js includes 'map' attribute data

Patch from Mike Rylander to teach the IDL2js generator to include 'map'
attributes, which allow JS clients to step through mapped, linked
fields, particuarly useful for auto-fleshing these fields.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP#1819179: Angular value formatter gets link smarts
Bill Erickson [Wed, 6 Mar 2019 22:41:25 +0000 (17:41 -0500)]
LP#1819179: Angular value formatter gets link smarts

Teach the FormatService to display selector values for linked objects
when the requested field is a link field and it contains an object value
instead of just a id/key value.

Improve IDL data passing from the grid to the IDL service so it can
better determine which fields are avialble for link selector display.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1812670 Angular grid shows selector labels
Bill Erickson [Fri, 25 Jan 2019 20:17:56 +0000 (15:17 -0500)]
LP1812670 Angular grid shows selector labels

* Teach PcrudService how to flesh link fields when a selector is defined
  on the linked class. This uses a new search/retrieve API flag
  {fleshSelectors:true}.

* Teach the grid how to render selector values when configured to do so
  via a new grid component attribute [showLinkSelectors]="true".

* Teach the Angular staff admin page to request linked selectors from
  pcrud and tell its grid to expect them.

* Adds utility function to IdlServer for finding the selector for a
  given class + field.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1807461 Admin page avoid errors on dialog dismissal
Bill Erickson [Wed, 23 Jan 2019 22:30:26 +0000 (17:30 -0500)]
LP1807461 Admin page avoid errors on dialog dismissal

Add support to the base DialogComponent class for passing information to
the caller via the reject handler about whether a dialog was dismissed
via user interface interaction (body click, esc key, cross click, cancel
button) or for some other reason, presumably an error.

Teach the generic admin page to avoid toasting errors when an edit or
create dialog is dismissed via UI.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP1807458 Eg2 grid Edit option lint repairs
Bill Erickson [Wed, 23 Jan 2019 21:13:52 +0000 (16:13 -0500)]
LP1807458 Eg2 grid Edit option lint repairs

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP#1807461 FM-editor show danger toasts when create/update fails
Bill Erickson [Mon, 10 Dec 2018 20:06:23 +0000 (15:06 -0500)]
LP#1807461 FM-editor show danger toasts when create/update fails

Display a danger toast when update or create attempts fail in the
Angular fieldmapper editor dialog.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoLP#1807458 Angular admin grid Edit Selected option
Bill Erickson [Mon, 10 Dec 2018 18:09:36 +0000 (13:09 -0500)]
LP#1807458 Angular admin grid Edit Selected option

Adds a new "Edit Selected" action to the "Actions for Selected Items"
menu in the general purpose admin grid.  This only visibly affects the
ACQ admin grids at time of writing, but applies to all auto-generated
admin grids.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoDocs: more improvements to 3.3 release notes and related docs
Jane Sandberg [Fri, 22 Mar 2019 18:37:35 +0000 (11:37 -0700)]
Docs: more improvements to 3.3 release notes and related docs

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
4 months agoDocs: Revising 3.3 release notes and related docs
Jane Sandberg [Fri, 22 Mar 2019 15:49:31 +0000 (08:49 -0700)]
Docs: Revising 3.3 release notes and related docs

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
4 months agodocs: Statcat updates
abneiman [Tue, 19 Feb 2019 22:22:04 +0000 (17:22 -0500)]
docs: Statcat updates

Signed-off-by: abneiman <abneiman@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
4 months agoDocs: Add bugfix release notes for 3.2.5
Remington Steed [Wed, 20 Mar 2019 15:57:02 +0000 (11:57 -0400)]
Docs: Add bugfix release notes for 3.2.5

For the acknowledgements section, I opted to include anyone who had
signed off on a commit in 3.2.5. I'm not sure what the criteria were
for pervious point release notes.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
4 months agoDocs: Add bugfix release notes for 3.1.11
Remington Steed [Wed, 20 Mar 2019 16:16:54 +0000 (12:16 -0400)]
Docs: Add bugfix release notes for 3.1.11

For the acknowledgements section, I opted to include anyone who had
signed off on a commit in 3.1.11. Not sure if this is the same as past
point release notes.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
5 months agoLP1776736 Record merge marc edit repairs
Bill Erickson [Thu, 14 Mar 2019 16:03:58 +0000 (12:03 -0400)]
LP1776736 Record merge marc edit repairs

1. Fixes issues where edits to MARC records would fail to save during
   merge.

2. Provide options to select flat or non-flat text editor in edit mode
   for record merges.

3. Allow record editor action buttons/selectors to flow down
   horizontally when they don't fit in a narrow space.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 months agoLP#1780639: fix error made when stamping DB update
Galen Charlton [Wed, 20 Mar 2019 15:08:23 +0000 (11:08 -0400)]
LP#1780639: fix error made when stamping DB update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 months agoLP#1709698: fix error made when stamping DB update
Galen Charlton [Wed, 20 Mar 2019 15:07:18 +0000 (11:07 -0400)]
LP#1709698: fix error made when stamping DB update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 months agoLP1749502 - Holds Pull List Print Order
Josh Stompro [Tue, 26 Feb 2019 20:21:06 +0000 (14:21 -0600)]
LP1749502 - Holds Pull List Print Order

- Expose call number affix sortkey data.
- Use sortkey data to sort default pull list template.
- Combine all call number info into one field in default pull list template.
- Sorty by shelf location position if it exists, then by shelf location name if it doesn't
- Only grab copy info if copy is assigned, to not break patron holds grid.
- Remove some web console logging only needed for testing.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
5 months agoLP 1749502: Add Call Number Prefix & Suffix to pull list print template.
Jason Stephenson [Wed, 12 Sep 2018 19:34:56 +0000 (15:34 -0400)]
LP 1749502: Add Call Number Prefix & Suffix to pull list print template.

We add the call number prefix and suffix as separate columns to the
holds pull list print template.  We also add the suffix to the end of
the orderBy so that we also sort by the suffix.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
5 months agolp1749502 Prefix patch
Kyle Huckins [Tue, 29 May 2018 16:06:59 +0000 (16:06 +0000)]
lp1749502 Prefix patch

- Ensure prefix information is properly set

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/staff/share/print_templates/t_hold_pull_list.tt2
modified:   Open-ILS/web/js/ui/default/staff/circ/services/holds.js

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
5 months agolp1749502 Holds Pull List Print Order
Kyle Huckins [Thu, 17 May 2018 21:08:27 +0000 (21:08 +0000)]
lp1749502 Holds Pull List Print Order

- Ensure copy shelf location position is available for each hold on
holds shelf.
- Add _copy_location_position to hold_data while printing.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   Open-ILS/src/templates/staff/share/print_templates/t_hold_pull_list.tt2
modified:   Open-ILS/web/js/ui/default/staff/circ/services/holds.js

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
5 months agoLP1739293 Record merged edit-in-place avoid wrap
Bill Erickson [Tue, 5 Mar 2019 16:53:09 +0000 (11:53 -0500)]
LP1739293 Record merged edit-in-place avoid wrap

When using the inline editor, prevent text wrapping and instead allow
the text to overflow x and y and use scrolls to navigate.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Elaine Hardy <ehardy@georgialibraries.org>
5 months agoLP1739293 Record merge fits container
Bill Erickson [Tue, 5 Mar 2019 16:10:44 +0000 (11:10 -0500)]
LP1739293 Record merge fits container

Allow the text contents of each merged MARC record to wrap so the
records may fit horizontally on the screen.  A single vertical scroll
allows the user to scroll down to see any parts of the record that
require more vertical space.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Elaine Hardy <ehardy@georgialibraries.org>
5 months agoLP1739293 Record merge horizontal; optional holdings
Bill Erickson [Fri, 8 Feb 2019 16:25:10 +0000 (11:25 -0500)]
LP1739293 Record merge horizontal; optional holdings

* Tile bib records horizontally in record bucket => merge records
  interface.

* Add a "Toggle Holdings View" button for displaying holdings and leave
  holdings un-displayed by default.

* Duplicate the Merge and Cancel buttons along the top of the dialog.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Elaine Hardy <ehardy@georgialibraries.org>
5 months agoLP 1819796: Fix method call on undefined value in generate_fines
Jason Stephenson [Wed, 13 Mar 2019 16:37:23 +0000 (12:37 -0400)]
LP 1819796: Fix method call on undefined value in generate_fines

The below message repeats in the open-ils.storage_stderr.log:

Caught error from 'run' method: Can't call method "search_where" on an
undefined value at
/usr/local/share/perl/5.26.1/OpenILS/Application/Storage/Publisher/action.pm
line 1014.

This commit removes an errant ->search_where on a CStoreEditor call to
make that message go away.

Also, delete some lines of code that were commented out at the time the
code was converted to use CStoreEditor.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 months agoLP1793196 Fix console error when none selected
Remington Steed [Fri, 8 Mar 2019 20:27:45 +0000 (15:27 -0500)]
LP1793196 Fix console error when none selected

If you open the dropdown and close it without selecting anything, the
console shows an error complaining that $scope.selected is undefined.
This commit checks that it exists in that case before using it.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 months agoLP1793196 Volume batch editor offers MARC call numbers
Bill Erickson [Tue, 5 Feb 2019 17:28:15 +0000 (12:28 -0500)]
LP1793196 Volume batch editor offers MARC call numbers

Provide call numbers extracted from the MARC record as options in the
volume batch editor.  Call numbers to extract are based on the load-time
classification scheme, defaulting to Generic ('1') if no default scheme
is applied.

Patch includes additional sanity checks on volume editor utility
functions to avoid console errors referencing undefined values.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 months agoLP1665534: Make pickup library in bib record holds view sticky
Jane Sandberg [Sun, 2 Sep 2018 23:13:46 +0000 (16:13 -0700)]
LP1665534: Make pickup library in bib record holds view sticky

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 months agoLP1808006 - Sitemap generator fix to allow shortname parameter.
Steven Callender [Tue, 11 Dec 2018 18:18:27 +0000 (13:18 -0500)]
LP1808006 - Sitemap generator fix to allow shortname parameter.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Signed-off-by: Geoff Sams <gsams@roanoketexas.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLP1798628: Copy alert counts in Holdings
Jason Boyer [Thu, 17 Jan 2019 18:33:10 +0000 (13:33 -0500)]
LP1798628: Copy alert counts in Holdings

Currently the count of all copy alerts ever applied
to a copy is displayed in the Holdings view, which
can be quite confusing when clicking Manage and not
seeing the expected number of alerts. This branch
changes the display to only count the number of
events currently active since those are the only
ones available to manage.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLP#1780639 - stamping upgrade script
Chris Sharp [Fri, 8 Mar 2019 19:33:44 +0000 (14:33 -0500)]
LP#1780639 - stamping upgrade script

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLP#1780639 - add marc tag identifier field 758
Cesar Velez [Tue, 4 Dec 2018 23:30:56 +0000 (18:30 -0500)]
LP#1780639 - add marc tag identifier field 758

Add needed sql to seed data.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off by: Beth Willis <willis@noblenet.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLP#1778571 Fix logic error converting JS bool to DB bool
Remington Steed [Thu, 25 Oct 2018 12:53:32 +0000 (08:53 -0400)]
LP#1778571 Fix logic error converting JS bool to DB bool

Two minor bugs in the Copy Notes editor had the same cause in two
separate places. The cause was forgetting to convert the checkbox status
(a JavaScript bool) to the correct database format ('t' or 'f'). The
resulting symptoms were buggy behavior related to the state of the
"Public Note" checkbox. This commit addresses both cases mentioned in
the bug report and comments.

To test the buggy behavior:
1. Edit an item (e.g. click the "Edit" link from the client OPAC view).
2. Click the "Item Notes" button (near the bottom of the editor).
3. Add a new note and check the "Public Note" box.
4. Click "OK".
5. Click "Item Notes" again and notice that the "Public Note" box on your
   new note is no longer checked. (That's bug #1.)
6. Check "Public Note" again, click "OK", and click "Save & Exit".
7. Edit the same item again. Click "Item Notes".
8. Your note should correctly have the "Public Note" checkbox checked.
9. Uncheck the box and click "OK". Click "Save & Exit".
10. Edit the same item. Click "Item Notes".
11. Notice that your change didn't save. The "Public Note" checkbox is
    still checked. (That's bug #2.)

To test the fixes:
- Clear your browser cache.
- Repeat the steps above, noticing that:
  - At step 5, the new note correctly has the "Public Note" checkbox
    checked.
  - At step 11, the edited note correctly has the "Public Note" checkbox
    unchecked.

NOTE: Testing requires clearing the browser cache, since the
t_copy_notes.tt2 file is fetched asynchronously by AngularJS.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLP#1759238: stamping upgrade script
Chris Sharp [Fri, 8 Mar 2019 19:19:02 +0000 (14:19 -0500)]
LP#1759238: stamping upgrade script

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLP#1759238: Add upgrade script to fix typo for Physical Description in DB
Ben Shum [Tue, 1 May 2018 14:38:39 +0000 (10:38 -0400)]
LP#1759238: Add upgrade script to fix typo for Physical Description in DB

This upgrade script will check and update the typo if it is present in
an existing installation.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLP#1769238: fix typo in 950.data.seed-values.sql for Physical Description
Ben Shum [Tue, 1 May 2018 14:29:25 +0000 (10:29 -0400)]
LP#1769238: fix typo in 950.data.seed-values.sql for Physical Description

Instead of "Physical Description", "Physical Descrption" is used by mistake.
Fix the seed data and all related PO files for translation.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Conflicts:
build/i18n/po/db.seed/cs-CZ.po

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLp 712490: Stamping UPgrade Script
Jason Stephenson [Fri, 8 Mar 2019 18:54:35 +0000 (13:54 -0500)]
Lp 712490: Stamping UPgrade Script

Signed-off-by: Jason Stephenson <jason@sigio.com>
5 months agoLP#712490 Vandelay replace/merge PGTAP tests
Bill Erickson [Thu, 19 Oct 2017 15:42:43 +0000 (11:42 -0400)]
LP#712490 Vandelay replace/merge PGTAP tests

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 months agoLP#712490 Vandelay merge-based field replacement
Bill Erickson [Wed, 18 Oct 2017 21:00:59 +0000 (17:00 -0400)]
LP#712490 Vandelay merge-based field replacement

Modify the vandelay field replacement logic to merge replacement data
into existing field data where possible, instead of simply deleting then
re-adding the data.  The key benefit is that subfields retain their order
in affected MARC fields.  As a result, for example, propagating
authority field changes to bib records will no longer result in the $0
field being pushed to the front of the field when it was previously that
last subfield.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 months agoLP#1709698 - stamping upgrade script
Chris Sharp [Fri, 8 Mar 2019 18:34:53 +0000 (13:34 -0500)]
LP#1709698 - stamping upgrade script

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLP#1709698: no longer require descriptions in report templates
Rogan Hamby [Fri, 30 Nov 2018 19:34:04 +0000 (14:34 -0500)]
LP#1709698: no longer require descriptions in report templates

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Jessica Woolford <jwoolford@biblio.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLP1794588 Web client edit single call number changes all when multiple items attached
Jason Etheridge [Wed, 16 Jan 2019 13:57:26 +0000 (08:57 -0500)]
LP1794588 Web client edit single call number changes all when multiple items attached

This patch tweaks the behavior Cat.pm's fleshed_volume_update, aka
open-ils.cat.asset.volume.fleshed.batch.update

Previously, if a volume label was edited, all items attached to that
volume would be essentially affected.  Now, if only a sub-set of items
for the original volume being edited are being edited along with the
volume, then a new volume is potentially created instead, leaving the
original volume (and its unedited copies) untouched.  If no copies are
being edited along with a volume, then the volume itself is edited.

Auto-merging of volumes may still happen in all of these scenarios.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Janet Schrader <jschrader@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 months agolp1802662 - Splash Page Icon Links
Sam Link [Thu, 13 Dec 2018 16:06:55 +0000 (11:06 -0500)]
lp1802662 - Splash Page Icon Links

Moved the image icons on splash.component.html and t_splash.tt2 inside
the anchor links to the associated pages.

Signed-off-by: Sam Link <slink@LIBPC002>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 months agoLP#1818576 Offline Noncataloged Checkout Preview
Terran McCanna [Tue, 5 Mar 2019 17:34:49 +0000 (12:34 -0500)]
LP#1818576 Offline Noncataloged Checkout Preview

This adds the noncataloged type and number to the right-hand
preview when doing an offline checkout. (Prior to this, the
display was blank if there was no barcode.)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 months agoLP1716473 A few tweaks to correct field labels
Michele Morgan [Fri, 8 Mar 2019 14:49:42 +0000 (09:49 -0500)]
LP1716473 A few tweaks to correct field labels

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 months agoLP1716473 Release Notes: copy edit hide disabled
Bill Erickson [Mon, 4 Mar 2019 21:41:01 +0000 (16:41 -0500)]
LP1716473 Release Notes: copy edit hide disabled

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Geoff Sams <gsams@roanoketexas.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
5 months agoLP1716473 Copy editor hide disabled defaults
Bill Erickson [Mon, 4 Mar 2019 19:06:59 +0000 (14:06 -0500)]
LP1716473 Copy editor hide disabled defaults

Disabling a field in the copy editor "Defaults" tab now hides the field
instead of simply disabling it.  Once a field is hidden, subsequent
field shift left to fill the space.

The "Working Items" grid is shifted to the bottom of the page, below the
attributes editor.  This allows the attributes to fill the horizontal
space and puts the working items and save operations visually at the end
of the page, i.e. at end of the work flow.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Geoff Sams <gsams@roanoketexas.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
5 months agoLP#1812389: make Group Penalty Threshold admin page accessible again
Galen Charlton [Wed, 23 Jan 2019 15:52:24 +0000 (10:52 -0500)]
LP#1812389: make Group Penalty Threshold admin page accessible again

As a consequence of the patch for bug 1744756 adding a new
admin/local/permission AngularJS app, the routing for
admin/local/permission/grp_penalty_threshold got broken, making the
embdeded Conify interface for group penalty thresholds inaccessible
from the web staff client. This patch fixes that.

To test
-------
[1] From Administration | Local Administration, go to Group Penalty
    Thresholds. Note that the embedded Conify admin interface
    is not displayed and the URL changes to .../permission/grp_tree.
[2] Apply the patch and repeat step 1. This time, the admin interface
    should appear.
[3] Verify that the Permission Group Tree Entries interface remains
    accessible from Local Administration.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 months agoLP1811689 Stamping upgrade - truncate simple rec
Bill Erickson [Fri, 8 Mar 2019 14:58:54 +0000 (09:58 -0500)]
LP1811689 Stamping upgrade - truncate simple rec

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 months agoLP1811689 TRUNCATE when rebuilding simple record
Bill Erickson [Fri, 1 Feb 2019 17:28:58 +0000 (12:28 -0500)]
LP1811689 TRUNCATE when rebuilding simple record

TRUNCATE reporter.materialized_simple_record for more efficient
rebuilding of the table.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
5 months agoLP1734775: Show multiple items in Item Status
Jason Boyer [Thu, 17 Jan 2019 14:58:08 +0000 (09:58 -0500)]
LP1734775: Show multiple items in Item Status

The ListCtrl controller was only displaying a single
copy when an id list was passed to Item Status in the
URL. This branch separates each id into a separate
fetch call and when all have been resolved it
refreshes the grid, which now has all of the items.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 months agoLP1721109: Update item status when holdings are edited
Jane Sandberg [Sat, 2 Mar 2019 01:03:31 +0000 (17:03 -0800)]
LP1721109: Update item status when holdings are edited

To test:
1) Go to Item Status List View, select an item, and go to Actions >
Edit > Items (or Call Numbers, or both).
2) Make a change to one of the columns you have active in
the Item Status list view. Click Save and Exit.
3) Note that the list view of Item Status has not updated.
4) Load this commit.
5) Repeat steps 1-2.
6) Note that the columns are updated this time.  Note that
there is a new status column, and that an icon appears for
all the rows that you have changed.  Also, note that there
is a toast message in the bottom right hand corner of the
screen confirming that you have successfully made your change.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoLP #1705497 Replaces functionality in web client from legacy
Adam Bowling [Thu, 7 Mar 2019 04:06:09 +0000 (23:06 -0500)]
LP #1705497 Replaces functionality in web client from legacy
XUL client by including a find function for originating
acquisition where it exists.

Signed-off-by: Adam Bowling <abowling@emeralddata.net>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
5 months agoDocs: Fixing broken link
Jane Sandberg [Thu, 7 Mar 2019 15:14:50 +0000 (07:14 -0800)]
Docs: Fixing broken link

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 months agoLP#1800178 Holdings View should also sort by part
Remington Steed [Fri, 26 Oct 2018 15:28:32 +0000 (11:28 -0400)]
LP#1800178 Holdings View should also sort by part

The Holdings View tab of the web client doesn't correctly sort by
monograph parts. The JS is already grabbing the part label for display,
so this commit moves that chunk before the sorting code, and also grabs
the sort key. Note that the part labels and sort keys are joined per
item, since the database supports multiple parts per item (though the UI
hasn't yet supported that). And we now join the label on comma-space,
instead of the default (just a comma).

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 months agoLP1818153 Stamping DB upgrade - WS user activity
Bill Erickson [Tue, 5 Mar 2019 17:21:00 +0000 (12:21 -0500)]
LP1818153 Stamping DB upgrade - WS user activity

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 months agoLP1818153 Log user activity for websocket login/verify
Bill Erickson [Thu, 28 Feb 2019 22:20:31 +0000 (17:20 -0500)]
LP1818153 Log user activity for websocket login/verify

Adds support for logging additional user activity types:

 * websocket v1 login (apache2-websockets)
 * websocket v2 login (websocketd)
 * websocket v1 verify
 * websocket v2 verify
 * generic login (any ingress)
 * generic verify (any ingress)

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>