Evergreen.git
5 years agoLP#1736967: (follow-up) add release notes entry
Galen Charlton [Wed, 29 May 2019 14:57:48 +0000 (10:57 -0400)]
LP#1736967: (follow-up) add release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1736967 Primary a CSS Styling Fix
Sam Link [Wed, 2 Jan 2019 19:04:00 +0000 (14:04 -0500)]
LP1736967 Primary a CSS Styling Fix

Added a "link" color to src\templates\opac\parts\css\colors.tt2 matched
to the default dark green of the css_colors.primary, and set
the anchor color in templates\opac\css\style.css.tt2 on line 37 to use
css_colors.link.

Signed-off-by: Sam Link <slink@LIBPC002>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1772206 Tooltips missing from Patron Summary
Garry Collum [Sat, 19 May 2018 21:00:40 +0000 (17:00 -0400)]
LP1772206 Tooltips missing from Patron Summary

Adds tooltips for home branch and Last Activity to emulate the XUL
 client.  The home branch tool tip displays the long OU name.  The
last activity tooltip displays the last type of activity.

To test:

Home branch
1. Perform a patron search.
2. Click on one of the patrons in the results.
3. Hover over the home branch location in the patron summary.

Last Activity
4. Log into the opac with a patron account to some patron activity.
5. Bring up the patron in the staff client.
6. Hover over the last activity date.

7. Apply the patch and repeat 1-3 and 5-6.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1760893 Add Holdings Part dropdown should list items in order
Dan Pearl [Tue, 10 Apr 2018 18:45:47 +0000 (14:45 -0400)]
LP1760893 Add Holdings Part dropdown should list items in order

Without a defined sort, the Part dropdown when editing a holding simply
displays in database order.  Let's be more deterministic about it.

In this case, while slightly surprising, consensus opinion was that
reverse order on label_sortkey provides the best overall usability.
This is obviously true on records with many parts, but can help in all
cases.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 years agoLP#1772028 Add some FK violation functions just in case they are missing
Bill Ott [Fri, 18 May 2018 13:52:46 +0000 (09:52 -0400)]
LP#1772028 Add some FK violation functions just in case they are missing

Depending on your data, upgrade 1063 may not have created the functions
being re-applied in this upgrade script.  Let's make sure they are
there.

Signed-off-by: Bill Ott <bott@grpl.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 years agoLP1817332 Stamping ugprade: timezone examples
Bill Erickson [Fri, 24 May 2019 19:06:24 +0000 (15:06 -0400)]
LP1817332 Stamping ugprade: timezone examples

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP#1817332: (follow-up) tweak description
Galen Charlton [Thu, 23 May 2019 15:17:44 +0000 (11:17 -0400)]
LP#1817332: (follow-up) tweak description

Per a suggestion from Jane Sandberg, the description now includes
an example of a time zone name with an underscore. Also, the database
update will no longer overwrite any custom description that the
Evergreen admin may have put in.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP#1817332 Add example to lib.timezone setting description
Remington Steed [Thu, 21 Feb 2019 19:54:19 +0000 (14:54 -0500)]
LP#1817332 Add example to lib.timezone setting description

This commit adds a few examples of acceptable lib.timezone values to the
setting description, with the goal of using examples of existing
Evergreen installations. It also includes a clickable link to the
extensive list on Wikipedia. Since the settings editor is displayed
within an iframe, the link needs a "target" to successfully trigger.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1819181 Stamping upgrade: DoB example setting
Bill Erickson [Fri, 24 May 2019 18:52:58 +0000 (14:52 -0400)]
LP1819181 Stamping upgrade: DoB example setting

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1819181: Example DOB for Patron Reg/Edit
Jason Boyer [Fri, 8 Mar 2019 16:03:38 +0000 (11:03 -0500)]
LP1819181: Example DOB for Patron Reg/Edit

Add the necessary coust entry for a patron dob example
and teach the registration controller to use it.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP#1642337: more tweaks to the patch series
Galen Charlton [Thu, 23 May 2019 14:32:44 +0000 (10:32 -0400)]
LP#1642337: more tweaks to the patch series

This patch makes the following changes:

- ensures that the Boolean values get saved as 't' or 'f', as
  the reporter builder doesn't recognize JSON true or false in
  this context.
- pretty-prints the current filter value in the dialog
- removes a logging line

To test
-------
[1] Apply the patch.
[2] Create or clone one or more report templates and add Boolean
    column filters. Change the filter value and verify that
    it displays the current value and lets you change it.
[3] Run reports from the template(s) created in step 2 and
    verify that the reports produce the expected results.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
5 years agoLP1642337: Reporter Boolean Filters
Jason Boyer [Tue, 29 Jan 2019 17:15:25 +0000 (12:15 -0500)]
LP1642337: Reporter Boolean Filters

The dialog controller doesn't appreciate getting
a bare boolean as a message, so if the current item
is a boolean call toString() on it before calling
the egConfirmDialog.

An <Unset> string is also added to the reporter
strings for further use, but if there are no
strong feelings re: using it, it can be dumped and
a '' used in its place.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
5 years agolp1642337 Boolean Filters in Reporter
Kyle Huckins [Thu, 16 Nov 2017 20:56:51 +0000 (20:56 +0000)]
lp1642337 Boolean Filters in Reporter

- Add condition check to see if filter is boolean, and if so,
substitute a confirm dialog for the default prompt, repalcing
the text input with buttons for True/False values.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Dawn Dale <ddale@georgialibraries.org>
5 years agoForward-port 3.3.1 upgrade script
Dan Wells [Fri, 24 May 2019 18:28:21 +0000 (14:28 -0400)]
Forward-port 3.3.1 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 years agoForward-port 3.2.6 upgrade script
Dan Wells [Fri, 24 May 2019 18:27:23 +0000 (14:27 -0400)]
Forward-port 3.2.6 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 years agoForward-port 3.1.12 upgrade script
Dan Wells [Fri, 24 May 2019 18:26:44 +0000 (14:26 -0400)]
Forward-port 3.1.12 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 years agoLP1816480 Angular grid ARIA improvements
Bill Erickson [Tue, 5 Mar 2019 22:07:21 +0000 (17:07 -0500)]
LP1816480 Angular grid ARIA improvements

Various navigation and "role" improvements to the Angular grid:

* Apply "grid", "row", "columnheader", and "gridcell" role attributes.
* Page-Down goes to next page
* Page-Up goes to previous page
* Shift-UpArrow extends selection one row up (spanning pages).
* Shift-DownArrow extends selection one row down (spanning pages).
* Shift-Arrow controls support reverse navigation for back-tracking to
  de-select certain rows.
** E.g. shift-up 3 rows then shift-down 1 will leave 2 rows selected.
* Control-A now selects all rows in the page.
** For consistency with the select-all checkbox, only rows in the
   current page are selected.
** Note we could add an option to extend the selection to all rows,
   but it would require pre-fetching all of the data, simimar to
   how grid printing pre-fetches.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP#1823393: add release notes
Galen Charlton [Thu, 23 May 2019 16:51:21 +0000 (12:51 -0400)]
LP#1823393: add release notes

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP#1823393: various usability improvements
Galen Charlton [Thu, 23 May 2019 16:47:56 +0000 (12:47 -0400)]
LP#1823393: various usability improvements

- display the number of org units associated with the selected type
- disable the Delete button if a type either has children types
  or org units linked to it
- ensure that the type name and label fields are required
- ensure that the tree is fully refreshed after an update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1823393 FMEditor component i18n translate buttons
Bill Erickson [Fri, 5 Apr 2019 18:59:43 +0000 (14:59 -0400)]
LP1823393 FMEditor component i18n translate buttons

When editing a record in the fieldmapper editor component, offer a
translate option for each i18n field on the object, in the form of a
button next to the field.  Once clicked, the translate component dialog
appears and allows the user to add/modify translations on the selected
field.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1823393 Org unit type Angular admin UI
Bill Erickson [Thu, 24 Jan 2019 17:22:42 +0000 (12:22 -0500)]
LP1823393 Org unit type Angular admin UI

Ports the "Organization Types" admin UI from Dojo to Angular.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1823393 Tree component collapsed node display fix
Bill Erickson [Thu, 24 Jan 2019 22:43:33 +0000 (17:43 -0500)]
LP1823393 Tree component collapsed node display fix

Avoid added child tree nodes when parent nodes are hidden.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1823393 Pcrud bubbles up transaction close errors
Bill Erickson [Thu, 24 Jan 2019 22:43:06 +0000 (17:43 -0500)]
LP1823393 Pcrud bubbles up transaction close errors

Ensure these errors make their way out to the caller instead of only
logging an error.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1775639: Refresh required to see Patron Credit
a. bellenir [Mon, 11 Mar 2019 17:39:00 +0000 (13:39 -0400)]
LP1775639: Refresh required to see Patron Credit

reload patron data when applying a payment
if the payment will change the patron's credit forward balance.

To test
-------
[1] Bill a patron, then make sure that the "Convert Change to Patron
    Credit" checkbox is checked. Pay bill with more than the total
    balance. Note that the Credit Available amount in the billing
    summary does not change. Refresh the page.
[2] Bill a patron, then use the patron credit added in step 1 to
    pay off the bill. Note that again, the Credit Available amount
    does not change.
[3] Apply the patch and repeats steps 1 and 2. This time, the Credit
    Available field should get updated.

Signed-off-by: a. bellenir <abelleni@grpl.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP 1744386 & LP 1777184 - stat cats & stat cat entries not alphabetical
Suzanne Paterno [Tue, 9 Apr 2019 14:42:15 +0000 (10:42 -0400)]
LP 1744386 & LP 1777184 - stat cats & stat cat entries not alphabetical

Statistical categories will be alphabetized first by library and then by category.

The entires within each category will also be alphabetized.

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Cesar Velez <cesar.velez@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP#1440890: add vandelay_queue to the types of containers retrieved by batch edit
Rogan Hamby [Fri, 19 Apr 2019 15:25:19 +0000 (11:25 -0400)]
LP#1440890: add vandelay_queue to the types of containers retrieved by batch edit

To test
-------
[1] Perform a batch bibliographic record import, then add the import
    queue to a new bucket.
[2] In the web staff client, go to Cataloging | Batch Edit.
[3] Note that the bucket created in step 1 does _not_ appear in the
    bucket selector on the batch edit page.
[4] In the web staff client, go to the record bucket and hit the
    Batch edit button.
[5] Note that the bucket created in step 1 does _not_ appear in the
    bucket selector on the batch edit page.
[6] Apply the patch and repeat steps 2-3. This time, the bucket
    should appear in the selector.
[7] Repeat steps 4-5. This time, the bucket should appear in the selector
    (and be the active choice).

Signed-off-by: Rogan Hamby <rhamby@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1760599: Only show merge records action when multiple bucket records selected
Jane Sandberg [Thu, 6 Dec 2018 23:49:40 +0000 (15:49 -0800)]
LP1760599: Only show merge records action when multiple bucket records selected

To test:
1) Create a bucket.
2) Select one record from your bucket. Right-click on your record or click on the Actions drop-down.
3) Note that "Merge Selected Records" is clickable.
4) Apply this commit.
5) Repeat steps 2-3.  Note that "Merge Selected Records" is no longer
clickable, unless you select two or more records.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1790896: Receipt Errors with invalid emails
Jason Boyer [Thu, 7 Feb 2019 18:48:13 +0000 (13:48 -0500)]
LP1790896: Receipt Errors with invalid emails

The attempt at belt-and-suspenders checking for a valid
email for use in the has_email template field sadly
causes the JS to trip over said suspenders if there is
a value in the field but it doesn't contain a '@'.

The raw return from "".match() (either an array or null)
is enough to do the right thing when converted into a
Boolean and doesn't cause the same problems.

To test
-------
[1] Set up a patron record with an invalid email address,
    e.g., one that lacks the '@' character.
[2] Check out an item the patron, then from the Items Out
    tab, print an item receipt.
[3] Note that nothing happens and an error is logged in the
    browser console.
[4] Apply the patch and repeat step 2. This time, a receipt
    should be generated.

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>
5 years agoLp 1768987: Use FindBin in 24-sql-gettext-unique.t.
Jason Stephenson [Thu, 3 May 2018 21:31:07 +0000 (17:31 -0400)]
Lp 1768987: Use FindBin in 24-sql-gettext-unique.t.

Use FindBin in the 24-sql-gettext-unique.t test file so that it can be
run from directories other than Open-ILS/src/perlmods.

To test
-------
[1] Apply the patch.
[2] From the root of the Evergreen checkout, run
    prove Open-ILS/src/perlmods/t/24-sql-gettext-unique.t
[3] Verify that the tests pass.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoDocs: Fix list formatting in recent release notes
Remington Steed [Thu, 23 May 2019 17:33:49 +0000 (13:33 -0400)]
Docs: Fix list formatting in recent release notes

Single list items that wrap across multiple lines accidentally start
each line with a bullet. This commit removes the extra bullets.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
5 years agoLP#1796942 Treat VISA SIP payments as credit card
Jeff Godin [Tue, 2 Oct 2018 12:32:54 +0000 (08:32 -0400)]
LP#1796942 Treat VISA SIP payments as credit card

Treat sip_payment_type 01 (VISA) as a credit_card_payment.

Previously, we only handled payment type 02 (credit card) and 01
fell through to be treated as a cash_payment.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP#1704819 Fine generator avoids int() rounding
Bill Erickson [Thu, 3 Aug 2017 19:01:34 +0000 (15:01 -0400)]
LP#1704819 Fine generator avoids int() rounding

Avoid using the Perl int() function for rounding in the fine generator,
since it can have unexpected outcomes.

For example:

$ perl -e 'print "230 = " . int(100 * 2.30) . "\n"'
230 = 229

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1816679 Match Set Type selector options
Bill Erickson [Tue, 9 Apr 2019 15:51:28 +0000 (11:51 -0400)]
LP1816679 Match Set Type selector options

Provide a canned set of options for Vandelay => Create/Modify Match
Set => Match Set Type of 'biblio', 'autority', and 'serial'.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLP1693580 Authority create/update API repairs
Bill Erickson [Fri, 15 Mar 2019 15:29:07 +0000 (11:29 -0400)]
LP1693580 Authority create/update API repairs

Fixes issues with the authority record create and update open-ils.cat
API calls, where internal function calls were not passed the correct
values.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Pearl <dpearl@cwmars.org>
5 years agoLP1693580 Marc editor notify and API changes
Bill Erickson [Fri, 15 Mar 2019 15:29:59 +0000 (11:29 -0400)]
LP1693580 Marc editor notify and API changes

1. Indicate in the interface when a bib/auth MARC record edit failed or
succeeded.

2. Handle permission failures on MARC edit by displaying the permission
override dialog.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Pearl <dpearl@cwmars.org>
5 years agoLP1735754 - WGAC Compliance for Advanced Search
Sam Link [Tue, 13 Nov 2018 15:54:10 +0000 (10:54 -0500)]
LP1735754 - WGAC Compliance for Advanced Search

In compliance with WGAC standards, the html valign attributes have been
removed from Open-ILS/src/templates/opac/parts/advanced/search.tt2

Signed-off-by: Sam Link <slink@LIBPC002>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoDocs: fix uneven lengths of code delimiter blocks
Remington Steed [Mon, 20 May 2019 21:20:08 +0000 (17:20 -0400)]
Docs: fix uneven lengths of code delimiter blocks

This continues the work that Dan Scott started, fixing more unmatching
start/end lines around code blocks, as revealed by the sad-looking HTML
output of asciidoctor.

This commit also fixes a few heading underlines of the wrong length.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
5 years agoLP#1029601: Prevent duplicate holds from double clicks
Daniel Pearl [Wed, 12 Dec 2018 17:51:07 +0000 (12:51 -0500)]
LP#1029601: Prevent duplicate holds from double clicks

Double clicking on hold submit buttons causes multiple holds to be
generated.  This commits adds code to disable the Submit button(s)
after the first click, so subsequent clicks don't "work" in unintended
ways.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 years agoLP#1774707 Quick fix-up: add missing comma
Dan Wells [Mon, 20 May 2019 21:15:09 +0000 (17:15 -0400)]
LP#1774707 Quick fix-up: add missing comma

We probably should move this on up with the others, but as a quick
fix...

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 years agolp1538678 MARC edit warning prompt translateable strings
Kyle Huckins [Mon, 20 May 2019 18:07:07 +0000 (18:07 +0000)]
lp1538678 MARC edit warning prompt translateable strings

- Define "There is unsaved data in this record." as a translateable string.

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

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agolp1538678 Apply Warning Prompt when leaving dirty MARC editor
Kyle Huckins [Wed, 17 Apr 2019 22:55:49 +0000 (22:55 +0000)]
lp1538678 Apply Warning Prompt when leaving dirty MARC editor

- Check for unsaved user input when leaving the Create New
MARC Record UI, and warn if it exists.

Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
 Changes to be committed:
modified:   services/marcedit.js

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP1817601 MARC Flat Text Editor Monospace Font
Bill Erickson [Thu, 14 Mar 2019 21:02:31 +0000 (17:02 -0400)]
LP1817601 MARC Flat Text Editor Monospace Font

Use a fixed width font in the MARC flat text editor, consistent with the
fonts used for the non-flat-text editor.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
5 years agoLP1774707 Stamping DB update: group members grid
Bill Erickson [Mon, 20 May 2019 18:53:07 +0000 (14:53 -0400)]
LP1774707 Stamping DB update: group members grid

Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP#1774707: Add Seed Data for worstation setting for group member details
Michele Morgan [Fri, 12 Apr 2019 20:10:00 +0000 (16:10 -0400)]
LP#1774707: Add Seed Data for worstation setting for group member details

Adds the config.workstation_setting_type for patron group member details
to seed data and includes an upgrade script.

Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP#1774707: Allow saving Group Member Details grid settings
Remington Steed [Mon, 5 Nov 2018 18:55:25 +0000 (13:55 -0500)]
LP#1774707: Allow saving Group Member Details grid settings

For a web staff eg-grid to save and retrieve its settings, it needs a unique
persist-key. This commit adds one for the Group Member Details grid (which is
within the patron record view).

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoLP#1669120: Make scrollable dropdown height match column picker
Remington Steed [Fri, 12 Apr 2019 13:18:35 +0000 (09:18 -0400)]
LP#1669120: Make scrollable dropdown height match column picker

To make scrollable dropdowns more usable, let's make them the same
height as the grid column picker dropdown. This is a quick, simple
improvement, and it follows precident with a frequently used feature
(column picker, which has no known complaints).

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 years agoDocs: Add bugfix release notes for 3.3.1
Remington Steed [Fri, 17 May 2019 20:39:34 +0000 (16:39 -0400)]
Docs: Add bugfix release notes for 3.3.1

This commit also relabels the original (now redundant) headings.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
5 years agoDocs: Add bugfix release notes for 3.2.6
Remington Steed [Fri, 17 May 2019 19:41:52 +0000 (15:41 -0400)]
Docs: Add bugfix release notes for 3.2.6

Signed-off-by: Remington Steed <rjs7@calvin.edu>
5 years agoDocs: Add bugfix release notes for 3.1.12
Remington Steed [Fri, 17 May 2019 19:38:44 +0000 (15:38 -0400)]
Docs: Add bugfix release notes for 3.1.12

Signed-off-by: Remington Steed <rjs7@calvin.edu>
5 years agoLP1813633 TCN search can find deleted records
Bill Erickson [Tue, 14 May 2019 17:03:35 +0000 (13:03 -0400)]
LP1813633 TCN search can find deleted records

As with the XUL client, when performing a bib record TCN search
(Cataloging -> Retrieve Record By TCN), first look for non-deleted
records with the requested TCN.  When none are found, perform a
secondary search for deleted records with the requested TCN.

To test in concerto:

[1] Navigate to Cataloging -> Retrieve Record By TCN
[2] Search for TCN value "10", which is deleted by default in Concerto.
[3] Confirm the deleted record is loaded.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Garry Collum <gcollum@gmail.com>
5 years agoLP#1788680 prevent copy template apply failure on null stat cats
Jeff Davis [Fri, 8 Jun 2018 19:09:54 +0000 (12:09 -0700)]
LP#1788680 prevent copy template apply failure on null stat cats

Under some circumstances, the current code can result in a JS failure:

Cannot read property 'filter' of undefined

When this happens, the copy template may apply partially or not at all.
This change simply makes sure cp.stat_cat_entries() exists before
attempting to filter it.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 years agoLP1823982 Vandelay Match Set new tree repair
Bill Erickson [Tue, 9 Apr 2019 15:43:10 +0000 (11:43 -0400)]
LP1823982 Vandelay Match Set new tree repair

When creating a new Match Set expression, provide a default root
'AND' node upon which new nodes may be added.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoStamping upgrade script for Vandelay on PG10
Jason Boyer [Wed, 8 May 2019 14:43:02 +0000 (10:43 -0400)]
Stamping upgrade script for Vandelay on PG10

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
5 years agoLP1820339: Vandelay Imports on Pg 10
Jason Stephenson [Thu, 25 Apr 2019 22:11:59 +0000 (18:11 -0400)]
LP1820339: Vandelay Imports on Pg 10

The previous commit used a function that only exists in Pg 10, so it
would require everyone to upgrade PostgreSQL.

After some investigation, Ben Shum and I found a method that works on
Pg 9.4 through Pg 10 by putting the existing function into a
subselect as suggested by PostgreSQL documentation.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
5 years agoLP1820339: Vandelay Imports on Pg 10
Jason Boyer [Fri, 15 Mar 2019 19:35:26 +0000 (15:35 -0400)]
LP1820339: Vandelay Imports on Pg 10

In vandelay.flatten_marc_hstore there are a couple
instances of set-returning functions used inside a
CASE statement, which Pg10 is unhappy about. This
branch changes these regexp_matches calls to use
regexp_match instead which avoids this error.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
5 years agoLP1806394: Placing Holds in Item Buckets
Jason Boyer [Mon, 3 Dec 2018 13:11:29 +0000 (08:11 -0500)]
LP1806394: Placing Holds in Item Buckets

A missing return prevents a list of item ids from
being built so no holds can be placed from item
buckets. This branch returns the return to its
proper place.

To test
-------
[1] Add some items to an item bucket, ensuring that they are
    all holdable.
[2] From the item bucket interface, select the items and choose
    the Request Selected Items action.
[3] Confirm placing the requests.
[4] Note that the requests are not actually created.
[5] Apply the patch and repeat steps #1-#4. This time, the requests
    should be placed.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Millissa Macomber <millissam@burlingtonwa.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP#1826890: set page title for Statistical Popularity Badges admin page
Galen Charlton [Mon, 29 Apr 2019 14:56:14 +0000 (10:56 -0400)]
LP#1826890: set page title for Statistical Popularity Badges admin page

To test
-------
[1] In the browser client, navigate to Local Administration -> Statistical
    Popularity Badges
[2] Note that the web browser's tab header doesn't display a title for the
    page, just the URL.
[3] Apply the patch and reload the page. This time, a page title should
    be dispayed in the browser's tab header.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP#1792188: Record -> View Holds fails to refresh on Next/Prev record
Mike Rylander [Fri, 14 Sep 2018 13:52:03 +0000 (09:52 -0400)]
LP#1792188: Record -> View Holds fails to refresh on Next/Prev record

Here we clean up and add back a call to refresh the holds list when navigating
between records in a result set.

To test
-------
[1] In the web staff client, perform a catalog search, bring up a record,
    and change to the View Holds tab.
[2] Click the "Next" button to navigate to the next hold. Note that
    the list of holds doesn't change.
[3] Apply the patch, refresh, and repeat steps #1 and #2. This time,
    the list of holds should get updated as you navigate between
    records in the results list.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: John Yorio <jyorio@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP1803729 action_trigger_aggregator.pl help indicates the wrong bash argument for...
blake [Fri, 16 Nov 2018 15:37:31 +0000 (09:37 -0600)]
LP1803729 action_trigger_aggregator.pl help indicates the wrong bash argument for remote-acct

Fixed the help message action_trigger_aggregator.pl to agree with the code

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
5 years agoLP#1782014 Fix grid path for Title in patron items out
Remington Steed [Wed, 10 Apr 2019 20:32:13 +0000 (16:32 -0400)]
LP#1782014 Fix grid path for Title in patron items out

When the Items Out grid was updated to use display fields, the
displayed title was updated (along with the fleshed data in the
javascript) but the grid "path" was not. This commit fixes the path,
which fixes title sorting. (Title sorting broke because the
simple_record.title was no longer being fleshed in via the JS code, so
the grid was attempting to sort on an empty value.)

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 years agoLp 1752968: Select content when focusing on the barcode field.
Jason Stephenson [Tue, 18 Dec 2018 14:26:11 +0000 (09:26 -0500)]
Lp 1752968: Select content when focusing on the barcode field.

To reproduce the reported behavior:

 1. Find a title in the staff client catalog.
 2. Click on Add Holdings.
 3. See that the Barcode field does not have cursor focus.
 4. Repeat step 1.
 5. Click on edit next to one of the barcoded items in the list of
    holdings.
 6. Click Show Holdings Details and see that the Barcode field does
     not have focus and the content is not selected.

To test this branch:

 1. Find a title in the staff client catalog.
 2. Click on Add Holdings.
 3. See that the Barcode field has cursor focus, i.e. the cursor is in
    the field and blinking.
 4. Repeat step 1.
 5. Click on edit next to one of the barcoded items in the list of
    holdings.
 6. Click Show Holdings Details and see that the Barcode field has
     cursor focus and the content is selected/highlighted.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Janet Schrader <jschrader@cwmars.org>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>
5 years 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>