working/Evergreen.git
10 years agoUse the staff-wrapped catalog when jumping to a bib record
Mike Rylander [Mon, 19 Jan 2015 22:15:53 +0000 (17:15 -0500)]
Use the staff-wrapped catalog when jumping to a bib record

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoFor any grid with a persistKey, store the last selected row count as a localStorage...
Mike Rylander [Mon, 19 Jan 2015 22:05:12 +0000 (17:05 -0500)]
For any grid with a persistKey, store the last selected row count as a localStorage value

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoAdd record summary bar to the catalog display, and hide Actions for this Record until...
Mike Rylander [Mon, 19 Jan 2015 20:17:37 +0000 (15:17 -0500)]
Add record summary bar to the catalog display, and hide Actions for this Record until usable

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoimplement "delete all from catalog" for copy buckets
Galen Charlton [Fri, 16 Jan 2015 22:12:01 +0000 (22:12 +0000)]
implement "delete all from catalog" for copy buckets

TODO: at present, this is pretty optimistic

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agowebstaff: add basic copy bucket management functionality
Galen Charlton [Thu, 15 Jan 2015 22:12:49 +0000 (22:12 +0000)]
webstaff: add basic copy bucket management functionality

This adds an interface for managing copy buckets, including
adding and removing them, adding items to a pending list and to
copy buckets by barcode, and removing items from a bucket.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agomake clearing the record bucket pending list action functional
Galen Charlton [Thu, 15 Jan 2015 21:52:00 +0000 (21:52 +0000)]
make clearing the record bucket pending list action functional

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agoimplement Show All in Catalog action for record buckets
Galen Charlton [Thu, 15 Jan 2015 16:16:03 +0000 (16:16 +0000)]
implement Show All in Catalog action for record buckets

Note that this will typically require the brower's pop-up
blocker to be disabled for the webstaff site.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agouse staff search for record bucket queries
Galen Charlton [Thu, 15 Jan 2015 15:01:02 +0000 (15:01 +0000)]
use staff search for record bucket queries

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agoImprove styling of retrieve-by pages
Mike Rylander [Thu, 15 Jan 2015 14:11:26 +0000 (09:11 -0500)]
Improve styling of retrieve-by pages

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoImplement retrieve record by id and tcn
Mike Rylander [Wed, 14 Jan 2015 22:20:23 +0000 (17:20 -0500)]
Implement retrieve record by id and tcn

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoUse egCore.env.basePath to construct the URL for last record
Mike Rylander [Wed, 14 Jan 2015 20:27:15 +0000 (15:27 -0500)]
Use egCore.env.basePath to construct the URL for last record

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoImplement "Retrieve Last Bib Record" using localStorage record cache
Mike Rylander [Wed, 14 Jan 2015 20:05:14 +0000 (15:05 -0500)]
Implement "Retrieve Last Bib Record" using localStorage record cache

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoSave the record we land on from within the staff client as the "last record retrieved"
Mike Rylander [Wed, 14 Jan 2015 19:15:25 +0000 (14:15 -0500)]
Save the record we land on from within the staff client as the "last record retrieved"

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoLP#1402797 browser client noncat circ display
Bill Erickson [Wed, 31 Dec 2014 21:05:53 +0000 (16:05 -0500)]
LP#1402797 browser client noncat circ display

Adds a new tab to the patron items out page for Non-Cataloged
Circulations.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoLP#1402797 browser client noncat counts in patron summary
Bill Erickson [Wed, 31 Dec 2014 21:00:06 +0000 (16:00 -0500)]
LP#1402797 browser client noncat counts in patron summary

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoLP#1402797 browser client interval parser
Bill Erickson [Wed, 31 Dec 2014 20:28:48 +0000 (15:28 -0500)]
LP#1402797 browser client interval parser

Adds a new service on the core module for adding date handling
utilities.  Included in this commit is a new function:

egDate.intervalToSeconds(interval);

Includes Gruntfile additions and unit tests.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoLP#1402797 PCRUD access for noncat circs in IDL
Bill Erickson [Wed, 31 Dec 2014 20:26:03 +0000 (15:26 -0500)]
LP#1402797 PCRUD access for noncat circs in IDL

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoLP1402797 patron search form focus repairs cont.
Bill Erickson [Fri, 2 Jan 2015 16:21:43 +0000 (11:21 -0500)]
LP1402797 patron search form focus repairs cont.

Building on Mike's original work, use Angular ng-mouseover and the
Angular $document built-in.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agouse null as default payment amount
Galen Charlton [Fri, 26 Dec 2014 22:46:31 +0000 (22:46 +0000)]
use null as default payment amount

This means that operator does not have to select the
previous default of "0" in the control to clear it out.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
10 years agowebby: catalog record -> view holds org filter repair
Bill Erickson [Mon, 15 Dec 2014 18:47:51 +0000 (13:47 -0500)]
webby: catalog record -> view holds org filter repair

Selecting a pickup library from the filter in the Catalog -> View Holds
UI shows holds for the selected org unit and descendant org units.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoRepair browser client dropdown buttons - #2
Bill Erickson [Mon, 15 Dec 2014 18:46:14 +0000 (13:46 -0500)]
Repair browser client dropdown buttons - #2

Repairs egOrgSelector.

Angular-ui-bootstrap as of version ~0.11.2 does not want bare
"dropdown-toggle" attributes within action link tags.  When present,
they prevent the dropdown button from opening.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoAllow, and use, disabling of button-ish anchors
Mike Rylander [Wed, 17 Dec 2014 16:31:24 +0000 (11:31 -0500)]
Allow, and use, disabling of button-ish anchors

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoOnly enable the Apply Payment button when a bill is selected
Mike Rylander [Wed, 17 Dec 2014 15:57:28 +0000 (10:57 -0500)]
Only enable the Apply Payment button when a bill is selected

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agowebby: checkin fine tally patron bills link
Bill Erickson [Fri, 12 Dec 2014 22:27:06 +0000 (17:27 -0500)]
webby: checkin fine tally patron bills link

Checkin fine tally display now acts as a link which opens a new tab to
the patron bills page for the current checkin patron when fines exist.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
10 years agoActually do search button, too
Mike Rylander [Fri, 12 Dec 2014 21:43:53 +0000 (16:43 -0500)]
Actually do search button, too

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoFocus patron search field on search, expand, clear
Mike Rylander [Fri, 12 Dec 2014 21:41:24 +0000 (16:41 -0500)]
Focus patron search field on search, expand, clear

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoUse .finally() instead of hash-y syntax~
Mike Rylander [Fri, 12 Dec 2014 19:02:29 +0000 (14:02 -0500)]
Use .finally() instead of hash-y syntax~

Signed-off-by: Mike Rylander <mrylander@gmail.com>
10 years agoApply focus in the .finally() in case there was a popup
Mike Rylander [Fri, 12 Dec 2014 19:01:59 +0000 (14:01 -0500)]
Apply focus in the .finally() in case there was a popup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agofix checkout focus after patron load
Jason Etheridge [Fri, 5 Dec 2014 21:59:30 +0000 (16:59 -0500)]
fix checkout focus after patron load

Thanks to berick and jcamins, and to eeevil for actually nailing the solution

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
11 years agoRepair browser client dropdown buttons
Bill Erickson [Thu, 4 Dec 2014 22:22:46 +0000 (17:22 -0500)]
Repair browser client dropdown buttons

Angular-ui-bootstrap as of version ~0.11.2 does not want bare
"dropdown-toggle" attributes within action link tags.  When present,
they prevent the dropdown button from opening.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
11 years agowebby: repair Hatch type=text printing
Bill Erickson [Wed, 3 Dec 2014 19:57:54 +0000 (14:57 -0500)]
webby: repair Hatch type=text printing

When printing text, Hatch was receiving no print content due to some
code refactoring.  Repaired.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
11 years agoAvoid org tree retrieval race condition on patron app
Bill Erickson [Wed, 3 Dec 2014 17:48:12 +0000 (12:48 -0500)]
Avoid org tree retrieval race condition on patron app

Avoid calling egOrg.ancestors() during startup, because the org unit
tree is not guarantee to be available until startup has completed.  This
was causing an occasional JS excpetion in the patron app pages, which
prevented the pages from loading.

The error in question:

 TypeError: Cannot read property 'map' of undefined
    at Object.service.get (https://host/js/ui/default/staff/services/org.js:21:25)
    at Object.service.ancestors (https://host/js/ui/default/staff/services/org.js:34:28)
    at Object.egCore.env.classLoaders.actsc (https://host/js/ui/default/staff/circ/patron/app.js:41:37)
    at https://host/js/ui/default/staff/services/env.js:77:55
    at Object.r [as forEach] (https://host/js/ui/default/staff/build/js/angular.min.js:7:290)
    at Object.service.load (https://host/js/ui/default/staff/services/env.js:76:17)
    at https://host/js/ui/default/staff/services/startup.js:64:23
    at J (https://host/js/ui/default/staff/build/js/angular.min.js:101:96)
    at https://host/js/ui/default/staff/build/js/angular.min.js:102:259
    at h.$eval (https://host/js/ui/default/staff/build/js/angular.min.js:113:32)

Signed-off-by: Bill Erickson <berickxx@gmail.com>
11 years agoAdjust timestamp with local timezone before truncating to the date
Mike Rylander [Wed, 3 Dec 2014 21:40:50 +0000 (16:40 -0500)]
Adjust timestamp with local timezone before truncating to the date

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd usr and requestor columns to the hold pull list
Mike Rylander [Wed, 3 Dec 2014 15:54:34 +0000 (10:54 -0500)]
Add usr and requestor columns to the hold pull list

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoBegin teaching grid about class hierarchies for labels
Mike Rylander [Wed, 3 Dec 2014 15:54:13 +0000 (10:54 -0500)]
Begin teaching grid about class hierarchies for labels

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoFetch old circ when the user is not the same (API misuse)
Mike Rylander [Wed, 3 Dec 2014 15:53:35 +0000 (10:53 -0500)]
Fetch old circ when the user is not the same (API misuse)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoBrowser client checkout 'Done' clears current user
Bill Erickson [Tue, 2 Dec 2014 22:28:01 +0000 (17:28 -0500)]
Browser client checkout 'Done' clears current user

Clicking the 'Done' button after checkout resets the patron side bar and
action tabs to completely hide the previous patron's data.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoRemove useless options in record bucket export
Mike Rylander [Wed, 26 Nov 2014 15:48:07 +0000 (10:48 -0500)]
Remove useless options in record bucket export

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAllow the status bar to be hidden
Mike Rylander [Wed, 12 Nov 2014 20:00:07 +0000 (15:00 -0500)]
Allow the status bar to be hidden

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoSeparate stock and custom penalty type models
Mike Rylander [Wed, 12 Nov 2014 15:46:43 +0000 (10:46 -0500)]
Separate stock and custom penalty type models

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoSupply top-level method for uncanceling holds
Mike Rylander [Tue, 11 Nov 2014 18:26:21 +0000 (13:26 -0500)]
Supply top-level method for uncanceling holds

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoFix boolean assumption
Mike Rylander [Tue, 11 Nov 2014 18:25:55 +0000 (13:25 -0500)]
Fix boolean assumption

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoSort by class, and keep columns from one class together
Mike Rylander [Tue, 11 Nov 2014 18:25:25 +0000 (13:25 -0500)]
Sort by class, and keep columns from one class together

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdjust the default for penalty type so it is selected
Mike Rylander [Tue, 11 Nov 2014 18:24:39 +0000 (13:24 -0500)]
Adjust the default for penalty type so it is selected

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd invalid-address alert
Mike Rylander [Thu, 30 Oct 2014 15:06:14 +0000 (11:06 -0400)]
Add invalid-address alert

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd Check Number input
Mike Rylander [Thu, 30 Oct 2014 14:50:03 +0000 (10:50 -0400)]
Add Check Number input

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd the ability (and action) to uncancel holds
Mike Rylander [Thu, 30 Oct 2014 14:38:15 +0000 (10:38 -0400)]
Add the ability (and action) to uncancel holds

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoIgnore the "current_copy" field, we already get that separately
Mike Rylander [Thu, 30 Oct 2014 14:18:07 +0000 (10:18 -0400)]
Ignore the "current_copy" field, we already get that separately

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoTeach autogrid how to ignore fields explicitly
Mike Rylander [Thu, 30 Oct 2014 14:17:49 +0000 (10:17 -0400)]
Teach autogrid how to ignore fields explicitly

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd patron barcode and alias to hold lists where appropriate
Mike Rylander [Thu, 30 Oct 2014 13:57:11 +0000 (09:57 -0400)]
Add patron barcode and alias to hold lists where appropriate

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoFix "scan item for missing pieces" label to say Item instead of Patron
Mike Rylander [Thu, 30 Oct 2014 13:06:53 +0000 (09:06 -0400)]
Fix "scan item for missing pieces" label to say Item instead of Patron

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoMake "Checkout" the consistent spelling in the IDL
Mike Rylander [Thu, 30 Oct 2014 13:01:21 +0000 (09:01 -0400)]
Make "Checkout" the consistent spelling in the IDL

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoComment out Hide/Show All in autogrid
Mike Rylander [Thu, 30 Oct 2014 12:59:02 +0000 (08:59 -0400)]
Comment out Hide/Show All in autogrid

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd label to custom penalty dropdown
Mike Rylander [Thu, 30 Oct 2014 12:57:45 +0000 (08:57 -0400)]
Add label to custom penalty dropdown

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoPush explicitly added columns to the top and keep the explicit order, then sort the...
Mike Rylander [Mon, 22 Sep 2014 16:03:48 +0000 (12:03 -0400)]
Push explicitly added columns to the top and keep the explicit order, then sort the rest by their labels

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd catalog search to the search menu in the nav bar
Mike Rylander [Mon, 22 Sep 2014 16:02:55 +0000 (12:02 -0400)]
Add catalog search to the search menu in the nav bar

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoAdd checkout/in workstation colums to the available set
Mike Rylander [Mon, 22 Sep 2014 16:02:33 +0000 (12:02 -0400)]
Add checkout/in workstation colums to the available set

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoDocumentation: LP#1386854 - Locally Hosted Added Content.
Yamil Suarez [Mon, 10 Nov 2014 18:47:52 +0000 (13:47 -0500)]
Documentation: LP#1386854 - Locally Hosted Added Content.

Adds documentation that describes how to use the local content bypass
feature of the AddedContent modules.  This allows for local added content like
cover art, reviews, TOC, exerpts or annotations to be shown in bib records.

I also changed the headers in the External Added Content section to use title case.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoLP#1390225: Fail to care about errors from auth.session.delete
Mike Rylander [Thu, 6 Nov 2014 21:03:36 +0000 (16:03 -0500)]
LP#1390225: Fail to care about errors from auth.session.delete

We're just tossing this call over the wall and moving on.  We don't
care if the session wasn't there to delete or even if we didn't pass
a session to the server.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoLP#1390225: redirect to ctx.home_page instead of through ctx.logout_page
Mike Rylander [Thu, 6 Nov 2014 20:36:16 +0000 (15:36 -0500)]
LP#1390225: redirect to ctx.home_page instead of through ctx.logout_page

This way, we skip the auth.session.delete call that will error out because
we no longer have the authtoken cookie.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoLP#1248636: Clear session at OPAC logout
Mike Rylander [Thu, 30 Oct 2014 15:52:13 +0000 (11:52 -0400)]
LP#1248636: Clear session at OPAC logout

When the user explicitly logs out, clear the session on the server side.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoForward-port 2.6.3 upgrade script
Dan Wells [Wed, 5 Nov 2014 19:22:26 +0000 (14:22 -0500)]
Forward-port 2.6.3 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoForward-port 2.5.7 upgrade script
Dan Wells [Wed, 5 Nov 2014 19:21:44 +0000 (14:21 -0500)]
Forward-port 2.5.7 upgrade script

Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoForward port 2.6-2.7 upgrade script
Ben Shum [Wed, 5 Nov 2014 19:19:10 +0000 (14:19 -0500)]
Forward port 2.6-2.7 upgrade script

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1366964 Update libdbi connection test error parsing
Bill Erickson [Tue, 21 Oct 2014 02:55:20 +0000 (22:55 -0400)]
LP#1366964 Update libdbi connection test error parsing

Modern version of libdbi return a slightly different error message for
queries which fail mid-transaction, causing an C-based DB backends to
exit abruptly unnecessarily.  Update the error message test to include
the new format.

Includes Perl live test for confirming functionality.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
11 years agoLP1383697: Long Overdue needs to be a "magical status" for the copy editor
Chris Sharp [Tue, 21 Oct 2014 13:33:37 +0000 (09:33 -0400)]
LP1383697: Long Overdue needs to be a "magical status" for the copy editor

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agolp1383763 - Display OpenURL embargo statement
Dan Scott [Tue, 21 Oct 2014 15:02:12 +0000 (11:02 -0400)]
lp1383763 - Display OpenURL embargo statement

The ResolverResolver service fetches the embargo statement (such as
"Last year not available") from OpenURL resolvers and stores it in a
target_embargo field. In JSPAC we used to display this along with the
coverage statement, because it is very important that people know that a
resource may be available from 1999 but the last year isn't available
online.

Restore the display of this information to the TPAC.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoDocs: Changed 'Importing materials' in the staff client section LP#1371615
Dananji Liyanage [Mon, 27 Oct 2014 21:19:10 +0000 (17:19 -0400)]
Docs: Changed 'Importing materials' in the staff client section LP#1371615

Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoLP#1384868: limit fund drop-downs on the invoice page to only active funds
Galen Charlton [Thu, 23 Oct 2014 19:17:58 +0000 (12:17 -0700)]
LP#1384868: limit fund drop-downs on the invoice page to only active funds

This patch fixes the fund selectors for adding extra copies
and charges to invoices to only active funds (in addition
to the existing restriction to funds visible to the user).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
11 years agoDocs: add default icon definitions LP#1371598
Dananji Liyanage [Fri, 24 Oct 2014 19:15:12 +0000 (15:15 -0400)]
Docs: add default icon definitions LP#1371598

Documents the default icon definitions that are included with a stock Evergreen install.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoLP#1261486 Action/trigger aggregator script repairs user/csharp/lp1366964-libdbi-error-handling-signoff
Bill Erickson [Wed, 11 Dec 2013 17:58:49 +0000 (12:58 -0500)]
LP#1261486 Action/trigger aggregator script repairs

* If both date filters are selected, apply both instead of replacing the
  first with the second

* Select distinct event output to prevent dupes

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoLP#1379824 Make PermaCrud.js disconnect() actually disconnect
Dan Wells [Thu, 9 Oct 2014 21:32:42 +0000 (17:32 -0400)]
LP#1379824 Make PermaCrud.js disconnect() actually disconnect

The disconnect() method in PermaCrud.js was meant to wrap the
underlying session disconnect, but it never actually disconnected
the session.  This could lead to problems in long-living PermaCrud
objects, as they may think they are still connected when they are not
(the session remote_id is never cleared).

Also, remove a couple (now redundant) manual session.disconnect() calls.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1305958 Change copy table header atts to scope attributes
Dan Scott [Thu, 10 Apr 2014 14:59:49 +0000 (10:59 -0400)]
LP#1305958 Change copy table header atts to scope attributes

Per http://webaim.org/techniques/tables/data, the current best practice for
marking up tables for accessibility is to use the "scope" attribute for
headers, rather than the error-prone and markup-heavy "headers" attribute on
table cells.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1309664: Stamping upgrade script for new seed data for COM and SER
Ben Shum [Fri, 10 Oct 2014 17:18:03 +0000 (13:18 -0400)]
LP#1309664: Stamping upgrade script for new seed data for COM and SER

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1309664: Add some fixed field seed data for COM and SER
Mike Rylander [Fri, 18 Apr 2014 17:45:59 +0000 (13:45 -0400)]
LP#1309664: Add some fixed field seed data for COM and SER

There are a few useful fixed fields we're missing mapping data for,
so this branch adds three: Freq, Regl, and File. There are certainly
more, but here's a bit that's of use to folks in the wild using the
fixed field editor improvements.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1374551: Stamping upgrade script for new index on money.billing.voider
Ben Shum [Fri, 10 Oct 2014 15:35:25 +0000 (11:35 -0400)]
LP#1374551: Stamping upgrade script for new index on money.billing.voider

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1374551: Create index on money.billing.voider to speed user merge.
Chris Sharp [Fri, 26 Sep 2014 18:19:22 +0000 (14:19 -0400)]
LP#1374551: Create index on money.billing.voider to speed user merge.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1368314: Stamping upgrade script for RDA support to reporter.simple_record
Ben Shum [Fri, 10 Oct 2014 15:21:34 +0000 (11:21 -0400)]
LP#1368314: Stamping upgrade script for RDA support to reporter.simple_record

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1368314: Add RDA support to reporter.simple_record.
Chris Sharp [Sun, 28 Sep 2014 00:06:22 +0000 (20:06 -0400)]
LP#1368314: Add RDA support to reporter.simple_record.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1306814: Make use of patron timeout setting for selfcheck
Ben Shum [Fri, 26 Sep 2014 21:05:39 +0000 (17:05 -0400)]
LP#1306814: Make use of patron timeout setting for selfcheck

As described in the bug, the library setting "Self Check: Patron Login Timeout
(in seconds)" does not appear to work with the newer selfcheck interface.

It looks like some of it was already being pulled in, like the variable, but
the interface was not utilizing it.

This commit borrows from the old JS selfcheck and implements a default of
three minutes for selfcheck timeout otherwise handled by the library setting.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
11 years agoTranslation updates - newpot
Ben Shum [Thu, 25 Sep 2014 06:30:54 +0000 (02:30 -0400)]
Translation updates - newpot

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoTranslation updates - po files
Ben Shum [Thu, 25 Sep 2014 06:12:50 +0000 (02:12 -0400)]
Translation updates - po files

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoUpdate script for update_pofiles
Ben Shum [Thu, 25 Sep 2014 05:58:56 +0000 (01:58 -0400)]
Update script for update_pofiles

We were missing a few of the folders used for i18n purposes from
the update_pofiles script. Added the following entries:

FlattenerGrid.js
match_set.js
PCrudFilterPane.js
serial.js
tpac
URLVerify.js
vandelay.js

Also, change from Acq.js to acq.js.

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1252786: Add Workstation link to Aged and Active Circulations reports source.
Chris Sharp [Mon, 29 Sep 2014 00:30:22 +0000 (20:30 -0400)]
LP#1252786: Add Workstation link to Aged and Active Circulations reports source.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1374091: stamping upgrade script for speedier record_attr views
Ben Shum [Thu, 9 Oct 2014 15:59:17 +0000 (11:59 -0400)]
LP#1374091: stamping upgrade script for speedier record_attr views

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1374091: Speed up metarecord version of unAPI mra call
Mike Rylander [Mon, 29 Sep 2014 16:40:32 +0000 (12:40 -0400)]
LP#1374091: Speed up metarecord version of unAPI mra call

The change to metabib.record_attr_flat in the previous commit caused
a regression in the plan used in unapi.mmr_mra.  This commit addresses
that by unrolling the mra view when used in context with metarecords,
which are shaped differently and require slightly different access
patterns.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1374091: Redefine view to help PG make better plans
Mike Rylander [Thu, 25 Sep 2014 18:34:20 +0000 (14:34 -0400)]
LP#1374091: Redefine view to help PG make better plans

The metabib.record_attr_flat view previously pulled its data
through several other intermediate views.  While this improves
maintenance overhead, it ends up being an optimization fence
for certain data sets.  So, we pull the logic from the leaf
views up into the main view.  And, poof, 2 orders of magnitude
speedup on large data sets.

Signed-off-by: Mike Rylander <miker@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1378575: teach action::hold_request about behind_desk
Galen Charlton [Tue, 7 Oct 2014 23:42:18 +0000 (16:42 -0700)]
LP#1378575: teach action::hold_request about behind_desk

This patch teaches the CDBI class for the action.hold_request
table about the newish behind_desk column, preventing errors
like this from being thrown if a recent OpenSRF version is in
use:

Processing of hold failed:  Can't locate object method "behind_desk"
via package "action::hold_request" at /usr/local/share/perl/5.14.2/OpenILS/Application/Storage/CDBI.pm line 181.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1314827: On login, don't allow referer-based redirect to external site
Jeff Davis [Fri, 16 May 2014 22:14:43 +0000 (15:14 -0700)]
LP#1314827: On login, don't allow referer-based redirect to external site

On /eg/opac/login, if no redirect_to param is provided, the TPAC will
attempt to use the referer (if any) as the redirect destination. This
leads to undesirable behavior if the referring URL is from an external
site.

Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoDocumentation bug: corrected image file
Angela Kilsdonk [Thu, 2 Oct 2014 15:41:35 +0000 (10:41 -0500)]
Documentation bug: corrected image file

Signed-off-by: Angela Kilsdonk <akilsdonk@esilibrary.com>
11 years agoWhitespace and non-weird emdash in docs
Dan Scott [Wed, 1 Oct 2014 19:37:08 +0000 (15:37 -0400)]
Whitespace and non-weird emdash in docs

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoDocs: Change all internal links to correct format
Josh Stompro [Mon, 15 Sep 2014 01:08:40 +0000 (20:08 -0500)]
Docs: Change all internal links to correct format

Resolves LP#1294347

I just deleted one link since I couldn't find any trace of where it was intended to go.

acquisitions/selection_lists_po.txt:
"or use the link:federated.txt[View/Place Orders] menu item in the catalog."

If anyone ever finds where that is supposed to go, let me know and I'll fix it.

Signed-off-by: Josh Stompro <github@stompro.org>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
11 years agoLP#1347774 CStoreEditor anonymous PCRUD additions
Bill Erickson [Fri, 1 Aug 2014 17:29:41 +0000 (13:29 -0400)]
LP#1347774 CStoreEditor anonymous PCRUD additions

* Exporter repairs : use export_to_level
* pcrud personality call argument mod repair
* log pcrud personality json_query attempts loudly to ease transition
* CStoreEditor anon/pcrud personality live test

* CStoreEditor anon pcrud default to undef authtoken:
The presence of an authtoken ("ANONYMOUS") in the editor can be
misleading at higher levels of the code, since it implies a
presumably functional authtoken has been provided somewhow.
Apply ANONYMOUS only as needed to API calls instead.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Mike Rylander <miker@esilibrary.com>
11 years agoLP#1347774 Anonymous PCRUD mode
Mike Rylander [Thu, 24 Jul 2014 19:03:37 +0000 (15:03 -0400)]
LP#1347774 Anonymous PCRUD mode

Support for anonymous access to public (field_safe=true) IDL data
via PCRUD without requiring an authtoken.  To use, pass an authtoken of
ANONYMOUS.

Includes initial CStoreEditor plugin for anon pcrud.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
11 years agoLP#1373693: Speed up call number browse search at top level org.
Chris Sharp [Thu, 25 Sep 2014 15:45:44 +0000 (11:45 -0400)]
LP#1373693: Speed up call number browse search at top level org.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoDocs: Removed redundant phrase as mentioned in bug #1294299
Snigdha Dagar [Thu, 25 Sep 2014 03:02:54 +0000 (23:02 -0400)]
Docs: Removed redundant phrase as mentioned in bug #1294299

Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoDocs: Updated 2 links that pointed to the old subversion repository
Snigdha Dagar [Thu, 25 Sep 2014 02:42:35 +0000 (22:42 -0400)]
Docs: Updated 2 links that pointed to the old subversion repository

Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoDocs: Removed a redundant phrase as mentioned in bug #1294299
Snigdha Dagar [Thu, 25 Sep 2014 02:26:55 +0000 (22:26 -0400)]
Docs: Removed a redundant phrase as mentioned in bug #1294299

Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoTidy search section of Using the OPAC
Dan Scott [Wed, 24 Sep 2014 03:29:42 +0000 (23:29 -0400)]
Tidy search section of Using the OPAC

Primarily focused on restructuring the information around Boolean
searching, particularly as I find librarians want to know what the
Boolean operators are that they should use. However, cleaned up some
typos and formatting along the way.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
11 years agoDocs: for new "Imported As" column in Vandelay queue results view
Yamil Suarez [Fri, 19 Sep 2014 18:56:47 +0000 (14:56 -0400)]
Docs: for new "Imported As" column in Vandelay queue results view

Added explanation of the new "Imported As" menu in "MARC Batch Import/Export"
queue results view, also updated screenshots.

Thanks to Joan Kranich of C/W MARS, for helping research were to make these
changes.

Signed-off-by: Yamil Suarez <yamil@yamil.com>