working/Evergreen.git
11 years agomore service unit tests and data
Bill Erickson [Tue, 6 May 2014 19:34:23 +0000 (15:34 -0400)]
more service unit tests and data

* new test data dir for storing mock data
* script for generating IDL2js output from the EG IDL for testing
* unit test scripts egIDL and egOrg

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoremove some repetitive debug logs
Bill Erickson [Tue, 6 May 2014 18:20:19 +0000 (14:20 -0400)]
remove some repetitive debug logs

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agonot using coverage test plugin at the moment
Bill Erickson [Tue, 6 May 2014 18:20:04 +0000 (14:20 -0400)]
not using coverage test plugin at the moment

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agounit tests for egCore, egEvent, and egStrings
Bill Erickson [Tue, 6 May 2014 18:19:44 +0000 (14:19 -0400)]
unit tests for egCore, egEvent, and egStrings

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen into web-staff-proto
Bill Erickson [Tue, 6 May 2014 17:27:09 +0000 (13:27 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into web-staff-proto

11 years agoadd staff web build dirs to gitignore
Bill Erickson [Tue, 6 May 2014 17:26:48 +0000 (13:26 -0400)]
add staff web build dirs to gitignore

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoGrunt-based dependencies, minification, and unit testing
Bill Erickson [Tue, 6 May 2014 16:24:01 +0000 (12:24 -0400)]
Grunt-based dependencies, minification, and unit testing

Files to support Grunt-based browser staff building.

* Fetching dependencies (angularjs, etc.)
* Runs unit tests with grunt-karma
* Concatenates and minifies files with grunt-uglify

* Moved unit tests into web directory
* Taught t_base_js.tt2 how to load the minified version of the file

TODO:

* minifiying non-core files and (possibly) copying them into the build
  directory.
* Support for using non-minified files via browser option?
* Makefile options for building, testing, and copying the correct files
  into the actual web directory (instead of cp -r web/*)
* Build docs

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoremove dupe deflate stanza; example locales
Bill Erickson [Tue, 6 May 2014 16:23:53 +0000 (12:23 -0400)]
remove dupe deflate stanza; example locales

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agominification repairs; minor nits
Bill Erickson [Tue, 6 May 2014 16:21:07 +0000 (12:21 -0400)]
minification repairs; minor nits

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoinit cached patrons list for testing
Bill Erickson [Tue, 6 May 2014 14:09:16 +0000 (10:09 -0400)]
init cached patrons list for testing

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoavoid cookie dep. store authtoken in sessionStorage
Bill Erickson [Tue, 6 May 2014 14:08:49 +0000 (10:08 -0400)]
avoid cookie dep.  store authtoken in sessionStorage

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agologin form 'failed' label repair
Bill Erickson [Mon, 5 May 2014 19:21:35 +0000 (15:21 -0400)]
login form 'failed' label repair

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agogrid config persistence; slimmer persist keys
Bill Erickson [Mon, 5 May 2014 18:11:10 +0000 (14:11 -0400)]
grid config persistence; slimmer persist keys

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoremove flattener; access via egNet instead for streaming
Bill Erickson [Mon, 5 May 2014 15:28:51 +0000 (11:28 -0400)]
remove flattener; access via egNet instead for streaming

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agofocus last name (first input) in patron search
Bill Erickson [Mon, 5 May 2014 15:13:57 +0000 (11:13 -0400)]
focus last name (first input) in patron search

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agocheckout added to nav; p search form starts w/ last name
Bill Erickson [Mon, 5 May 2014 14:45:55 +0000 (10:45 -0400)]
checkout added to nav; p search form starts w/ last name

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : more egCore integration; egStrings
Bill Erickson [Mon, 5 May 2014 14:39:37 +0000 (10:39 -0400)]
browser staff : more egCore integration; egStrings

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoFF login repairs
Bill Erickson [Sun, 4 May 2014 19:55:30 +0000 (15:55 -0400)]
FF login repairs

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agostart compressing services into egCore; minor patron lookup repair
Bill Erickson [Fri, 2 May 2014 20:54:08 +0000 (16:54 -0400)]
start compressing services into egCore; minor patron lookup repair

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agomisc fixes for patron search; local item storage
Bill Erickson [Fri, 2 May 2014 19:26:50 +0000 (15:26 -0400)]
misc fixes for patron search; local item storage

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoFix for docs on library information pages
Kathy Lussier [Thu, 1 May 2014 21:32:36 +0000 (17:32 -0400)]
Fix for docs on library information pages

Fixes an AsciiDoc URL processing error.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
11 years agocheckout from patron barcode entry UI
Bill Erickson [Thu, 1 May 2014 19:03:54 +0000 (15:03 -0400)]
checkout from patron barcode entry UI

* includes opt-in logic
* includes link from splash page

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agorepair select-me link handler
Bill Erickson [Thu, 1 May 2014 19:00:16 +0000 (15:00 -0400)]
repair select-me link handler

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoworkstation reg repairs
Bill Erickson [Thu, 1 May 2014 18:59:07 +0000 (14:59 -0400)]
workstation reg repairs

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoDocs 2.6: Lost Item Billing Min/Max Price Settings
Hekman Library Technology Team [Tue, 22 Apr 2014 19:37:17 +0000 (15:37 -0400)]
Docs 2.6: Lost Item Billing Min/Max Price Settings

Add a short description for the new 2.6 feature "Lost Item Billing: New
Min/Max Price Settings" to the only section where it seems to fit, and it
seems obscure and hard to find. It could be useful to create a new, more
prominent section for common Org Unit Settings, possibly organized by
category. Sending this via GitHub to test the new Docs workflow.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
11 years agoworkstations continued
Bill Erickson [Wed, 30 Apr 2014 21:06:23 +0000 (17:06 -0400)]
workstations continued

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoworkstation reg / display additions
Bill Erickson [Wed, 30 Apr 2014 16:43:51 +0000 (12:43 -0400)]
workstation reg / display additions

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agonew egPerm mod
Bill Erickson [Wed, 30 Apr 2014 16:43:31 +0000 (12:43 -0400)]
new egPerm mod

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agonew <eg-org-selector> directive
Bill Erickson [Wed, 30 Apr 2014 16:42:32 +0000 (12:42 -0400)]
new <eg-org-selector> directive

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoDocumentation: added missing word to 'library settings editor' docs
Yamil Suarez [Wed, 30 Apr 2014 15:57:16 +0000 (11:57 -0400)]
Documentation: added missing word to 'library settings editor' docs

Added "editor" to label of what menu should be used.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoDocumentation: Removed bare setting names from Stripe payment doc
Yamil Suarez [Wed, 30 Apr 2014 14:53:27 +0000 (10:53 -0400)]
Documentation: Removed bare setting names from Stripe payment doc

Per jboyer-isl's suggestions

Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agoDocumentation: Copied Stripe payment info into 'Library Settings Editor'
Yamil Suarez [Wed, 30 Apr 2014 14:22:42 +0000 (10:22 -0400)]
Documentation: Copied Stripe payment info into 'Library Settings Editor'

Only modified slightly from the documentation provided in the EG 2.6
release notes.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
11 years agomore workstation config UI bits
Bill Erickson [Tue, 29 Apr 2014 21:46:05 +0000 (17:46 -0400)]
more workstation config UI bits

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agogrid cleanup / docs cont.
Bill Erickson [Tue, 29 Apr 2014 21:07:22 +0000 (17:07 -0400)]
grid cleanup / docs cont.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoUI for toggling hatch requried..
Bill Erickson [Tue, 29 Apr 2014 21:07:09 +0000 (17:07 -0400)]
UI for toggling hatch requried..

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoavoid bucket fetch sans bucket id
Bill Erickson [Tue, 29 Apr 2014 18:58:05 +0000 (14:58 -0400)]
avoid bucket fetch sans bucket id

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoavoid no-op templates in grid
Bill Erickson [Tue, 29 Apr 2014 18:57:47 +0000 (14:57 -0400)]
avoid no-op templates in grid

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser: only add to the grid scope data that's needed; not the whole grid object
Bill Erickson [Tue, 29 Apr 2014 16:33:31 +0000 (12:33 -0400)]
browser: only add to the grid scope data that's needed; not the whole grid object

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agominor repairs; grid required cols and onitemretrieve
Bill Erickson [Mon, 28 Apr 2014 22:05:44 +0000 (18:05 -0400)]
minor repairs; grid required cols and onitemretrieve

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agodocs, cleanup, minor grid item value repair
Bill Erickson [Mon, 28 Apr 2014 20:43:05 +0000 (16:43 -0400)]
docs, cleanup, minor grid item value repair

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agolist.js superceded by grid.js; removing
Bill Erickson [Mon, 28 Apr 2014 20:27:09 +0000 (16:27 -0400)]
list.js superceded by grid.js; removing

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agomoving more code over from list, etc. to grid
Bill Erickson [Mon, 28 Apr 2014 20:26:20 +0000 (16:26 -0400)]
moving more code over from list, etc. to grid

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agomoving more code over from list, etc. to grid
Bill Erickson [Mon, 28 Apr 2014 19:34:34 +0000 (15:34 -0400)]
moving more code over from list, etc. to grid

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoinject array for patron app resolver; comments
Bill Erickson [Mon, 28 Apr 2014 13:09:33 +0000 (09:09 -0400)]
inject array for patron app resolver; comments

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoLibrary information pages
Kathy Lussier [Sun, 27 Apr 2014 06:43:16 +0000 (02:43 -0400)]
Library information pages

Updating the linked libraries documentation to include details on the new
library information pages introduced in 2.6.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
11 years agoLinked libraries docs
Kathy Lussier [Sun, 27 Apr 2014 04:48:36 +0000 (00:48 -0400)]
Linked libraries docs

Documentation to the 2.5 feature that allows sites to add links in the
catalog from copy details area of the catalog.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
11 years agobrowser staff : port holds to grid; kill eglist for patron app
Bill Erickson [Fri, 25 Apr 2014 21:08:57 +0000 (17:08 -0400)]
browser staff : port holds to grid; kill eglist for patron app

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : patron UI migrations..
Bill Erickson [Fri, 25 Apr 2014 20:40:20 +0000 (16:40 -0400)]
browser staff : patron UI migrations..

porting items out and checkout UI to eg-grid.

move items out and checkout to standalone js files

streamline items out to use streaming PCRUD request instead of
call/response (yay, websockets)

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : repair prefs icon name
Bill Erickson [Fri, 25 Apr 2014 16:36:28 +0000 (12:36 -0400)]
browser staff : repair prefs icon name

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : prefs page shows local and remote prefs
Bill Erickson [Fri, 25 Apr 2014 14:52:35 +0000 (10:52 -0400)]
browser staff : prefs page shows local and remote prefs

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : make accessing remote vs local actions possible
Bill Erickson [Fri, 25 Apr 2014 14:52:19 +0000 (10:52 -0400)]
browser staff : make accessing remote vs local actions possible

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoOnly create extension intarray if it does not already exist
Ben Shum [Fri, 25 Apr 2014 00:58:17 +0000 (20:58 -0400)]
Only create extension intarray if it does not already exist

Simple change to skip over adding intarray if it already exists in a database
for some reason.

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agobrowser staff : stored prefs perm check
Bill Erickson [Thu, 24 Apr 2014 15:56:32 +0000 (11:56 -0400)]
browser staff : stored prefs perm check

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : egUser.hasPermHere()
Bill Erickson [Thu, 24 Apr 2014 15:55:30 +0000 (11:55 -0400)]
browser staff : egUser.hasPermHere()

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : new stored settings admin page
Bill Erickson [Thu, 24 Apr 2014 15:10:25 +0000 (11:10 -0400)]
browser staff : new stored settings admin page

Page lets staff view and delete stored preferences.

TODO: permission

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : remove extra dialog classes
Bill Erickson [Thu, 24 Apr 2014 15:09:22 +0000 (11:09 -0400)]
browser staff : remove extra dialog classes

... which were causing the alert and confirm dialogs to have double
backgrounds.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : print config UI cont.
Bill Erickson [Wed, 23 Apr 2014 14:33:56 +0000 (10:33 -0400)]
browser staff : print config UI cont.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : print config UI cont.
Bill Erickson [Wed, 23 Apr 2014 14:23:46 +0000 (10:23 -0400)]
browser staff : print config UI cont.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoLP#1310283: Propogate .staff through Z3950 searches
Thomas Berezansky [Tue, 22 Apr 2014 13:20:20 +0000 (09:20 -0400)]
LP#1310283: Propogate .staff through Z3950 searches

So that local catalog Z3950 searches don't only show opac visible bibs.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agobrowser staff : print config UI cont.
Bill Erickson [Wed, 23 Apr 2014 14:14:53 +0000 (10:14 -0400)]
browser staff : print config UI cont.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoLP#1311467: fix heading validation in bib editor
Galen Charlton [Wed, 23 Apr 2014 05:45:43 +0000 (01:45 -0400)]
LP#1311467: fix heading validation in bib editor

This patch fixes a regression whereby clicking the validate button
in the bib editor would result in no headings getting checked.

In the process, it enables 'startwith' to be used as a JSON query
operator for all types of predicates, not just the results of
transformed values.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agobrowser staff : print config UI cont.
Bill Erickson [Tue, 22 Apr 2014 21:18:08 +0000 (17:18 -0400)]
browser staff : print config UI cont.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoCompile and Tweak Release Notes for 2.6.0
Dan Wells [Wed, 16 Apr 2014 13:56:53 +0000 (09:56 -0400)]
Compile and Tweak Release Notes for 2.6.0

Also, add '.txt' to template name, since our build process expects
and uses that extension.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agobrowser staff : print config UI cont.
Bill Erickson [Tue, 22 Apr 2014 16:02:14 +0000 (12:02 -0400)]
browser staff : print config UI cont.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoGrab an up-to-date relator code list. Thanks, LoC!
Mike Rylander [Tue, 22 Apr 2014 15:34:07 +0000 (11:34 -0400)]
Grab an up-to-date relator code list. Thanks, LoC!

Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agobrowser staff : print config UI cont.
Bill Erickson [Tue, 22 Apr 2014 14:41:26 +0000 (10:41 -0400)]
browser staff : print config UI cont.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : print config UI cont.
Bill Erickson [Mon, 21 Apr 2014 15:52:55 +0000 (11:52 -0400)]
browser staff : print config UI cont.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoRejigger 2.4.3-2.5.0 upgrade bits
Dan Wells [Thu, 16 Jan 2014 21:01:09 +0000 (16:01 -0500)]
Rejigger 2.4.3-2.5.0 upgrade bits

As reported in LP#1261355, Postgres fails in some cases when changing
constraints on existing data inside a transaction.  This may or may not
fix the actual problem, but it at least tidies up these changes, and
will make it much cleaner to move outside the transaction if needed.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
11 years agobrowser staff : print config UI cont.
Bill Erickson [Thu, 17 Apr 2014 16:01:06 +0000 (12:01 -0400)]
browser staff : print config UI cont.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : print config UI initial
Bill Erickson [Wed, 16 Apr 2014 21:38:00 +0000 (17:38 -0400)]
browser staff : print config UI initial

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoweb staff: printing
Bill Erickson [Wed, 16 Apr 2014 21:37:48 +0000 (17:37 -0400)]
web staff: printing

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff: more printing and storage
Bill Erickson [Wed, 16 Apr 2014 18:57:47 +0000 (14:57 -0400)]
browser staff: more printing and storage

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff: more printing and storage
Bill Erickson [Wed, 16 Apr 2014 16:44:56 +0000 (12:44 -0400)]
browser staff: more printing and storage

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoLP#1308590: Fix schema.org type mapping
Dan Scott [Wed, 16 Apr 2014 14:42:49 +0000 (10:42 -0400)]
LP#1308590: Fix schema.org type mapping

The switch to config.coded_value_map for format icon types and labels
inadvertently broke schema.org type mapping. Restore it and attempt
to take advantage of the finer-grained types that are now available
to us.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agobrowser staff : printing cont.
Bill Erickson [Wed, 16 Apr 2014 15:23:31 +0000 (11:23 -0400)]
browser staff : printing cont.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoTranslation updates - po files
Dan Wells [Wed, 16 Apr 2014 02:37:26 +0000 (22:37 -0400)]
Translation updates - po files

Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoLP#1306176: force installation of Business::Stripe from CPAN
Galen Charlton [Thu, 10 Apr 2014 17:40:01 +0000 (10:40 -0700)]
LP#1306176: force installation of Business::Stripe from CPAN

Business::Stripe can fail to pass its tests on platforms that
happen to have Pod::Simple 3.24 or later and Test::Pod.  In
particular, Debian Jessie and Ubuntu Trusty meet those conditions
(since the OpenSRF installation process installs libtest-pod-perl)
and Debian Wheezy with backports enabled does as well.

Since the failing test cases are only for POD, this patches moves
Business::Stripe to the CPAN_MODULES_FORCE list across the board.

This can be undone if/when Business::Stripe releases a fix for
the POD validation warnings.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agobrowser staff : return to page 1 on grid sort
Bill Erickson [Fri, 11 Apr 2014 17:27:47 +0000 (13:27 -0400)]
browser staff : return to page 1 on grid sort

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoMerge branch 'master' of git.evergreen-ils.org:Evergreen into web-staff-proto
Bill Erickson [Fri, 11 Apr 2014 17:13:34 +0000 (13:13 -0400)]
Merge branch 'master' of git.evergreen-ils.org:Evergreen into web-staff-proto

11 years agoLP#1304559 - stamping upgrade script for vandelay_record_attr_to_flat
Ben Shum [Thu, 10 Apr 2014 21:47:26 +0000 (17:47 -0400)]
LP#1304559 - stamping upgrade script for vandelay_record_attr_to_flat

Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1304559 Fix slow Vandelay-based imports
Dan Wells [Thu, 10 Apr 2014 13:15:07 +0000 (09:15 -0400)]
LP#1304559 Fix slow Vandelay-based imports

Whether a planning limitation or otherwise, we have seen a few cases
where queries run very, very slowly (appear to hang) when using the
updated metabib.record_attr view in a WHERE clause.

The simplest code change is to switch Vandelay to use the intermediate
'_flat' view instead, and early reports indicate that this at least
gets us back to a functional state.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Ben Shum <bshum@biblio.org>
11 years agoLP#1305958 Fix copy table header ID error
Dan Scott [Thu, 10 Apr 2014 14:54:19 +0000 (10:54 -0400)]
LP#1305958 Fix copy table header ID error

Currently there is a <td headers='copy_header_date_format'> entry in
copy_table.tt2 that does not link to an associated table header with an
ID of that value. The desired target ID is "copy_header_create_date".

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoLP#1306133: Avoid metabib.rec_descriptor where possible
Mike Rylander [Thu, 10 Apr 2014 17:03:30 +0000 (13:03 -0400)]
LP#1306133: Avoid metabib.rec_descriptor where possible

metabib.rec_descriptor has been a view over other data structures
for some time now, but with the advent of the new attribute infrastructure
it is a view over a view over a view, variously transforming IDs to
a slim table to an HSTORE structure and finally to a wide table. Thus,
it is extremely expensive to query. So we won't unless we're asked to.
Which, in the TPAC world, is never.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Doug Kyle <dkyle@grpl.org>
11 years agoLP#1302113: acknowledgments for 2.6.0
Galen Charlton [Thu, 3 Apr 2014 18:54:11 +0000 (14:54 -0400)]
LP#1302113: acknowledgments for 2.6.0

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoLP#1302113: define a file for storing lists of folks to acknowledge in the release...
Galen Charlton [Thu, 3 Apr 2014 18:52:08 +0000 (14:52 -0400)]
LP#1302113: define a file for storing lists of folks to acknowledge in the release notes

If a file called _acknowlegments is present in the docs/RELEASE_NOTES_NEXT
directory, its contents will be appended to the end of the release
notes under an "Acknowledgments" heading when
create_release_notes.sh is run.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoLP#1301510 Align element name with Fixed Field type
Mike Rylander [Wed, 2 Apr 2014 17:11:25 +0000 (13:11 -0400)]
LP#1301510 Align element name with Fixed Field type

We depend on the field name in the XUL to line up the fixed field
value maps in the database with the appropriate context menus. ELvl
was not capitalized the same in all required spots, causing the
context menu to render but be ineffective.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoLP#1303987: Fully populate Ills from context menu
Mike Rylander [Mon, 7 Apr 2014 19:42:45 +0000 (15:42 -0400)]
LP#1303987: Fully populate Ills from context menu

The Ills fixed field is 4 characters long (allowing for up to four
types of illustrations to be noted, per 008/006), but the fixed field
editor dropdown menus are not (a) multi-select capable nor (b) ready
to support multi-value-per-field, because, well Ills is the only one
like this, and that would be a pretty big complication to the code.
However, even though multi-select is not supported, we should still
apply the value selected and update the fixed field, otherwise the
value is not updated in the record itself.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agobrowser staff : status bar; print repairs
Bill Erickson [Wed, 9 Apr 2014 21:16:46 +0000 (17:16 -0400)]
browser staff : status bar; print repairs

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoLP#1281678 Fixed field context menus should trigger close confirmation dialog
Lebbeous Fogle-Weekley [Tue, 18 Feb 2014 17:55:15 +0000 (12:55 -0500)]
LP#1281678 Fixed field context menus should trigger close confirmation dialog

Same for using the Physical Characteristics Wizard.

Thanks Dan Wells for the spot.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoReset the displayed mouse cursor
Mike Rylander [Wed, 2 Apr 2014 20:03:39 +0000 (16:03 -0400)]
Reset the displayed mouse cursor

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Remington Steed <rjs7@calvin.edu>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
11 years agoAdd alert in user editor for method errors
Jeff Godin [Wed, 30 Oct 2013 17:17:25 +0000 (13:17 -0400)]
Add alert in user editor for method errors

Add an alert() in the user editor so that method errors are not
silent.

Without this, a method error (such as when saving a patron fails at
the db level) is silent. Better to at least inform the user that
something is amiss.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
11 years agoLP#1301955: disable autosuggest by default
Ben Shum [Mon, 7 Apr 2014 19:59:17 +0000 (15:59 -0400)]
LP#1301955: disable autosuggest by default

Until we solve the accessibility issues caused by autosuggest as noted in
https://bugs.launchpad.net/evergreen/+bug/1187993, we shall disable the
feature by default for new installations.

An entry for the release notes is included.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoLP1301567: New format icons
Kathy Lussier [Wed, 2 Apr 2014 19:18:24 +0000 (15:18 -0400)]
LP1301567: New format icons

This set adds icons for the new formats that can now be represented due to
the recent MVF work. Many thanks to Jim Keenan at C/W MARS for creating
many of these icons.

The serial.png icon was borrowed from the Koha project and was originally
contributed by VOKAL (Vermont Organization of Koha Automated Libraries).

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agobrowser staff : inline print content
Bill Erickson [Wed, 9 Apr 2014 14:20:52 +0000 (10:20 -0400)]
browser staff : inline print content

adds support for an inline print container controlled by print css for
printing content from the browser when the external print engine is not
available

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoLP#1115599: Ignore canceled lineitems during batch cancel
Bill Erickson [Sat, 22 Mar 2014 01:05:14 +0000 (21:05 -0400)]
LP#1115599: Ignore canceled lineitems during batch cancel

Continue ignoring already-canceled lineitems during batch cancel so that
a) no unnecessary calls are made and b) staff can be alerted when no
viable lineitems were selected for the requested action.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoLP#1115599: Allow cancelled lineitems to be received and invoiced
Kathy Lussier [Wed, 29 Jan 2014 22:07:29 +0000 (17:07 -0500)]
LP#1115599: Allow cancelled lineitems to be received and invoiced

Acquisitions staff need to be able to receive and invoice cancelled items,
particularly when those items are backordered. This branch restores the
ability to perform these actions on cancelled lineitems from the PO
screen.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoLP#1282704: Serials: in routing lists, avoid extra page breaks wasting paper at print...
Lebbeous Fogle-Weekley [Thu, 20 Feb 2014 17:21:57 +0000 (12:21 -0500)]
LP#1282704: Serials: in routing lists, avoid extra page breaks wasting paper at print time

If you're using batch receive, and you have two copies (and therefore
two streams) that you're receiving with the Routing List? checkbox
checked, but only one of those streams actually has a routing list,
you'll note before this patch is applied that you get an extra page of
blank paper if you print the routing list that pops up.

This fixes that.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agobrowser staff : more print stuff
Bill Erickson [Tue, 8 Apr 2014 21:33:35 +0000 (17:33 -0400)]
browser staff : more print stuff

Signed-off-by: Bill Erickson <berick@esilibrary.com>
11 years agoLP#1303940: pin schema upgrade to 0878
Galen Charlton [Tue, 8 Apr 2014 21:15:11 +0000 (14:15 -0700)]
LP#1303940: pin schema upgrade to 0878

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
11 years agoLP#1303940: don't attempt to store NULL values in keyword, browse, or facet indexes
Galen Charlton [Tue, 8 Apr 2014 21:09:46 +0000 (14:09 -0700)]
LP#1303940: don't attempt to store NULL values in keyword, browse, or facet indexes

This patch implements a suggestion by Dan Wells and builds on Mike
Rylander's patch to skip inserting into field_entry and facet
indexes values that have been normalized to NULL.  As a side effect,
the following warning will no longer be logged when attempting
to store such values in the facet index:

WARNING:  Use of uninitialized value in subroutine entry at /usr/lib/perl/5.18/Unicode/Normalize.pm line 80.
CONTEXT:  PL/Perl function "force_unicode_normal_form"

Signed-off-by: Galen Charlton <gmc@esilibrary.com>