Terran McCanna [Sun, 18 Jan 2015 18:57:13 +0000 (13:57 -0500)]
Fix to Advanced Search 'Clear Form' button not clearing
previously selected library.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Terran McCanna [Tue, 23 Dec 2014 16:20:32 +0000 (11:20 -0500)]
KPAC 2.7 Upgrade Tweaks
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/examples/kpac.xml
Terran McCanna [Mon, 12 Jan 2015 21:14:56 +0000 (16:14 -0500)]
Fix to grouped search result set navigation bar display issue in OPAC.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/opac/results.tt2
Terran McCanna [Tue, 6 Jan 2015 20:51:54 +0000 (15:51 -0500)]
Fix for KPAC holdings display issue.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Terran McCanna [Tue, 6 Jan 2015 19:59:43 +0000 (14:59 -0500)]
Fix for too-large header sizes causing display issues in KPAC
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Terran McCanna [Tue, 6 Jan 2015 18:51:39 +0000 (13:51 -0500)]
Tweak to make library selector box wider in OPAC only.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Adam Bowling [Wed, 31 Dec 2014 16:47:01 +0000 (11:47 -0500)]
KPAC Login Redirect Fix
Fixes the redirect from the KPAC login to return back to the
home page of the KPAC from the /opac/login screen, rather
than back to the /opac/home screen, which is the current
behavior, and confuses users of the KPAC when they end
up back in the OPAC after having logged in.
Modified KPAC login code to redirect to KPAC after logging in
Signed-off-by: Adam Bowling <abowling@emeralddata.net>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/kpac/parts/header.tt2
Chris Sharp [Tue, 6 Jan 2015 13:07:06 +0000 (08:07 -0500)]
Correcting typo that breaks this template.
Conflicts:
Open-ILS/src/templates/opac/parts/record/summary.tt2
Terran McCanna [Mon, 5 Jan 2015 15:30:55 +0000 (10:30 -0500)]
Change to allow KPAC to display more than one format icon (like OPAC).
Fix for KPAC multi-format items
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/kpac/record.tt2
Open-ILS/web/css/skin/default/kpac/style.css
Terran McCanna [Mon, 29 Dec 2014 23:37:01 +0000 (18:37 -0500)]
Further modifications in preparation for 2.7 upgrade
Conflicts:
Open-ILS/src/templates/opac/browse.tt2
Terran McCanna [Tue, 23 Dec 2014 21:09:53 +0000 (16:09 -0500)]
Updates to adjust layout issues with new UI changes.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Terran McCanna [Tue, 23 Dec 2014 17:13:20 +0000 (12:13 -0500)]
2 more missing files...
Terran McCanna [Tue, 23 Dec 2014 16:38:36 +0000 (11:38 -0500)]
OPAC UI modifications as per OPAC Working Group suggestions.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/opac/myopac/circs.tt2
Open-ILS/src/templates/opac/myopac/holds.tt2
Open-ILS/src/templates/opac/myopac/prefs.tt2
Open-ILS/src/templates/opac/myopac/prefs_notify.tt2
Open-ILS/src/templates/opac/parts/advanced/search.tt2
Open-ILS/src/templates/opac/parts/footer.tt2
Open-ILS/src/templates/opac/parts/myopac/main_base.tt2
Open-ILS/src/templates/opac/parts/place_hold.tt2
Open-ILS/src/templates/opac/parts/record/copy_counts.tt2
Open-ILS/src/templates/opac/parts/record/extras.tt2
Open-ILS/src/templates/opac/parts/record/navigation.tt2
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/src/templates/opac/parts/result/table.tt2
Open-ILS/src/templates/opac/parts/topnav.tt2
Open-ILS/src/templates/opac/register.tt2
Open-ILS/src/templates/opac/results.tt2
replacing copy_table.tt2 with the correct version
Conflicts:
Open-ILS/src/templates/kpac/parts/copy_table.tt2
Tweaks to OPAC UI - account login page, my account holds page, text call number page
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Revert label change on item detail page from 'Related electronic
resources' to 'Electronic resources.'
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Terran McCanna [Thu, 11 Dec 2014 18:52:49 +0000 (13:52 -0500)]
Changes to item detail page holdings:
- fixed customized holding location links
- moved shelving location after library location and before call number
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/opac/parts/record/copy_table.tt2
Michael Peters [Wed, 10 Dec 2014 18:29:37 +0000 (13:29 -0500)]
Remove "Mailing Address" heading per request from Terran
Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Michael Peters [Tue, 9 Dec 2014 19:07:03 +0000 (14:07 -0500)]
Customize the Library Details page for US format, link to Google Map
Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Michael Peters [Wed, 3 Dec 2014 17:30:07 +0000 (12:30 -0500)]
Change 'About PINES' link location
2.7.1 Issue Tracker Wish List requested that the About PINES
link point to http://pines.georgialibraries.org/about/ which
this commit implements.:
Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Conflicts:
Open-ILS/src/templates/opac/parts/footer.tt2
Open-ILS/src/templates/opac/parts/topnav_links.tt2
Chris Sharp [Wed, 5 Nov 2014 19:14:49 +0000 (14:14 -0500)]
Add self-registration link to topnav links.
Chris Sharp [Tue, 4 Nov 2014 18:46:48 +0000 (13:46 -0500)]
Syncing kpac.xml with rel_2_5_1_kpac
Terran McCanna [Tue, 4 Nov 2014 14:41:13 +0000 (09:41 -0500)]
Add GALILEO for Kids link to KPAC header.
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
Terran McCanna [Tue, 29 Apr 2014 18:12:23 +0000 (14:12 -0400)]
PINES Customization: NoveList Added Content Attempt 2
Forced Awards & Suggested Reads tab to always be open
in order to highlight NoveList Select content.
Taking a different approach to displaying the NoveList
content upon loading.
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Terran McCanna [Fri, 28 Mar 2014 14:40:47 +0000 (10:40 -0400)]
Added Nutrition subcategory under Early Learning category in KPAC.
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
Terran McCanna [Mon, 17 Feb 2014 21:36:59 +0000 (16:36 -0500)]
Corrected version of kpac.xml with properly nested preset searches
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.
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>
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
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
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
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.
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.
Chris Sharp [Thu, 19 Dec 2013 14:49:36 +0000 (09:49 -0500)]
Adding KPAC link to header and footer.
Chris Sharp [Thu, 19 Dec 2013 14:33:18 +0000 (09:33 -0500)]
PINES KPAC landing page doesn't include the Print button.
Chris Sharp [Thu, 19 Dec 2013 12:35:46 +0000 (07:35 -0500)]
Correcting file path for PINES logo on KPAC.
Chris Sharp [Tue, 26 Nov 2013 16:35:43 +0000 (11:35 -0500)]
Removing "Bib Call Number" from the advanced numeric search options.
Commenting out Bib Call Number and uncommenting Call Number Browse.
Conflicts:
Open-ILS/src/templates/opac/parts/advanced/numeric.tt2
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.
Terran McCanna [Wed, 23 Oct 2013 14:30:29 +0000 (10:30 -0400)]
Small changes to Search Limit names and Category names.
Terran McCanna [Mon, 21 Oct 2013 18:17:35 +0000 (14:17 -0400)]
Further tweaks to search limits and modifications to book bag links.
Terran McCanna [Thu, 17 Oct 2013 22:57:18 +0000 (18:57 -0400)]
Testing modifications to navigation.
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
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.
Chris Sharp [Mon, 14 Oct 2013 15:25:05 +0000 (11:25 -0400)]
Typo in footer.tt2 causing a server error.
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.
Terran McCanna [Mon, 30 Sep 2013 19:28:08 +0000 (15:28 -0400)]
PINES customization of KPAC - beta ready for testing
Terran McCanna [Tue, 24 Sep 2013 19:08:13 +0000 (15:08 -0400)]
Updated dewey.tt2
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
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
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.
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.
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>
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
Chris Sharp [Wed, 26 Sep 2012 17:14:16 +0000 (13:14 -0400)]
adding new macros to listed ones
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
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.
Chris Sharp [Thu, 17 Nov 2011 13:06:10 +0000 (08:06 -0500)]
adding file that returns circ mod view to normal
Chris Sharp [Fri, 29 Mar 2013 13:09:18 +0000 (09:09 -0400)]
adding mrpeters' awesome favicon
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
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
Chris Sharp [Tue, 19 Mar 2013 17:41:49 +0000 (13:41 -0400)]
improving the default hold message for range-protected items
Chris Sharp [Tue, 19 Mar 2013 17:18:16 +0000 (13:18 -0400)]
Enabling the display of 856 field URLs for related resources
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>
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>
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
Chris Sharp [Wed, 6 Mar 2013 18:37:10 +0000 (13:37 -0500)]
adding newly designed PINES logos
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
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
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
PINES/GALILEO avoid auth redirect within library
If the physical_loc is set, indicating the patron is physically at a
branch (via IP redirect), link directly to the GALILEO site with no
authentication pass-through. GALILEO does not requires PINES auth
if the client is coming from a known IP address.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Conflicts:
Open-ILS/src/templates/opac/parts/footer.tt2
Sadly, GALILEO/EBSCO does not use HTTPS, so this will create errors for patrons who authenticate via PINES. Reverting to HTTP.
Dan Wells [Tue, 25 Sep 2018 19:12:53 +0000 (15:12 -0400)]
Bumping version numbers, adding Upgrade Script and Changelog
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Mike Rylander [Mon, 27 Aug 2018 16:08:37 +0000 (12:08 -0400)]
LP#
1786987: Locale-less org tree cache object becomes stale
The autogen.sh script calls a function that flushes all org tree objects
cached by locale, but does not flush the one used when the locale is
unkown. This commit forces that flushing to occur.
berick: Definition of my $cache pushed up above first use.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Dan Wells [Mon, 24 Sep 2018 21:47:24 +0000 (17:47 -0400)]
Update upgrade doc version numbers
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Mon, 24 Sep 2018 21:38:19 +0000 (17:38 -0400)]
Bumping Perl version string for 3.2
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Remington Steed [Tue, 25 Sep 2018 18:54:20 +0000 (14:54 -0400)]
Docs: Clean up installation docs
- Remove redundant NodeJS section
- Relabel sections to distinguish between AngularJS and Angular steps
- Fix a few typos
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Dan Wells [Tue, 25 Sep 2018 17:04:11 +0000 (13:04 -0400)]
Translation updates - newpot
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Dan Wells [Mon, 24 Sep 2018 21:33:12 +0000 (17:33 -0400)]
Translation updates - po files
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Remington Steed [Mon, 24 Sep 2018 21:23:45 +0000 (17:23 -0400)]
Docs: Remove old release notes files
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Remington Steed [Mon, 24 Sep 2018 21:14:39 +0000 (17:14 -0400)]
Docs: Add Upgrade Notes to release notes
This commit copies relevant sections of the release notes into the
Upgrade Notes section.
A few paragraphs are also reformatted into lines of appropriate length.
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Remington Steed [Mon, 24 Sep 2018 19:53:04 +0000 (15:53 -0400)]
Update Release Notes for 3.2-rc
Add new release notes. Also, slight reorganization to the
acknowledgements section (move organizations to appropriate section, fix
sorting of COOL, use consistent name for BC Libraries).
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Remington Steed [Mon, 24 Sep 2018 19:15:46 +0000 (15:15 -0400)]
Docs: Fix two minor errors in docs
- Fix an AsciiDoc heading syntax error
- Fix a grammatical error (repeated "the")
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Bill Erickson [Mon, 24 Sep 2018 20:19:33 +0000 (16:19 -0400)]
LP#
1794176 Avoid capturing grid cell tooltip/display values
Remove the grid-tooltip logic that captured the cell content into a
template-level variable so the content only needed to be generated once
for both the tooltip and cell display. This logic fails to handle cases
where the cell content is dynamic, typically the result of row
attributes being modified via external process.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Galen Charlton [Mon, 24 Sep 2018 17:56:09 +0000 (13:56 -0400)]
LP#
1789442: turn of Perl taint-checking on 14-OpenILS-Utils.t
This works around a bug in DateTime::TimeZone 1.63
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737265> that
causes one of the new tests to spuriously fail on Ubuntu 14.04 LTS.
As the comment indicates, taint checking is not typically enabled
when running Evergreen, but we may want to consider changing
that should tuits arise.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Mon, 24 Sep 2018 17:55:39 +0000 (13:55 -0400)]
LP#
1789442: restore column allocation for barcode input
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Fri, 21 Sep 2018 19:23:11 +0000 (15:23 -0400)]
LP#
1789442: fix editing due date of hourly loans in web staff
This patch fixes a bug where editing the due date of an hourly
loan would result in the time portion always getting set to 00:00.
To test
-------
[1] Set up some daily and hourly loans in your database.
[2] Apply the patch.
[3] From the items out page, edit the due date for one or
more hourly loans. Verify that the resulting due date
is set correctly.
[4] From the items out page, edit the due date for some
daily loans and verify correctness. In particular,
verify that the resulting due date is /not/ the
following day if testing in time zones in the Americas.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Fri, 21 Sep 2018 18:58:47 +0000 (14:58 -0400)]
LP#
1552778: add timepicker to webstaff checkout page
This patch adds a timepicker to go along with the datepicker
if the operator invokes the option to set a specific due
date.
To test
-------
[1] Arrange circ policies to have both hourly and daily loans.
[2] Apply the patch.
[3] Check out an item for an hourly loan. Verify that the
due date and time is per policy.
[4] Check out an item for a daily loan. Verify that the
due date is per policy.
[5] Check out an item for an hourly loan, but set a specific
due date and time. Verify that the due date and time matches
the selected value.
[6] Check out an item for a daily loan, but set a specific
due date. Verify that the due date matches the selected
value; note that any time component is ignored since
for daily loans the time gets normalized to 23:59.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Fri, 21 Sep 2018 18:30:01 +0000 (14:30 -0400)]
LP#
1552778: make clean_ISO8601 recognize 'Z' as a timezone specifier
Prior to this patch, clean_ISO8601 would ignore 'Z' as a timezone
specifier (e.g., '2018-09-21T15:34:21Z') and treat it as if the
timestamp were in the server's time zone, leading to incorrect
results (e.g., '2018-09-21T15:34:21-04:00') unless user, client,
and server all happen to be in UTC+0. In particular, this allows
date strings emitted by the JavaScript Date object's toISOString()
method to be correctly parsed, as those strings invariably use
'Z' as the timezone specifier.
To test
-------
[1] Apply patch.
[2] Verify that regression test in t/14-OpenILS-Utils.t passes.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Fri, 21 Sep 2018 18:04:24 +0000 (14:04 -0400)]
LP#
1552778: add perldoc and unit tests for clean_ISO8601
To test
-------
[1] Apply patch.
[2] Verify new tests in t/14-OpenILS-Utils.t pass.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Galen Charlton [Fri, 21 Sep 2018 15:00:25 +0000 (11:00 -0400)]
LP#
1552778: copy some date/time utils from OpenSRF
As preparation for subsequent bugfixes, this patch
copies several date/time routines from OpenSRF::Utils
to a new module, OpenILS::Utils::DateTime. Specifically,
the routines copied over are:
* clean_ISO8601() (renaming of the OpenSRF cleanse_ISO8601)
* gmtime_ISO8601()
* interval_to_seconds()
* seconds_to_interval()
This move will allow us to fix bugs in this core routines
without requiring a mandatory OpenSRF upgrade. Furthermore,
with the exception of interval_to_seconds() (and in only one
place), none of those routines are used by OpenSRF itself.
To test
-------
[1] Apply the patch.
[2] Verify that unit tests pass.
[3] Verify that all Perl services start correctly.
[4] Verify that date/time and interval calculations continue
to work as expected, particularly in circulation.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Sun, 23 Sep 2018 03:08:28 +0000 (23:08 -0400)]
LP#
1793857: Restore Copy Current Row
In our effort to consistently call items/copies items, we accidentally replaced
the action "Copy Current Row" with "Item Current Row." This branch restores
the correct language.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Mike Rylander [Wed, 19 Sep 2018 15:16:39 +0000 (11:16 -0400)]
LP#
1791335: Retain stat cats on item transfer
For some reason, parts were protected during item transfer, but stat cats were
not. This commit protects them by fleshing stat cat entries in the outer
item transfer method.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Galen Charlton [Fri, 21 Sep 2018 20:46:17 +0000 (16:46 -0400)]
LP#
1791340: expand on comment about backdated checkin times
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Dan Wells [Fri, 21 Sep 2018 14:45:59 +0000 (10:45 -0400)]
LP#
1791340 Webstaff: Don't backdate when we're not
There was code in the webstaff checkin interface which attempted to
remove the backdate parameter when it wasn't needed, as its mere
presence has a negative effect on the checkin process. This fail-safe
was not working, however.
Instead, let's build on the same check function used for the display,
so we can be more sure that if the user doesn't see that they are
backdating, the interface will not treat it as a backdate, and
vice-versa.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 20 Sep 2018 22:26:47 +0000 (18:26 -0400)]
LP#
1745427: account for change in prediction patterns
This patch fixes a bug in the web staff client where changing
the active prediction pattern for a subscription would not
reset the base issue when predicting the next run of issues.
To test
-------
1. Set up a subscription in the web staff client with a prediction
pattern (e.g., monthly). Predict some issues.
2. Create/select a new prediction pattern for a new publishing schedule,
e.g., quarterly.
3. Activate the new pattern and deactivate the old pattern.
4. Click Predict New Issues.
5. Enter in the new publication date/enumerations/chronology as needed.
6. Enter a prediction count and select Save. Note that new issues
appear to be based on the previous pattern.
7. Apply the patch, delete the issues created in step 6, then repeat
steps 4-6. This time, new issues should be created using the new
prediction pattern.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 19 Sep 2018 14:26:04 +0000 (10:26 -0400)]
LP#
1781480: Include group owner ancestor badges
This commit lightly refactors the badge org logic and includes the ancestors
of location group owners in the list of badge orgs, instead of only the direct
owners.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Mike Rylander [Mon, 17 Sep 2018 15:33:29 +0000 (11:33 -0400)]
LP#
1781480: Closures remeber values in subtle ways...
... and we must take care to avoid that. This commit forces a state variable
to be statically assigned an empty list rather than depending on the idiomatic
undef to vivicate an empty list. This is important for all OpenSRF methods,
and manifests here as a search "remembering" a previously chosen location
group. A comment to that point is included for our future selves.
The core probably arises from the fact that, in the end, OpenSRF methods are
generated closures.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jeanette Lundgren <jlundgren@cwmars.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Mike Rylander [Fri, 3 Aug 2018 21:25:33 +0000 (17:25 -0400)]
LP#
1732761: Chain the promises to avoid races
It looks like there's a race condition gathering locations for larger copy
sets. Here we chain the promises to remove the race by serialization.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Mon, 9 Jul 2018 20:31:50 +0000 (16:31 -0400)]
LP#
1732761: Fetch locations immediately for display
This commit closes a race condition where location labels cannot be rendered
for the "multiple locations" widget because fetching them takes longer than
the initial render of the attribute editor.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Mike Rylander [Tue, 3 Jul 2018 20:57:27 +0000 (16:57 -0400)]
LP#
1732761: Batch item edit and multiple values per field
Previous to this commit, the display of multiple different values for a field
in the item attribute editor was simply to display no value. Here we add a UI
component that presents the list of unique values, the number of selected
copies that use each value, and the ability to select just those copies using
a particular value by clicking on the desired value.
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/templates/staff/cat/volcopy/index.tt2
Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2
Jason Boyer [Thu, 13 Sep 2018 11:39:06 +0000 (07:39 -0400)]
LP1792371: Fix De-select Whole Page Action
When using the checkbox to select or de-select the
entire page of results, the de-select action changes
the check and highlight states of the items on page
but doesn't actually remove the records from the
basket. This branch corrects that so that you can
select and de-select the entire page of results
and your basket contents are what you would expect.
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Kathy Lussier [Thu, 20 Sep 2018 14:05:28 +0000 (10:05 -0400)]
LP#
1783345: Make one more change in case
One button was missed when normalizing case in the add to bucket modal.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Sam Link [Tue, 31 Jul 2018 14:35:34 +0000 (10:35 -0400)]
Bug #
1783345 - Normalized add to bucket modal
The text cases in the add to bucket modal have been normalized to
sentence case.
Signed-off-by: Kathy Lussier <klussier@masslnc.org>