evergreen/pines.git
9 years agoKPAC Updates to hide Thanksgiving and show winter holidays. rel_2_9_1_kpac
Terran McCanna [Wed, 30 Nov 2016 15:46:52 +0000 (10:46 -0500)]
KPAC Updates to hide Thanksgiving and show winter holidays.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoKPAC home page topic updates
Terran McCanna [Thu, 1 Sep 2016 13:36:54 +0000 (09:36 -0400)]
KPAC home page topic updates

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoKPAC Update: Added "Back to School" feature
Terran McCanna [Wed, 3 Aug 2016 18:02:00 +0000 (14:02 -0400)]
KPAC Update: Added "Back to School" feature

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoUpdates to KPAC Features (addition of TumbleBooks)
Terran McCanna [Tue, 5 Jul 2016 13:11:00 +0000 (09:11 -0400)]
Updates to KPAC Features (addition of TumbleBooks)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoKPAC Update to add 4th of July feature
Terran McCanna [Tue, 21 Jun 2016 15:16:25 +0000 (11:16 -0400)]
KPAC Update to add 4th of July feature

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoKPAC SRP 2016 tweaks to pre-set search categories
Terran McCanna [Thu, 26 May 2016 14:37:47 +0000 (10:37 -0400)]
KPAC SRP 2016 tweaks to pre-set search categories

9 years agoKPAC files to promote Summer Reading Program for 2016.
Terran McCanna [Wed, 25 May 2016 18:47:45 +0000 (14:47 -0400)]
KPAC files to promote Summer Reading Program for 2016.

9 years agoSimple redirect file so that patrons can go to http://gapines.org/myaccount
Terran McCanna [Mon, 4 Apr 2016 18:27:41 +0000 (14:27 -0400)]
Simple redirect file so that patrons can go to gapines.org/myaccount
in order to get to http://gapines.org/eg/opac/login

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoI've redone all of the kpac category links so they no longer use
Terran McCanna [Thu, 25 Feb 2016 19:55:44 +0000 (14:55 -0500)]
I've redone all of the kpac category links so they no longer use
a link shortener. I also rearranged some of the links so that there
are more options on the home page.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoKPAC - Hold results not displaying complete info and throwing log errors
Terran McCanna [Wed, 24 Feb 2016 22:51:16 +0000 (17:51 -0500)]
KPAC - Hold results not displaying complete info and throwing log errors

See also - bug report https://bugs.launchpad.net/evergreen/+bug/1548869

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoMonthly switching of KPAC features
Terran McCanna [Tue, 16 Feb 2016 20:23:42 +0000 (15:23 -0500)]
Monthly switching of KPAC features

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoKPAC: Testing removal of some processing that the results page does upon
Terran McCanna [Wed, 30 Dec 2015 20:58:49 +0000 (15:58 -0500)]
KPAC: Testing removal of some processing that the results page does upon
load that we do not appear to need in order to see if it improves display
of search results or not.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoKPAC changes in preparation for upgrade:
Terran McCanna [Wed, 30 Dec 2015 18:51:21 +0000 (13:51 -0500)]
KPAC changes in preparation for upgrade:

1. Biggest change was to move the library selector box to the main
search panel instead of on the side - had to modify quite a few files
in order to make this work and pass the values correctly.

2. Also changed the feature icons to use links instead of search terms
to allow more control over search limits and sorting and to see if
caching the searches would improve response speed.

3. A number of smaller UI changes.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoMerge branch 'rel_2_9_0' into rel_2_9_1
Chris Sharp [Sat, 19 Dec 2015 15:30:03 +0000 (10:30 -0500)]
Merge branch 'rel_2_9_0' into rel_2_9_1

Conflicts:
ChangeLog
Open-ILS/src/perlmods/lib/OpenILS.pm
Open-ILS/src/perlmods/lib/OpenILS/Application.pm
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/xul/staff_client/chrome/content/main/about.html
Open-ILS/xul/staff_client/defaults/preferences/prefs.js
README
configure.ac
docs/RELEASE_NOTES_2_9.txt

9 years agoThese are modifications to the Evergreen self-check interface to: rel_2_9_0
Terran McCanna [Thu, 17 Dec 2015 23:24:34 +0000 (18:24 -0500)]
These are modifications to the Evergreen self-check interface to:

1. Fix bugs with printing holds and fines.
2. Improve page layout overall, and with consideration for
   1024x768 resolution monitors that a lot of libraries use.
3. Hide hold status from view on holds table.
4. Hide buttons/fields from screen when user is not logged in.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/circ/selfcheck/banner.tt2

9 years agoFurther adjustments to staff client splash page so it will fit onto
Terran McCanna [Thu, 17 Dec 2015 14:39:11 +0000 (09:39 -0500)]
Further adjustments to staff client splash page so it will fit onto
older 1024x768 resolution monitors better.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoModifications to patron self-registration form to make it
Terran McCanna [Tue, 15 Dec 2015 16:47:03 +0000 (11:47 -0500)]
Modifications to patron self-registration form to make it
display better and change library locator link.

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

9 years agoMiscellaneous OPAC UI tweaks for spacing / layout.
Terran McCanna [Tue, 15 Dec 2015 19:38:07 +0000 (14:38 -0500)]
Miscellaneous OPAC UI tweaks for spacing / layout.

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

9 years agoNumerous local customizations to My Account pages for layout and
Terran McCanna [Tue, 15 Dec 2015 23:22:43 +0000 (18:22 -0500)]
Numerous local customizations to My Account pages for layout and
to add on-screen assistance to patrons.

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_settings.tt2

9 years agoStaff Client tweaks to splash page:
Terran McCanna [Wed, 16 Dec 2015 22:19:37 +0000 (17:19 -0500)]
Staff Client tweaks to splash page:
- Added link to PINES Documentation
- Changed logo at top to PINES logo
- Adjusted spacing
- Updated copyright date

Also, hid footer on OPAC pages while viewing from
within the staff client because it clutters the page
without adding any value.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/web/opac/locale/en-US/lang.dtd
Open-ILS/xul/staff_client/server/index.xhtml

9 years agoImproved list display in OPAC (title, description, annotations).
Terran McCanna [Mon, 14 Dec 2015 21:59:46 +0000 (16:59 -0500)]
Improved list display in OPAC (title, description, annotations).

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoRemoved added content from the KPAC for now since it doesn't
Terran McCanna [Mon, 14 Dec 2015 17:11:08 +0000 (12:11 -0500)]
Removed added content from the KPAC for now since it doesn't
display properly. Possibly add back in later if we can get
the NoveList content to pull in right.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoImprovements to KPAC list display, especially adding
Terran McCanna [Mon, 14 Dec 2015 16:57:35 +0000 (11:57 -0500)]
Improvements to KPAC list display, especially adding
display of list annotations that were not shown.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/src/templates/kpac/parts/record_row.tt2
Open-ILS/src/templates/kpac/results.tt2

9 years agoUpdated kpac.xml configuration file to be ready to roll out after upgrade.
Terran McCanna [Wed, 9 Dec 2015 16:15:13 +0000 (11:15 -0500)]
Updated kpac.xml configuration file to be ready to roll out after upgrade.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/examples/kpac.xml

9 years agoAdding corrected wording for self-registration agreement.
Terran McCanna [Mon, 25 Aug 2014 17:34:30 +0000 (13:34 -0400)]
Adding corrected wording for self-registration agreement.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
9 years agoCustomizations to patron self-registration form and footer link.
Terran McCanna [Thu, 21 Aug 2014 20:24:42 +0000 (16:24 -0400)]
Customizations to patron self-registration form and footer link.

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

10 years agoPINES has already applied 0940
Chris Sharp [Sat, 21 Nov 2015 04:05:05 +0000 (23:05 -0500)]
PINES has already applied 0940

10 years agoDocs: fix typo for version upgrade 2.8.4-2.9.0 in server upgrade
Ben Shum [Wed, 18 Nov 2015 21:38:11 +0000 (16:38 -0500)]
Docs: fix typo for version upgrade 2.8.4-2.9.0 in server upgrade

Oops, got a little ahead of myself, this is more accurate.

Thanks to 2.9 RM Jason Stephenson for noting my mistake.

Signed-off-by: Ben Shum <bshum@biblio.org>
10 years agoDocs: Missed some acknowledgements in the 2.9.1 point release notes
Kathy Lussier [Wed, 18 Nov 2015 21:24:14 +0000 (16:24 -0500)]
Docs: Missed some acknowledgements in the 2.9.1 point release notes

Missed a few ackwnowledgements in the release notes. Apologies to those who
I missed. Also added bshum since he made a doc change after the release notes
were merged.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
10 years agoDocs: Change references to release 2.9.1
Ben Shum [Wed, 18 Nov 2015 20:12:59 +0000 (15:12 -0500)]
Docs: Change references to release 2.9.1

In the server upgrade docs, change references so that we are talking
about major series 2.9 now and note the latest version which is 2.9.1.

Signed-off-by: Ben Shum <bshum@biblio.org>
10 years agoBumping version numbers, adding Upgrade Script and Changelog
Jason Stephenson [Wed, 18 Nov 2015 16:48:37 +0000 (11:48 -0500)]
Bumping version numbers, adding Upgrade Script and Changelog

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
10 years agobumping Perl version string for 2.9.1
Jason Stephenson [Wed, 18 Nov 2015 16:36:16 +0000 (11:36 -0500)]
bumping Perl version string for 2.9.1

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
10 years agoDocs: 2.8.5 point release notes
Kathy Lussier [Tue, 17 Nov 2015 21:37:51 +0000 (16:37 -0500)]
Docs: 2.8.5 point release notes

Adding bug fixes and acknowledgements for the 2.8.5 point release.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
10 years agoAdding bug fixes and acknowledgements to 2.9.1. Release Notes
Kathy Lussier [Wed, 18 Nov 2015 00:13:57 +0000 (19:13 -0500)]
Adding bug fixes and acknowledgements to 2.9.1. Release Notes

The structure of these point release notes is a little different from what
we did with the 2.8 series. I restructured the headings a bit so that there
is just the one level one header. The two headers in the 2.8 release notes
led to a confusing outline.

Also, I'm adding acknowledgements for each point release rather than adding the
entire batch at the bottom of the file. There are two reasons for this change:

1. The release notes in the official documentation are broken up into different
sections, whereas the ones on the downloads page are available all on one page.
In the official docs, it appeared as if everyone being acknowledged had
contributed to the .0 release, when, in actuality, some had contributed patches
in other point releases. By adding acknowledgements to every point release
section, it is clear who contributed to which release.

2. Consistent contributors get acknolwedgement for every point release they
contribute to, which is a nice thing to do.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
10 years agoLP#1516707: Phrase search ignores CD modifiers
Mike Rylander [Tue, 17 Nov 2015 22:20:05 +0000 (17:20 -0500)]
LP#1516707: Phrase search ignores CD modifiers

Because phrases are subqueries, we need to look at the top of the parse tree
when looking for modifiers for cover density.  This is because modifers are
normally only allowed at the top of the parse tree (or in the floating sub-
query).  We do that by asking the plan's QueryParse for it's reference to its
parse_tree member, which is always the top of the parse tree in QP.

Included in this commit is a small change to the QP testing script to
facilitate testing of this fix.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
10 years agoLP1402018_Acq_Copy_location_UI_scoped_to_registered_workstation
blake [Mon, 5 Jan 2015 16:38:18 +0000 (10:38 -0600)]
LP1402018_Acq_Copy_location_UI_scoped_to_registered_workstation

This little patch will open up the acq copy location dropdown UI
to include other library's copy locations outside of the workstation
registration. When the user permissions are scoped to more branches.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
10 years agoFix LP1175711, OPAC can't renew item on booking resource list
Steven Chan [Thu, 19 Sep 2013 19:51:35 +0000 (12:51 -0700)]
Fix LP1175711, OPAC can't renew item on booking resource list

A test sequence to show the behaviour before and after the fix:

1. Using staff client, check out an item to test account.
2. Go to Copy Details on the OPAC, click Book Now, and cancel the form;
the side effect is to put the item on the Resource list.
3. Using the OPAC on a web browser, log in with test account.
4. Go to Items Checked Out, select the item in the list and click Renew
Selected Items.

Before the fix, we saw the OPAC spin forever, and we saw the Javascript
console of the web browser log the error noted in previous comments.

With the fix, we see an error prompt saying, 'The system is unable to
renew the selected item at this time.  This usually means the item is
needed to fulfill a hold.  Please see a librarian for further help.'

Note: A patron with the normal group of permissions will not be able to
renew an item on resource list.

The fix is to check for an error object emitted by the function
Booking.pm/reservation_list_by_filters(), and to propagate it back to
the client, by returning a call to bail_on_events().

We also clarify the coding of the function's parameter list and how the
function checks for mandatory parameters.

Signed-off-by: Steven Chan <schan@sitka.bclibraries.ca>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
10 years agoLP 1516786: 0938 Upgrade Script ends in END and not COMMIT.
Jason Stephenson [Mon, 16 Nov 2015 21:15:22 +0000 (16:15 -0500)]
LP 1516786: 0938 Upgrade Script ends in END and not COMMIT.

Change the END; on the last line of 0938.data.some_rda_attributes.sql
to COMMIT; for reasons of consistency and to avoid issues when wrapped
in larger upgrade scripts using the make release script.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
10 years agoLP#1513554 - Stamping Upgrade Script
Jason Stephenson [Fri, 13 Nov 2015 21:12:46 +0000 (16:12 -0500)]
LP#1513554 - Stamping Upgrade Script

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
10 years agoLP#1513554 - Doc update for cancel reason selection
Kathy Lussier [Sun, 8 Nov 2015 14:47:58 +0000 (09:47 -0500)]
LP#1513554 - Doc update for cancel reason selection

Adding an update to the docs to inform users that default cancel reasons
cannot be selected.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
10 years agoLP#1513554 - Prevent deletion of reserved rows.
Chris Sharp [Thu, 5 Nov 2015 18:30:51 +0000 (13:30 -0500)]
LP#1513554 - Prevent deletion of reserved rows.

It was previously possible to delete reserved rows in
the acq.cancel_reasons table via the UI.  We take a belt
and suspenders approach here:

1) Grey out the checkboxes beside cancel reasons with an
   ID lower than 2000.
2) Create a trigger on the acq.cancel_reason table that
   prevents deletion of rows with an ID lower than 2000.

The trigger executes a new generally available function
for use in similar situations in the future.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
10 years agoLP#937789: Stamping upgrade script for part deletion
Ben Shum [Thu, 5 Nov 2015 23:12:35 +0000 (18:12 -0500)]
LP#937789: Stamping upgrade script for part deletion

Signed-off-by: Ben Shum <bshum@biblio.org>
Conflicts:
Open-ILS/src/sql/Pg/002.schema.config.sql

10 years agoLP#937789: Hide 'deleted' from parts table & editor
Remington Steed [Thu, 5 Nov 2015 13:45:23 +0000 (08:45 -0500)]
LP#937789: Hide 'deleted' from parts table & editor

This commit hides the new parts 'deleted' field from the Manage Parts
dojo table and popup editor.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
10 years agoLP#937789: various improvements to logical deletion of parts
Galen Charlton [Thu, 29 Oct 2015 15:39:16 +0000 (15:39 +0000)]
LP#937789: various improvements to logical deletion of parts

This patch ensures that when a monograph part is marked as
deleted, that mappings between it and its copies are also
removed, similar to the previous behavior of the cascade
on delete.

This patch also adds some pgTAP tests and ensures that
unapi.bmp() and unapi.holdings_xml() get updated during upgrade.

To test the fix for this bug:

[1] Apply the patches.
[2] Create a monograph part on a record, then delete it. Verify that
    it no longer shows up in the parts maintenance interface, but that
    a row in the biblio.monograph_parts table still exists with the
    deleted flag set to true.
[3] Create another monograph part on the same record.
[4] Create a new volume/copy and assign the part created in step
    3 to it. Verify that the part shown in step 2 is *not*
    included in the XUL part selector.
[5] Place a part-level hold. Verify that the hold request
    is displayed correct in both the public catalog and the staff
    interface.
[6] Delete the part created in step 3.
[7] Verify that viewing the list of the patron's holds in the XUL staff
    client doesn't result in any 'network errors'.  Also verify that
    the hold request is still displayed in patron's view in the public
    catalog.
[8] Using SQL or some other means, set the expire_time and
    prev_check_time of the test hold request to a couple days in the
    past, then run the hold targeter.  Verify that the hold gets
    cancelled for lack of a suitable copy to fill it.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
10 years agoLP#937789: fake-delete support for monograph parts
Mike Rylander [Thu, 7 Jun 2012 18:54:24 +0000 (14:54 -0400)]
LP#937789: fake-delete support for monograph parts

Unlike copies, call numbers, and bibs, parts can be directly removed from the
database.  This has a negative impact on holds, in that the holds become not
just orphaned, but broken entirely.  With this commit we bring part holds to
parity with other hold types such that they can be system-canceled when their
target goes away.  This will avoid spurious UI-level errors to staff.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
10 years agoDocs: add 'Place another hold link' docs
Kate Butler [Thu, 5 Nov 2015 21:21:37 +0000 (16:21 -0500)]
Docs: add 'Place another hold link' docs

Signed-off-by: Yamil Suarez <yamil@yamil.com>
10 years agoLP#1092018: Make the reports UI use UTF-8.
Pasi Kallinen [Thu, 4 Jul 2013 05:33:25 +0000 (08:33 +0300)]
LP#1092018: Make the reports UI use UTF-8.

To test:

[1] Install the translation for a language that uses
    non-Latin-1 characters, such as Russian.
[2] Start the XUL staff client and open the reports
    interface.  Note that labels are mangled.
[3] Apply the Apache configuration changes in this patch,
    reload Apache, clear cache in the staff client, and
    reload the reports UI. The labels should now be
    displayed correctly.

Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agoLP#1511828: sort proximities numerically when targeting holds
Josh Stompro [Sat, 31 Oct 2015 15:38:41 +0000 (10:38 -0500)]
LP#1511828: sort proximities numerically when targeting holds

The hold targeter had three instances of using lexical sorting
rather than numerical sorting.

Two of the instances affected hold targeting if proximity values were
over 9.  Proximity values were being sorted lexically. For instance,
1,2,5,11,15,100,120 was sorted as 1,100,11,120,15,2,5, causing
interesting hold targeting results. Normally proximity doesn't go
that high so it isn't a problem, but we were using proximity adjustments
to strictly order locations so each location had a different proximity,
driving the numbers above 9.

One instance wasn't causing any current issue but could cause problems in
the future if more best hold selection sort options are added to bring the
total number of sort options over 9.

Also included are some changes to reduce warnings in the logs
suggested by Bill Erickson.  The sorting problem was found by
Galen Charlton, thanks Galen.

Testing Notes - to trigger this issue you need to have adjusted
  proximities over 9.

1. Use proximity adjustment rules to add a +10 proximity adjustment to
  one item circ lib, Branch A and a +2 proximity adjustment to the
  item circ lib Branch B.

2. Find a title with a copy at Branch A and B. Place a hold with a
  pickup location of Branch B.

3. The copy at Branch A should get targeted since it has a proximity of
  12-14 (10+normal proximity) and Branch B has a proximity of 2
  (2+normal proximity).  12 gets sorted before 2 lexically.

4. After the fix the copy at Branch B should get targeted since 2
  is sorted before 12.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agoLP#1400801 - Updated email validation regex for Org Unit admin gui
Josh Stompro [Thu, 11 Jun 2015 01:12:10 +0000 (20:12 -0500)]
LP#1400801 - Updated email validation regex for Org Unit admin gui

Grabbed the example of a simplified RFC 5322 email regex from
http://www.regular-expressions.info/email.html and lightly modified it
for case sensitivity and removed the "&" character from the localpart allowed
characters, which causes a 500 server error for some reason.

This matches many more of the valid localpart special characters.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
10 years agoLP#1406387 Fix for Holds Placement Advanced Options
Adam Bowling [Mon, 19 Jan 2015 17:05:19 +0000 (12:05 -0500)]
LP#1406387 Fix for Holds Placement Advanced Options

In the staff client, when placing a hold and clicking
Advanced Hold Options, the barcode input will populate
with the staff member's barcode if it was previously
empty, regardless of whether the radio input for the
hold was specified for a patron or the staff member.

This patch corrects that behavior, and also populates
the input radio on load after clicking Advanced Hold
Options.

Signed-off-by: Adam Bowling <abowling@emeralddata>
Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
10 years agoLP#1340852: Retain search params for copy location groups
Jake Litrell [Mon, 14 Sep 2015 21:49:29 +0000 (17:49 -0400)]
LP#1340852: Retain search params for copy location groups

The order in which we determined what to 'selected' in the "Library"
dropdown put the resolved locg first (which allows for shortnames, e.g.
BR1).  That only gives us half the location group though, which is why
it was bumping up a level.  Now, if we have a location group selected,
it will use that first (since they don't have shortnames); the remaining
select order will be the same.

Signed-off-by: Jake Litrell <jake@masslnc.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
10 years agoLP#1467634: Hide saved searches from screen readers for non-staff client
Yamil Suarez [Mon, 22 Jun 2015 18:33:28 +0000 (14:33 -0400)]
LP#1467634: Hide saved searches from screen readers for non-staff client

This commit will only allow screen readers to see the saved searches for
users that are logged through XUL client.
Assuming that a screen reader can be attached to the XUL client.

It should also work for a user logged in through the web staff
client that is using a screen reader.

To test
-------
[1] Apply the patch, then perform a search in the public catalog and
    view the HTML source.  Verify that there's no "sr-only" heading
    for "Saved searches".
[2] Set the opac.staff_saved_search.size library setting to a non-zero
    value.
[3] In the web staff client, perform a search using the embeded OPAC;
    verify that the recent searches list is displayed.
[4] Repeat step 4 in the XUL client.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agoLP#1503782: fix horizontal scrollbar in MARC import queue inspector
Galen Charlton [Wed, 7 Oct 2015 17:49:19 +0000 (17:49 +0000)]
LP#1503782: fix horizontal scrollbar in MARC import queue inspector

In the XUL client (and webstaff), attempting to view the contents
of a MARC record import queue displays a table that, due to
its width, will almost always have a horizontal scrollbar. However,
attempting to actually use the scrollbar often causes the
focus to jump to the top of the table instead.  This patch
fixes that.

To test:

[1] Create a bib queue that has at least a dozen records or so.
[2] Inspect the contents of the queue, scroll to the bottom of
    the table, and interact with the horizontal scrollbar.
[3] Observe that doing so typically results in jumping up
    to the top of the table.
[4] Apply the patch, clear cache and refresh, and try step #2
    again.
[5] This time, the horizontal scrollbar should act normally.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
10 years agoLP#1406786: fix remapping copies during parts merge
Galen Charlton [Thu, 29 Oct 2015 19:30:31 +0000 (19:30 +0000)]
LP#1406786: fix remapping copies during parts merge

This patch fixes an issue with how copies are mapped
on the target part when using "Merge Selected" in the
Monograph Parts interface.

To test:

[1] Create some monograph parts on a record and assign
    some copies to use them.
[2] Use the merge parts function to collapse all of the
    parts created in step 1 onto a single part.
[3] Verify that the copies whose original parts were removed
    are now mapped onto the part that was the target of the
    merge.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
10 years agoLP#1509479: set a limit on loops in QP's decompose() method
Galen Charlton [Fri, 23 Oct 2015 20:03:07 +0000 (20:03 +0000)]
LP#1509479: set a limit on loops in QP's decompose() method

Following a suggestion of Dan Scott's, add a pair of
suspenders to the belt and enforce an arbitrary limit
of 1000 passes through QP->decompse().

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
10 years agoLP#1509479: fix infinite loop bug in QueryParser
Galen Charlton [Fri, 23 Oct 2015 19:23:05 +0000 (19:23 +0000)]
LP#1509479: fix infinite loop bug in QueryParser

An unclosed phrase search that has a modifier can cause QueryParser to
enter an infinite loop, tying up open-ils.storage backends.

Examples of such searches include:

  -"cats and dogs
  subject:+"physical chemistry

This patch fixes the bug by allowing the end of the query string
to terminate a phrase (in addition to a quotation mark).

To test:

[1] Verify that the t/21-QueryParser.t unit test passes
[2] To test in a *development* database, before applying the patch
    run one of the example queries.  Observe that no
    results are returned, and that one of the open-ils.storage
    drones is running at 100% CPU.
[3] Apply the patch and restart the open-ils.storage service.
[4] Try the query again; this time, it should return results
    immediately without causing an open-ils.storage drone to
    peg a CPU.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
10 years agoLP 1502156: Fix marc_export error when dumping authorities.
Jason Stephenson [Fri, 2 Oct 2015 14:17:09 +0000 (10:17 -0400)]
LP 1502156: Fix marc_export error when dumping authorities.

There is a chance that marc_export will attempt to call a nonexistent
field on MARC::Record if an error occurs while exporting authority
records.  The bug could only be triggered if a conversion error
occurred while exporting the authority as either MARCXML or USMARC.

The fix is to rename a couple of variables in the Marque::Authority->next
method to be more like those used in Marque::Biblio->next.  This will have
the side effect of making marc_export easier to maintain, since the
variables used in one method will now have the same meaning as those
in the other.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agoDocs 2.9: Add summary of Web Client changes
Remington Steed [Fri, 2 Oct 2015 13:41:39 +0000 (09:41 -0400)]
Docs 2.9: Add summary of Web Client changes

This commit adds the Web Client release notes summary to the appropriate
docs section. It also updates the wording and links regarding the
completed UI Style Guide internship.

Next we need to copy the Cataloging content into the web client section
and provide web client screenshots.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
10 years agoDoc build: use the implicit ID for lib settings editor
Dan Scott [Thu, 1 Oct 2015 20:16:27 +0000 (16:16 -0400)]
Doc build: use the implicit ID for lib settings editor

We no longer have an explicitly set ID for the library settings editor
section, so update references to use the implicit ID instead.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
10 years agoDoc build: link to the right media file
Dan Scott [Thu, 1 Oct 2015 20:15:12 +0000 (16:15 -0400)]
Doc build: link to the right media file

The screenshot for the list of call numbers is a PNG image, not a JPEG
image, so referring to it with the appropriate extension will make it
show up in the docs and enable the epub and PDF builds to successfully
complete.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
10 years agoDoc build: update the implicit ID for release notes
Dan Scott [Thu, 1 Oct 2015 20:13:45 +0000 (16:13 -0400)]
Doc build: update the implicit ID for release notes

The implicit ID for a given heading changes each release as we update
the release notes, so bump 2.8 to 2.9 so that the reference to the ID
can be resolved.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
10 years agoDoc build: use XML-compliant IDs
Dan Scott [Thu, 1 Oct 2015 20:11:57 +0000 (16:11 -0400)]
Doc build: use XML-compliant IDs

Doc builds that depend on an intermediate XML transform (epub, PDF) also
need to use IDs that comply to the XML standard. In this case, numbers
are not valid NameStartChars:
http://www.w3.org/TR/REC-xml/#NT-NameStartChar

Signed-off-by: Dan Scott <dscott@laurentian.ca>
10 years agoAvoid duplicate IDs in doc build
Dan Scott [Thu, 1 Oct 2015 20:10:41 +0000 (16:10 -0400)]
Avoid duplicate IDs in doc build

Defining the same ID twice in the same document results in broken builds
that depend on an intermediate XML transform (epub, PDF), so redefine
the second ID in this document.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
10 years agoDocs: Documentation for negative balance work
Kathy Lussier [Thu, 10 Sep 2015 18:28:57 +0000 (14:28 -0400)]
Docs: Documentation for negative balance work

Documentation for negative balance settings in 2.9. The updates in this branch
include:

* Updates of the circulation, patron record, and library settings sections
to reflect the new features contained in the negative balance work.
* General updates, consolidation, and re-organization of some components
of the billing section.

A new understanding and confiuring billing section is still to come, but this
branch brings existing documentaiton up to date.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
10 years agoRelease Notes: Move/copy relevant sections to Upgrade Notes
Remington Steed [Thu, 24 Sep 2015 15:09:33 +0000 (11:09 -0400)]
Release Notes: Move/copy relevant sections to Upgrade Notes

This commit moves two sections from "New Features -> Administration ->
Upgrade Notes" to the main level "Upgrade Notes" section, which had been
accidentally left empty and was causing AsciiDoc-to-ePub conversion
errors. This commit also copies two other sections to the main "Upgrade
Notes" section, since they contain information relevant to the upgrade
process.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
10 years agocorrecting typo causing Chilifresh to continue to display
Chris Sharp [Tue, 22 Sep 2015 15:45:10 +0000 (11:45 -0400)]
correcting typo causing Chilifresh to continue to display

10 years agoCorrecting a typo that caused the copy_table.tt2 template to break
Chris Sharp [Tue, 22 Sep 2015 15:44:12 +0000 (11:44 -0400)]
Correcting a typo that caused the copy_table.tt2 template to break

10 years agoEnable Halloween holiday feature in KPAC.
Terran McCanna [Thu, 10 Sep 2015 19:43:31 +0000 (15:43 -0400)]
Enable Halloween holiday feature in KPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Conflicts:
Open-ILS/examples/kpac.xml

Conflicts:
Open-ILS/examples/kpac.xml

10 years agoChange links old library map to new interactive library locator map.
Terran McCanna [Thu, 10 Sep 2015 19:23:42 +0000 (15:23 -0400)]
Change links old library map to new interactive library locator map.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
10 years agoUpdated link to old library map to new library locator map in KPAC.
Terran McCanna [Thu, 10 Sep 2015 19:38:44 +0000 (15:38 -0400)]
Updated link to old library map to new library locator map in KPAC.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
10 years agoAdded PINES Quick Reports icon and link to Evergreen Staff Client
Terran McCanna [Thu, 10 Sep 2015 21:58:15 +0000 (17:58 -0400)]
Added PINES Quick Reports icon and link to Evergreen Staff Client
main page. The link will open in a browser window.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
10 years agoEnabled Google Analytics for OPAC usage tracking.
Terran McCanna [Mon, 31 Aug 2015 18:53:12 +0000 (14:53 -0400)]
Enabled Google Analytics for OPAC usage tracking.

10 years agoAdds B4 Book Log icon to KPAC search results page and
Terran McCanna [Wed, 27 May 2015 16:57:48 +0000 (12:57 -0400)]
Adds B4 Book Log icon to KPAC search results page and
KPAC item details page.

(This is a PINES-only customization.)

10 years agoAdds B4 Book Log icon and link to KPAC search results page and
Terran McCanna [Tue, 26 May 2015 13:09:27 +0000 (09:09 -0400)]
Adds B4 Book Log icon and link to KPAC search results page and
KPAC item details page.

(This is a PINES-only customization.)

Conflicts:
Open-ILS/src/templates/kpac/parts/record_row.tt2
Open-ILS/src/templates/kpac/record.tt2

10 years agoAdding GALILEO in-library link logic to topnav links.
Chris Sharp [Mon, 4 May 2015 20:49:01 +0000 (16:49 -0400)]
Adding GALILEO in-library link logic to topnav links.

10 years agoPINES/GALILEO avoid auth redirect within library
Bill Erickson [Wed, 25 Sep 2013 19:18:35 +0000 (15:18 -0400)]
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

10 years agoLP#1446860 - Correct mistaken logic in previous fix.
Chris Sharp [Wed, 22 Apr 2015 13:54:11 +0000 (09:54 -0400)]
LP#1446860 - Correct mistaken logic in previous fix.

See https://bugs.launchpad.net/evergreen/+bug/1446860/comments/2
for reference.  The logic was not enforcing the "if the editing
staff member doesn't have permission to edit a user in this
permission group" check.  This corrects that.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
10 years agoLP#1446860 Staff were able to edit their own accounts.
Chris Sharp [Tue, 21 Apr 2015 21:10:49 +0000 (17:10 -0400)]
LP#1446860 Staff were able to edit their own accounts.

This change reverses what appears to be a thinko in the
original programming.  If the editing user is the same
as the user being edited, disable the Save button.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Conflicts:
Open-ILS/web/js/ui/default/actor/user/register.js

10 years agobranding the built-in selfcheck interface for PINES
Chris Sharp [Wed, 1 Apr 2015 17:16:03 +0000 (13:16 -0400)]
branding the built-in selfcheck interface for PINES

10 years agoSadly, GALILEO/EBSCO does not use HTTPS, so this will create errors for patrons who...
Chris Sharp [Sat, 28 Feb 2015 12:54:21 +0000 (07:54 -0500)]
Sadly, GALILEO/EBSCO does not use HTTPS, so this will create errors for patrons who authenticate via PINES.  Reverting to HTTP.

10 years agoMake users_of_interest test for defined actor.usr.card values
Michael Peters [Thu, 20 Nov 2014 22:41:44 +0000 (17:41 -0500)]
Make users_of_interest test for defined actor.usr.card values

If the open-ils.collections.users_of_interest API encounters a patron that
has a null "card" value in actor.usr the API will crash with an error like:

Received Exception:
Name: osrfMethodException
Status:  *** Call to [open-ils.collections.users_of_interest.retrieve] failed for session [1416515351.333446.1416515351406], thread trace [1]:
Can't call method "barcode" on an undefined value at /usr/local/share/perl/5.14.2/OpenILS/Application/Collections.pm line 299.

This patches users_of_interest to be sure that the user has a defined value
for actor.usr.card before proceeding to pull out the barcode for the results
of the API call.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Conflicts:
Open-ILS/src/perlmods/lib/OpenILS/Application/Collections.pm

10 years agoHeader and Footer display changes to improve the way they display
Terran McCanna [Thu, 22 Jan 2015 17:29:09 +0000 (12:29 -0500)]
Header and Footer display changes to improve the way they display
on mobile devices and smaller-width windows.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
10 years agorestoring commented out checkbox to allow multiple hold requests on the same title
Chris Sharp [Thu, 22 Jan 2015 16:07:29 +0000 (11:07 -0500)]
restoring commented out checkbox to allow multiple hold requests on the same title

10 years agoTweaks to layout of holdings on item details page.
Terran McCanna [Mon, 19 Jan 2015 23:14:12 +0000 (18:14 -0500)]
Tweaks to layout of holdings on item details page.

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

10 years agoMade table cells in holdings white to temporarily solve CSS display
Terran McCanna [Mon, 19 Jan 2015 19:54:50 +0000 (14:54 -0500)]
Made table cells in holdings white to temporarily solve CSS display
issue in staff client.

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

10 years agoRevert "LP#1406387 Fix for Holds Placement Advanced Options"
Chris Sharp [Mon, 19 Jan 2015 20:13:06 +0000 (15:13 -0500)]
Revert "LP#1406387 Fix for Holds Placement Advanced Options"

Not working for us yet, so reverting.

This reverts commit 2322ee5ae9cbe3caefb6998d62c3716cf40411a3.

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

10 years agoLP#1406387 Fix for Holds Placement Advanced Options
Adam Bowling [Mon, 19 Jan 2015 17:05:19 +0000 (12:05 -0500)]
LP#1406387 Fix for Holds Placement Advanced Options

In the staff client, when placing a hold and clicking
Advanced Hold Options, the barcode input will populate
with the staff member's barcode if it was previously
empty, regardless of whether the radio input for the
hold was specified for a patron or the staff member.

This patch corrects that behavior, and also populates
the input radio on load after clicking Advanced Hold
Options.

Signed-off-by: Adam Bowling <abowling@emeralddata.net>
Conflicts:
Open-ILS/src/templates/opac/parts/place_hold.tt2

10 years agoCorrected KPAC hold notification code to allow for text messaging preferences.
Terran McCanna [Thu, 11 Dec 2014 23:38:31 +0000 (18:38 -0500)]
Corrected KPAC hold notification code to allow for text messaging preferences.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
10 years agoRevert "Revert "Update ContentCafe Added Content Module""
Chris Sharp [Sun, 18 Jan 2015 20:32:37 +0000 (15:32 -0500)]
Revert "Revert "Update ContentCafe Added Content Module""

This reverts commit bd7b7ee5b0b323967cb8fcb22c20c5a405e650bf.

10 years agoRevert "Update ContentCafe Added Content Module"
Chris Sharp [Sun, 18 Jan 2015 20:20:09 +0000 (15:20 -0500)]
Revert "Update ContentCafe Added Content Module"

Experimenting with reverting this commit, which appears to
break Syndetics (and we don't use ContentCafe).

This reverts commit 164c7e7bc4e542af9ada4ea2716cbce784820e6d.

10 years agoFix to Advanced Search 'Clear Form' button not clearing
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>
10 years agoRevert label change on item detail page from 'Related electronic
Terran McCanna [Sun, 18 Jan 2015 19:05:47 +0000 (14:05 -0500)]
Revert label change on item detail page from 'Related electronic
resources' to 'Electronic resources.'

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
10 years agoCapitalized 'Closed' on library pages.
Terran McCanna [Sun, 18 Jan 2015 19:01:06 +0000 (14:01 -0500)]
Capitalized 'Closed' on library pages.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
10 years agoKPAC 2.7 Upgrade Tweaks
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

10 years agoFix to grouped search result set navigation bar display issue in OPAC.
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

10 years agoremoving reference to dates with slashes / in the example text
Chris Sharp [Mon, 12 Jan 2015 19:51:53 +0000 (14:51 -0500)]
removing reference to dates with slashes / in the example text

10 years agoDisallow patron self-registration form to accept slashes in dob
Terran McCanna [Mon, 12 Jan 2015 19:21:47 +0000 (14:21 -0500)]
Disallow patron self-registration form to accept slashes in dob
(further modification to https://bugs.launchpad.net/evergreen/+bug/1361266)

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
10 years agoTweaks to OPAC UI - account login page, my account holds page, text call number page
Terran McCanna [Mon, 12 Jan 2015 18:49:06 +0000 (13:49 -0500)]
Tweaks to OPAC UI - account login page, my account holds page, text call number page

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
10 years agoreplacing copy_table.tt2 with the correct version
Chris Sharp [Tue, 6 Jan 2015 21:33:18 +0000 (16:33 -0500)]
replacing copy_table.tt2 with the correct version

Conflicts:
Open-ILS/src/templates/kpac/parts/copy_table.tt2

10 years agoFix for KPAC holdings display issue.
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>