working/Evergreen.git
4 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>
4 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>
4 years agoLP#1457111 eg-pbx-allocator uses modern rpc api name
Bill Erickson [Wed, 20 May 2015 16:24:13 +0000 (12:24 -0400)]
LP#1457111 eg-pbx-allocator uses modern rpc api name

Replace "-" with "__" in XML-RPC method name for compatibility with
modern Perl XML-RPC libraries.

See also https://bugs.launchpad.net/bugs/1050596

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
4 years agoLP 1438136: Stamping upgrade script.
Jason Stephenson [Wed, 19 Aug 2015 19:01:10 +0000 (15:01 -0400)]
LP 1438136: Stamping upgrade script.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1438136: Make upgrade script forgiving
Mike Rylander [Sun, 26 Apr 2015 16:29:18 +0000 (12:29 -0400)]
LP#1438136: Make upgrade script forgiving

If the functions already exist, that's OK.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1438136: Protect PG < 9.2 from our stats probe
Mike Rylander [Fri, 17 Apr 2015 16:37:06 +0000 (12:37 -0400)]
LP#1438136: Protect PG < 9.2 from our stats probe

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1438136: Update baseline schema files
Mike Rylander [Thu, 16 Apr 2015 21:39:49 +0000 (17:39 -0400)]
LP#1438136: Update baseline schema files

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1438136: Teach QP to be smart about attribute selectivity
Mike Rylander [Wed, 15 Apr 2015 16:10:27 +0000 (12:10 -0400)]
LP#1438136: Teach QP to be smart about attribute selectivity

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1124498 - Release notes for expiration notice.
Josh Stompro [Fri, 14 Aug 2015 13:37:29 +0000 (08:37 -0500)]
LP#1124498 - Release notes for expiration notice.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
4 years agoLP#1124498: Stamping upgrade script for 30 day pre-expiration notice
Ben Shum [Wed, 19 Aug 2015 18:49:45 +0000 (14:49 -0400)]
LP#1124498: Stamping upgrade script for 30 day pre-expiration notice

Signed-off-by: Ben Shum <bshum@biblio.org>
4 years agoLP#1124498 - Changed hook name so it includes a prefix to make it clear
Josh Stompro [Mon, 17 Aug 2015 18:45:16 +0000 (13:45 -0500)]
LP#1124498 - Changed hook name so it includes a prefix to make it clear
  it is for actor.usr, and changed the hook description so it matches
  the other au hooks.  I added "account" because I hate to say "A user has
  expired", when there might be a field for deceased status at some point.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
4 years agoLP#1124498 - Made a few format changes just to better match how other sql is formatted.
Josh Stompro [Thu, 23 Apr 2015 15:32:32 +0000 (10:32 -0500)]
LP#1124498 - Made a few format changes just to better match how other sql is formatted.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
4 years agoLP#1124498 - Added 30 Day pre expire notice to 950.data.seed-values.sql
Josh Stompro [Wed, 22 Apr 2015 19:36:18 +0000 (14:36 -0500)]
LP#1124498 - Added 30 Day pre expire notice to 950.data.seed-values.sql

This will install this notice for new installs.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
4 years agoLP#1124498 - Patron Notice when account expires - fixes and enhancements
Josh Stompro [Tue, 11 Nov 2014 19:07:36 +0000 (13:07 -0600)]
LP#1124498 - Patron Notice when account expires - fixes and enhancements

Changes from Michael Peters initial commit
 - Added repeat delay

 - Removed group_field since that doesn't make sense in
   this usage scenario.

 - Commented out the user param for email sender, not needed.

 - Removed error-to header, not commonly used anymore.

 - Added Auto-Submitted header since email sent out via
   this action are automatically generated.

 - Changed references to card expiring to account expiring.
   It is the patron's account that is expiring, not their card.

 - Fixed up the address lines so it tries to grab the
   mailing_address first, then the billing address.

 - Set the notices to be disabled by default.  So it takes some
   admin action to enable.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
4 years agoLP#1124498 Patron notification via email for card expiration
Michael Peters [Wed, 13 Feb 2013 20:52:54 +0000 (15:52 -0500)]
LP#1124498 Patron notification via email for card expiration

The attached code creates an action/trigger event which notifies a patron, via
email, that their card is about to expire.

There are two portions to this code:

Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
4 years agoLP#1240119 safe auth activity live test
Bill Erickson [Wed, 19 Aug 2015 15:08:48 +0000 (11:08 -0400)]
LP#1240119 safe auth activity live test

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1240119 Safe auth token activity logging
Bill Erickson [Mon, 19 Aug 2013 13:24:17 +0000 (09:24 -0400)]
LP#1240119 Safe auth token activity logging

Expand safe token generation to include user ID in the cached data,
which can be retrieved later for activity logging.  Add activity logging
directly to the open-ils.actor.safe_token.home_lib.shortname API.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1479107 adjust to zero UI
Bill Erickson [Mon, 11 Nov 2013 14:16:03 +0000 (09:16 -0500)]
LP#1479107 adjust to zero UI

New "Adjust to Zero" option in patron billing UI.  Selected
transactions are updated to have a zero balance by rebilling
and/or adding adjustments as required.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1479107 adjust to zero API
Dan Wells [Fri, 8 Nov 2013 16:43:38 +0000 (11:43 -0500)]
LP#1479107 adjust to zero API

API call for manually adjusting a transaction to zero.  It works
by rebilling previously voided billings (if necessary) until a
positive balance is reached, then applying adjustment payments
to zero out the balance.

open-ils.circ.money.billable_xact.adjust_to_zero(auth, [xact_ids])

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1479107 Fix IDL classname for account adjustments
Dan Wells [Tue, 18 Aug 2015 16:10:28 +0000 (12:10 -0400)]
LP#1479107 Fix IDL classname for account adjustments

This table went through two name changes, and left some debris along
the way.  Let's standardize on the default choice of 'maa' for the IDL
classname abbreviation.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1479107 Move VOID_BILLING perm check to top-level API
Dan Wells [Tue, 18 Aug 2015 14:42:27 +0000 (10:42 -0400)]
LP#1479107 Move VOID_BILLING perm check to top-level API

Pemission checks are needed at entry points, but can lead to
undesirable consequences if checked during automated processing.  In
the case of voids, let's move the perm check up to make sure our
automated processing can complete.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1217052 Include Inactive Users in Dupe Search
Jason Boyer [Mon, 16 Mar 2015 14:28:33 +0000 (10:28 -0400)]
LP#1217052 Include Inactive Users in Dupe Search

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
4 years agoLP 1485794: Stamping web staff client sprint2 upgrade scripts.
Jason Stephenson [Wed, 19 Aug 2015 17:52:07 +0000 (13:52 -0400)]
LP 1485794: Stamping web staff client sprint2 upgrade scripts.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: add brief release notes for the 2.9 web staff cataloging integration
Galen Charlton [Mon, 17 Aug 2015 23:01:35 +0000 (23:01 +0000)]
webstaff: add brief release notes for the 2.9 web staff cataloging integration

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: more volume/copy editor work
Mike Rylander [Mon, 17 Aug 2015 21:23:35 +0000 (17:23 -0400)]
webstaff: more volume/copy editor work

* Connect the panes for adding/removing copies and volumes
* Teach the UI to load raw data when IDs are not provided

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Add the beginnings of copy attribute editing
Mike Rylander [Mon, 17 Aug 2015 20:14:58 +0000 (16:14 -0400)]
webstaff: Add the beginnings of copy attribute 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>
4 years agowebstaff: Teach the grid some new tricks
Mike Rylander [Mon, 17 Aug 2015 20:14:10 +0000 (16:14 -0400)]
webstaff: Teach the grid some new tricks

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Teach Holdings View how to open the Vol/Copy editor
Mike Rylander [Fri, 14 Aug 2015 21:14:12 +0000 (17:14 -0400)]
webstaff: Teach Holdings View how to open the Vol/Copy editor

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Vol/Copy edit (volumes ATM)
Mike Rylander [Fri, 14 Aug 2015 21:13:30 +0000 (17:13 -0400)]
webstaff: Vol/Copy edit (volumes ATM)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Teach holdings to re-render when paging through result lists
Mike Rylander [Thu, 30 Jul 2015 13:50:56 +0000 (09:50 -0400)]
webstaff: Teach holdings to re-render when paging through result lists

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Z39.50 - yet more improvements
Galen Charlton [Tue, 28 Jul 2015 15:04:16 +0000 (15:04 +0000)]
webstaff: Z39.50 - yet more improvements

* change binding of marc_xml
* implement edit-then-overlay
* add search-in-progress indicator
* implement display of total hit count
* implement remove fields on import

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: have egRecordHtml watch for changes to the MARC XML
Galen Charlton [Tue, 28 Jul 2015 15:06:36 +0000 (15:06 +0000)]
webstaff: have egRecordHtml watch for changes to the MARC XML

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: web staff: teach MARC editor how to work in-place
Galen Charlton [Tue, 28 Jul 2015 15:00:16 +0000 (15:00 +0000)]
webstaff: web staff: teach MARC editor how to work in-place

This patch adds an "in-place" mode to the MARC editor for
cases where client-side MARC munging is needed without
immediately saving the results to the database.

To use, include in-place-mode="true" in the eg-marc-edit-record
directive.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Z39.50 - more improvements
Galen Charlton [Thu, 23 Jul 2015 17:52:33 +0000 (17:52 +0000)]
webstaff: Z39.50 - more improvements

* add grid actions
* fix markup
* add view MARC action
* improve name of check for disabling actions that
  require at least one result to be selected
* display cover image on view MARC modal
* add Z39.50 raw search capability
* implement selecting local record for overlay
* implement record overlay with confirm

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: teach eg-record-html how to initialize itself from MARCXML
Galen Charlton [Mon, 27 Jul 2015 17:14:06 +0000 (17:14 +0000)]
webstaff: teach eg-record-html how to initialize itself from MARCXML

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: teach egGrid action menus how to conditionally disable items
Galen Charlton [Thu, 23 Jul 2015 17:49:36 +0000 (17:49 +0000)]
webstaff: teach egGrid action menus how to conditionally disable items

It is now possible to pass a function to specify if an action
menu item should be disabled:

  <eg-grid-action handler="do_stuff" disabled="cant_do_stuff"
    label="[% l('Do Stuff') %]"></eg-grid-action>

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Fixed-position navigation menu for web client
Kathy Lussier [Tue, 14 Jul 2015 16:26:24 +0000 (12:26 -0400)]
webstaff: Fixed-position navigation menu for web client

Changes the class for top-navbar so that it stays fixed at the top of the
screen. This is useful for staff who will need to quickly jump to another
area of the client after they have scrolled down a page.

Initially, changing the class shifted some of the content higher so that the
navbar was covering some elements. I addressed this by adding some padding to

Many thanks to Jason Etheridge for pointing me in the right direction to get
started.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Z39.50 - various improvements
Galen Charlton [Fri, 17 Jul 2015 18:56:10 +0000 (18:56 +0000)]
webstaff: Z39.50 - various improvements

* add widget to show/hide search form
* add more vertical space between search form and results table
* forgo a label on the results table
* make Z39.50 search results non-multiselect-able
* implement edit-then-import

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: force MARC editor context menus to have a high z-index
Galen Charlton [Fri, 17 Jul 2015 22:22:47 +0000 (22:22 +0000)]
webstaff: force MARC editor context menus to have a high z-index

Magic value of 2000 chosen to ensure that they appear
even when the MARC editor is embedded in a Bootstrap
modal.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: teach MARC editor how to initialize itself from a MARCXML blob
Galen Charlton [Fri, 17 Jul 2015 22:10:15 +0000 (22:10 +0000)]
webstaff: teach MARC editor how to initialize itself from a MARCXML blob

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: teach egGrid how to disable multiselect
Galen Charlton [Fri, 17 Jul 2015 19:22:36 +0000 (19:22 +0000)]
webstaff: teach egGrid how to disable multiselect

For grids where it makes sense to allow only one row to be
selected at a time, egGrid now supports a "-multiselect"
feature that:

  * disables generation of the checkbox column
  * disables control-/shift/command-click to multiselect

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: make Firefox happy in various ways
Mike Rylander [Fri, 17 Jul 2015 20:13:54 +0000 (16:13 -0400)]
webstaff: make Firefox happy in various ways

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Z39.50 search and import interface
Galen Charlton [Tue, 9 Jun 2015 22:10:18 +0000 (22:10 +0000)]
webstaff: Z39.50 search and import interface

- fetch configured Z39.50 targets
- can now select targets
- search field form now active
- can now retrieve results
- check for empty query correctly
- retain reference to target list
- preserve search query input when toggling Z39.50 target selection
- implement clear form handler
- allow enter key to submit search
- track index of Z39.50 results so that individual ones can be selected
- note results of experiences to make the title be conditionally a hyperlink
- implement show in catalog
- implement direct import
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1472787: add regression test
Galen Charlton [Wed, 8 Jul 2015 22:24:55 +0000 (22:24 +0000)]
LP#1472787: add regression test

This patch adds some unit tests for egGrid's egGridColumnsProvider,
including regression tests for LP#1472787.

To run these tests (and all others for the web staff client)
from with a Git checkout of Evergreen:

[1] cd Open-ILS/web/js/ui/default/staff
[2] grunt test

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agoLP#1472787: fix expansion of wildcard eg-grid-field paths
Galen Charlton [Wed, 8 Jul 2015 21:35:43 +0000 (21:35 +0000)]
LP#1472787: fix expansion of wildcard eg-grid-field paths

This fixes a bug where expansion of wildcard egGridField
paths didn't handle a plain "*" correctly.

To test:

[1] In the web staff client, bring up the list of a patron's
    current loans.  Add the grace period column to the grid,
    but note that the loans' grace period values are not
    actually displayed.
[2] Apply the patch.
[3] Refresh the browser and repeat step 1.  This time, the
    grace period values are displayed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Simplify logic of grouped items; Add mark missing/damaged; Add show item...
Mike Rylander [Wed, 24 Jun 2015 13:39:46 +0000 (09:39 -0400)]
webstaff: Simplify logic of grouped items; Add mark missing/damaged; Add show item holds

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Add actions for jumping to item status
Mike Rylander [Wed, 24 Jun 2015 13:18:47 +0000 (09:18 -0400)]
webstaff: Add actions for jumping to item status

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Add support for item list population from the URL
Mike Rylander [Wed, 24 Jun 2015 13:18:04 +0000 (09:18 -0400)]
webstaff: Add support for item list population from the URL

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Adjust how padding is applied
Mike Rylander [Mon, 22 Jun 2015 19:35:02 +0000 (15:35 -0400)]
webstaff: Adjust how padding is applied

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Column ordering improvement
Mike Rylander [Mon, 22 Jun 2015 19:21:35 +0000 (15:21 -0400)]
webstaff: Column ordering improvement

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Use function calls instead of watches; Collapse columns
Mike Rylander [Mon, 22 Jun 2015 19:14:29 +0000 (15:14 -0400)]
webstaff: Use function calls instead of watches; Collapse columns

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Attempt to provide defaults
Mike Rylander [Mon, 22 Jun 2015 17:26:55 +0000 (13:26 -0400)]
webstaff: Attempt to provide 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>
4 years agowebstaff: Add checkboxes and logic for collapsing copy and vol detail
Mike Rylander [Mon, 22 Jun 2015 17:17:42 +0000 (13:17 -0400)]
webstaff: Add checkboxes and logic for collapsing copy and vol detail

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Teach grids how to provide checkboxes
Mike Rylander [Mon, 22 Jun 2015 17:16:19 +0000 (13:16 -0400)]
webstaff: Teach grids how to provide checkboxes

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Holdings View!
Mike Rylander [Mon, 22 Jun 2015 12:47:12 +0000 (08:47 -0400)]
webstaff: Holdings 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>
4 years agowebstaff: Add "align" support to grid cells
Mike Rylander [Mon, 22 Jun 2015 12:46:18 +0000 (08:46 -0400)]
webstaff: Add "align" support to grid cells

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Only make the iframe bigger, never smaller
Mike Rylander [Mon, 27 Apr 2015 16:18:40 +0000 (12:18 -0400)]
webstaff: Only make the iframe bigger, never smaller

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Move buttons to the top
Mike Rylander [Mon, 27 Apr 2015 14:47:19 +0000 (10:47 -0400)]
webstaff: Move buttons to the top

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Add height adjustment hacks for a couple dojo interfaces
Mike Rylander [Fri, 24 Apr 2015 20:27:31 +0000 (16:27 -0400)]
webstaff: Add height adjustment hacks for a couple dojo interfaces

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Double scrollbars are bad, this stops them where we can.
Mike Rylander [Thu, 23 Apr 2015 21:35:09 +0000 (17:35 -0400)]
webstaff: Double scrollbars are bad, this stops them where we can.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Just build the path directly, we know our base
Mike Rylander [Thu, 23 Apr 2015 21:09:34 +0000 (17:09 -0400)]
webstaff: Just build the path directly, we know our base

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Pass override when needed, and interpret events correctly
Mike Rylander [Thu, 23 Apr 2015 19:30:53 +0000 (15:30 -0400)]
webstaff: Pass override when needed, and interpret events correctly

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Integrate Monograph Parts UI
Mike Rylander [Mon, 20 Apr 2015 20:38:13 +0000 (16:38 -0400)]
webstaff: Integrate Monograph Parts UI

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: core widgets - teach egEmbedFrame how to not throw warnings,
Mike Rylander [Mon, 20 Apr 2015 20:32:30 +0000 (16:32 -0400)]
webstaff: core widgets - teach egEmbedFrame how to not throw warnings,

And also, how to be used more than once per app.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Add "delete" and "undelete" actions to the MARC editor
Mike Rylander [Mon, 20 Apr 2015 17:46:52 +0000 (13:46 -0400)]
webstaff: Add "delete" and "undelete" actions to the MARC editor

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Enable next/prev/first/last/results buttons on all new search results
Mike Rylander [Mon, 20 Apr 2015 17:46:17 +0000 (13:46 -0400)]
webstaff: Enable next/prev/first/last/results buttons on all new search results

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Small-ize the "set default" button, and move it "into" the tab
Mike Rylander [Fri, 17 Apr 2015 20:49:46 +0000 (16:49 -0400)]
webstaff: Small-ize the "set default" button, and move it "into" the tab

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Use tabs instead of Actions For this Record
Mike Rylander [Wed, 15 Apr 2015 20:38:50 +0000 (16:38 -0400)]
webstaff: Use tabs instead of Actions For this Record

Thus, do away with that menu altogether (YAY!)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: always calculate context menu for egMarcEditEditable on the fly
Galen Charlton [Mon, 13 Apr 2015 19:24:14 +0000 (19:24 +0000)]
webstaff: always calculate context menu for egMarcEditEditable on the fly

This way, the correct context menus get generated for a new
field/subfield entry or when a field's tag is changed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: teach MARC editor how to build context menus for subfield values
Galen Charlton [Mon, 13 Apr 2015 17:16:57 +0000 (17:16 +0000)]
webstaff: teach MARC editor how to build context menus for subfield values

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Register a pile of standard hotkeys
Mike Rylander [Fri, 10 Apr 2015 16:34:18 +0000 (12:34 -0400)]
webstaff: Register a pile of standard hotkeys

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Teach access keys how to deal with ng-click actions and empty hrefs
Mike Rylander [Fri, 10 Apr 2015 16:33:26 +0000 (12:33 -0400)]
webstaff: Teach access keys how to deal with ng-click actions and empty hrefs

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: integrate Manage Authorities UI
Mike Rylander [Tue, 7 Apr 2015 19:00:22 +0000 (15:00 -0400)]
webstaff: integrate Manage Authorities UI

Will require modification to de-XUL-ify in a later sprint

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Integrate URL Verification UI
Mike Rylander [Tue, 7 Apr 2015 18:48:15 +0000 (14:48 -0400)]
webstaff: Integrate URL Verification UI

Will require modification to de-XUL-ify in a later sprint

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Batch Edit iframe template
Mike Rylander [Tue, 7 Apr 2015 17:01:46 +0000 (13:01 -0400)]
webstaff: Batch Edit iframe template

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Integrate batch edit (including bucket batch edit entry point)
Mike Rylander [Tue, 7 Apr 2015 16:55:07 +0000 (12:55 -0400)]
webstaff: Integrate batch edit (including bucket batch edit entry point)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Add support for standalone grid menu items even when there is a menu label
Mike Rylander [Tue, 7 Apr 2015 16:54:29 +0000 (12:54 -0400)]
webstaff: Add support for standalone grid menu items even when there is a menu label

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Embed vandelay
Mike Rylander [Mon, 6 Apr 2015 19:47:09 +0000 (15:47 -0400)]
webstaff: Embed vandelay

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Make space saving configurable on embedded iframes
Mike Rylander [Mon, 6 Apr 2015 19:46:32 +0000 (15:46 -0400)]
webstaff: Make space saving configurable on embedded iframes

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Flat Text MARC editor support
Mike Rylander [Mon, 6 Apr 2015 16:55:47 +0000 (12:55 -0400)]
webstaff: Flat Text MARC editor support

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Allow global delimiter override
Mike Rylander [Mon, 6 Apr 2015 16:55:31 +0000 (12:55 -0400)]
webstaff: Allow global delimiter override

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Propagate undo changes into FFs
Mike Rylander [Wed, 1 Apr 2015 16:02:57 +0000 (12:02 -0400)]
webstaff: Propagate undo changes into FFs

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Styling cleanup
Mike Rylander [Wed, 1 Apr 2015 16:02:36 +0000 (12:02 -0400)]
webstaff: Styling cleanup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Honor "obscure DOB" YAOUS
Mike Rylander [Tue, 31 Mar 2015 20:46:32 +0000 (16:46 -0400)]
webstaff: Honor "obscure DOB" YAOUS

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: FF context menus, generated from DB data
Mike Rylander [Tue, 31 Mar 2015 19:53:37 +0000 (15:53 -0400)]
webstaff: FF context menus, generated from DB 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>
4 years agowebstaff: Resolve after saving
Mike Rylander [Tue, 31 Mar 2015 19:52:06 +0000 (15:52 -0400)]
webstaff: Resolve after saving

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Fixed field editor!
Mike Rylander [Mon, 30 Mar 2015 18:14:20 +0000 (14:14 -0400)]
webstaff: Fixed field editor!

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: New directive for FF editing
Mike Rylander [Fri, 27 Mar 2015 21:47:11 +0000 (17:47 -0400)]
webstaff: New directive for FF 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>
4 years agowebstaff: Fetch FF pos map and value map, per record type
Mike Rylander [Fri, 27 Mar 2015 21:46:14 +0000 (17:46 -0400)]
webstaff: Fetch FF pos map and value map, per record type

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Make Date of Birth label red if DOB is emtpy
Mike Rylander [Thu, 26 Mar 2015 21:14:07 +0000 (17:14 -0400)]
webstaff: Make Date of Birth label red if DOB is emtpy

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Add Profile to the column list on patron search results
Mike Rylander [Thu, 26 Mar 2015 20:41:05 +0000 (16:41 -0400)]
webstaff: Add Profile to the column list on patron search results

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Remove unnecessary dropdown-toggle attr
Mike Rylander [Thu, 26 Mar 2015 13:58:46 +0000 (09:58 -0400)]
webstaff: Remove unnecessary dropdown-toggle 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>
4 years agowebstaff: Close other context menus before showing this one
Mike Rylander [Fri, 20 Mar 2015 22:14:11 +0000 (18:14 -0400)]
webstaff: Close other context menus before showing this one

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: indicator value lists now use "description" to, well, label descriptions
Galen Charlton [Mon, 16 Mar 2015 21:04:18 +0000 (21:04 +0000)]
webstaff: indicator value lists now use "description" to, well, label descriptions

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: use contextItemGenerator instead of contextItemContainer
Mike Rylander [Mon, 16 Mar 2015 20:02:04 +0000 (16:02 -0400)]
webstaff: use contextItemGenerator instead of contextItemContainer

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Typo (missing space)
Mike Rylander [Mon, 16 Mar 2015 20:08:20 +0000 (16:08 -0400)]
webstaff: Typo (missing space)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Tooltips for holdable/visible on status and location in item summary
Mike Rylander [Mon, 16 Mar 2015 19:12:36 +0000 (15:12 -0400)]
webstaff: Tooltips for holdable/visible on status and location in item summary

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: MARC editor - AngularJS egTagTable service
Galen Charlton [Mon, 16 Mar 2015 18:48:39 +0000 (18:48 +0000)]
webstaff: MARC editor - AngularJS egTagTable service

This also adds context menus for tags, subfield codes, and indicator
values

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Do not change the tab on iframe changes when using the summary bar buttons
Mike Rylander [Thu, 12 Mar 2015 14:39:08 +0000 (10:39 -0400)]
webstaff: Do not change the tab on iframe changes when using the summary bar buttons

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
4 years agowebstaff: Use ng-show instead of ng-if to avoid an extra scope injection
Mike Rylander [Thu, 12 Mar 2015 14:37:49 +0000 (10:37 -0400)]
webstaff: Use ng-show instead of ng-if to avoid an extra scope injection

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>