Evergreen.git
5 weeks agoBumping version numbers, adding Upgrade Script and Changelog tags/rel_3_1_12
Dan Wells [Mon, 20 May 2019 20:32:36 +0000 (16:32 -0400)]
Bumping version numbers, adding Upgrade Script and Changelog

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 weeks agoCustomize upgrade notes for 3.1.12
Dan Wells [Mon, 20 May 2019 19:54:07 +0000 (15:54 -0400)]
Customize upgrade notes for 3.1.12

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 weeks agoBump OpenILS.pm version
Dan Wells [Mon, 20 May 2019 19:50:27 +0000 (15:50 -0400)]
Bump OpenILS.pm version

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 weeks agoTranslation updates - po files
Dan Wells [Mon, 20 May 2019 18:57:32 +0000 (14:57 -0400)]
Translation updates - po files

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 weeks 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>
6 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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>
7 weeks 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>
8 weeks 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>
8 weeks 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>
8 weeks 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>
8 weeks 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>
2 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>
2 months agodocs: LP1258628: screenshots & updates to actiontriggers.adoc
abneiman [Wed, 12 Dec 2018 19:48:35 +0000 (14:48 -0500)]
docs: LP1258628: screenshots & updates to actiontriggers.adoc

Added a handful of screenshots; added language for Message Center definitions, and pulled in language about testing action triggers from this document: http://docs.evergreen-ils.org/dev/_creating_action_triggers.html

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 months agoDocs: correcting inaccurate statement in action trigger docs
Jane Sandberg [Thu, 11 Oct 2018 01:37:59 +0000 (18:37 -0700)]
Docs: correcting inaccurate statement in action trigger docs

2 months agoDocs: adding info about testing action triggers
Jane Sandberg [Mon, 8 Oct 2018 21:42:30 +0000 (14:42 -0700)]
Docs: adding info about testing action triggers

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 months agoDocs: adding action/triggers to staff client admin docs
Jane Sandberg [Mon, 8 Oct 2018 21:37:30 +0000 (14:37 -0700)]
Docs: adding action/triggers to staff client admin docs

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
2 months agoLP#1804038 Fix-ups for older 'clense' functions
Dan Wells [Tue, 20 Nov 2018 17:33:49 +0000 (12:33 -0500)]
LP#1804038 Fix-ups for older 'clense' functions

Way back when, we switched from a misspelled 'clense_ISO8601' to a
corrected 'cleanse_ISO8601' in OpenSRF.  This function has again moved,
and is now part of OpenILS::Utils::DateTime, and is named
'clean_ISO8601'.  This was done as part of LP bug #1552778.

However, a few stragglers of the misspelling remained, so these were
missed when the big changeover occurred.  This hopefully catches them
all!

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
2 months agoLP#1635737 Due date DST noncat thinko fix
Bill Erickson [Wed, 7 Nov 2018 14:27:30 +0000 (09:27 -0500)]
LP#1635737 Due date DST noncat thinko fix

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 months agoLP#1635737 Due date DST-aware thinko fix
Bill Erickson [Tue, 6 Nov 2018 21:22:43 +0000 (16:22 -0500)]
LP#1635737 Due date DST-aware thinko fix

Minor code refactor to fix thinko and syntax issues.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 months agoLP#1635737 Apply DST-aware timezone to context dates
Mike Rylander [Mon, 31 Jul 2017 19:55:34 +0000 (15:55 -0400)]
LP#1635737 Apply DST-aware timezone to context dates

Do our best to enforce the rule required by OpenSRF's interval_to_seconds
that when a context date is in use, and you care about DST awareness, you
must set the timezone to a DST-aware value, e.g., 'America/New_York'. In
most situations, 'local' will suffice for this, as the server is typically
configured with a DST-aware timezone in its environment.  However, we will
look for an org unit setting called 'lib.timezone' and use that where we
can.  See LP#1705524 for info on that setting.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/NonCat.pm

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 months agoLP#1635737 Use new OpenSRF interval_to_seconds() context
Dan Wells [Fri, 21 Jul 2017 18:28:16 +0000 (14:28 -0400)]
LP#1635737 Use new OpenSRF interval_to_seconds() context

Use the optional context for interval_to_seconds() to account for the
variable length of duration components.  For example, "1 day" may be
shorter or longer than 24 hours during a time change event, "1 month"
may be shorter or longer depending on which month it is currently, etc.

Also, remove some timestamp munging, as that happens within
interval_to_seconds() already.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 months agoLP#1635737: Unit tests for DST and date math
Mike Rylander [Tue, 6 Nov 2018 20:27:23 +0000 (15:27 -0500)]
LP#1635737: Unit tests for DST and date math

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 months agoLP#1635737 Add optional context to interval_to_seconds
Dan Wells [Tue, 6 Nov 2018 20:13:47 +0000 (15:13 -0500)]
LP#1635737 Add optional context to interval_to_seconds

Any given interval (e.g. "1 month") can be a different amount of
seconds depending on the context (i.e. "1 month" after February 1 is
March 1, but "1 month" after March 1 is April 1, yet March is longer
than February).  This affects months all the time, but also can
affect days, hours, and even seconds once you consider DST and "leap"
times.

By giving an optional context to interval_to_seconds, you can find
the true number of seconds in, for example, "1 month", when starting
from "February 1" (the context).

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
2 months agoLP#1789442: turn of Perl taint-checking on 14-OpenILS-Utils.t
Galen Charlton [Mon, 24 Sep 2018 17:56:09 +0000 (13:56 -0400)]
LP#1789442: turn of Perl taint-checking on 14-OpenILS-Utils.t

This works around a bug in DateTime::TimeZone 1.63
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737265> that
causes one of the new tests to spuriously fail on Ubuntu 14.04 LTS.

As the comment indicates, taint checking is not typically enabled
when running Evergreen, but we may want to consider changing
that should tuits arise.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 months agoLP#1789442: restore column allocation for barcode input
Galen Charlton [Mon, 24 Sep 2018 17:55:39 +0000 (13:55 -0400)]
LP#1789442: restore column allocation for barcode input

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 months agoLP#1789442: fix editing due date of hourly loans in web staff
Galen Charlton [Fri, 21 Sep 2018 19:23:11 +0000 (15:23 -0400)]
LP#1789442: fix editing due date of hourly loans in web staff

This patch fixes a bug where editing the due date of an hourly
loan would result in the time portion always getting set to 00:00.

To test
-------
[1] Set up some daily and hourly loans in your database.
[2] Apply the patch.
[3] From the items out page, edit the due date for one or
    more hourly loans. Verify that the resulting due date
    is set correctly.
[4] From the items out page, edit the due date for some
    daily loans and verify correctness. In particular,
    verify that the resulting due date is /not/ the
    following day if testing in time zones in the Americas.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 months agoLP#1552778: add timepicker to webstaff checkout page
Galen Charlton [Fri, 21 Sep 2018 18:58:47 +0000 (14:58 -0400)]
LP#1552778: add timepicker to webstaff checkout page

This patch adds a timepicker to go along with the datepicker
if the operator invokes the option to set a specific due
date.

To test
-------
[1] Arrange circ policies to have both hourly and daily loans.
[2] Apply the patch.
[3] Check out an item for an hourly loan. Verify that the
    due date and time is per policy.
[4] Check out an item for a daily loan. Verify that the
    due date is per policy.
[5] Check out an item for an hourly loan, but set a specific
    due date and time. Verify that the due date and time matches
    the selected value.
[6] Check out an item for a daily loan, but set a specific
    due date. Verify that the due date matches the selected
    value; note that any time component is ignored since
    for daily loans the time gets normalized to 23:59.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 months agoLP#1552778: make clean_ISO8601 recognize 'Z' as a timezone specifier
Galen Charlton [Fri, 21 Sep 2018 18:30:01 +0000 (14:30 -0400)]
LP#1552778: make clean_ISO8601 recognize 'Z' as a timezone specifier

Prior to this patch, clean_ISO8601 would ignore 'Z' as a timezone
specifier (e.g., '2018-09-21T15:34:21Z') and treat it as if the
timestamp were in the server's time zone, leading to incorrect
results (e.g., '2018-09-21T15:34:21-04:00') unless user, client,
and server all happen to be in UTC+0.  In particular, this allows
date strings emitted by the JavaScript Date object's toISOString()
method to be correctly parsed, as those strings invariably use
'Z' as the timezone specifier.

To test
-------
[1] Apply patch.
[2] Verify that regression test in t/14-OpenILS-Utils.t passes.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 months agoLP#1552778: add perldoc and unit tests for clean_ISO8601
Galen Charlton [Fri, 21 Sep 2018 18:04:24 +0000 (14:04 -0400)]
LP#1552778: add perldoc and unit tests for clean_ISO8601

To test
-------
[1] Apply patch.
[2] Verify new tests in t/14-OpenILS-Utils.t pass.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 months agoLP#1552778: copy some date/time utils from OpenSRF
Galen Charlton [Fri, 21 Sep 2018 15:00:25 +0000 (11:00 -0400)]
LP#1552778: copy some date/time utils from OpenSRF

As preparation for subsequent bugfixes, this patch
copies several date/time routines from OpenSRF::Utils
to a new module, OpenILS::Utils::DateTime. Specifically,
the routines copied over are:

* clean_ISO8601() (renaming of the OpenSRF cleanse_ISO8601)
* gmtime_ISO8601()
* interval_to_seconds()
* seconds_to_interval()

This move will allow us to fix bugs in this core routines
without requiring a mandatory OpenSRF upgrade. Furthermore,
with the exception of interval_to_seconds() (and in only one
place), none of those routines are used by OpenSRF itself.

To test
-------
[1] Apply the patch.
[2] Verify that unit tests pass.
[3] Verify that all Perl services start correctly.
[4] Verify that date/time and interval calculations continue
    to work as expected, particularly in circulation.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/ClosedDates.pm

Signed-off-by: Dan Wells <dbw2@calvin.edu>
2 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>
3 months agoTranslation updates - newpot
Dan Wells [Tue, 26 Mar 2019 19:39:20 +0000 (15:39 -0400)]
Translation updates - newpot

This reverts commit cfff8b681c9d29a5be81711ee382b32c62a7707b.

Moving from Translate Toolkit 1.10 to 2.0 changed a large number of
strings in backwards incompatible ways, so I think we need to consider
simply freezing translations on 3.1.

This revert is an attempt to recover the existing translations, though
I am not certain it will work.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 months agoLP#1746360 Add Deleted Column to Record Bucket
Terran McCanna [Tue, 5 Mar 2019 15:50:59 +0000 (10:50 -0500)]
LP#1746360 Add Deleted Column to Record Bucket

This adds the Deleted column to the Record Bucket view.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
3 months agoLP#1667497 - Define $params{depth} to avoid uninitialized warning.
Josh Stompro [Mon, 4 Mar 2019 14:57:02 +0000 (08:57 -0600)]
LP#1667497 - Define $params{depth} to avoid uninitialized warning.

$depth is set to 0 if $params{depth} is unset, but then $params{depth}
gets used later on, which causes an uninitialized value warning.

So set $params{depth} to whatever $depth was set to.

Signed-off-by: Josh Stompro <stompro@stompro.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
3 months agoForward-port 3.1.10 upgrade script
Dan Wells [Thu, 28 Feb 2019 20:59:02 +0000 (15:59 -0500)]
Forward-port 3.1.10 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
3 months agoTranslation updates - po files
Dan Wells [Tue, 26 Feb 2019 14:48:13 +0000 (09:48 -0500)]
Translation updates - po files

Signed-off-by: Dan Wells <dbw2@calvin.edu>
3 months agoTranslation updates - newpot
Dan Wells [Tue, 26 Feb 2019 14:33:18 +0000 (09:33 -0500)]
Translation updates - newpot

Signed-off-by: Dan Wells <dbw2@calvin.edu>
4 months agoDocs: adding release notes for 3.1.10
Jane Sandberg [Fri, 22 Feb 2019 20:30:14 +0000 (12:30 -0800)]
Docs: adding release notes for 3.1.10

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
4 months agoLP#1784893 Reporter - External Documentation Links
McCanna [Fri, 15 Feb 2019 18:29:21 +0000 (13:29 -0500)]
LP#1784893 Reporter - External Documentation Links

Removed old xulG logic which was not working in
the web client. Link now opens in new browser tab.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
4 months agoLP#1726568: expose circ lib and owning lib fields to spine/pocket labels
Galen Charlton [Thu, 15 Nov 2018 14:59:44 +0000 (09:59 -0500)]
LP#1726568: expose circ lib and owning lib fields to spine/pocket labels

This patch fleshes the item circulation library and owning library
fields so that spine/pocket labels can include the short name or
full name of the OU rather than just the ID.  As a consequence, the
following fields are now available for label templates:

* copy['call_number.owning_lib.id']
* copy['call_number.owning_lib.shortname']
* copy['call_number.owning_lib.name']
* copy['circ_lib.id']
* copy['circ_lib.shortname']
* copy['circ_lib.name']

If, for some reason, existing label templates intentionally use
copy['call_number.owning_lib'] or copy['circ_lib'] to include the numeric
ID of the OU on the label, they will need to be replaced with
copy['call_number.owning_lib.id'] or copy['circ_lib.id'] respectively.

To test
-------
[1] Apply the patch.
[2] Open the print labels window for an item and try including one
    or more of the new fields listed above; verify that the current
    value is displayed on the label preview.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
4 months agoLP#1752665: suppress located URIs in holdings view
Jeff Davis [Tue, 21 Aug 2018 20:01:06 +0000 (13:01 -0700)]
LP#1752665: suppress located URIs in holdings view

To test:

[1] Locate or create a bibliographic record that has at least
    one located URI (e.g., an 856 with a $9 containing an org
    unit code)
[2] View the record in the Holdings View in the web staff interface,
    with the 'Show empty call numbers' (or volumes) option
    selected.
[3] Note that rows are displayed with a call number label of '##URI##';
    these are for the located URIs and should not be visible here.
[4] Apply the patch and repeat step 2. This time the '##URI##' entries
    should not display.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
4 months agoLP1783421 - Make Copy Alerts permission not global
James Fournie [Thu, 17 Jan 2019 21:23:12 +0000 (13:23 -0800)]
LP1783421 - Make Copy Alerts permission not global

For some reason copy alerts require global permissions.  Instead
update the IDL for asset.active_copy_alert and asset.copy_alert to
require {CREATE,VIEW,UPDATE,DELETE}_COPY_ALERT perms only as far as
they are scoped for the circ lib of the copy.

Signed-off-by: James Fournie <jfournie@vcc.ca>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
5 months agoForward-port 3.1.9 upgrade script
Dan Wells [Tue, 22 Jan 2019 19:32:45 +0000 (14:32 -0500)]
Forward-port 3.1.9 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 months agoLP#1727345 - fix bibsource when importing or overlaying
Cesar Velez [Fri, 21 Sep 2018 15:46:59 +0000 (11:46 -0400)]
LP#1727345 - fix bibsource when importing or overlaying

This addresses several issues that were causing the
bib source to either not display correctly on the record page
or not save correctly when editing z3950 imports/overlays
Refactors passing around of bib source into eg-marc-edit and it's
child directive egMarcEditBibsource.

Two paths to test:
Path A)
    1. Import a new bib record from z3950, but via "Edit then Import"
    2. Bring up marc editor and choose save w/ bib source.
    3. Verify chosen bib source saved correctly on record page.
Path B)
    1. Mark a record as target for Overlay, go to z3950 import.
    2. Make a search, select item for Overlay.
    3. Choose Edit z3950 record to bring up marceditor, save with a bib source.
    4. Verify chosen bib source saved correctly on record page.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 months agoLP#1812698 - stamping upgrade script
Ben Shum [Mon, 21 Jan 2019 17:00:13 +0000 (12:00 -0500)]
LP#1812698 - stamping upgrade script

Signed-off-by: Ben Shum <ben@evergreener.net>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql

5 months agoLP#1812698 - Fix broken pubdate display
Chris Sharp [Mon, 21 Jan 2019 16:49:54 +0000 (11:49 -0500)]
LP#1812698 - Fix broken pubdate display

reporter.simple_record, which is now used more
extensively for bib display, had a copy-paste error
originating in 2014 that now gets corrected.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <ben@evergreener.net>
5 months agoDocs: adding 3.1.9 release notes
Jane Sandberg [Wed, 16 Jan 2019 20:16:56 +0000 (12:16 -0800)]
Docs: adding 3.1.9 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
5 months agoTranslation updates - po files
Dan Wells [Wed, 16 Jan 2019 20:17:34 +0000 (15:17 -0500)]
Translation updates - po files

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 months agoTranslation updates - newpot
Dan Wells [Wed, 16 Jan 2019 20:02:46 +0000 (15:02 -0500)]
Translation updates - newpot

Signed-off-by: Dan Wells <dbw2@calvin.edu>
5 months agoLP1742521: Receipt Count Repair
Jason Boyer [Wed, 16 Jan 2019 13:36:40 +0000 (08:36 -0500)]
LP1742521: Receipt Count Repair

The div wrapping the receipt printing controls was
shown or hidden using an ng-if declaration which
created a new $scope as explained in bug 1696238,
which caused the controller to not notice that the
value was changed. Changing that to an ng-show
allows the updated value to get where it needs to
be.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
5 months agoLP1804716: grab recall-able copies before they are filtered out
Jeff Davis [Thu, 22 Nov 2018 23:46:56 +0000 (15:46 -0800)]
LP1804716: grab recall-able copies before they are filtered out

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
5 months agoLp 1803734: Only push on-order purchase orders in edi_order_pusher.pl.
Jason Stephenson [Thu, 10 Jan 2019 18:45:45 +0000 (13:45 -0500)]
Lp 1803734: Only push on-order purchase orders in edi_order_pusher.pl.

Add a check for the state of purchase orders being on-order when
gathering them in edi_order_pusher.pl.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 months agoLP1782652: Make template dropdown larger in Volume/Copy Editor
Jane Sandberg [Thu, 27 Sep 2018 14:53:35 +0000 (07:53 -0700)]
LP1782652: Make template dropdown larger in Volume/Copy Editor

To test:
1) Open an item in the volume/copy editor.
2) Go to the Copy Templates tab. Note the spacing of the template bar.
3) Create a few templates.  Give them names of 30 characters or more.
4) Go back to the Edit tab and select one of your new templates.  Note
that after you have selected it, the name of your template does not fit
in the dropdown box, and is cut off at the end.
5) Apply this commit.
6) Go to the Copy Templates tab again.  Note that the spacing of the
template bar has not changed.
7) Go to the Edit tab.  Note that the template dropdown has changed
to be much larger.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Janet Schrader <jschrader@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 months agoAdd Release Notes for Lp 1662535 & Lp 1743783
Jason Stephenson [Fri, 14 Dec 2018 16:31:45 +0000 (11:31 -0500)]
Add Release Notes for Lp 1662535 & Lp 1743783

Signed-off-by: Jason Stephenson <jason@sigio.com>
6 months agoLP#1743783 Web Client Bill Full Detail Display Issues
Terran McCanna [Wed, 12 Dec 2018 22:57:19 +0000 (17:57 -0500)]
LP#1743783 Web Client Bill Full Detail Display Issues

Fleshes out retrieved data to be able to display the billing
location for both circulation and grocery bills on the full
details page as well as the owning library for circulation bills.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 months agoLP#1662535 Patron Bill Grid Columns
Terran McCanna [Thu, 13 Dec 2018 02:56:55 +0000 (21:56 -0500)]
LP#1662535 Patron Bill Grid Columns

1) Adding missing columns, including:

- Call Number
- Owning Library
- Shelving Location
- Last Billing Note
- Last Billing Timestamp
- Last Payment Timestamp
- Last payment Note
- Last Payment Type

2) Corrected path for Type

3) Changed column name for Location to 'Billing Location'
and the former Billing Location to 'Grocery Billing Location' for clarity

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 months agoDocs: LP#1731048: Update json_query documentation for new join syntax
Remington Steed [Mon, 26 Nov 2018 19:10:36 +0000 (14:10 -0500)]
Docs: LP#1731048: Update json_query documentation for new join syntax

This commit simply adds the text from the related commit message (see
LP#1527731) to the original DocBook file. NOTE: This documentation is
also available on the wiki, and has been updated there as well:

https://wiki.evergreen-ils.org/doku.php?id=documentation:tutorials:json_query

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 months agoDocs: virtual index definitions
kilsdonka [Wed, 19 Sep 2018 22:41:45 +0000 (15:41 -0700)]
Docs: virtual index definitions

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 months agoDocs: Infrastructure changes to authority browse
kilsdonka [Wed, 19 Sep 2018 22:59:59 +0000 (15:59 -0700)]
Docs: Infrastructure changes to authority browse

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 months agoDocs: LP1783387: update print templates to reflect new name
katiegmartin [Thu, 2 Aug 2018 19:06:28 +0000 (15:06 -0400)]
Docs: LP1783387: update print templates to reflect new name

launchpad 1783387 - update receipt template editor documentation to reflect language change to "print templates" in web client
put both terms in index
updated title to Print (Receipt) Templates

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 months agoDocs: Update basic_holds.adoc
abneiman [Wed, 13 Jun 2018 18:50:19 +0000 (14:50 -0400)]
Docs: Update basic_holds.adoc

Removing reference to XUL

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 months agoDocs: Update marc_tag_table.adoc
abneiman [Wed, 13 Jun 2018 18:46:50 +0000 (14:46 -0400)]
Docs: Update marc_tag_table.adoc

Striking reference to "sprint 2 preview".  Adding location information & screenshots.

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 months agoDocs: Binding Template added to G-binding.adoc
jamundson5 [Mon, 9 Jul 2018 19:03:11 +0000 (15:03 -0400)]
Docs: Binding Template added to G-binding.adoc

Added a section on how to apply a binding template to a distribution as this is necessary to ensure the binding does not fail. Also updated an instance of "Action" to "Actions".

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 months agoLP#1739606: Allow saving Billing History xacts grid
Remington Steed [Mon, 26 Nov 2018 15:04:28 +0000 (10:04 -0500)]
LP#1739606: Allow saving Billing History xacts grid

For a web staff eg-grid to save and retrieve its settings, it needs a
unique persist-key. This commit adds one for the Transactions tab grid
under Billing History (on patron record Bills tab, click the History
grid button).

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 months agoLP#1746769 - add item tag owner OU to label in volcopy editor
Cesar Velez [Tue, 6 Nov 2018 19:14:04 +0000 (14:14 -0500)]
LP#1746769 - add item tag owner OU to label in volcopy editor

Adding the owner to differentiate item tags with same label
that are owned by different OU.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
6 months agoForward-port 3.1.8 upgrade script
Dan Wells [Tue, 27 Nov 2018 22:02:59 +0000 (17:02 -0500)]
Forward-port 3.1.8 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 months agoDocs: Copy alerts documentation
kilsdonka [Mon, 26 Nov 2018 19:40:57 +0000 (11:40 -0800)]
Docs: Copy alerts documentation

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 months agoDocs: removing broken link from circ manual
Jane Sandberg [Mon, 26 Nov 2018 19:35:56 +0000 (11:35 -0800)]
Docs: removing broken link from circ manual

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
7 months agoTranslation updates - po files
Dan Wells [Tue, 20 Nov 2018 19:38:42 +0000 (14:38 -0500)]
Translation updates - po files

Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 months agoTranslation updates - newpot
Dan Wells [Tue, 20 Nov 2018 19:32:22 +0000 (14:32 -0500)]
Translation updates - newpot

Signed-off-by: Dan Wells <dbw2@calvin.edu>
7 months agoDocs: Multilingual search documentation
kilsdonka [Tue, 20 Nov 2018 17:50:54 +0000 (09:50 -0800)]
Docs: Multilingual search documentation

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
7 months agoDocs: adding release notes for 3.1.8
Jane Sandberg [Tue, 20 Nov 2018 16:18:34 +0000 (08:18 -0800)]
Docs: adding release notes for 3.1.8

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
7 months agoLP#1643709: Stamping upgrade script
Ben Shum [Tue, 20 Nov 2018 14:25:57 +0000 (09:25 -0500)]
LP#1643709: Stamping upgrade script

Note upgrade script 1137 is only for rel_3_1. In master/rel_3_2 there is
upgrade script 1138 for this same function change.

Signed-off-by: Ben Shum <ben@evergreener.net>
7 months agoLP#1643709 User merge + purge pgtap test
Rogan Hamby [Fri, 14 Sep 2018 13:25:57 +0000 (09:25 -0400)]
LP#1643709 User merge + purge pgtap test

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
7 months agoLP#1643709 purge users on merge instead of flag deleted
Rogan Hamby [Fri, 14 Sep 2018 12:05:12 +0000 (08:05 -0400)]
LP#1643709 purge users on merge instead of flag deleted

Purge merged user accounts.

Update the upgraded version of the usr_merge() db function to match
recnet changes in master.

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
7 months agoLP1801156: Add missing offline dependencies
Jason Boyer [Fri, 2 Nov 2018 16:26:18 +0000 (12:26 -0400)]
LP1801156: Add missing offline dependencies

When iframeResizer.js is missing from the UpUp asset list the
loading error prevents further processing, rendering offline
mode unusable.

Signed-off-by: Jason Boyer <JBoyer@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
7 months agoLP#1761242 Z39.50 Marc View Usability with Mobile Repsonsiveness
Garry Collum [Sat, 16 Jun 2018 18:13:22 +0000 (14:13 -0400)]
LP#1761242 Z39.50 Marc View Usability with Mobile Repsonsiveness

This patch changes the size of the image in the Z39.50 Marc View from large to
medium.  It also incorporates bootstrap's media classes to present the Marc
record and the cover image side by side.  If there is no image the marc record
display floats to the left of the modal. From a suggestion by Jane Sandbert, it
also hides the book cover image on small devices.

To test.
1. Perform a search in z39.50.  An LOC title search for "Cat in the Hat"
   returms results of titles with and without images.
2. View some of the titles in Marc View, noting the large image.
3. Apply the patch.
4. Perform the same search and view the results in Marc View.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Janet Schrader <jschrader@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>