evergreen/pines.git
8 years ago2014 Summer Reading Program Graphics
Terran McCanna [Tue, 6 May 2014 21:54:49 +0000 (17:54 -0400)]
2014 Summer Reading Program Graphics

8 years agoHiding unnecessary and unpopulated Chilifresh content and NoveList "loading" message.
Terran McCanna [Fri, 2 May 2014 16:18:32 +0000 (12:18 -0400)]
Hiding unnecessary and unpopulated Chilifresh content and NoveList "loading" message.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/opac/parts/record/awards.tt2

8 years agoForced Awards & Suggested Reads tab to always be open
Terran McCanna [Tue, 29 Apr 2014 18:12:23 +0000 (14:12 -0400)]
Forced Awards & Suggested Reads tab to always be open
in order to highlight NoveList Select content.

8 years agoUpdated KPAC to feature 4th of July instead of Easter.
Terran McCanna [Tue, 29 Apr 2014 18:07:17 +0000 (14:07 -0400)]
Updated KPAC to feature 4th of July instead of Easter.

Conflicts:
Open-ILS/examples/kpac.xml

8 years agoAdded Nutrition subcategory under Early Learning category in KPAC.
Terran McCanna [Fri, 28 Mar 2014 14:40:47 +0000 (10:40 -0400)]
Added Nutrition subcategory under Early Learning category in KPAC.

8 years agoSwapped out St. Paddy's feature with Easter feature.
Terran McCanna [Mon, 17 Mar 2014 17:28:16 +0000 (13:28 -0400)]
Swapped out St. Paddy's feature with Easter feature.

Conflicts:
Open-ILS/examples/kpac.xml

8 years agoModified kpac.xml to display Easter category
Terran McCanna [Wed, 12 Mar 2014 16:23:29 +0000 (12:23 -0400)]
Modified kpac.xml to display Easter category

8 years agoAdded README and graphics template for use of KPAC graphics.
Terran McCanna [Thu, 6 Mar 2014 20:12:26 +0000 (15:12 -0500)]
Added README and graphics template for use of KPAC graphics.

Conflicts:
Open-ILS/examples/kpac.xml

8 years agoCorrected version of kpac.xml with properly nested preset searches
Terran McCanna [Mon, 17 Feb 2014 21:36:59 +0000 (16:36 -0500)]
Corrected version of kpac.xml with properly nested preset searches

8 years agoSwapped out Valentine's Day feature
Terran McCanna [Mon, 17 Feb 2014 20:53:38 +0000 (15:53 -0500)]
Swapped out Valentine's Day feature
for St. Patrick's Day feature in
KPAC configuration file.

8 years agoThis commit removes confirmation boxes popping up when a hyperlink is clicked
Chris Sharp [Sun, 19 Jan 2014 14:48:15 +0000 (09:48 -0500)]
This commit removes confirmation boxes popping up when a hyperlink is clicked

In PINES, we expect the behavior we've always had, so we revert the change.

Revert "Sort of in line with 949322 but not absolutely necessary"

This reverts commit e1a7501799119e0f305616af5bf97149d9bdf4c0.

8 years agoAdding fix for KPAC hold placement.
Chris Sharp [Tue, 14 Jan 2014 17:50:16 +0000 (12:50 -0500)]
Adding fix for KPAC hold placement.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
8 years agoAdding Terran's kpac.xml to update topics for post MLK weekend.
Chris Sharp [Tue, 14 Jan 2014 17:49:24 +0000 (12:49 -0500)]
Adding Terran's kpac.xml to update topics for post MLK weekend.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
8 years agotemporary workaround for holds error when user isn't logged in and doesn't select...
Terran McCanna [Tue, 14 Jan 2014 01:49:10 +0000 (20:49 -0500)]
temporary workaround for holds error when user isn't logged in and doesn't select a pickup location

Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm

8 years agofixed problem with referencing wrong org selector
Terran McCanna [Thu, 9 Jan 2014 21:58:46 +0000 (16:58 -0500)]
fixed problem with referencing wrong org selector

Conflicts:
Open-ILS/src/templates/kpac/getit.tt2

8 years agoCommenting out Bib Call Number and uncommenting Call Number Browse.
Chris Sharp [Wed, 8 Jan 2014 23:56:45 +0000 (18:56 -0500)]
Commenting out Bib Call Number and uncommenting Call Number Browse.

Conflicts:
Open-ILS/src/templates/opac/parts/advanced/numeric.tt2

8 years agoAttempt to fix default pickup location bug when user is not logged in.
Terran McCanna [Fri, 27 Dec 2013 18:37:58 +0000 (13:37 -0500)]
Attempt to fix default pickup location bug when user is not logged in.

Conflicts:
Open-ILS/src/templates/kpac/getit.tt2

8 years agoRe-applied audience filter to restrict to juvenile audience types.
Terran McCanna [Fri, 20 Dec 2013 18:12:07 +0000 (13:12 -0500)]
Re-applied audience filter to restrict to juvenile audience types.

8 years agoModified style guide to emphasize call numbers in search results and item display.
Terran McCanna [Fri, 20 Dec 2013 18:00:04 +0000 (13:00 -0500)]
Modified style guide to emphasize call numbers in search results and item display.

8 years agoTemporarily hid Add to List functionality until it can be further developed.
Terran McCanna [Fri, 20 Dec 2013 17:59:28 +0000 (12:59 -0500)]
Temporarily hid Add to List functionality until it can be further developed.

8 years agoBug fix to recognize user's default pickup library for holds when they are logged in.
Terran McCanna [Fri, 20 Dec 2013 17:58:50 +0000 (12:58 -0500)]
Bug fix to recognize user's default pickup library for holds when they are logged in.

Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm

8 years agoChanged featured items for KPAC home page.
Terran McCanna [Fri, 20 Dec 2013 17:57:36 +0000 (12:57 -0500)]
Changed featured items for KPAC home page.

8 years agoAdding KPAC link to header and footer.
Chris Sharp [Thu, 19 Dec 2013 14:49:36 +0000 (09:49 -0500)]
Adding KPAC link to header and footer.

8 years agoPINES KPAC landing page doesn't include the Print button.
Chris Sharp [Thu, 19 Dec 2013 14:33:18 +0000 (09:33 -0500)]
PINES KPAC landing page doesn't include the Print button.

8 years agoCorrecting file path for PINES logo on KPAC.
Chris Sharp [Thu, 19 Dec 2013 12:35:46 +0000 (07:35 -0500)]
Correcting file path for PINES logo on KPAC.

8 years agoRemoving "Bib Call Number" from the advanced numeric search options.
Chris Sharp [Tue, 26 Nov 2013 16:35:43 +0000 (11:35 -0500)]
Removing "Bib Call Number" from the advanced numeric search options.

Conflicts:
Open-ILS/src/templates/opac/parts/advanced/numeric.tt2

8 years agoAllowing unfillable hold placement in the staff client, not the OPAC
Chris Sharp [Fri, 22 Nov 2013 15:18:58 +0000 (10:18 -0500)]
Allowing unfillable hold placement in the staff client, not the OPAC

In PINES, we do not allow patrons to override hold policies, but staff
may in certain circumstances.  This change makes the option visible in
the staff client, but not the OPAC.

8 years agoSmall changes to Search Limit names and Category names.
Terran McCanna [Wed, 23 Oct 2013 14:30:29 +0000 (10:30 -0400)]
Small changes to Search Limit names and Category names.

8 years agoFurther tweaks to search limits and modifications to book bag links.
Terran McCanna [Mon, 21 Oct 2013 18:17:35 +0000 (14:17 -0400)]
Further tweaks to search limits and modifications to book bag links.

8 years agoTesting modifications to navigation.
Terran McCanna [Thu, 17 Oct 2013 22:57:18 +0000 (18:57 -0400)]
Testing modifications to navigation.

8 years agoModifications to quick search functions and stylesheet.
Terran McCanna [Thu, 17 Oct 2013 20:51:38 +0000 (16:51 -0400)]
Modifications to quick search functions and stylesheet.

Conflicts:

Open-ILS/web/css/skin/default/kpac/style.css

8 years agoImage handling has changed in the new version...
Chris Sharp [Wed, 16 Oct 2013 15:00:44 +0000 (11:00 -0400)]
Image handling has changed in the new version...

Removing PINES-customized code that referred to a now-missing image.

8 years agoTypo in footer.tt2 causing a server error.
Chris Sharp [Mon, 14 Oct 2013 15:25:05 +0000 (11:25 -0400)]
Typo in footer.tt2 causing a server error.

8 years agoRemoving "kpac-original" directory in order to keep a clean source directory.
Chris Sharp [Mon, 7 Oct 2013 14:39:05 +0000 (10:39 -0400)]
Removing "kpac-original" directory in order to keep a clean source directory.

8 years agoPINES customization of KPAC - beta ready for testing
Terran McCanna [Mon, 30 Sep 2013 19:28:08 +0000 (15:28 -0400)]
PINES customization of KPAC - beta ready for testing

8 years agoUpdated dewey.tt2
Terran McCanna [Tue, 24 Sep 2013 19:08:13 +0000 (15:08 -0400)]
Updated dewey.tt2

8 years agoInitial commit of PINES KPAC customizations.
Terran McCanna [Tue, 24 Sep 2013 18:51:21 +0000 (14:51 -0400)]
Initial commit of PINES KPAC customizations.

Conflicts:

Open-ILS/src/templates/kpac/home.tt2
Open-ILS/src/templates/kpac/parts/copy_table.tt2
Open-ILS/src/templates/kpac/parts/header.tt2
Open-ILS/web/css/skin/default/kpac/style.css

Conflicts:
Open-ILS/src/templates/kpac/parts/copy_table.tt2
Open-ILS/web/css/skin/default/kpac/style.css

8 years agoRemoving "You have permission to override some of the failed holds." OPAC message
Chris Sharp [Tue, 23 Jul 2013 12:38:01 +0000 (08:38 -0400)]
Removing "You have permission to override some of the failed holds." OPAC message

8 years agoPINES is not yet keeping a history of circ or holds
Chris Sharp [Mon, 24 Jun 2013 17:10:30 +0000 (13:10 -0400)]
PINES is not yet keeping a history of circ or holds

Conflicts:

Open-ILS/src/templates/opac/myopac/prefs_settings.tt2

8 years agoChanging the default hold message for when an item is age protected.
Chris Sharp [Fri, 14 Jun 2013 11:42:46 +0000 (07:42 -0400)]
Changing the default hold message for when an item is age protected.

8 years agoPINES Survey Link - TPAC Edition
Chris Sharp [Sat, 4 May 2013 14:33:34 +0000 (10:33 -0400)]
PINES Survey Link - TPAC Edition

PINES does an online survey that runs for a week every Spring. These
changes create a red link to the survey above the search bar on the
OPAC home page.

8 years agoRemove "Claims Never Checked Out" in Items Out summary
Chris Sharp [Wed, 10 Apr 2013 17:06:55 +0000 (13:06 -0400)]
Remove "Claims Never Checked Out" in Items Out summary

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
8 years agoadding in gmcharlt's fix for trailing TCN spaces
Chris Sharp [Fri, 13 Jan 2012 22:26:14 +0000 (17:26 -0500)]
adding in gmcharlt's fix for trailing TCN spaces

Conflicts:

Open-ILS/src/perlmods/lib/OpenILS/Application/Cat/BibCommon.pm

8 years agoadding new macros to listed ones
Chris Sharp [Wed, 26 Sep 2012 17:14:16 +0000 (13:14 -0400)]
adding new macros to listed ones

8 years agoAdding GPLS Helpdesk link to Staff Client portal page and correcting a small typo
Chris Sharp [Thu, 7 Mar 2013 00:23:33 +0000 (19:23 -0500)]
Adding GPLS Helpdesk link to Staff Client portal page and correcting a small typo

Conflicts:

Open-ILS/web/opac/locale/en-US/lang.dtd

Conflicts:
Open-ILS/xul/staff_client/server/index.xhtml

8 years agore-adding STAFF_MIDDLENAME, PATRON_MIDDLENAME, PATRON_EXPIRE_DATE, and PATRON_EXPIRE_...
Chris Sharp [Mon, 25 Feb 2013 15:12:11 +0000 (10:12 -0500)]
re-adding STAFF_MIDDLENAME, PATRON_MIDDLENAME, PATRON_EXPIRE_DATE, and PATRON_EXPIRE_DATE_YMD to rel_2_3_4

Conflicts:

Open-ILS/xul/staff_client/chrome/content/util/print.js

8 years agoRevert "Use my_asv here.. surveys pertinent to the workstation library.. in case...
Chris Sharp [Wed, 1 Feb 2012 20:16:08 +0000 (15:16 -0500)]
Revert "Use my_asv here.. surveys pertinent to the workstation library.. in case survey usage ever takes off.  Should probably move some of this to the middle layer"

This reverts commit 54d45c37d91c78cffa00ca3ff0f6298261d548b2.

8 years agoadding file that returns circ mod view to normal
Chris Sharp [Thu, 17 Nov 2011 13:06:10 +0000 (08:06 -0500)]
adding file that returns circ mod view to normal

8 years agoadding mrpeters' awesome favicon
Chris Sharp [Fri, 29 Mar 2013 13:09:18 +0000 (09:09 -0400)]
adding mrpeters' awesome favicon

8 years agoChanging default hold error messages.
Chris Sharp [Thu, 28 Mar 2013 22:29:57 +0000 (18:29 -0400)]
Changing default hold error messages.

Conflicts:
Open-ILS/src/templates/opac/parts/hold_error_messages.tt2

8 years agoremoving hold/circ history view for patrons until we can review policy concerns
Chris Sharp [Wed, 27 Mar 2013 19:09:51 +0000 (15:09 -0400)]
removing hold/circ history view for patrons until we can review policy concerns

Conflicts:

Open-ILS/src/templates/opac/myopac/holds.tt2

Conflicts:
Open-ILS/src/templates/opac/myopac/circs.tt2
Open-ILS/src/templates/opac/myopac/holds.tt2

8 years agoadding PINES help links
Chris Sharp [Wed, 20 Mar 2013 01:22:35 +0000 (21:22 -0400)]
adding PINES help links

Conflicts:

Open-ILS/src/templates/opac/parts/login/help.tt2

8 years agoupdating the username/password hints for the opac
Chris Sharp [Wed, 20 Mar 2013 01:19:04 +0000 (21:19 -0400)]
updating the username/password hints for the opac

Conflicts:

Open-ILS/src/templates/opac/parts/login/form.tt2
Open-ILS/src/templates/opac/parts/login/password_hint.tt2

8 years agoimproving the default hold message for range-protected items
Chris Sharp [Tue, 19 Mar 2013 17:41:49 +0000 (13:41 -0400)]
improving the default hold message for range-protected items

8 years agoEnabling the display of 856 field URLs for related resources
Chris Sharp [Tue, 19 Mar 2013 17:18:16 +0000 (13:18 -0400)]
Enabling the display of 856 field URLs for related resources

8 years agoPassword Length Helpers
Michael Peters [Wed, 13 Mar 2013 12:31:43 +0000 (08:31 -0400)]
Password Length Helpers

This branch provides length helpers when patrons are setting or resetting
passwords.

This assumes the default 7 characters, 1 number requirement that comes stock.
You would need to change the hard coded strings if you use a different password
requirement regex in Library Settings Editor.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
8 years agoRemove the hardcoded width of locg dropdown
Michael Peters [Thu, 7 Mar 2013 13:47:37 +0000 (08:47 -0500)]
Remove the hardcoded width of locg dropdown

The hard coded 12em width causes longer library names to be cut
off.  This removes that restriction.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
8 years agoremoving journal title and bib call number from query type selector dropdown
Chris Sharp [Wed, 6 Mar 2013 21:56:35 +0000 (16:56 -0500)]
removing journal title and bib call number from query type selector dropdown

Conflicts:

Open-ILS/src/templates/opac/parts/qtype_selector.tt2

Conflicts:
Open-ILS/src/templates/opac/parts/qtype_selector.tt2

8 years agoadding newly designed PINES logos
Chris Sharp [Wed, 6 Mar 2013 18:37:10 +0000 (13:37 -0500)]
adding newly designed PINES logos

8 years agoremoving bib level advanced search filter
Chris Sharp [Wed, 6 Mar 2013 18:31:02 +0000 (13:31 -0500)]
removing bib level advanced search filter

Conflicts:

Open-ILS/src/templates/opac/parts/config.tt2

Conflicts:
Open-ILS/src/templates/opac/parts/config.tt2

8 years agoadding footer and topnav links and logo
Chris Sharp [Wed, 6 Mar 2013 05:01:18 +0000 (00:01 -0500)]
adding footer and topnav links and logo

Conflicts:

Open-ILS/src/templates/opac/parts/footer.tt2
Open-ILS/src/templates/opac/parts/topnav_logo.tt2

Conflicts:
Open-ILS/src/templates/opac/parts/footer.tt2

8 years agoPINES GALILEO TPAC link and auth redirector
Bill Erickson [Mon, 19 Aug 2013 13:27:58 +0000 (09:27 -0400)]
PINES GALILEO TPAC link and auth redirector

* adds a GALILEO link in the footer template
* adds a new TPAC URL target for /eg/opac/galileo, which redirects the
  user to the GALILEO URL, ensuring the user is first logged in.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Conflicts:
Open-ILS/src/templates/opac/parts/footer.tt2

8 years agoBumping version numbers and adding Changelog
blake [Wed, 24 May 2017 18:26:36 +0000 (13:26 -0500)]
Bumping version numbers and adding Changelog

Signed-off-by: blake <blake@mobiusconsortium.org>
8 years agoUpdated server_upgrade.adoc to refelct 2.12.2
blake [Wed, 24 May 2017 18:22:48 +0000 (13:22 -0500)]
Updated server_upgrade.adoc to refelct 2.12.2

Signed-off-by: blake <blake@mobiusconsortium.org>
8 years agoBumping version numbers, adding Upgrade Script and Changelog
blake [Wed, 24 May 2017 18:15:58 +0000 (13:15 -0500)]
Bumping version numbers, adding Upgrade Script and Changelog

Signed-off-by: blake <blake@mobiusconsortium.org>
8 years agobumping Perl version string for 2.12.2
blake [Wed, 24 May 2017 18:06:24 +0000 (13:06 -0500)]
bumping Perl version string for 2.12.2

Signed-off-by: blake <blake@mobiusconsortium.org>
8 years agoTranslation updates - po files
blake [Wed, 24 May 2017 18:05:52 +0000 (13:05 -0500)]
Translation updates - po files

Signed-off-by: blake <blake@mobiusconsortium.org>
8 years agoTranslation updates - newpot
blake [Wed, 24 May 2017 17:54:39 +0000 (12:54 -0500)]
Translation updates - newpot

Signed-off-by: blake <blake@mobiusconsortium.org>
8 years ago2.10.11-2.10.12 schema update
Galen Charlton [Wed, 24 May 2017 16:35:09 +0000 (12:35 -0400)]
2.10.11-2.10.12 schema update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoupdate 2.12.2 release notes
Galen Charlton [Wed, 24 May 2017 16:26:45 +0000 (12:26 -0400)]
update 2.12.2 release notes

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1478128: Avoid XSS in public catalog
Dan Scott [Wed, 26 Apr 2017 04:19:42 +0000 (00:19 -0400)]
LP#1478128: Avoid XSS in public catalog

This patch escapes various GET param values by passing them through
the Template Toolkit html filter, including:

* in the locale picker
* in the searchbar
* in the login form

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoDocs: 2.12.2 Maintenance release notes
Kathy Lussier [Wed, 24 May 2017 04:00:38 +0000 (00:00 -0400)]
Docs: 2.12.2 Maintenance release notes

Well, this turned out to be a busy maintenance release. Lots of bug fixes
are now outlined in the 2.12.2 release notes.

This commit also adds a missing new feature - LSE setting for default
status for received acq line items - to the 2.12.0 notes.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoDocs: 2.11.5 maintenance release notes
Kathy Lussier [Wed, 24 May 2017 02:59:35 +0000 (22:59 -0400)]
Docs: 2.11.5 maintenance release notes

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1677902: Remove search formats from advanced search limiter block
Kathy Lussier [Wed, 17 May 2017 16:11:33 +0000 (12:11 -0400)]
LP#1677902: Remove search formats from advanced search limiter block

The original behavior of the advanced search limiter block was to remove
search formats from the display because it is available for limiting in the
search bar. Other code broke this behavior, and I've now restored it by
adding the ignore search format code to the searchbar.tt2 file. It also fixes
a problem where the search format limiters were incorrectly displaying on the
low hits page.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
8 years agoLP#1650410: include --days_back in synopsis and other tidying
Galen Charlton [Sat, 20 May 2017 12:39:18 +0000 (08:39 -0400)]
LP#1650410: include --days_back in synopsis and other tidying

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1650410: doc authority_control_fields.pl's --days_back flag
Jane Sandberg [Fri, 27 Jan 2017 00:00:53 +0000 (16:00 -0800)]
LP#1650410: doc authority_control_fields.pl's --days_back flag

This patch updates the POD that in turn is displayed when
running authority_control_fields.pl -h

Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1690468: fix Exclude Electronic Resources checkbox with advanced search limiters
Jeff Davis [Thu, 18 May 2017 22:43:53 +0000 (15:43 -0700)]
LP#1690468: fix Exclude Electronic Resources checkbox with advanced search limiters

When advanced search limiters are applied, you cannot successfully
uncheck the Exclude Electronic Resources checkbox.  When you uncheck it,
your current search is reloaded, but e-resources are still excluded
(and the box remains checked).

When you use the checkbox to exclude e-resources, the search form on the
results page contains a hidden input element:

<input type="hidden" name="fi:-search_format" value="electronic" />

This commit uses Javascript to remove that element from the search form
when the box is unchecked, before submitting the search.

Test plan:

[1] Enable the "Exclude Electronic Resources" checkbox in config.tt2.
[2] Do an advanced search, applying at least one search filter (e.g.
    Language = "English").
[3] On the search results page, check the Exclude Electronic Resources
    checkbox.  This repeats your search, excluding e-resources.
[4] Uncheck the Exclude Electronic Resources box.  Your search is
    repeated, but e-resources are still excluded and the box remains
    checked on your new results page.
[5] Apply this fix.
[6] Refresh the page or clear your browser cache, and try to uncheck the
    Exclude Electronic Resources box again.  This time, it should work:
    e-resources will no longer be excluded, and the box is unchecked
    when your new results page loads.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1610246: add upgrade note
Galen Charlton [Fri, 19 May 2017 01:59:28 +0000 (21:59 -0400)]
LP#1610246: add upgrade note

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1610246 Classic Circulation View excluding circulations
Chris Sharp [Fri, 5 Aug 2016 13:27:23 +0000 (09:27 -0400)]
LP#1610246 Classic Circulation View excluding circulations

The reporter.classic_current_circ view, which is available via
Open-ILS/src/sql/Pg/example.reporter-extension.sql, was excluding
circulations because it was assuming all users have a billing address
This branch corrects that with a LEFT JOIN.

No upgrade script will be included since these views are not assumed
to be installed by all Evergreen instances.  Please re-run the
example.reporter-extension.sql file to apply this change for your
instance.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1491875: avoid erroneous "unsaved data" popup during MARC record creation
Jason Etheridge [Wed, 26 Apr 2017 21:23:26 +0000 (17:23 -0400)]
LP#1491875: avoid erroneous "unsaved data" popup during MARC record creation

Test plan
---------
[1] Navigate to Cataloging -> Create New MARC Record.
[2] Choose a template, click Load
[3] Enter data in a fixed field, for example, Date1
[4] Enter data in a MARC field such as 100
[5] Click Create Record:

    The "This tab may have unsaved data. ..." pop up will appear.
    Clicking OK will save the record and take the user to their default
    view of the record.
    Clicking Cancel will save the record and return the user to the MARC
    Edit screen.
    The behavior when clicking Cancel can lead to confusion as to
    whether the record has actually been saved.

[6] Apply the patch and repeats steps #1-#5.
[7] This time, no extraneous unsaved data warning should appear.

Note that this patch's kludge doesn't fix all possible instances
of the warning; see https://bugs.launchpad.net/evergreen/+bug/1491875/comments/6
for details.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
SIgned-off-by: Andrea Neiman <abneiman@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1677661 Hold targeter live test use API, etc.
Bill Erickson [Fri, 31 Mar 2017 14:21:45 +0000 (10:21 -0400)]
LP#1677661 Hold targeter live test use API, etc.

Teach the hold targeter live tests to call the open-ils.hold.targeter
API instead of calling the now-defunct Utils::HoldTargeter batch
targeter function.  Apart from the loss of this function, calling the
API allows the live tests to exercise more of the targeting code.

Teach the live tests to test --soft-retarget-interval instead of the
deprecated --skip-viable option.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
8 years agoLP#1677661 Targeter V2 remove unused batch API
Bill Erickson [Fri, 31 Mar 2017 14:21:25 +0000 (10:21 -0400)]
LP#1677661 Targeter V2 remove unused batch API

Remove the unusued batch target() function from Utils::HoldTargeter to
avoid code duplication.  The same (but more resilient) batch targeting
construct exists in the open-ils.hold-targeter API.

Move API docs from Utils::HoldTargeter to the open-ils.hold-targeter API
docs for added visbility / findability.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
8 years agoLP#1677661 Targeter V2 extras release notes
Bill Erickson [Thu, 30 Mar 2017 15:47:20 +0000 (11:47 -0400)]
LP#1677661 Targeter V2 extras release notes

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
8 years agoLP#1677661 Hold Targeter V2 Repairs & Improvements
Bill Erickson [Wed, 22 Mar 2017 15:47:21 +0000 (11:47 -0400)]
LP#1677661 Hold Targeter V2 Repairs & Improvements

* Make the batch targeter more resilient to a single-hold failure.

* Additional batch targeter info logging.

* Set OSRF_LOG_CLIENT in hold_targeter_v2.pl for log tracing

* Removes the confusingly name --target-all option

* Adds a new --next-check-interval option for specifying when the
  targeter will next affect the currently processed holds, which may be
  different that now + retarget-interval in cases where the targeter is
  not constantly running.

* Replaces the --skip-viable option with a new --soft-retarget-interval
  option, allowing for time-based soft-targeting.

* Soft-targeting now updates hold_copy_maps for all affected holds, not
  just those requiring a full retarget.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
8 years agoLP#1618949 Required patron stats format repairs
Bill Erickson [Wed, 26 Apr 2017 16:42:21 +0000 (12:42 -0400)]
LP#1618949 Required patron stats format repairs

Fixes a broken div column class, which caused the patron stat cats to
stretch across the page.

Other div nesting/formatting fixes and additional inline code comments.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1618949 Patron edit forces required stat cats
Billy Horn [Mon, 7 Nov 2016 22:29:53 +0000 (14:29 -0800)]
LP#1618949 Patron edit forces required stat cats

Display required stat cats as required form fields and prevent the
patron editor form from submitting when required stat cats do not have
values.

Signed-off-by: Billy Horn <bhorn@catalystdevworks.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1670242 Webstaff checkin transit holds addr fix
Bill Erickson [Fri, 12 May 2017 20:22:14 +0000 (16:22 -0400)]
LP#1670242 Webstaff checkin transit holds addr fix

Gracefully handle cases where a checkin results in a transit to a branch
with no holds address.  Route dialog and print templates now display "We
do not have a holds address for this library. "

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoWebstaff: hide behind-desk option when not supported
Bill Erickson [Thu, 6 Oct 2016 14:27:15 +0000 (10:27 -0400)]
Webstaff: hide behind-desk option when not supported

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agoLP#1641208: util.file no longer mangles UTF8 when writing JSON
Galen Charlton [Fri, 11 Nov 2016 19:52:11 +0000 (14:52 -0500)]
LP#1641208: util.file no longer mangles UTF8 when writing JSON

This patch ensures that JSON strings are converted to UTF8
before they are writing to XUL profile files by util.file. Doing this
fixes a bug where by OU names like "ბიზნესისა" can get mangled
in certain XUL client interfaces.

To test
-------
[1] Set an OU name to ბიზნესისა
[2] In the transit list, note that the OU selector displays
    the name as ÑØÖÜÔáØáÐ.
[3] Apply the patch (note that it's not necessary to rebuild
    the staff client to test this).
[4] Restart the staff client, clearing cache beforehand.
[5] Note that the OU name is now displayed correctly in the transit
    list.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agoLP#1673799 Stamping EDI query SQL update
Bill Erickson [Wed, 17 May 2017 17:14:17 +0000 (13:14 -0400)]
LP#1673799 Stamping EDI query SQL update

Signed-off-by: Bill Erickson <berickxx@gmail.com>
8 years agoLP#1673799: new acqedim index to speed up duplicate file check
Galen Charlton [Fri, 17 Mar 2017 15:47:46 +0000 (11:47 -0400)]
LP#1673799: new acqedim index to speed up duplicate file check

This patch adds a new index on acq.edi_message to speed up
the check for duplicate EDI messages that edi_fetcher.pl runs,
replacing use of "ilike" with invocations of the evergreen.lowercase()
stored procedure.

To test
-------
[1] Arrange to create or simulate an EDI message that failed
    processing.
[2] Run edi_fetcher.pl to have it attempt to download the
    failed message in step #1; verify that the file is
    /not/ downloaded again and that no additonal acq.edi_message
    rows are created for it.
[3] (Extra credit) Try steps 1 and 2 in a database that has a
    very large number of rows in acq.edi_message.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
8 years agoLP#1650807: fix rollover_phone_to_print.pl to ack failed calls
Josh Stompro [Wed, 21 Dec 2016 19:57:32 +0000 (13:57 -0600)]
LP#1650807: fix rollover_phone_to_print.pl to ack failed calls

This patch fixes a bug in rollover_phone_to_print.pl that kept
failed callfiles from being moved.

The list of new event ID's that the script created was being sent to the
mediator, which couldn't do anything with them.  The original event ID's
need to be sent to have those call files moved.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1672824 A/T complete_time set on grouped events
Bill Erickson [Tue, 14 Mar 2017 17:57:12 +0000 (13:57 -0400)]
LP#1672824 A/T complete_time set on grouped events

Set the complete_time value on grouped Action/Trigger events when an
event's state reaches "complete", consisten with non-grouped events.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#117794 - Remove references to "Keep" field in Vandelay docs.
Chris Sharp [Sat, 20 Aug 2016 14:46:11 +0000 (10:46 -0400)]
LP#117794 - Remove references to "Keep" field in Vandelay docs.

Since the "Keep" field of Vandelay Import Item Attributes is
not implemented, remove references to it in the documentation.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
8 years agoLP#1177794 - remove "Keep" field from Vandelay Import Item Attributes.
Chris Sharp [Sat, 20 Aug 2016 14:36:57 +0000 (10:36 -0400)]
LP#1177794 - remove "Keep" field from Vandelay Import Item Attributes.

The "Keep" field in Vandelay Import Item Attributes is not
currently implemented, so remove from all user interfaces.
However, I didn't change the vandelay.import_item_attr_definition
table, leaving the option for this to be implemented in the future.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Conflicts:
build/i18n/po/fm_IDL.dtd/fm_IDL.dtd.pot

8 years agoLP1689576: Fix ALARM -> ALRM Typo
Jason Boyer [Tue, 9 May 2017 15:07:46 +0000 (11:07 -0400)]
LP1689576: Fix ALARM -> ALRM Typo

In Biblio.pm, when trying to set a timeout handler for $SIG{ALARM}
when retrieving cached facets as part of a catalog search,
a warning is dropped in the logs to this effect:
"No such signal: SIGALARM at
/usr/local/share/perl/5.18.2/OpenILS/Application/Search/Biblio.pm
line 1411"
When using $SIG{ALRM} instead the handler is set as expected.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1552861: stamp database update
Galen Charlton [Mon, 15 May 2017 21:03:28 +0000 (17:03 -0400)]
LP#1552861: stamp database update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1552861: add upgrade script
Galen Charlton [Wed, 10 May 2017 17:00:46 +0000 (10:00 -0700)]
LP#1552861: add upgrade script

Also, a test plan for the fix:

[1] Set the vandelay.default_match_set setting for several
    org units. In at least one case, set it to the ID
    of a valid vandelay.match_set entry; in another case,
    set it to a numeric ID that doesn't match any existing
    vms rows; and finally, in another case set it to the
    name of a match set.
[2] Apply the patch and run the database update. Verify that
    the update script will indicate that there are invalid
    settings, then delete.
[3] Open the library settings editor and verify that in the
    case where a valid match set was used, the editor provides
    a drop-down with possible vms values with the correct
    one selected.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1552861: use correct datatype for vandelay.default_match_set org setting
Jeff Davis [Thu, 3 Mar 2016 18:55:34 +0000 (10:55 -0800)]
LP#1552861: use correct datatype for vandelay.default_match_set org setting

Values for this setting should be links to vandelay.match_set, not strings.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Conflicts:
Open-ILS/src/sql/Pg/950.data.seed-values.sql

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1170514 Stamping vandelay bib-overlay resync SQL
Bill Erickson [Mon, 15 May 2017 18:16:05 +0000 (14:16 -0400)]
LP#1170514 Stamping vandelay bib-overlay resync SQL

Signed-off-by: Bill Erickson <berickxx@gmail.com>