]> git.evergreen-ils.org Git - Evergreen.git/log
Evergreen.git
6 years agoBumping version numbers, adding Upgrade Script and Changelog tags/rel_3_0_7
Chris Sharp [Thu, 19 Apr 2018 02:45:31 +0000 (22:45 -0400)]
Bumping version numbers, adding Upgrade Script and Changelog

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoUpdating upgrade docs for 3.0.7.
Chris Sharp [Thu, 19 Apr 2018 02:45:27 +0000 (22:45 -0400)]
Updating upgrade docs for 3.0.7.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoBumping Perl version string for 3.0.7
Chris Sharp [Wed, 18 Apr 2018 21:43:18 +0000 (17:43 -0400)]
Bumping Perl version string for 3.0.7

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoTranslation updates - po files
Chris Sharp [Wed, 18 Apr 2018 21:43:17 +0000 (17:43 -0400)]
Translation updates - po files

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
6 years agoTouch up release notes for 3.0.7
Dan Wells [Wed, 18 Apr 2018 20:25:34 +0000 (16:25 -0400)]
Touch up release notes for 3.0.7

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoLP1760662: Item Status Holdable Field Display Follow-up
Jason Stephenson [Mon, 2 Apr 2018 20:14:43 +0000 (16:14 -0400)]
LP1760662: Item Status Holdable Field Display Follow-up

Remove the boolText filter because it was always return false.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoLP1760662: Item Status Holdable Field Display
Jason Boyer [Mon, 2 Apr 2018 17:55:02 +0000 (13:55 -0400)]
LP1760662: Item Status Holdable Field Display

The Holdable field on the Summary tab of the Detail View
of Item Status was displaying the value for OPAC Visible.
Let's change that from opac_visible() to holdable().

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoLp 1735539: Fix Item Status ability to delete multiple copies.
Jason Stephenson [Thu, 12 Apr 2018 14:47:40 +0000 (10:47 -0400)]
Lp 1735539: Fix Item Status ability to delete multiple copies.

Use the notify handler instead of the resolve handler to collect our
copies.  This ensures we get them all instead of just the last one.

To reproduce the bug:
   1. Open Item Status in the web staff client.
   2. Load multiple items, perhaps by uploading a file of barcodes.
   3. Select more than 1 item from the list.
   4. Choose "Delete Items" from the Actions menu.
   5. Note that the dialog indicates that you will delete 1 copy.
   6. Click the Cancel button in the dialog.

To test, after applying the fix branch:
   1. Open Item Status in the web staff client.
   2. Load multiple items, perhaps by uploading a file of barcodes.
   3. Select more than 1 item from the list.
   4. Choose "Delete Items" from the Actions menu.
   5. Note that that the dialog indicates you will delete X copies,
      where X is the number of items selected.
   6. Click OK and confirm that all copies were deleted.
   7. You can confirm 6 by reloading the interface and uploading the
      file of barcodes again.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoDocs: starting release notes for 3.0.7
Jane Sandberg [Tue, 17 Apr 2018 18:52:24 +0000 (11:52 -0700)]
Docs: starting release notes for 3.0.7

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: Minor updates in Ordering_materials.adoc
Morkor Quarshie [Tue, 10 Apr 2018 20:14:49 +0000 (16:14 -0400)]
Docs: Minor updates in Ordering_materials.adoc

  - A menu item was slightly incorrect. This fixes it.
  - Added a missing step to click "New" button.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoLP#1729934 Webstaff display org-scoped penalties
Bill Erickson [Thu, 29 Mar 2018 21:06:16 +0000 (17:06 -0400)]
LP#1729934 Webstaff display org-scoped penalties

Consistent with the XUL client, only display patron standing penalties
(AKA Messages) that are linked to an org unit which is an ancestor,
matching, or descendant org unit of the workstation (e.g. the full
path).

To test:

[1] Create a patron Message which applies to a branch using a branch or
null-depth penalty (e.g. at BR1).

[2] Create a second message that links to the root org unit (e.g. CONS)
via depth=0 penalty.

[2] Log out and back in to the browser client at a workstation under a
different section of the org unit tree (e.g. BR3) and confirm the
Messages created at BR1 do not display, but the messages created at CONS
do.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1729934 Webstaff penalty create org/depth repair
Bill Erickson [Fri, 5 Jan 2018 19:55:56 +0000 (14:55 -0500)]
LP#1729934 Webstaff penalty create org/depth repair

Apply correct org unit to patron penalties created in the web staff
client.  Specifically, be sure the standing penalty depth value is
honored when set.

Commit replaces manual pcrud creation with the XUL-tested API, which
calculates the correct org unit by depth for us.

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>
6 years agoDocs: Update "Ordering materials" for web client
Remington Steed [Tue, 10 Apr 2018 18:00:31 +0000 (14:00 -0400)]
Docs: Update "Ordering materials" for web client

  - Update menu names to match web client

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update "Acquisitions Admin" for web client
Remington Steed [Tue, 10 Apr 2018 14:43:27 +0000 (10:43 -0400)]
Docs: Update "Acquisitions Admin" for web client

  - Change menu names to match web client ("Admin" to "Administration", and
    "Server Admin -> Acq" becomes "Acq Admin")
  - Fix list formatting where images were breaking a numbered list into
    two lists

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoLP#1738488 Optimize Flattener join logic
Dan Wells [Fri, 2 Mar 2018 17:54:46 +0000 (12:54 -0500)]
LP#1738488 Optimize Flattener join logic

The current Flattener.pm autogenerates necessary joins for sorting
and filtering, but in doing so, it gives every intermediate table a
unique alias, even if the path to that table is exactly the same as
another member in the map we are flattening.

Instead, let's reuse joins whenever the path is identical, even for
intermediate tables.  We do so by tracking every path to each core
type, then reusing as much of that join path as we can.  In cases
where we have different paths to the same type, we still necessarily
provide a new unique alias.

This problem was first noticed in the web staff billing history
interface, where the particular stacking of joins resulted (for one
specific library) in 17 joins and 44,575,740,147,225,592,344,870,912
potential rows.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoDocs: Update "User Activity Types" for web client
Remington Steed [Thu, 29 Mar 2018 21:12:19 +0000 (17:12 -0400)]
Docs: Update "User Activity Types" for web client

  - Update screenshot, provided by Kevin Tran

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update "Z39.50 Servers" for web client
Remington Steed [Thu, 29 Mar 2018 20:58:19 +0000 (16:58 -0400)]
Docs: Update "Z39.50 Servers" for web client

  - Switch incorrectly placed screenshots
  - Update first screenshot for web client

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update circulation_limit_groups.adoc for web client
Kevin Tran [Thu, 1 Mar 2018 16:34:10 +0000 (11:34 -0500)]
Docs: Update circulation_limit_groups.adoc for web client

  - Updated menu label to "Circ Limit Sets".

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Add screenshots to "Load MARC Order Records"
Remington Steed [Thu, 29 Mar 2018 13:55:08 +0000 (09:55 -0400)]
Docs: Add screenshots to "Load MARC Order Records"

Thanks to Morkor Quarshie for the screenshots.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update "User and Group Permissions" for web client
Remington Steed [Wed, 21 Mar 2018 21:01:05 +0000 (17:01 -0400)]
Docs: Update "User and Group Permissions" for web client

  - Update instructions for web client
  - New screenshot shows menu path from patron screen. Thanks to Kevin
    Tran for the screenshot.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update MARC_RAD_MVF_CRA.adoc for web client
Kevin Tran [Thu, 15 Mar 2018 14:48:09 +0000 (10:48 -0400)]
Docs: Update MARC_RAD_MVF_CRA.adoc for web client

  - Updated instructions for web client
  - Narrower screenshot (with arrow) for Coded Value Map section

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: New screenshot for "MARC Import Remove Fields"
Remington Steed [Wed, 21 Mar 2018 20:20:50 +0000 (16:20 -0400)]
Docs: New screenshot for "MARC Import Remove Fields"

  - New screenshot for "MARC Import Remove Fields", which still showed
    small amount of XUL client. Thanks to Kevin Tran for the screenshot.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update "Selection Lists" and "Invoices" for web client
Remington Steed [Thu, 29 Mar 2018 12:51:28 +0000 (08:51 -0400)]
Docs: Update "Selection Lists" and "Invoices" for web client

  - Update references to Acq Admin menu
  - Make menu name formatting more consistent (should be bold or
    italics)
  - Remove outdated reference to old Evergreen version under "Activate
    Purchase Order with Zero Copies"

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update "Hold-driven recalls" for web client
Remington Steed [Wed, 28 Mar 2018 19:53:18 +0000 (15:53 -0400)]
Docs: Update "Hold-driven recalls" for web client

  - Update reference to "Admin" menu
  - Remove old note about when feature was added to Evergreen

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years ago2.12.11-2.12.12 schema update
Galen Charlton [Wed, 28 Mar 2018 14:40:59 +0000 (10:40 -0400)]
2.12.11-2.12.12 schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years ago3.0.5-3.0.6 schema update
Galen Charlton [Wed, 28 Mar 2018 14:38:59 +0000 (10:38 -0400)]
3.0.5-3.0.6 schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agorelease notes for Evergreen 2.12.12
Galen Charlton [Wed, 28 Mar 2018 14:14:41 +0000 (10:14 -0400)]
release notes for Evergreen 2.12.12

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agorelease notes for Evergreen 3.0.6
Galen Charlton [Wed, 28 Mar 2018 14:29:12 +0000 (10:29 -0400)]
release notes for Evergreen 3.0.6

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1757526: escape more catalog data (MFHD edition)
Galen Charlton [Tue, 27 Mar 2018 20:30:35 +0000 (16:30 -0400)]
LP#1757526: escape more catalog data (MFHD edition)

This patch ensures that data derived from MFHDs is escaped
for in the issues held tab on the public catalog record display
page.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP1757526 Escape displayed catalogue data
Dan Scott [Wed, 21 Mar 2018 21:08:35 +0000 (22:08 +0100)]
LP1757526 Escape displayed catalogue data

Content in content fields (5xx) as well as for the names of locations in copy
count alt text was not being properly escaped, allowing for the possibility of
executing arbitrary JavaScript in the case of a malicious catalogue record
(whether edited in the system, or imported)

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoDocs: fund tag preservation
Jane Sandberg [Wed, 28 Mar 2018 14:08:04 +0000 (07:08 -0700)]
Docs: fund tag preservation

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoRevert "LP#1758347: ensure that upgrade includes latest asset.merge_record_assets()"
Galen Charlton [Tue, 27 Mar 2018 16:01:00 +0000 (12:01 -0400)]
Revert "LP#1758347: ensure that upgrade includes latest asset.merge_record_assets()"

This reverts commit 214ef11de23d81fb631e8debc7b8c04e23d8e752.

6 years agoLP#1758322: Fix lp1731960_test_preserving_bookbag_entries test
Kathy Lussier [Fri, 23 Mar 2018 12:35:56 +0000 (08:35 -0400)]
LP#1758322: Fix  lp1731960_test_preserving_bookbag_entries test

A typo inserted the incorrect record number for the
 lp1731960_test_preserving_bookbag_entries. This patch fixes
the typo.

Thanks to Jason Boyer for spotting the problem!

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1758347: ensure that upgrade includes latest asset.merge_record_assets()
Galen Charlton [Fri, 23 Mar 2018 14:23:19 +0000 (10:23 -0400)]
LP#1758347: ensure that upgrade includes latest asset.merge_record_assets()

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLP#1731960: Stamping upgrade script for preserve book bags on bib merge
Kathy Lussier [Thu, 22 Mar 2018 23:36:19 +0000 (19:36 -0400)]
LP#1731960: Stamping upgrade script for preserve book bags on bib merge

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql

6 years agoLP#1731960: adding upgrade script for updating the function
Rogan Hamby [Thu, 22 Mar 2018 17:50:52 +0000 (13:50 -0400)]
LP#1731960: adding upgrade script for updating the function

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1731960-preserving book bag entries with new values during bib merge
Rogan Hamby [Tue, 21 Nov 2017 23:50:34 +0000 (18:50 -0500)]
LP#1731960-preserving book bag entries with new values during bib merge

The asset.merge_record_assets() removes bib records from containers when
merging and deleting the record as appropriate but bib containers with
the btype of 'bookbag' (used as reading lists) should instead be updated
to the new bib record. Includes Pgtap test.

Signed-off-by: Rogan Hamby <rhamby@equinoxinitiative.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/sql/Pg/999.functions.global.sql

Conflicts:
Open-ILS/src/sql/Pg/999.functions.global.sql

6 years agoLP#1758159: add dependencies needed for egReporter tests to run
Galen Charlton [Thu, 22 Mar 2018 20:38:41 +0000 (16:38 -0400)]
LP#1758159: add dependencies needed for egReporter tests to run

This patch adds a couple dependencies required for the new
egReporter tests to run successfully in rel_3_0.  To test,
apply the patch and verify that 'grunt all' for the web staff
client produces clean results.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoForward port 2.12.11 upgrade script
Dan Wells [Thu, 22 Mar 2018 19:36:50 +0000 (15:36 -0400)]
Forward port 2.12.11 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoForward port 3.0.5 upgrade script
Dan Wells [Thu, 22 Mar 2018 18:39:14 +0000 (14:39 -0400)]
Forward port 3.0.5 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoLP#1728147: more tweaks to grid
Galen Charlton [Thu, 22 Mar 2018 16:51:45 +0000 (12:51 -0400)]
LP#1728147: more tweaks to grid

* Make paths to expire_time and cut_in_line more concise
* Add SMS Carrier column back
* Tweak labels of the patron first and last name columns
* Ensure that the "Call Number" column continues to be sortable
  by normalized call number label. Note that due to a quirk of
  egGrid, which doesn't currently have a way to specify that a column
  always be retrieved by a fielder query but /not/ be directly
  available as a displayable column, we also need a "Call Number Label"
  column at the moment.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1728147: correct fleshing of staff hold column
Galen Charlton [Thu, 22 Mar 2018 16:14:17 +0000 (12:14 -0400)]
LP#1728147: correct fleshing of staff hold column

This patch fixes the test (ahr.usr is fleshed, but not ahr.requestor)
and ensures that the value is cached correctly.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1728147: Add patron's first/last name and Alias column
Cesar Velez [Fri, 16 Feb 2018 19:40:17 +0000 (14:40 -0500)]
LP#1728147: Add patron's first/last name and Alias column

These were also missing from the Holds Pull grid.

This patch also corrects the determination of whether a hold
was staff-placed or not.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1728147 - fix some Holds Pull List grid columns
Cesar Velez [Tue, 30 Jan 2018 18:13:52 +0000 (13:13 -0500)]
LP#1728147 - fix some Holds Pull List grid columns

This adds a few missing columns to the Holds Pull List grid,
and addresses a few display issues.

New columns added are Hold Type, Circ Mod, Staff Hold,
Email/Phone/SMS Notify, Copy Status Change Time, ISBN,
Edition, Top of Queue, Total Holds, and Expire Date.

Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1702557-Make Acq MarcEditor Just Have Save Button
Cesar Velez [Fri, 19 Jan 2018 19:43:38 +0000 (14:43 -0500)]
LP#1702557-Make Acq MarcEditor Just Have Save Button

Like the changes to the z3950 marceditor UI, and serials,
make the Acq marceditor have a simple Save button, instead
of the Modify + Save Edits buttons needed to save a change.
Same change as in 1710405, et al. Note this also fixes a
propagation issue that prevented changes from marceditor's
scope.marcXml from making it to the modal controller scope,
and being saved. Props to miker for helping me debug this!

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

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1361258 Patron reg repair user settings saving/loading
Bill Erickson [Mon, 19 Mar 2018 19:22:44 +0000 (15:22 -0400)]
LP#1361258 Patron reg repair user settings saving/loading

Avoid caching user setting values at the service (app) level in the user
editor.  In other words, always fetch a fresh copy of the current user's
setting with each instance of the editor page.

This solves a number problems where stale versions of the cached data
were referenced and acted on, both when displaying an updating user
settings.

Additionally, ensure that clone user and stage user data is refreshed
on all page instances as the URL params that affect these values can
change per instance.

Other data that is common to all instances (e.g. the set of profile
groups) is still cached as before.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1742779: Distinguish between no statcat values and multiple values in copy editor...
Mike Rylander [Wed, 10 Jan 2018 16:25:27 +0000 (11:25 -0500)]
LP#1742779: Distinguish between no statcat values and multiple values in copy editor to assist staff

WRT stat cats, the copy editor in the web client will display the value of a
stat cat IFF all selected copies both use the stat cat AND use the same value
for that stat cat. Otherwise it displays <NONE>, which is confusing in the
case of some selected copies just not using the stat cat, or all selected
copies using it, but using different values.

This commit provides tracking of the mixed-use stat, and displays <MULTIPLE>
for the value instead of <NONE> in that case.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoDocs: adding several bug fixes to 3.0.5
Jane Sandberg [Thu, 22 Mar 2018 14:05:21 +0000 (07:05 -0700)]
Docs: adding several bug fixes to 3.0.5

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: Update the server updgrade docs for 3.0.5
Kathy Lussier [Wed, 21 Mar 2018 17:18:59 +0000 (13:18 -0400)]
Docs: Update the server updgrade docs for 3.0.5

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1752983: sort circ modifier list in precat checkout
Jeff Davis [Mon, 12 Mar 2018 18:09:23 +0000 (11:09 -0700)]
LP#1752983: sort circ modifier list in precat checkout

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1755924: show circ modifier in Item Status list view
Jeff Davis [Wed, 14 Mar 2018 21:33:07 +0000 (14:33 -0700)]
LP#1755924: show circ modifier in Item Status list view

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1755892: ensure profile is fleshed in patron search
Jeff Davis [Thu, 15 Mar 2018 21:58:16 +0000 (14:58 -0700)]
LP#1755892: ensure profile is fleshed in patron search

To test
-------
[1] Do a catalog search or retrieve a record in the web staff client.
[2] Click Place Hold.
[3] On the place hold screen, click Patron Search.
[4] Search for patrons (e.g. last name = "smith"). In the results grid,
    the Profile column is empty.
[5] Apply the patch and repeat steps 3 and 4. This time, the Profile
    column should contain the profile name.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1747963 Fix "trim list" feature in web client
Remington Steed [Wed, 7 Feb 2018 19:41:47 +0000 (14:41 -0500)]
LP#1747963 Fix "trim list" feature in web client

The use of splice() here caused buggy behavior and seemed to be a typo,
so I tried using slice() instead. But that still didn't work correctly.
The list stopped adding items after it reached 21 total, so scanning a
new barcode didn't add it to the list but only refreshed the list.

Instead, this commit sets the length of the array to 20, which shortens
the array as described in the MDN documentation for Array.length. Now it
behaves like it did in the XUL client.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1756110: fix egBasicComboBox drop-down functionality
Galen Charlton [Thu, 15 Mar 2018 15:13:27 +0000 (11:13 -0400)]
LP#1756110: fix egBasicComboBox drop-down functionality

Somehow egBasicComboBox got missed when it became necessary to
switch to the newer way of specifying Bootstrap drop-downs. This
patch rectifies that and fixes the drop-down functionality.

To test
-------
[1] Create a report template in the web staff report editor and
    add a filter field.
[2] Attempt to change the filter operator. Note that nothing happens
    when the drop-down button is clicked.
[3] Apply the patch and repeat step 2. This time, the drop-down
    should work and display the list of available filter operators.

Other places affected include:

- The part selector in the volume/copy editor
- Template selector in the volume/copy editor
- Template selector in the labels interface
- Routing label selector in the subscription manager
- Call number prefix and suffix selectors in the serials batch receiving
  interface

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/web/js/ui/default/staff/services/ui.js

6 years agoLP#1743045: skip redundant grid refresh on checkin
Jeff Davis [Wed, 14 Mar 2018 22:10:23 +0000 (15:10 -0700)]
LP#1743045: skip redundant grid refresh on checkin

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
6 years agoLP#1756572: Update to point release notes to include underlined links
Kathy Lussier [Wed, 21 Mar 2018 14:01:01 +0000 (10:01 -0400)]
LP#1756572: Update to point release notes to include underlined links

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1756572: accessibility tweaks to links in webstaff client
Galen Charlton [Sat, 17 Mar 2018 17:38:01 +0000 (13:38 -0400)]
LP#1756572: accessibility tweaks to links in webstaff client

This patch changes the default
text color of text inside egGrid cells to #000; changes the default text
color to #000 (but note that more work would be needed to do this
comprehensively); and adds underlines to links inside grid cells.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/templates/staff/css/style.css.tt2

6 years agoDocs: adding 3.0.5 release notes
Jane Sandberg [Tue, 20 Mar 2018 21:49:56 +0000 (14:49 -0700)]
Docs: adding 3.0.5 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: adding 2.12.11 release notes
Jane Sandberg [Tue, 20 Mar 2018 21:29:07 +0000 (14:29 -0700)]
Docs: adding 2.12.11 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoLP#1721807: fix webstaff report templates that have might_have and has_many joins
Galen Charlton [Tue, 6 Mar 2018 23:00:23 +0000 (18:00 -0500)]
LP#1721807: fix webstaff report templates that have might_have and has_many joins

This patch fixes a bug where using a virtual field in the web staff
report template editor to join another table would result in a syntax
error in the generated SQL.

To test
-------
[1] Apply the patch and verify that the regression test in the previous
    commit passes.
[2] Create new report template in the web staff client that include
    virtual fields and joins and verify that they work. One example
    would be a report that uses ILS User as the base source and joins
    in the patron notes virtual field.
[3] If available, clone a report template originally created in the web
    staff client that had previously failed, then save it. The new
    report should work.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1721807: regression test
Galen Charlton [Wed, 7 Mar 2018 19:27:44 +0000 (14:27 -0500)]
LP#1721807: regression test

This adds an automated regression test as well as some additional
unit tests for the web staff reporter app and template service.  This
patch could be applied by itself to verify that the regression
test (run using 'npm run test' for master or 'grunt test' for rel_3_0)
fails.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1746365 Change default staff link colors to provide adequate contrast
Kathy Lussier [Tue, 6 Feb 2018 16:40:11 +0000 (11:40 -0500)]
LP#1746365 Change default staff link colors to provide adequate contrast

The default link color from bootstrap works well on white backgrounds, but
doesn't provide adequate contrast once the background color is changed.
This introduces accessbility problems, particularly in cases where linked
text displays on a selected grid row that uses a light blue background
color. This change provides a darker default link color.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoDocs: Add aspell wordlist to improve spellchecking
Remington Steed [Fri, 16 Mar 2018 15:18:11 +0000 (11:18 -0400)]
Docs: Add aspell wordlist to improve spellchecking

To spellcheck the docs:

  - Go into the docs/ directory.
  - Copy the wordlist to your home directory (making a backup of your
    existing wordlist, if you have one):
    - cp --backup .aspell.en.pws ~/
  - Run 'aspell' over all AsciiDoc files, except release notes. Don't
    need to create backup files, since we're under version control. This
    runs the interactive spellchecker; use it to fix incorrect words, or
    add new correct words to the wordlist:
    - for f in $(find . -name '*.adoc' -and ! -name 'RELEASE*'); do
      aspell check --ignore-case --dont-backup $f; done
  - Review your changes:
    - git diff
  - Commit spelling corrections in one commit. Noteworthy changes should
    be included in the commit message.
  - Commit changed wordlist in a separate commit.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Spell check corrections
Remington Steed [Fri, 16 Mar 2018 14:58:17 +0000 (10:58 -0400)]
Docs: Spell check corrections

I walked through all the docs (except for release notes) and made a
number of small corrections. Most of them are simple typos, but there
are a few special cases:

  - In cases where the correction required matching with actual code or
    labels in Evergreen, those were checked to make sure the correction
    matched.
  - Changed spelling of "correct" word "Transcendent" to match database
    spelling "transcendant"
  - Changed very informal contractions "it'll" and "that'll" to "it
    will" and "that will". Same for "whatever's" to "whatever is".
  - Changed very informal expressions: "handwaving" to "glossing",
    "modernish" to "modern", "deduping" to "deduplicating".
  - Changed "unclick" to "uncheck" (regarding a checkbox)

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoLP#1691263: discourage input of newlines in MARC editor
Galen Charlton [Mon, 5 Feb 2018 23:04:12 +0000 (18:04 -0500)]
LP#1691263: discourage input of newlines in MARC editor

This patch catches and discards enter keydown events when the
focus is in a contenteditable subfield value div; otherwise, newlines
can infect the MARC record.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoLP#1691263: make webstaff MARC editor wrap long fields
Cesar Velez [Mon, 4 Dec 2017 17:45:35 +0000 (12:45 -0500)]
LP#1691263: make webstaff MARC editor wrap long fields

This patch makes the MARC editor wrap long fields (e.g.,
bibliographic 505 fields) so that they fit the width of the enclosing
window or modal. The approach taken is replacing the text input
elements with contenteditable divs, which in turn can be better
styled.

To test
-------
[1] Apply the patch.
[2] Locate a record with a long 505 field and open it in the
    MARC editor. Verify that the contents of the field wrap.
[3] Verify that record editing and saving work as expected.

Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
6 years agoDocs: Fix AsciiDoc list formatting
Remington Steed [Wed, 14 Mar 2018 12:54:52 +0000 (08:54 -0400)]
Docs: Fix AsciiDoc list formatting

AsciiDoc lists (numbered or bulleted) generally need to be preceded by a
blank line. If not, they will be absorbed into the previous paragraph of
text.  This commit fixes two occurrences of this.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update Authorities.adoc
Morkor Quarshie [Wed, 28 Feb 2018 21:27:05 +0000 (16:27 -0500)]
Docs: Update Authorities.adoc

  - Revised instructions to match web client.
  - Added new screenshots.
  - Improved instructions for "Non-filing indicator".
  - Minor line formatting changes.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Add directions for configuring columns
Morkor Quarshie [Tue, 6 Feb 2018 21:24:10 +0000 (16:24 -0500)]
Docs: Add directions for configuring columns

Includes screenshots and instructions on how to expand, shrink and move
columns left and right. Also updates some explanation to match how the
web client stores column settings.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoLp 1411422: Fix & rename test file.
Jason Stephenson [Fri, 9 Mar 2018 14:17:34 +0000 (09:17 -0500)]
Lp 1411422: Fix & rename test file.

The tests added for this branch had a bad plan.  It specified 7 tests were
to be run when actually there are 8.

I also renumbered the file to be 26, so that there would be only 1 test
numbered 25.

Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLp#1411422: Clean up the code a little bit.
Jason Stephenson [Thu, 8 Mar 2018 19:11:31 +0000 (14:11 -0500)]
Lp#1411422: Clean up the code a little bit.

We don't need to left join when we flesh fields.

Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP1411422 Copy details repeated in search results when item/volume moved with parts...
blake [Fri, 1 Sep 2017 20:54:39 +0000 (20:54 +0000)]
LP1411422 Copy details repeated in search results when item/volume moved with parts attached

Added regression test and tweaked the part lookup query to remove deleted parts.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoLP1411422 Copy details repeated in search results when item/volume moved with parts...
blake [Mon, 13 Jun 2016 20:58:13 +0000 (15:58 -0500)]
LP1411422 Copy details repeated in search results when item/volume moved with parts attached

Added the code in perl to respect the existence of parts. Both "transferring volume"
and "transferring items". "Transferring items" was coded to use
open-ils.cat.asset.copy.fleshed.batch.update which means most of the work was done in js.
The web based staff client is coded to use open-ils.cat.transfer_copies_to_volume.
Decided to use that method for xul as well. Making it more consistent with the "transferring
volume" code. Considered coding it to move the part level holds to the destination part but
it's possible that the source part still has items.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoDocs: Update SMS_messaging.adoc for web client
Kevin Tran [Wed, 7 Mar 2018 15:06:43 +0000 (10:06 -0500)]
Docs: Update SMS_messaging.adoc for web client

  - update instructions to match web client
  - small whitespace change

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update copy_statuses.adoc for web client
Kevin Tran [Thu, 1 Mar 2018 16:41:53 +0000 (11:41 -0500)]
Docs: Update copy_statuses.adoc for web client

  - new screenshots for adding, editing, deleting
  - update instructions to match web client

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update "Circulation - Patron Record" for web client
Remington Steed [Tue, 6 Mar 2018 17:24:05 +0000 (12:24 -0500)]
Docs: Update "Circulation - Patron Record" for web client

  - Replace screenshots. Thanks to Kevin Tran for many of the new
    screenshots.
  - Update instructions to match web client.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoLP#1750912 - Add add_translations.py convenience script to i18n tools.
Chris Sharp [Wed, 21 Feb 2018 21:25:15 +0000 (16:25 -0500)]
LP#1750912 - Add add_translations.py convenience script to i18n tools.

This script was authored by Jason Stephenson, who has kindly
agreed to add it to the Evergreen source tree.  As Jason suggested,
I modified the GPL version number to 2 to be in line with the
Evergreen project's licensing requirements.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoDocs: Fix broken include in root.adoc
Remington Steed [Mon, 12 Mar 2018 14:26:05 +0000 (10:26 -0400)]
Docs: Fix broken include in root.adoc

A recent commit added a section to root.adoc and root_cataloging.adoc.
The reference was correct in the second file, but in the first file was
missing the subdirectory. This commit adds it.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Remove docs not applicable in web client
Remington Steed [Mon, 12 Mar 2018 14:02:54 +0000 (10:02 -0400)]
Docs: Remove docs not applicable in web client

A few docs chapters relate to features that don't exist (yet) in the web
client, so this commit removes those from the table of contents
(root*.adoc).

Also, duplicate content was found during the web client docs review, so
this commit removes the nearly identical docs file and replaces its
references with references to the slightly better version of the file.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoLP#1717593: Missing strings cause serial item delete (and status change) failures
Mike Rylander [Sat, 3 Mar 2018 18:29:17 +0000 (13:29 -0500)]
LP#1717593: Missing strings cause serial item delete (and status change) failures

There are two places in the code that expect a serial-related string to exist,
but neither do.  So, let's correct that.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
6 years agoDocs: Update "Alternate Hold Pick up Location" for web client
Remington Steed [Thu, 8 Mar 2018 16:21:10 +0000 (11:21 -0500)]
Docs: Update "Alternate Hold Pick up Location" for web client

  - New screenshot
  - Remove instructions for changing location label (e.g. "Drive-thru")
  - Wrap long lines to 72 characters (if those lines were changed)

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Use raw ampersand '&' to fix conversion error
Remington Steed [Wed, 7 Mar 2018 20:03:12 +0000 (15:03 -0500)]
Docs: Use raw ampersand '&' to fix conversion error

The AsciiDoc to DocBook conversion process seems handle raw ampersands
just fine, but sometimes chokes on the special entity forms like {amp}
or &#38; . No more fancy talk. Just simple '&'.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Fix '&' DocBook conversion error
Remington Steed [Wed, 7 Mar 2018 19:21:51 +0000 (14:21 -0500)]
Docs: Fix '&' DocBook conversion error

Using the AsciiDoc named character reference {amp} seems to have
converted to a plain '&' too early, causing the DocBook XML validation
to fail. Let's try a numerical reference: &#38;

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: adding web client screenshot
Jane Sandberg [Wed, 7 Mar 2018 04:22:21 +0000 (20:22 -0800)]
Docs: adding web client screenshot

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: updating return-to-search results for Web client
Jane Sandberg [Wed, 7 Mar 2018 04:20:42 +0000 (20:20 -0800)]
Docs: updating return-to-search results for Web client

6 years agoDocs: Update search_interface.adoc for web client
Kevin Tran [Thu, 1 Mar 2018 16:09:30 +0000 (11:09 -0500)]
Docs: Update search_interface.adoc for web client

  - added a screenshot because the instructions seemed to lack a visual
  - changed step 1 from "Search Facet Groups" to "Search Filter Groups"

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update "Monograph Parts" for web client
Remington Steed [Fri, 7 Jul 2017 13:26:15 +0000 (09:26 -0400)]
Docs: Update "Monograph Parts" for web client

  - Replace screenshots
  - Reformat long lines to around 72 characters
  - Convert numbered list to automatic numbering
  - Update instructions to match web client

Thanks to Kevin Tran for the screenshots.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update "Circ Triggered Events" for web client
Remington Steed [Fri, 12 May 2017 12:59:51 +0000 (08:59 -0400)]
Docs: Update "Circ Triggered Events" for web client

Added edits for first section "Access and View".

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Edits and images for "Managing Holds"
Remington Steed [Wed, 21 Feb 2018 17:07:36 +0000 (12:07 -0500)]
Docs: Edits and images for "Managing Holds"

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update "Managing Holds" for web client
Kevin Tran [Thu, 15 Feb 2018 16:18:21 +0000 (11:18 -0500)]
Docs: Update "Managing Holds" for web client

- changed "Actions for Selected Holds" to "Actions"
- several new screenshots
- some instructions updated
- merged and updated steps 3.E - 3.F, and created a new screenshot "holds-managing-5 and 6.JPG" (that will take place of the two current screenshots)

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Edits and images for "Resetting Patron's Password"
Remington Steed [Wed, 21 Feb 2018 16:47:32 +0000 (11:47 -0500)]
Docs: Edits and images for "Resetting Patron's Password"

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoDocs: Update "Resetting Patron's Password" for web client
Kevin Tran [Thu, 8 Feb 2018 16:02:02 +0000 (11:02 -0500)]
Docs: Update "Resetting Patron's Password" for web client

A new screenshot has been created. The description in the instructions
have been changed. Some button names have been updated and verify
password has been removed.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
6 years agoLP#1729922: correctly display most recent transit in item status
Galen Charlton [Fri, 8 Dec 2017 15:29:40 +0000 (10:29 -0500)]
LP#1729922: correctly display most recent transit in item status

This patch ensures that the 'Most Recent Transit' display in
the web staff client's item status page shows the latest transit,
not the oldest one. This also fixes a bug where the transit
receive time never got displayed.  As a side effect, this patch
also ensures that only the transit in question is fetched from
the database, not all transits on the item.

To test
-------
[1] Set up an item with some closed transits and display in in
    detail view in the Item Status page. Note that the
    /oldest/ transit is displayed and that the transit
    receive time field is blank.
[2] Apply the patch and repeat step 1.
[3] This time, the most recent transit should be displayed, and
    if that transit was received, the receive time should be
    displayed.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
6 years agoLP1751520: Add contextMenu Module to JS
Jason Boyer [Tue, 27 Feb 2018 13:58:12 +0000 (08:58 -0500)]
LP1751520: Add contextMenu Module to JS

Include the missing context-menu.js file to allow the
angularTreeControl module to function properly.

This branch is specific to rel_3_0 using Grunt.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
6 years agoLink to the Optional: Developer Additions step
Dan Scott [Thu, 22 Feb 2018 15:40:00 +0000 (10:40 -0500)]
Link to the Optional: Developer Additions step

We were referring people to a previous section by text, but we
have the power of linking in HTML, PDF, and ePub, so let's do
that and ease the navigation.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
6 years agoLP#1748466: Fix http -> https /eg/staff rewrite on Apache 2.4.
Jason Stephenson [Fri, 9 Feb 2018 15:59:37 +0000 (10:59 -0500)]
LP#1748466: Fix http -> https /eg/staff rewrite on Apache 2.4.

Remove the SSLRequireSSL directive from the Location /eg/staff stanza
in Open-ILS/examples/apache_24/eg_vhost.conf.in so that the rewrite
from http to https works for the web staff client without the user
getting a 403.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
6 years agoForward-port 3.0.4 upgrade script
Dan Wells [Tue, 27 Feb 2018 18:17:22 +0000 (13:17 -0500)]
Forward-port 3.0.4 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
6 years agoDocs: adding contributor to 3.0.4 release notes
Jane Sandberg [Sat, 24 Feb 2018 01:36:06 +0000 (17:36 -0800)]
Docs: adding contributor to 3.0.4 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoAdding 3.0.4 release notes
Jane Sandberg [Wed, 21 Feb 2018 02:27:47 +0000 (18:27 -0800)]
Adding 3.0.4 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
6 years agoDocs: fixing typo in 2.12.9 release notes
Jane Sandberg [Tue, 20 Feb 2018 22:35:53 +0000 (14:35 -0800)]
Docs: fixing typo in 2.12.9 release notes

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>