evergreen/pines.git
11 years agoCan't vacuum within a transaction! and commenting out a DROP INDEX.
Chris Sharp [Fri, 17 Jan 2014 14:47:29 +0000 (09:47 -0500)]
Can't vacuum within a transaction!  and commenting out a DROP INDEX.

11 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>
11 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>
11 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

11 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

11 years agoAdding workaround SQL for bug 1259665 to the post-upgrade script.
Chris Sharp [Tue, 14 Jan 2014 17:35:05 +0000 (12:35 -0500)]
Adding workaround SQL for bug 1259665 to the post-upgrade script.

11 years agoAdding PINES datawork to pre-upgrade script.
Chris Sharp [Mon, 13 Jan 2014 18:31:37 +0000 (13:31 -0500)]
Adding PINES datawork to pre-upgrade script.

11 years agoCommenting out a section of the notification preferences template that
Chris Sharp [Mon, 13 Jan 2014 15:05:44 +0000 (10:05 -0500)]
Commenting out a section of the notification preferences template that

causes an error to display.

11 years agoAdding a copy of create_database_extensions.sql to re-create the PINES database durin...
Chris Sharp [Mon, 13 Jan 2014 12:59:35 +0000 (07:59 -0500)]
Adding a copy of create_database_extensions.sql to re-create the PINES database during the upgrade.

11 years agoComment out portions of 2.4.3-2.5.0 upgrade script that cause errors.
Chris Sharp [Mon, 13 Jan 2014 12:49:55 +0000 (07:49 -0500)]
Comment out portions of 2.4.3-2.5.0 upgrade script that cause errors.

Because of bug 1261355, we comment out 0795, 0841, 0842, and 0843
so we can get through the 2.4.3-2.5.0 upgrade script without errors.

See https://bugs.launchpad.net/evergreen/+bug/1261355 for details.

11 years agofixing some copy/paste typos
Chris Sharp [Mon, 13 Jan 2014 12:39:21 +0000 (07:39 -0500)]
fixing some copy/paste typos

11 years agoMoving from GIST to GIN indexes for text search in PINES
Chris Sharp [Sun, 12 Jan 2014 14:05:11 +0000 (09:05 -0500)]
Moving from GIST to GIN indexes for text search in PINES

11 years agoAdding permissions to LocalAdmins and GlobalAdmins to administer staff client toolbars.
Chris Sharp [Fri, 10 Jan 2014 16:29:37 +0000 (11:29 -0500)]
Adding permissions to LocalAdmins and GlobalAdmins to administer staff client toolbars.

11 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.

11 years agoadding fields to be automatically stripped when importing MARC records
Chris Sharp [Wed, 8 Jan 2014 13:01:11 +0000 (08:01 -0500)]
adding fields to be automatically stripped when importing MARC records

11 years agoNeeded some rearranging.
Chris Sharp [Tue, 7 Jan 2014 16:53:37 +0000 (11:53 -0500)]
Needed some rearranging.

11 years agoRe-adding library URLs, which were broken by a previous PINES-specific commit.
Chris Sharp [Tue, 7 Jan 2014 16:30:52 +0000 (11:30 -0500)]
Re-adding library URLs, which were broken by a previous PINES-specific commit.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 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.

11 years agoadding the beginnings of a post-upgrade script
Chris Sharp [Thu, 19 Dec 2013 14:31:58 +0000 (09:31 -0500)]
adding the beginnings of a post-upgrade script

11 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.

11 years ago2.5.0 includes "Long Overdue", which adds its own copy status,
Chris Sharp [Mon, 16 Dec 2013 11:03:33 +0000 (06:03 -0500)]
2.5.0 includes "Long Overdue", which adds its own copy status,

so we change our existing config.copy_status from "Long Overdue"
to "Long Overdue (Legacy)"

11 years agoRe-adding the BEGIN;
Chris Sharp [Sun, 15 Dec 2013 02:29:39 +0000 (21:29 -0500)]
Re-adding the BEGIN;

11 years agoOops! We need to define the eg_version.
Chris Sharp [Sun, 15 Dec 2013 02:25:50 +0000 (21:25 -0500)]
Oops!  We need to define the eg_version.

11 years agoPINES has already applied 0818.
Chris Sharp [Sun, 15 Dec 2013 02:23:23 +0000 (21:23 -0500)]
PINES has already applied 0818.

11 years agoDropping a staged search function preventing the 2.3-2.4.0 script from completing.
Chris Sharp [Fri, 6 Dec 2013 16:20:36 +0000 (11:20 -0500)]
Dropping a staged search function preventing the 2.3-2.4.0 script from completing.

11 years agoCreating a PINES-specific version of the 2.3 to 2.4.0 upgrade script.
Chris Sharp [Fri, 6 Dec 2013 13:07:44 +0000 (08:07 -0500)]
Creating a PINES-specific version of the 2.3 to 2.4.0 upgrade script.

Includes indexes that must be dropped for the upgrade script to succeed.

11 years agoAdding a pre-2.3-2.4.0 upgrade script to do some necessary datawork.
Chris Sharp [Thu, 5 Dec 2013 16:45:04 +0000 (11:45 -0500)]
Adding a pre-2.3-2.4.0 upgrade script to do some necessary datawork.

11 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.

11 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.

11 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.

11 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.

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

11 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

11 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.

11 years agoCorrecting git-conflict-induced typo in form.tt2
Chris Sharp [Wed, 16 Oct 2013 14:54:31 +0000 (10:54 -0400)]
Correcting git-conflict-induced typo in form.tt2

11 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>
11 years agoSafe auth token activity logging
Bill Erickson [Mon, 19 Aug 2013 13:24:17 +0000 (09:24 -0400)]
Safe auth token activity logging

Expand safe token generation to include user user ID in the cached data,
which can be retrieved later for activity logging.  Add activity logging
directly to the open-ils.actor.safe_token.home_lib.shortname API.

11 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.

11 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.

11 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

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

11 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

11 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

11 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

11 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.

11 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.

11 years agodisabling visibility of hold shelf expiration date
Chris Sharp [Fri, 3 May 2013 18:48:19 +0000 (14:48 -0400)]
disabling visibility of hold shelf expiration date

11 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>
11 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

11 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

11 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

11 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

11 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.

11 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

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

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

11 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

11 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

11 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

11 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

11 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

11 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>
11 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>
11 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

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

11 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

11 years agoadding "Georgia PINES" to the title
Chris Sharp [Wed, 6 Mar 2013 05:06:14 +0000 (00:06 -0500)]
adding "Georgia PINES" to the title

11 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

11 years agoattempt to sort libraries by system in tpac results
Chris Sharp [Tue, 5 Mar 2013 15:08:19 +0000 (10:08 -0500)]
attempt to sort libraries by system in tpac results

Includes tsbere's reccomendations to change Record.pm because
it overrides th sorting in AppUtils.pm

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Conflicts:

Open-ILS/src/templates/opac/parts/record/copy_table.tt2

11 years agoBumping version numbers, adding Upgrade Script and Changelog
Ben Shum [Fri, 19 Sep 2014 02:52:51 +0000 (22:52 -0400)]
Bumping version numbers, adding Upgrade Script and Changelog

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoBump OpenILS.pm version
Ben Shum [Thu, 11 Sep 2014 05:50:47 +0000 (01:50 -0400)]
Bump OpenILS.pm version

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoUpdate core committer information on the staff client's About Page
Ben Shum [Thu, 11 Sep 2014 21:42:26 +0000 (17:42 -0400)]
Update core committer information on the staff client's About Page

senator has not contributed anything new for the past six months and is
therefore moved to the "Past Core Committer" listing per policies on:
http://wiki.evergreen-ils.org/doku.php?id=contributing:contributors

berick belongs to a new organization and this has been updated accordingly.

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1234927: Pluralizing link names to follow convention.
Chris Sharp [Thu, 18 Sep 2014 16:49:45 +0000 (12:49 -0400)]
LP#1234927: Pluralizing link names to follow convention.

Based on feedback from Mike Rylander on the Launchpad ticket.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1234927 Reporter needs Item -> Combined Aged and Active Circulations link
Chris Sharp [Thu, 18 Sep 2014 14:16:20 +0000 (10:16 -0400)]
LP#1234927 Reporter needs Item -> Combined Aged and Active Circulations link

There is a need for item usage statistics that include more than just active
circulations.  I have included links to both Aged (patronless) Circulations
and to Combined Aged and Active Circulations sources.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1371173: Reporter: Classic Item List needs link to Item source
Chris Sharp [Thu, 18 Sep 2014 15:08:18 +0000 (11:08 -0400)]
LP#1371173: Reporter: Classic Item List needs link to Item source

Add a link on the reporter.classic_item_list fieldmapper definition
to asset.copy.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoMore additions to 2.7 Release Notes (part 2)
Ben Shum [Fri, 19 Sep 2014 00:39:05 +0000 (20:39 -0400)]
More additions to 2.7 Release Notes (part 2)

Add Steve Callender and move Yamil Suarez to the correct position alphabetically.

Also, note the location of the web client README.install file, but also
promise to update this by the next minor release of 2.7 series as a new
section of the primary README file.

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoMore additions to 2.7 Release Notes
Kathy Lussier [Thu, 11 Sep 2014 17:10:21 +0000 (13:10 -0400)]
More additions to 2.7 Release Notes

Additions include a brief description of the web client preview, the
addition of Sprint 1 funding partners in the acknowledgements section,
the addition of NC Cardinal in the acknolwedgements section for
funding an acq funds transfer fix, and the addition of another code
contributor whose patch was just merged over the past few days.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agolp1271198 Strip browse and facet parameters from links
Kathy Lussier [Tue, 26 Aug 2014 19:49:45 +0000 (15:49 -0400)]
lp1271198 Strip browse and facet parameters from links

Browse and facet parameters were sticking to links to author, subject and
series links on record and result pages, as well as some other links where
the search parameters were no longer necessary. This commit:

1. Adds browse_search_parms and facet_search_parms to header.tt2 as new
classes of search parameters that one may want to remove.

2. Removes these parameters from the author and subject links on the
record page. It also uses the same method for removing search parameters
from the author link on the search results page and on the searchbar
Browse link.

3. Fixes an issue where the advanced search links were inadvertently
stripping general search parameters.

4. Adds more parameters to the general_search_parms group so that we can
have cleaner URLs.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoLP 1319560: Another fix for summary.tt2.
Jason Stephenson [Mon, 19 May 2014 13:19:49 +0000 (09:19 -0400)]
LP 1319560: Another fix for summary.tt2.

Argument "" isn't numeric in numeric gt (>) at
/openils/var/templates/opac/parts/record/summary.tt2 line 56.

It was apparently coming from the .size and not where I thought.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP 1319560: Fix the disappearing hold button.
Jason Stephenson [Thu, 15 May 2014 15:31:56 +0000 (11:31 -0400)]
LP 1319560: Fix the disappearing hold button.

Staff discovered an issue with the tt2 changes that caused the
place hold button to disappear when it shouldn't. Changing an &&
back to || seems to fix this.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP 1319560: Silence template error messages in Apache error log.
Jason Stephenson [Wed, 14 May 2014 19:46:29 +0000 (15:46 -0400)]
LP 1319560: Silence template error messages in Apache error log.

We get a number of messages like the following in our Apache error
logs on a constant basis:

Argument "" isn't numeric in addition (+) at
/openils/var/templates/opac/parts/record/navigation.tt2 line 6.
Argument "" isn't numeric in division (/) at
/openils/var/templates/opac/results.tt2 line 1.
Argument "" isn't numeric in numeric ge (>=) at
/openils/var/templates/opac/parts/record/navigation.tt2 line 38.
Argument "" isn't numeric in numeric gt (>) at
/openils/var/templates/opac/myopac/holds/edit.tt2 line 106.
Argument "" isn't numeric in numeric gt (>) at
/openils/var/templates/opac/myopac/holds.tt2 line 42.
Argument "" isn't numeric in numeric gt (>) at
/openils/var/templates/opac/parts/place_hold.tt2 line 98.
Argument "" isn't numeric in numeric gt (>) at
/openils/var/templates/opac/parts/record/summary.tt2 line 56.
Argument "" isn't numeric in numeric gt (>) at
/openils/var/templates/opac/parts/result/table.tt2 line 87.
Argument "" isn't numeric in numeric lt (<) at
/openils/var/templates/opac/myopac/hold_history.tt2 line 122.
Argument "" isn't numeric in numeric lt (<) at
/openils/var/templates/opac/myopa/result/table.tt2 line 87.
Argument "" isn't numeric in numeric lt (<) at
/openils/var/templates/opac/myopac/hold_history.tt2 line 122.
Argument "" isn't numeric in numeric lt (<) at
/openils/var/templates/opac/myopac/holds.tt2 line 215.

This commit adds some sanity checking to make those messages go
away.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1251347: Get the most recent session locale for Event description translation
Mike Rylander [Thu, 14 Nov 2013 18:36:25 +0000 (13:36 -0500)]
LP#1251347: Get the most recent session locale for Event description translation

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoFix LP904860, Cannot print a patron address label
Steven Chan [Mon, 29 Jul 2013 23:27:13 +0000 (16:27 -0700)]
Fix LP904860, Cannot print a patron address label

The sequence of events for printing an address label is as follows.
Staff client Code in the util/print.js file builds an HTML page of the
address label.  The page includes two vital components, 1) a source tag
to pull 'print_win.js' file from the server, and 2) an onload event
handler bound to the body tag to execute a 'print_init()' function that
is defined in the source tag.

However, print_init() is undefined because the source tag contains a
badly formed URL. It needs to be prefixed by 'oils://remote' so that the
new 'oils:' protocol can be used to pull the file remotely from the
server.

Signed-off-by: Steven Chan <schan@sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1231634: Mark Floating Groups Config UI strings translatable.
Pasi Kallinen [Thu, 7 Nov 2013 17:37:42 +0000 (19:37 +0200)]
LP#1231634: Mark Floating Groups Config UI strings translatable.

Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1331127 Repair sort logic of previous issuances
Bill Erickson [Tue, 17 Jun 2014 19:14:12 +0000 (15:14 -0400)]
LP#1331127 Repair sort logic of previous issuances

Ensure that the list of previous issuances is sorted correctly (on
date_published) when looking for the previous serial.unit to update its
copy location (when serial.prev_issuance_copy_location is enabled).

The data comes sorted from the DB, but the sorting was lost during the
process of unique-ifying the list.  Ultimately, it was relying on the
order of hash keys, which is undefined.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoLP 1369128: Add delete permission to fm_IDL.xml for class bre.
Jason Stephenson [Thu, 18 Sep 2014 20:49:20 +0000 (16:49 -0400)]
LP 1369128: Add delete permission to fm_IDL.xml for class bre.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1370630: don't log mod_deflate actions by default
Galen Charlton [Wed, 17 Sep 2014 17:22:15 +0000 (10:22 -0700)]
LP#1370630: don't log mod_deflate actions by default

This patch comments out logging of mod_deflate actions,
as this is needed only for debugging.  Otherwise,
deflate_log will grow without bound, as it isn't dealt
with by typical default logrotate configs.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1361801: Add required fields to serial issuance form
Remington Steed [Fri, 29 Aug 2014 18:45:50 +0000 (14:45 -0400)]
LP#1361801: Add required fields to serial issuance form

This commit prevents issuances from being created without a date_published
or holding_code. This has two benefits:

  1. Prevents uncaught exceptions related to submitting null values for
     either of those fields.
  2. Requiring date_published prevents an ugly error when trying to
     predict new issuances from an issuance without a date_published.

This commit does NOT provide any feedback to the user about which fields
are required. That would require further investigation into the Dojo/Dijit
objects being used for the edit form fields.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Jennifer Pringle <jpringle@sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1246859: Improve username flow for staged users
Jeff Godin [Wed, 30 Oct 2013 20:41:06 +0000 (16:41 -0400)]
LP#1246859: Improve username flow for staged users

Staged users in most cases have a username that consists of a UUID.

Rather than leave the UUID as their username or require staff to
clear the field and replace it with a barcode or other value, it
would be better to remove this username when loading the staged user
in the user editor.

This commit clears the username when loading a stage user if the
username looks like a UUID.

If a barcode has been staged for the loaded staged user, the
username will be populated with that value.

If there is no staged barcode, the username will remain blank and
will be populated using the standard method after staff enters a
value in the barcode field.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1356576 repair sip date_format config typo
Bill Erickson [Wed, 13 Aug 2014 20:44:50 +0000 (16:44 -0400)]
LP#1356576 repair sip date_format config typo

Avoids "Use of uninitialized value in bitwise or (|)" error.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP1309131 - Fix series link
Kathy Lussier [Tue, 12 Aug 2014 21:33:16 +0000 (17:33 -0400)]
LP1309131 - Fix series link

Clicking on a series link with a hyphen failed because the hyphen was
stripped and the two words are joined together. This branch changes
series.tts to replace special characters with a space, which is similar to
the links we build for authors.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1325720 Repair fund rollover year selector query
Bill Erickson [Mon, 2 Jun 2014 20:14:38 +0000 (16:14 -0400)]
LP#1325720 Repair fund rollover year selector query

Dojo dojo stores track values as strings, so values used in data store
queries must be coerced into strings before performing the query.

This fixes the year query in the fund rollover UI so that the page is
able to render the results of a rollover without dying from an JS error
before completing.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1292129: Removed deleted call numbers from the search results to properly show...
Steven Callender [Thu, 13 Mar 2014 17:34:23 +0000 (13:34 -0400)]
LP#1292129: Removed deleted call numbers from the search results to properly show copy count.

The SQL in fm_IDL.xml for setting up the reporter source "Hold/Copy
Ratio per Bib" includes deleted call numbers which in turn can give
an incorrect copy count. The ratio appears to still be correct because
deleted copies are considered in the ratio calculation, but not the
copy count that is displayed.

Signed-off-by: Steven Callender <stevecallender@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>