]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
8 years agowebstaff: Conjoined item attach-inator
Mike Rylander [Tue, 8 Sep 2015 19:27:22 +0000 (15:27 -0400)]
webstaff: Conjoined item attach-inator

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: implement add to record bucket from catalog view
Galen Charlton [Tue, 8 Sep 2015 19:16:28 +0000 (19:16 +0000)]
webstaff: implement add to record bucket from catalog view

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: More default values for required fields
Mike Rylander [Tue, 8 Sep 2015 18:42:36 +0000 (14:42 -0400)]
webstaff: More default values for required fields

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Add support for the fast-add copy status org setting
Mike Rylander [Tue, 8 Sep 2015 16:38:24 +0000 (12:38 -0400)]
webstaff: Add support for the fast-add copy status org setting

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: implement saving default Z39.50 targets
Galen Charlton [Tue, 8 Sep 2015 16:07:36 +0000 (16:07 +0000)]
webstaff: implement saving default Z39.50 targets

Also make the target password input field's type be
"password".

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Use ids for prefix, suffix, label_class
Mike Rylander [Tue, 8 Sep 2015 15:47:49 +0000 (11:47 -0400)]
webstaff: Use ids for prefix, suffix, label_class

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Protect the cloner from undefined values
Mike Rylander [Tue, 8 Sep 2015 15:47:27 +0000 (11:47 -0400)]
webstaff: Protect the cloner from undefined values

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: MARC editor button layout improvement
Mike Rylander [Fri, 4 Sep 2015 20:47:43 +0000 (16:47 -0400)]
webstaff: MARC editor button layout improvement

Also, add mark-vol-transfer-dest and mark-conjoined-dest

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: use localStorage for the overlay-record selection
Jason Etheridge [Wed, 12 Aug 2015 17:52:05 +0000 (13:52 -0400)]
webstaff: use localStorage for the overlay-record selection

in the Import Record from z39.50 interface

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: add Mark as Overlay Target to MARC editor
Jason Etheridge [Thu, 3 Sep 2015 05:49:19 +0000 (01:49 -0400)]
webstaff: add Mark as Overlay Target to MARC editor

no bells and whistles though :)

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Add confirmation before deleting copies/volumes
Mike Rylander [Fri, 4 Sep 2015 19:32:35 +0000 (15:32 -0400)]
webstaff: Add confirmation before deleting copies/volumes

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Allow deleting copys/vols ... need a speed bump?
Mike Rylander [Fri, 4 Sep 2015 17:59:14 +0000 (13:59 -0400)]
webstaff: Allow deleting copys/vols ... need a speed bump?

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Add a save-and-continue mode
Mike Rylander [Fri, 4 Sep 2015 17:57:16 +0000 (13:57 -0400)]
webstaff: Add a save-and-continue mode

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Provide a fieldmapper-aware cloning method
Mike Rylander [Fri, 4 Sep 2015 17:56:33 +0000 (13:56 -0400)]
webstaff: Provide a fieldmapper-aware cloning method

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Make next-barcode-on-enter happy
Mike Rylander [Fri, 4 Sep 2015 14:56:56 +0000 (10:56 -0400)]
webstaff: Make next-barcode-on-enter happy

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Enable Fast Item Add functionality in the MARC editor, and improve button...
Mike Rylander [Fri, 4 Sep 2015 12:47:03 +0000 (08:47 -0400)]
webstaff: Enable Fast Item Add functionality in the MARC editor, and improve button layout

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: add additional FF definitions for authority records
Galen Charlton [Thu, 3 Sep 2015 21:47:25 +0000 (21:47 +0000)]
webstaff: add additional FF definitions for authority records

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: put heading validation lookups in a promise chain
Galen Charlton [Thu, 3 Sep 2015 21:27:25 +0000 (21:27 +0000)]
webstaff: put heading validation lookups in a promise chain

Doing this to avoid spamming potentially a couple dozen
authority record lookups all at once.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: improve performance of open-ils.search.authority.simple_heading.from_xml
Galen Charlton [Thu, 3 Sep 2015 21:13:27 +0000 (21:13 +0000)]
webstaff: improve performance of open-ils.search.authority.simple_heading.from_xml

Searching authority.record_entry by comparing are.simple_heading
with the results of authority.simple_normalize_heading() can result
in bad query plans; if we calculate the results of that function
first, we have a much better chance of hitting the index on
simple_heading.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: add Validate (headings) button to MARC editor
Galen Charlton [Thu, 3 Sep 2015 20:26:24 +0000 (20:26 +0000)]
webstaff: add Validate (headings) button to MARC editor

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Add Request Items to copy buckets
Mike Rylander [Thu, 3 Sep 2015 18:24:16 +0000 (14:24 -0400)]
webstaff: Add Request Items to copy buckets

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: prune empty fields and subfields before saving MARC record
Galen Charlton [Thu, 3 Sep 2015 17:17:59 +0000 (17:17 +0000)]
webstaff: prune empty fields and subfields before saving MARC record

This implements functionality that was handled server-side
by the XUL staff client.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Add modal "request items" to holding view
Mike Rylander [Thu, 3 Sep 2015 16:42:33 +0000 (12:42 -0400)]
webstaff: Add modal "request items" to holding view

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: make authorityControlSet in egTagTable actually be a singleton
Galen Charlton [Thu, 3 Sep 2015 16:03:05 +0000 (16:03 +0000)]
webstaff: make authorityControlSet in egTagTable actually be a singleton

This resolves an issue where the control set can be incompletely
initialized when jumping from creating a new bib to opening
in in catalog view.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: implement Create New MARC Record
Galen Charlton [Thu, 3 Sep 2015 15:47:21 +0000 (15:47 +0000)]
webstaff: implement Create New MARC Record

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Edit items from copy buckets
Mike Rylander [Thu, 3 Sep 2015 13:54:33 +0000 (09:54 -0400)]
webstaff: Edit items from copy buckets

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Support adding copies and volumes
Mike Rylander [Thu, 3 Sep 2015 13:11:30 +0000 (09:11 -0400)]
webstaff: Support adding copies and volumes

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Transfer volume and item actions
Mike Rylander [Thu, 3 Sep 2015 12:21:20 +0000 (08:21 -0400)]
webstaff: Transfer volume and item actions

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Avoid adding deleted notes that were created in the same session
Mike Rylander [Wed, 2 Sep 2015 20:45:42 +0000 (16:45 -0400)]
webstaff: Avoid adding deleted notes that were created in the same session

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Copy note bug fixing
Mike Rylander [Wed, 2 Sep 2015 20:43:16 +0000 (16:43 -0400)]
webstaff: Copy note bug fixing

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Add copy note creation/editing
Mike Rylander [Wed, 2 Sep 2015 20:12:44 +0000 (16:12 -0400)]
webstaff: Add copy note creation/editing

TODO: move copy note dialog to a service so others can use it

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Support fleshed updating of copy notes
Mike Rylander [Wed, 2 Sep 2015 20:03:35 +0000 (16:03 -0400)]
webstaff: Support fleshed updating of copy notes

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Dirty-data watcher stops unload when there is unsaved data
Mike Rylander [Wed, 2 Sep 2015 15:46:28 +0000 (11:46 -0400)]
webstaff: Dirty-data watcher stops unload when there is  unsaved data

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Add call number attrs to copy templates
Mike Rylander [Wed, 2 Sep 2015 14:56:45 +0000 (10:56 -0400)]
webstaff: Add call number attrs to copy templates

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Track and update part info
Mike Rylander [Tue, 1 Sep 2015 19:17:01 +0000 (15:17 -0400)]
webstaff: Track and update part info

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Allow automatic part creation
Mike Rylander [Tue, 1 Sep 2015 19:16:31 +0000 (15:16 -0400)]
webstaff: Allow automatic part creation

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: check that control set loaded before loading record into MARC editor
Galen Charlton [Tue, 1 Sep 2015 18:44:11 +0000 (18:44 +0000)]
webstaff: check that control set loaded before loading record into MARC editor

This seems hacky... but it also seems to work.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: volume/copy editor improvements
Mike Rylander [Tue, 1 Sep 2015 18:03:26 +0000 (14:03 -0400)]
webstaff: volume/copy editor improvements

* Protect copies and vols from being removed via "count" fields
* avoid missing statcat errors

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Close dropdown on select
Mike Rylander [Tue, 1 Sep 2015 17:52:41 +0000 (13:52 -0400)]
webstaff: Close dropdown on select

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: No need for focus-me
Mike Rylander [Tue, 1 Sep 2015 17:50:13 +0000 (13:50 -0400)]
webstaff: No need for focus-me

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Clear template name after application so another can be selected
Mike Rylander [Tue, 1 Sep 2015 17:03:44 +0000 (13:03 -0400)]
webstaff: Clear template name after application so another can be selected

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Show filtered list on user input
Mike Rylander [Tue, 1 Sep 2015 17:03:13 +0000 (13:03 -0400)]
webstaff: Show filtered list on user input

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: map see from/see also from correctly
Galen Charlton [Tue, 1 Sep 2015 16:51:40 +0000 (16:51 +0000)]
webstaff: map see from/see also from correctly

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: add another set of navigation buttons to headings chooser
Galen Charlton [Tue, 1 Sep 2015 16:32:35 +0000 (16:32 +0000)]
webstaff: add another set of navigation buttons to headings chooser

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: tweak headings chooser to take less vertical space
Galen Charlton [Tue, 1 Sep 2015 16:30:32 +0000 (16:30 +0000)]
webstaff: tweak headings chooser to take less vertical space

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: implement a headings browser and chooser in authority linker
Galen Charlton [Tue, 1 Sep 2015 04:29:57 +0000 (04:29 +0000)]
webstaff: implement a headings browser and chooser in authority linker

The authority linker dialog in the web staff interface now
knows how to browse list of available headings.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: start work on authority linker modal
Galen Charlton [Mon, 31 Aug 2015 22:09:01 +0000 (22:09 +0000)]
webstaff: start work on authority linker modal

When a bib record is opened in the MARC editor, fields that
can be put under authority control now have a link button at
the end of the subfield list. When clicked, this opens
a dialog box that, for now, allows:

* creating a new authority record based on the bib heading
* creating a new authority record and launching a secondary
  MARC editor.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: fix bug in MARC21.Field.deleteSubfield()
Galen Charlton [Mon, 31 Aug 2015 22:06:23 +0000 (22:06 +0000)]
webstaff: fix bug in MARC21.Field.deleteSubfield()

Bug had the effect of ensuring that... subfields would
not be deleted.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: improve initialization of egTable.authorityControlSet()
Galen Charlton [Mon, 31 Aug 2015 17:33:30 +0000 (17:33 +0000)]
webstaff: improve initialization of egTable.authorityControlSet()

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: port authority control set from MARC21 to egTagTable
Galen Charlton [Mon, 31 Aug 2015 17:27:36 +0000 (17:27 +0000)]
webstaff: port authority control set from MARC21 to egTagTable

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Show the column picker for working and completed grids
Mike Rylander [Mon, 31 Aug 2015 19:50:04 +0000 (15:50 -0400)]
webstaff: Show the column picker for working and completed grids

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Remove the page-level controller
Mike Rylander [Mon, 31 Aug 2015 19:48:51 +0000 (15:48 -0400)]
webstaff: Remove the page-level controller

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP#1452950 reduce console errors on obscure dob check
Bill Erickson [Thu, 20 Aug 2015 02:22:00 +0000 (22:22 -0400)]
LP#1452950 reduce console errors on obscure dob check

Avoid referencing egCore.env.* before env values have had time to arrive
from the server.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Unbreak grid feature detection
Mike Rylander [Mon, 31 Aug 2015 17:22:10 +0000 (13:22 -0400)]
webstaff: Unbreak grid feature detection

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Stat cat editing, templating, and defaults
Mike Rylander [Fri, 28 Aug 2015 21:46:06 +0000 (17:46 -0400)]
webstaff: Stat cat editing, templating, and defaults

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Enhance grid item selection API for external hooks
Mike Rylander [Fri, 28 Aug 2015 21:42:41 +0000 (17:42 -0400)]
webstaff: Enhance grid item selection API for external hooks

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Add copy stat cats and entries to pcrud
Mike Rylander [Fri, 28 Aug 2015 21:41:18 +0000 (17:41 -0400)]
webstaff: Add copy stat cats and entries to pcrud

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP#1489955: enable filtering authority search/browse by thesaurus
Galen Charlton [Fri, 28 Aug 2015 21:18:04 +0000 (21:18 +0000)]
LP#1489955: enable filtering authority search/browse by thesaurus

This patch adds support for restricting the scope of an
authority headings browse or authority record search by
thesaurus.  For example, in SuperCat, the URL pattern

/opac/extras/browse/marcxml/authority.subject/1/heart/0/20

generates returns a browse of up to 20 authority records
centered around the subject heading "heart".  With this patch,
the URL pattern

/opac/extras/browse/marcxml/authority.subject/1/heart/0/20/c

restricts the browse to MeSH headings. Multiple thesauruses
can be specified as well; for example, this URL pattern

/opac/extras/browse/marcxml/authority.subject/1/heart/0/20/a,b

browses in LCSH and LC Children's.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: teach manage authorities about the new MARC editor
Galen Charlton [Fri, 28 Aug 2015 00:48:17 +0000 (00:48 +0000)]
webstaff: teach manage authorities about the new MARC editor

At the moment, a new window is opened. It might be worth seeing
if we can open a dijit.Dialog instead, but... that might be
pushing our luck.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: add support for editing authority records
Galen Charlton [Fri, 28 Aug 2015 00:45:23 +0000 (00:45 +0000)]
webstaff: add support for editing authority records

This adds basic support for invoking the MARC editor on
authority records, and fixes a couple bugs discovered
along the way. The route currently supported is

/cat/catalog/authority/:authority_id/marc_edit

In the future, some sort of summary view of an authority
record might be added, in which case the route
"/cat/catalog/authority/:authority_id" is available.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: add routine for Dojo JS to detect if running in iframe
Galen Charlton [Thu, 27 Aug 2015 22:23:23 +0000 (22:23 +0000)]
webstaff: add routine for Dojo JS to detect if running in iframe

Sometimes legacy Dojo interfaces may need to adjust their
behavior if they're embedded in the web staff client. This patch
adds a new utility function, openils.Util.inIFrame(), to detect
if such code is running in an iframe. If so, the presumption
is that iframe belongs to the web staff client.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Add actions for editing just copy attributes or vol/copy details
Mike Rylander [Fri, 21 Aug 2015 17:30:06 +0000 (13:30 -0400)]
webstaff: Add actions for editing just copy attributes or vol/copy details

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Disable org selector when defaults say to
Mike Rylander [Fri, 21 Aug 2015 17:23:37 +0000 (13:23 -0400)]
webstaff: Disable org selector when defaults say to

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Teach org selector to be completely disabled via text attr
Mike Rylander [Fri, 21 Aug 2015 17:23:12 +0000 (13:23 -0400)]
webstaff: Teach org selector to be completely disabled via text attr

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Supply a "defaults" interface for disabling element and setting call number...
Mike Rylander [Fri, 21 Aug 2015 17:11:49 +0000 (13:11 -0400)]
webstaff: Supply a "defaults" interface for disabling element and setting call number batch defaults

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Expose columns through grid controls for external column pickers
Mike Rylander [Fri, 21 Aug 2015 17:10:41 +0000 (13:10 -0400)]
webstaff: Expose columns through grid controls for external column pickers

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Layout improvements and templates
Mike Rylander [Fri, 21 Aug 2015 02:18:02 +0000 (22:18 -0400)]
webstaff: Layout improvements and templates

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: improvements to core UI widgets
Mike Rylander [Fri, 21 Aug 2015 02:17:20 +0000 (22:17 -0400)]
webstaff: improvements to core UI widgets

* Add enter-key-handler
* improve basic combo box
* teach org selector how to not have a default value

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Add a "Batch Apply" template row above call numbers
Mike Rylander [Wed, 19 Aug 2015 17:43:23 +0000 (13:43 -0400)]
webstaff: Add a "Batch Apply" template row above call numbers

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Update all instances of the call number, mainly for copy display
Mike Rylander [Tue, 18 Aug 2015 21:53:48 +0000 (17:53 -0400)]
webstaff: Update all instances of the call number, mainly for copy display

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Copy editing!
Mike Rylander [Tue, 18 Aug 2015 21:27:47 +0000 (17:27 -0400)]
webstaff: Copy editing!

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agowebstaff: Teach the grid how to flesh the last step in a path if it is unfleshed
Mike Rylander [Tue, 18 Aug 2015 21:26:58 +0000 (17:26 -0400)]
webstaff: Teach the grid how to flesh the last step in a path if it is unfleshed

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoDocs: 2.9 Purchase Order Activation Progress Bar
Angela Kilsdonk [Fri, 11 Sep 2015 21:20:15 +0000 (16:20 -0500)]
Docs: 2.9 Purchase Order Activation Progress Bar

Author: Mary Jinglewski

Signed-off-by: Angela Kilsdonk <akilsdonk@esilibrary.com>
8 years agoDocs: 2.9 Updates to OPAC documentation
Angela Kilsdonk [Fri, 11 Sep 2015 21:14:48 +0000 (16:14 -0500)]
Docs: 2.9 Updates to OPAC documentation

Updates by Mary Jinglewski.

Signed-off-by: Angela Kilsdonk <akilsdonk@esilibrary.com>
8 years agoDocs: New screenshots for Conjoined Items section
Remington Steed [Fri, 11 Sep 2015 19:14:38 +0000 (15:14 -0400)]
Docs: New screenshots for Conjoined Items section

Signed-off-by: Remington Steed <rjs7@calvin.edu>
8 years agoDocs 2.9: Remove JSPAC references and screenshots
Remington Steed [Thu, 10 Sep 2015 20:48:56 +0000 (16:48 -0400)]
Docs 2.9: Remove JSPAC references and screenshots

This commit removes the references in the docs to the now removed JSPAC,
and replaces all known remaining JSPAC screenshots, and when required
updates the descriptions to match TPAC features. It also fixes AsciiDoc
ordered list syntax in a few cases, which interfered with testing.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
8 years agoDocs: New link to My Lists
Christine Burns [Thu, 10 Sep 2015 21:14:50 +0000 (17:14 -0400)]
Docs: New link to My Lists

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: Link in catalog to clear Added Content cache
Lynn Floyd [Thu, 10 Sep 2015 18:13:44 +0000 (14:13 -0400)]
Docs: Link in catalog to clear Added Content cache

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: add info on disabled Google Analytics in staff client
Yamil Suarez [Thu, 10 Sep 2015 16:12:16 +0000 (12:12 -0400)]
Docs: add info on disabled Google Analytics in staff client

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: remove TPAC based Searching of Authorities section
Yamil Suarez [Thu, 10 Sep 2015 15:38:25 +0000 (11:38 -0400)]
Docs: remove TPAC based Searching of Authorities section

This fucntionality does nto exist in TPAC.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoDocs: add more details about displaying authority subject heading thesaurus value
Yamil Suarez [Thu, 10 Sep 2015 15:25:21 +0000 (11:25 -0400)]
Docs: add more details about displaying authority subject heading thesaurus value

Signed-off-by: Yamil Suarez <yamil@yamil.com>
8 years agoLP#1361266 Patron self-registration form accepts date of birth in wrong format
Michael Peters [Thu, 4 Dec 2014 20:56:53 +0000 (15:56 -0500)]
LP#1361266 Patron self-registration form accepts date of birth in wrong format

This patch applys some basic javascript to validate that a date entered is
at least in ISO 8601 format.  This prevents someone from entering "cupcake"
or 55/66/6666 as a valid date of birth by validating the stgu.dob input
at the time of submission.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP#1472380 Display all Vandelay authority matches
Bill Erickson [Tue, 7 Jul 2015 19:49:59 +0000 (15:49 -0400)]
LP#1472380 Display all Vandelay authority matches

Ensure a row is added for every authority record match in the Vandelay
match grid, even when multiple matches refer to the same authority
record.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP#1465847 Empty patron search exits early
Bill Erickson [Mon, 22 Jun 2015 16:01:19 +0000 (12:01 -0400)]
LP#1465847 Empty patron search exits early

If no search parameters or invalid search parameters are sent to the
patron search API, the API call exits early with zero results.  This
avoids cases where empty searches can lead to heavy DB calls, querying
and sorting he entire patron data set.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP#1491962 Fix 0847 Live Test
Jason Stephenson [Thu, 3 Sep 2015 17:48:20 +0000 (13:48 -0400)]
LP#1491962 Fix 0847 Live Test

The fix for LP 1484281 broke the 0847.auth_overlay_generator.pg live
test.  Since e was removed from the controlled subfield list for the
100 authority tag, it needs to be removed from the expected live test
results.

This commit does that.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
8 years agoLP#1484281: Stamping Upgrade Script.
Jason Stephenson [Wed, 2 Sep 2015 16:00:15 +0000 (12:00 -0400)]
LP#1484281: Stamping Upgrade Script.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP# 1484281 auth control config update release notes
Yamil Suarez [Wed, 2 Sep 2015 15:20:23 +0000 (11:20 -0400)]
LP# 1484281 auth control config update release notes

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP# 1484281 auth control config update to prevent propagated data deletion
Yamil Suarez [Mon, 17 Aug 2015 20:47:34 +0000 (16:47 -0400)]
LP# 1484281 auth control config update to prevent propagated data deletion

Remove subfield 'e' from authority.control_set_authority_field seed values

Removed from the auth tag 100 and 110, which should apply to bib tags
100,110,600,610,700,710

Added upgrade script, and pgTAP test.

How to test this patch
----------------------
[1] To test this bug you need 1 authority record and at least 1 bib record.
The auth record needs to have an auth 100 or 110 tag that has a subfield $e,
for example 100 $aDavis, Miles $ecomposer. (for the record, it is not good
cataloging practice to have $e in the auth record, but it can happen by mistake.)
The bib record needs to be have a matching bib 100 or 700 tag with the same
subfield $a and $e. In addition the matching bib tag has to be linked to the
authority record, i.e. the bib tag has to have a bib subfield $0 with the DB
id of the authority record.

[2] If you open up the authority record, in the authority MARC editor, and remove
the subfield $e; the subfield $e found in the bib record tag will be removed.
This is a mistake because normally bib record tags 100/110/700/710 do use subfield
$e, though the subfield $e should not be used in the auth record 100/110 tags.

[3] When this patch is applied, if a cataloger removes a subfield $e from an auth
100/110 tag, the deletion will not cascade to its linked bibs.

Signed-off-by: Yamil Suarez <yamil@yamil.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP#1487143: remove legacy_script_support from example SIP config
Galen Charlton [Thu, 20 Aug 2015 17:32:28 +0000 (17:32 +0000)]
LP#1487143: remove legacy_script_support from example SIP config

This patch removes the legacy_script_support option (and the
related references to the scripts themselves) from the example
SIPServer config, as they now have no effect.

Existing Evergreen sites can choose to remove those configuraiton
options or leave them in.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
8 years agoLP#1484989: tweak test case
Galen Charlton [Thu, 27 Aug 2015 16:02:57 +0000 (16:02 +0000)]
LP#1484989: tweak test case

This adjusts the test case so that it will
report on the planned number of tests even if the
test circ cannot be retrieved for some reason.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoLP#1484989 Don't close xacts with checkin-generated fines
Dan Wells [Fri, 14 Aug 2015 19:11:16 +0000 (15:11 -0400)]
LP#1484989 Don't close xacts with checkin-generated fines

If a transaction has checkin-generated fines, and previously had a
balance of zero, the rearranged billing code was prematurely closing
the transaction.  This commit separates the closing step to run after
any possible fine generation.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoUpdate Translations
Jason Stephenson [Wed, 26 Aug 2015 19:24:19 +0000 (15:24 -0400)]
Update Translations

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP#1486800: Remove Penalty.pm from MANIFEST
Ben Shum [Thu, 20 Aug 2015 02:34:25 +0000 (22:34 -0400)]
LP#1486800: Remove Penalty.pm from MANIFEST

With the changes from bug 1312308, open-ils.penalty service was removed
(see http://git.evergreen-ils.org/?p=Evergreen.git;a=commit;h=432a106facf4ee93e544408d70524f06d55ff56e in master).

When performing a make install afterwards, we see this warning in the
console:

WARNING: the following files are missing in your kit:
 lib/OpenILS/Application/Penalty.pm
Please inform the author.

Looking around, I can see that we may need to remove the entry for
lib/OpenILS/Application/Penalty.pm from OpenILS/lib/perlmods/MANIFEST.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoForward porting 2.8.2->2.8.3 SQL upgrade
Bill Erickson [Thu, 20 Aug 2015 14:23:33 +0000 (10:23 -0400)]
Forward porting 2.8.2->2.8.3 SQL upgrade

Signed-off-by: Bill Erickson <berickxx@gmail.com>
8 years agoLP#1484650: Missing webstaff2pot make target for newpot
Ben Shum [Wed, 19 Aug 2015 22:11:18 +0000 (18:11 -0400)]
LP#1484650: Missing webstaff2pot make target for newpot

Seems that something went awry with the commit I submitted for pullrequest
and we missed the actual change to make the webstaff client file for
translation.

Fixed.

Signed-off-by: Ben Shum <bshum@biblio.org>
8 years agoRelease notes for 2.8.3 release
Kathy Lussier [Wed, 19 Aug 2015 21:13:22 +0000 (17:13 -0400)]
Release notes for 2.8.3 release

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agolp1198465 Release notes for Conditional Negative Balance branch
Kathy Lussier [Mon, 10 Feb 2014 05:24:18 +0000 (00:24 -0500)]
lp1198465 Release notes for Conditional Negative Balance branch

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoFix mis-stamping of 0940.schema.vlist_freq.sql.
Jason Stephenson [Wed, 19 Aug 2015 19:52:47 +0000 (15:52 -0400)]
Fix mis-stamping of 0940.schema.vlist_freq.sql.

I typed the wrong number in the upgrade script.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP#1484650: Add webstaff as an i18n target
Ben Shum [Thu, 13 Aug 2015 16:27:57 +0000 (12:27 -0400)]
LP#1484650: Add webstaff as an i18n target

In order to begin the translation process for the new web client
development, we need to add a new translation target file.

Using tpac tt2 as an example, I have added a new "webstaff" target
that will include all the staff pages that have been created up till
now.

Signed-off-by: Ben Shum <bshum@biblio.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
8 years agoLP# 1086934 - TPAC: Complete column sorting in some screens
Dan Pearl [Wed, 14 Nov 2012 17:14:11 +0000 (12:14 -0500)]
LP# 1086934 - TPAC: Complete column sorting in some screens

(specifically holds, circs, and circs_history)

An earlier LP issue #1010277 concerned the halfway implementation of
the column sort facility, and was addressed at the time by ripping out any hint of
column sort capability, among other cleanup issues.

The sorting capability has now been implemented with the following functionality:
  * Clicking on the appropriate column heads now sorts the contents from
    "ascending" to "descending" to "no sort".  (The "no sort" will restore the
    original list as presented to the patron.)

  * The sort indicator (an up or down arrow) is placed to the right
    of the column head, as appropriate.

  * The combined "Title/Author" column in the circ screens is now separated into two
    independently sortable columns (Title and Author).

  * Title sorting is done with the 'filing' characters (leading "the", "a",
    "an", and other langugage equivalents) removed. To clarify the
    behavior for the patron, the leading articles are rendered in
    a smaller font, so as to keep the main entry prominent.  In
    addition to the filing characters removed for the sort, leading
    non-alphanumeric characters are ignored in the sort.

This commit only affects those screens and columns that suggested column sorting
capability.

Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Conflicts:
Open-ILS/src/templates/opac/parts/topnav.tt2

Conflicts:
Open-ILS/src/templates/opac/css/style.css.tt2

Signed-off-by: Kathy Lussier <klussier@masslnc.org>