working/Evergreen.git
2 years agoDocs: Adding more acknowledgements for web client contributions
Kathy Lussier [Wed, 27 Sep 2017 15:18:11 +0000 (11:18 -0400)]
Docs: Adding more acknowledgements for web client contributions
Adding contributors who participated through LP and by doing early testing
for Equinox.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoDocs: Web client release notes and acknowledgements
Kathy Lussier [Tue, 26 Sep 2017 21:38:23 +0000 (17:38 -0400)]
Docs: Web client release notes and acknowledgements

Adding a special section on the web client to the release notes, as well as
acknnowledgements for everyone who has contributed to the project.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1714026: stamp schema update
Galen Charlton [Tue, 26 Sep 2017 20:06:26 +0000 (16:06 -0400)]
LP#1714026: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1714026 - Schema-qualify maintain_control_numbers function.
Chris Sharp [Wed, 30 Aug 2017 15:08:15 +0000 (11:08 -0400)]
LP#1714026 - Schema-qualify maintain_control_numbers function.

On older Evergreen installs, it's possible to have both an
evergreen.maintain_control_numbers function and a
public.maintain_control_numbers function.  Let's remove the
duplicate one and go ahead and assign it a schema to live in,
shall we?

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1622696: don't ask to credit card type
Galen Charlton [Mon, 25 Sep 2017 22:23:24 +0000 (18:23 -0400)]
LP#1622696: don't ask to credit card type

Due to bug 1474051, we're not storing it, so don't request it.

It should be noted that this patch series does /not/ add support
for using Stripe as a payment processor for staff-mediated payments,
but the web staff client opens the door to adding it later.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
2 years agoLP#1622696 Webstaff credit card payment support
Bill Erickson [Wed, 20 Sep 2017 22:16:57 +0000 (18:16 -0400)]
LP#1622696 Webstaff credit card payment support

Support collecting credit card info for both EG-processed and
externally-processed credit card payments, consistent with the XUL
client.

Refactor the chain of events leading up to payment submission,
including verifying warning-level payment amounts, annotating payments,
and collecting credit card data so the user is able to perform any or
all of these steps and cleanly cancel at any point along the way.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
2 years agoLP#1719694: Add missing column in baseline schema for batch patron edit
Mike Rylander [Tue, 26 Sep 2017 15:51:41 +0000 (11:51 -0400)]
LP#1719694: Add missing column in baseline schema for batch patron edit

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
2 years agoLP#1713764: fix 'Retrieve Patron' action from webstaff pull list
Galen Charlton [Mon, 25 Sep 2017 21:34:18 +0000 (17:34 -0400)]
LP#1713764: fix 'Retrieve Patron' action from webstaff pull list

This patch fixes a regression wherein the Retrieve Patron action
didn't work on the pull list grid by ensuring that the user value
would get fleshed.

To test
-------
[1] Go to the pull list in the web staff client and attempt the
    'Retrieve Patron' action. Note that nothing happens.
[2] Apply the patch and repeat step 1; this time, a new window
    should be opened with the patron record.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoLP#1643927 Copy note captures initials; shows date
Bill Erickson [Thu, 21 Sep 2017 20:04:03 +0000 (16:04 -0400)]
LP#1643927 Copy note captures initials; shows date

Fixes thinko in copy note staff initials tracking.  Offloads the
formatting of the copy note to egStrings.  Adds the workstation org unit
to the initials block a la the XUL client.

This does not add the create date to the initials block as with the XUL
client, because the create date is part of the note.  Instead, we now
display the note create date in the copy note display form.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1622364 Avoid precat dialog submit on ISBN enter
Bill Erickson [Thu, 21 Sep 2017 19:23:55 +0000 (15:23 -0400)]
LP#1622364 Avoid precat dialog submit on ISBN enter

Avoid submitting the precat copy checkout entry form when the Enter key
is pressed on the ISBN field.  Do this to allow scanners to enter ISBN
data without automatically submitting the form.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1717777: Ensure the en-US is always represented in the dropdown
Mike Rylander [Thu, 21 Sep 2017 17:51:41 +0000 (13:51 -0400)]
LP#1717777: Ensure the en-US is always represented in the dropdown

The assumption of an array in the eval'd code was causing the forced
en_us tag to fail.  Here we push the default en_us into the list of
locales in a more structured way to ensure that failure doesn't happen.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoDocs: Add an entry for web staff client offline circ
Kathy Lussier [Thu, 21 Sep 2017 16:36:02 +0000 (12:36 -0400)]
Docs: Add an entry for web staff client offline circ

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoMore release note edits for 3.0
Kathy Lussier [Thu, 21 Sep 2017 15:45:25 +0000 (11:45 -0400)]
More release note edits for 3.0

Minor copy editing for 3.0 release note.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoforward-port 2.12.5-2.12.6 schema update
Galen Charlton [Thu, 21 Sep 2017 02:27:22 +0000 (22:27 -0400)]
forward-port 2.12.5-2.12.6 schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoForward-port 2.11.9 upgrade script
Dan Wells [Thu, 21 Sep 2017 02:15:13 +0000 (22:15 -0400)]
Forward-port 2.11.9 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 years agoTranslation updates - po files
Ben Shum [Thu, 21 Sep 2017 01:43:02 +0000 (21:43 -0400)]
Translation updates - po files

Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoTranslation updates - newpot
Ben Shum [Thu, 21 Sep 2017 01:39:46 +0000 (21:39 -0400)]
Translation updates - newpot

Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoLP#1718549: Bump NodeJS version to v6.11.3
Ben Shum [Wed, 20 Sep 2017 19:50:44 +0000 (15:50 -0400)]
LP#1718549: Bump NodeJS version to v6.11.3

Latest LTS release for NodeJS is v6.11.3. Should update this periodically
depending on releases by that community.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1718549: Use Nodejs source install for all distributions
Ben Shum [Wed, 20 Sep 2017 19:49:37 +0000 (15:49 -0400)]
LP#1718549: Use Nodejs source install for all distributions

Due to dependency issues and the need for newer NodeJS version, install
from source for all distributions, not just the ones without pre-packaged
apt sources.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1718301: catch it when multiple connection attempts fail
Galen Charlton [Thu, 21 Sep 2017 01:07:37 +0000 (21:07 -0400)]
LP#1718301: catch it when multiple connection attempts fail

Lovefield only allows a single connection at a time, and throws
an exception if a second attempt is made.  In the context of a
page app, wrapping the connection attempt in a promise takes
care of it, but for the test suite, the egLoveField service
gets completely reinitialized... but Lovefield itself still
thinks it's in the middle of connecting.

This patch catches the exception and allows the test suite to
pass, without otherwise affecting use in a real browser.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoLP#1717777: absorb all PO files for a locale
Mike Rylander [Wed, 20 Sep 2017 14:47:01 +0000 (10:47 -0400)]
LP#1717777: absorb all PO files for a locale

We assumed only one file per locale, but apache <Location>s because are not
independent WRT locale helpers in mod_perl, we need to load all files from
all <Location> directives for a given locale.

NOTE: there is a risk of translation collision, where the same key string in
two PO files have different translations, but in our context that is almost
surely a mistake.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoLP#1700635: enable eg-marc-editor for queued records in MARC Batch Import/Export
Cesar Velez [Fri, 15 Sep 2017 21:02:31 +0000 (17:02 -0400)]
LP#1700635: enable eg-marc-editor for queued records in MARC Batch Import/Export

This enables the angular modal marc-editor to be called from
the vandelay dojo UI in the iFrame.

To test:

[1] In the web staff client, go to MARC Batch Import/Export and load
    some records in a Vandelay queue.
[2] Inspect the queue and choose View MARC.
[3] Click the Edit button, and verify that it brings up the
    web staff MARC editor.
[4] Make a change, then click Modify, then click Use Edits.
[5] Verify that the MARC view reflects the updated record.
[6] Go back to the queue. If the bib was /not/ imported into
    Evergreen, the bib attributes may change.
[7] Verify that steps 1-6 in the XUL client work (and that the XUL
    MARC editor is displayed).

Note that this patch doesn't ensure that the modal can save the
record and be dismissed via just a single click of the Modify button;
an issue was discovered with that that could not be resolved in time
for beta2.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoMinor documentation adjustment for upgrade instructions
Mike Rylander [Wed, 20 Sep 2017 21:45:14 +0000 (17:45 -0400)]
Minor documentation adjustment for upgrade instructions

Signed-off-by: Mike Rylander <mrylander@gmail.com>
2 years agoLP#1715503: make eg_db_config refuse to create DB if min Pg version not met
Galen Charlton [Wed, 20 Sep 2017 15:48:39 +0000 (11:48 -0400)]
LP#1715503: make eg_db_config refuse to create DB if min Pg version not met

This patch ensures that eg_db_config --create-database will abort if
the Pg version is not at least 9.4. It also tweaks the version check
to (in principle) work for Pg 10.

This patch also removes some stuff related to support Pg versions
less than 9.4, most notably using contribs rather than extensions.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
2 years agoLP#1715503: make upgrade script abort if not running min support version
Galen Charlton [Wed, 20 Sep 2017 15:23:29 +0000 (11:23 -0400)]
LP#1715503: make upgrade script abort if not running min support version

This patch causes the monolithic upgrade script to fail if the
database its connecting to isn't running at least Pg 9.4.

To test
-------
[1] Verify that 2.12.5-3.0-beta1-upgrade-db.sql will abort
    if used in a Pg database < 9.4; verify that it will work
    if the Pg version is at least 9.4

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
2 years agoLP#1715503: update install & upgrade doc to require Pg 9.4
Galen Charlton [Wed, 20 Sep 2017 15:11:08 +0000 (11:11 -0400)]
LP#1715503: update install & upgrade doc to require Pg 9.4

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
2 years agoLP#1718300: fold update into 2.12.5-3.0-beta schema update
Galen Charlton [Wed, 20 Sep 2017 21:48:33 +0000 (17:48 -0400)]
LP#1718300: fold update into 2.12.5-3.0-beta schema update

This saves a step for building the beta2 release, as
2.12.5-3.0-beta1-upgrade-db.sql will be moved to
2.12.5-3.0-beta2-upgrade-db.sql.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1718300: stamp schema update
Galen Charlton [Wed, 20 Sep 2017 21:46:19 +0000 (17:46 -0400)]
LP#1718300: stamp schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1718300: Fix serial.unit visibility at creation time
Mike Rylander [Wed, 20 Sep 2017 18:42:01 +0000 (14:42 -0400)]
LP#1718300: Fix serial.unit visibility at creation time

The new copy visibility trigger was not taking into account a particular
dataflow that is common to the serial checkin process.  This branch
addressed that case where the call number of a copy changes, requiring
an update of one row on the cache table.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1718301 Offline db connections via promise
Bill Erickson [Tue, 19 Sep 2017 21:58:55 +0000 (17:58 -0400)]
LP#1718301 Offline db connections via promise

Refactors offline DB connection call to return a promise, resolved upon
successful connection, instead of polling for a successful connection
within the connect call.

Multiple calls to the main egLoveField connect function will result in
resolvers being linked to the same in-progress promise.

Check for connection errors via the database.connect() reject handler.

Avoid attempts to connect to the offline DB until egLoveField.connectOrGo()
is called the first time.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
2 years agoDocs: fixup asciidoc syntax for main install README
Ben Shum [Wed, 20 Sep 2017 18:39:54 +0000 (14:39 -0400)]
Docs: fixup asciidoc syntax for main install README

Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoadd acknowledgments dervied from Git history
Galen Charlton [Wed, 20 Sep 2017 17:32:42 +0000 (13:32 -0400)]
add acknowledgments dervied from Git history

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agomove significant upgrade considerations to one section in release notes
Galen Charlton [Wed, 20 Sep 2017 17:17:33 +0000 (13:17 -0400)]
move significant upgrade considerations to one section in release notes

Also cite 3.0.0 as minimum required version of OpenSRF

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1708048: bump up minimum required OpenSRF version
Galen Charlton [Wed, 20 Sep 2017 15:09:48 +0000 (11:09 -0400)]
LP#1708048: bump up minimum required OpenSRF version

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1708048: mention Stretch support in upgrade doc
Galen Charlton [Wed, 20 Sep 2017 15:02:29 +0000 (11:02 -0400)]
LP#1708048: mention Stretch support in upgrade doc

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1708048: Fix ld issues by renaming libraries.
Jason Stephenson [Tue, 12 Sep 2017 17:46:51 +0000 (13:46 -0400)]
LP#1708048: Fix ld issues by renaming libraries.

We add the lib... prefix to all C library names as expected by most
linkers.  This necessitates changes to the opensrf.xml configuration
file.

Debian 9's ld also apparently requires that ldconfig be run again
after the Evergreen C libraries are installed, so we add that step to
the installation instructions as well.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1708048: Add support for Debian 9 Stretch
Ben Shum [Tue, 1 Aug 2017 18:41:08 +0000 (14:41 -0400)]
LP#1708048: Add support for Debian 9 Stretch

  - Add new make target "debian-stretch"
  - Add PG 9.6 options
  - Add Stretch references to README

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoDocs: 2.12.6 Release Notes
Kathy Lussier [Wed, 20 Sep 2017 04:01:58 +0000 (00:01 -0400)]
Docs: 2.12.6 Release Notes

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
2 years agoDocs: 2.11.9 release notes
Kathy Lussier [Wed, 20 Sep 2017 03:09:17 +0000 (23:09 -0400)]
Docs: 2.11.9 release notes

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
2 years agoLP#1629078: Add missing strings in web client for i18n
Ben Shum [Thu, 14 Sep 2017 14:22:28 +0000 (10:22 -0400)]
LP#1629078: Add missing strings in web client for i18n

Linda Jansova found a series of strings that were missing the localization
tagging indicated by the "l" function we use in tt2 code.

This patch adds them in preparation for the next PO template sync to grab
them to make them available for translation via Launchpad, etc.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1706124: minor tweaks
Galen Charlton [Wed, 20 Sep 2017 00:45:20 +0000 (20:45 -0400)]
LP#1706124: minor tweaks

- change name of setting to better match local convention
- adjust whitespace

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1706124: Make include inactive patrons checkbox sticky
Kathy Lussier [Wed, 13 Sep 2017 17:07:29 +0000 (13:07 -0400)]
LP#1706124: Make include inactive patrons checkbox sticky

The state of the 'include inactive' checkbox on the patron search page will now
be remembered when users return to the page. Many thanks to Cesar Velez,
whose code for bug 1697754 inspired this patch!

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen
Jane Sandberg [Tue, 19 Sep 2017 03:02:11 +0000 (20:02 -0700)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen

2 years agoDocs: cleaning up cat manual
Jane Sandberg [Tue, 19 Sep 2017 03:01:55 +0000 (20:01 -0700)]
Docs: cleaning up cat manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: fixing small mistake in cat manual
Jane Sandberg [Tue, 19 Sep 2017 02:43:21 +0000 (19:43 -0700)]
Docs: fixing small mistake in cat manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoLP#1717715: Fix typo in webstaff serials
Ben Shum [Sun, 17 Sep 2017 13:37:08 +0000 (09:37 -0400)]
LP#1717715: Fix typo in webstaff serials

Eva Cerninakova noticed a typo in the web client during translation work.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1537233 Copy bucket handles mis-scans, improve focus
Bill Erickson [Fri, 15 Sep 2017 19:08:47 +0000 (15:08 -0400)]
LP#1537233 Copy bucket handles mis-scans, improve focus

Show warning message to user when an unknown barcode is scanned in the
copy bucket pending list UI.  Also, after a barcode failure occurs, select
the barcode text (instead of clearing it) so it can be seen and easily
replaced, consistent with the item status UI.

After successful scan, clear and re-focus the barcode input box.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
2 years agoLP#1712637 Patron edit hold pickup location repairs
Bill Erickson [Thu, 14 Sep 2017 22:09:08 +0000 (18:09 -0400)]
LP#1712637 Patron edit hold pickup location repairs

1. Allow setting the hold pickup location independant of the home
   library.

2. Disable org units in the pickup lib selector that are not viable hold
   pickup locations (can_have_vols=f)

3. Consistent w/ the XUL client, allow a patron to be created without
   selecting a default pickup location.

To test:

[1] Register a new patron and confirm pickup location is initialy unset.
[2] Confirm pickup lib options are viable pickup locations.
[3] Apply a pickup location different from the home library and confirm
    the home library selector remains unchanged.
[4] Confirm saving the patron applies the expected pickup location value.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
2 years agoDocs reorg: splitting action/triggers into command-line and staff-client manuals
Jane Sandberg [Mon, 18 Sep 2017 14:35:47 +0000 (07:35 -0700)]
Docs reorg: splitting action/triggers into command-line and staff-client manuals

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: adding the MARC Templates documentation back
Jane Sandberg [Mon, 18 Sep 2017 14:26:08 +0000 (07:26 -0700)]
Docs: adding the MARC Templates documentation back

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: TPAC bib_source variable
Jane Sandberg [Mon, 18 Sep 2017 04:09:43 +0000 (21:09 -0700)]
Docs: TPAC bib_source variable

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: adding info about purging patron data
Jane Sandberg [Mon, 18 Sep 2017 02:09:06 +0000 (19:09 -0700)]
Docs: adding info about purging patron data

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: ebook api integrations from release notes
Jane Sandberg [Mon, 18 Sep 2017 01:24:45 +0000 (18:24 -0700)]
Docs: ebook api integrations from release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: moving SQL from circ manual to command line sysadmin manual
Jane Sandberg [Sun, 17 Sep 2017 20:45:36 +0000 (13:45 -0700)]
Docs reorg: moving SQL from circ manual to command line sysadmin manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: adding info about TPAC microdata + linked data
Jane Sandberg [Sun, 17 Sep 2017 20:11:13 +0000 (13:11 -0700)]
Docs: adding info about TPAC microdata + linked data

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: Moving clark_kent to the command line manual
Jane Sandberg [Sun, 17 Sep 2017 18:01:02 +0000 (11:01 -0700)]
Docs reorg: Moving clark_kent to the command line manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: Removing zip code setup from staff client admin
Jane Sandberg [Sun, 17 Sep 2017 17:58:33 +0000 (10:58 -0700)]
Docs reorg: Removing zip code setup from staff client admin

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: cleaning up headings, other small fixes
Jane Sandberg [Sun, 17 Sep 2017 17:24:23 +0000 (10:24 -0700)]
Docs: cleaning up headings, other small fixes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: adding screenshot of uncataloged types editor
Jane Sandberg [Sun, 17 Sep 2017 17:23:27 +0000 (10:23 -0700)]
Docs: adding screenshot of uncataloged types editor

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: adding info about pre-cat and non-cat for sysadmins
Jane Sandberg [Sun, 17 Sep 2017 16:54:04 +0000 (09:54 -0700)]
Docs: adding info about pre-cat and non-cat for sysadmins

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen
Jane Sandberg [Sun, 17 Sep 2017 15:23:50 +0000 (08:23 -0700)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen

2 years agoDocs reorg: splitting self-check documentation into appropriate manuals
Jane Sandberg [Sun, 17 Sep 2017 15:23:33 +0000 (08:23 -0700)]
Docs reorg: splitting self-check documentation into appropriate manuals

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoLP#1705068 - fix workstation already exists cancel btn freezes UI
Cesar Velez [Fri, 8 Sep 2017 20:23:33 +0000 (16:23 -0400)]
LP#1705068 - fix workstation already exists cancel btn freezes UI

The $scope.is_registering is used to enable/disable the Register btn
and was not being set back to false, when the user chose to cancel
using an existing WS name, and exiting the modal.

To test
-------
1. Register a workstation.
2. Switch to a different computer or Chrome profile.
3. Try to register the same workstation name. Warning dialog will pop
   up.
4. Click cancel.
5. See that the register button is now disabled and no actions on the
   form seem to reactivate it.
6. Apply the patch and repeat steps 2-4. This time, the register button
   should be active.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoLP#1713151: display owning OU in volcopy editor location selector
Galen Charlton [Mon, 11 Sep 2017 15:13:57 +0000 (11:13 -0400)]
LP#1713151: display owning OU in volcopy editor location selector

This patch causes the short name of the OU that owns a location
to be displayed after the location name in shelving location selectors
in the item attribute and copy template editors.

To test
-------
[1] Edit an item and verify that the shelving location selector
    displays the org unit shortname in parentheses after the location
    name.
[2] Verify that the location selector in the copy template portion
    also displays the OU short names.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Andrea Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoLP#1708951: fix tabbing in webstaff catalog app for Firefox
Galen Charlton [Mon, 11 Sep 2017 19:43:18 +0000 (15:43 -0400)]
LP#1708951: fix tabbing in webstaff catalog app for Firefox

This patch works around an issue where Firefox appears to require
that the iframe for the embedded OPAC not have a null catalog_url
value. It also fixes an issue where navigating to the OPAC View tab
after retrieving the record with a different default view set would
cause it to jump back to that default view... the first time.

To test:

[1] In the web staff client, retrieve a bib record and set the default
    view to a tab other than 'OPAC View'.
[2] Retrieve another bib by TCN or ID. Note that although the default tab
    will briefly display, the page will jump over to the OPAC view and
    display an empty record.
[3] Apply the patch and repeat step 2. This time, it should display the
    record with the current default view.
[4] Select the 'OPAC View' tab and verify that it loads the record details
    page.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Beth Willis <willis@noblenet.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
2 years agoLP#1697716 - Webstaff adds ability to display actor.usr.photo_url if present
Cesar Velez [Mon, 11 Sep 2017 21:53:34 +0000 (17:53 -0400)]
LP#1697716 - Webstaff adds ability to display actor.usr.photo_url if present

This just adds a div row with an ng-if in the summary pane of patron view.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
2 years agoLP#1716486: fix hotkeys
Galen Charlton [Wed, 13 Sep 2017 19:35:39 +0000 (15:35 -0400)]
LP#1716486: fix hotkeys

This fixes a regression on the hotkeys introduced by the offline
circulation module.

To test
-------
[1] Apply the patch and verify that hotkeys in the web staff client
    such as F1, F5, alt-s, and so forth work.
[2] Go to offline circulation and verify that select hotkeys such as
    F1 and F2 activate corresponding tabs in the offline circulation
    page.
[3] Repeat step 2 with the browser itself set to offline mode.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
2 years agoLP#1716475: Add label for mobile carrier select menu
Kathy Lussier [Wed, 13 Sep 2017 18:12:44 +0000 (14:12 -0400)]
LP#1716475: Add label for mobile carrier select menu

Replace the empty string with a label in the SMS carrier select menu due to
issues that arose when putting an empty string in the translation file. It
also is good usability.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoDocs reorg: adding OPAC chapter to all relevant manuals
Jane Sandberg [Fri, 15 Sep 2017 02:39:34 +0000 (19:39 -0700)]
Docs reorg: adding OPAC chapter to all relevant manuals

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoLP#1713160: fix crash viewing circ history in public catalog
Galen Charlton [Tue, 12 Sep 2017 21:45:09 +0000 (17:45 -0400)]
LP#1713160: fix crash viewing circ history in public catalog

This patch fixes a crash when a patron views their circulation
history in the public catalog.

To test
-------
[1] Set up a patron record that retains circ history and make
    and returns some loans. Ensure that at least one of the
    loans is aged.
[2] Log into the public catalog as the test patron and riew the
    Check Out History page (/eg/opac/myopac/circ_history).
[3] Note that an internal server error is reported.
[4] Apply the patch, repeat step 2, and verify that the check out
    history is now displayed.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 years agoDocs reorg: Adding a cataloging manual
Jillianne Presley [Wed, 13 Sep 2017 03:32:54 +0000 (20:32 -0700)]
Docs reorg: Adding a cataloging manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: Correcting contents of staff client system administration
Jane Sandberg [Wed, 13 Sep 2017 03:11:40 +0000 (20:11 -0700)]
Docs reorg: Correcting contents of staff client system administration

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: Adding a new manual for system administration from the Web client
Jane Sandberg [Wed, 13 Sep 2017 02:56:56 +0000 (19:56 -0700)]
Docs reorg: Adding a new manual for system administration from the Web client

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: Adding a manual about integrating Evergreen with other tools
Jillianne Presley [Mon, 11 Sep 2017 03:53:12 +0000 (20:53 -0700)]
Docs reorg: Adding a manual about integrating Evergreen with other tools

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: cleanup syntax in the command line admin manual
Jane Sandberg [Mon, 11 Sep 2017 00:32:44 +0000 (17:32 -0700)]
Docs reorg: cleanup syntax in the command line admin manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: correcting title of OPAC manual
Jane Sandberg [Mon, 11 Sep 2017 00:06:27 +0000 (17:06 -0700)]
Docs reorg: correcting title of OPAC manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: adding a serials manual
Jillianne Presley [Mon, 11 Sep 2017 00:04:44 +0000 (17:04 -0700)]
Docs reorg: adding a serials manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: adding a manual for using the OPAC
Jane Sandberg [Sun, 10 Sep 2017 16:41:09 +0000 (09:41 -0700)]
Docs reorg: adding a manual for using the OPAC

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: Adding a manual for command line administrators
Jillianne Presley [Sun, 10 Sep 2017 05:24:37 +0000 (22:24 -0700)]
Docs reorg: Adding a manual for command line administrators

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: adding acquisitions manual
Jillianne Presley [Sat, 9 Sep 2017 23:42:20 +0000 (16:42 -0700)]
Docs reorg: adding acquisitions manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs reorg: adding a circulation manual
Jane Sandberg [Fri, 8 Sep 2017 17:02:35 +0000 (10:02 -0700)]
Docs reorg: adding a circulation manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: adding to the patron myopac holds/circ history docs
Jane Sandberg [Thu, 7 Sep 2017 17:42:52 +0000 (10:42 -0700)]
Docs: adding to the patron myopac holds/circ history docs

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: making support scripts adoc formatting more consistent, adding marc stream...
Jane Sandberg [Thu, 7 Sep 2017 16:54:46 +0000 (09:54 -0700)]
Docs: making support scripts adoc formatting more consistent, adding marc stream importer docs

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: updates to My Lists in patron account docs
Jane Sandberg [Thu, 7 Sep 2017 16:27:51 +0000 (09:27 -0700)]
Docs: updates to My Lists in patron account docs

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoDocs: updates to Added Content instructions
Jane Sandberg [Thu, 7 Sep 2017 16:13:47 +0000 (09:13 -0700)]
Docs: updates to Added Content instructions

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 years agoClean up RELEASE_NOTES_NEXT
Dan Wells [Thu, 7 Sep 2017 14:19:28 +0000 (10:19 -0400)]
Clean up RELEASE_NOTES_NEXT

Now that these notes have been incorporated into a single file, remove
these temporary versions.

Also, add a few DONOTREMOVE files to new directories to preserve the
directories when empty.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 years agoFix thinko in 3.0 release notes
Dan Wells [Thu, 7 Sep 2017 13:38:34 +0000 (09:38 -0400)]
Fix thinko in 3.0 release notes

'code' doesn't seem to be a recognized formatting keyword; change to
'source' instead.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 years agoSlightly rename release notes to follow existing convention
Dan Wells [Thu, 7 Sep 2017 13:36:09 +0000 (09:36 -0400)]
Slightly rename release notes to follow existing convention

RELEASE_NOTES_3.0.adoc -> RELEASE_NOTES_3_0.adoc (underscore in number)

Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 years agoDocs: copy-editing 3.0 release notes
Jane Sandberg [Wed, 6 Sep 2017 06:04:55 +0000 (23:04 -0700)]
Docs: copy-editing 3.0 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 years agoadd organizations who sponsored develpoment written by Equinox
Galen Charlton [Tue, 5 Sep 2017 18:08:12 +0000 (14:08 -0400)]
add organizations who sponsored develpoment written by Equinox

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 years agostart work on 3.0 release notes
Galen Charlton [Tue, 5 Sep 2017 17:04:29 +0000 (13:04 -0400)]
start work on 3.0 release notes

Generated from release note stubs; also includes note about
minimum PostgreSQL client and XUL deprecation.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 years agoIncorporate view update from LP#1714589
Mike Rylander [Tue, 5 Sep 2017 19:53:08 +0000 (15:53 -0400)]
Incorporate view update from LP#1714589

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 years agoProposed 2.12.5-3.0 upgrade SQL
Mike Rylander [Tue, 5 Sep 2017 18:33:30 +0000 (14:33 -0400)]
Proposed 2.12.5-3.0 upgrade SQL

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 years agoLP1714589: Use Explicit Definition for aacs
Jason Boyer [Fri, 1 Sep 2017 21:09:36 +0000 (17:09 -0400)]
LP1714589: Use Explicit Definition for aacs

Spell out the expected fields in the expected order
for the aacs view because databases that have undergone
upgrades may drift when using * in a UNION.

Signed-off-by: <JBoyer@library.in.gov>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
2 years agoTranslation updates - po files
Ben Shum [Mon, 4 Sep 2017 04:17:22 +0000 (00:17 -0400)]
Translation updates - po files

Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoTranslation updates - newpot
Ben Shum [Mon, 4 Sep 2017 03:34:24 +0000 (23:34 -0400)]
Translation updates - newpot

Signed-off-by: Ben Shum <ben@evergreener.net>
2 years agoLP#1251394: fix typo in seed data caugh by t/24-sql-gettext-unique.t
Galen Charlton [Sat, 2 Sep 2017 15:38:32 +0000 (11:38 -0400)]
LP#1251394: fix typo in seed data caugh by t/24-sql-gettext-unique.t

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP#1714594: fix lp1629108_metarecord_constituent_result_reroute.pg
Galen Charlton [Fri, 1 Sep 2017 21:33:50 +0000 (17:33 -0400)]
LP#1714594: fix lp1629108_metarecord_constituent_result_reroute.pg

This patch accounts for the fact that the IDs returned in source_list
do not have a set order. It also no longer recreates unapi.mmr_mra()
within the test case, meaning that it can now serve as a true regression
test.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
2 years agoLP1714512: Patron Edit Barcode Validation
Jason Boyer [Fri, 1 Sep 2017 13:49:36 +0000 (09:49 -0400)]
LP1714512: Patron Edit Barcode Validation

There are 2 barcode related regular expression OUS
but the web user editor is using the wrong one.
This branch corrects that.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
2 years agoStamping upgrade scripts for Display Fields and Vandelay regression
Mike Rylander [Fri, 1 Sep 2017 21:17:16 +0000 (17:17 -0400)]
Stamping upgrade scripts for Display Fields and Vandelay regression

Signed-off-by: Mike Rylander <mrylander@gmail.com>