working/Evergreen.git
8 years agowebstaff: add predictions after last item, not last displayed item
Mike Rylander [Wed, 31 May 2017 17:02:21 +0000 (13:02 -0400)]
webstaff: add predictions after last item, not last displayed item

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: do not require patron for renew in offline mode
Mike Rylander [Wed, 31 May 2017 16:44:07 +0000 (12:44 -0400)]
webstaff: do not require patron for renew in offline mode

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: offline in house use improvements
Mike Rylander [Wed, 31 May 2017 16:39:25 +0000 (12:39 -0400)]
webstaff: offline in house use improvements

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: move prev/next buttons on pattern wizard
Galen Charlton [Wed, 31 May 2017 16:09:31 +0000 (12:09 -0400)]
webstaff: move prev/next buttons on pattern wizard

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: constrain select length when inside a bootstrap component
Mike Rylander [Wed, 31 May 2017 16:03:19 +0000 (12:03 -0400)]
webstaff: constrain select length when inside a bootstrap component

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: correct merge error of idl.Clone (and also simplify it); protect against...
Mike Rylander [Wed, 31 May 2017 15:51:37 +0000 (11:51 -0400)]
webstaff: correct merge error of idl.Clone (and also simplify it); protect against deleted or missing data

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoclone check change
Mike Rylander [Wed, 31 May 2017 15:29:36 +0000 (11:29 -0400)]
clone check change

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: tweak styling of pattern template save
Galen Charlton [Wed, 31 May 2017 15:39:58 +0000 (11:39 -0400)]
webstaff: tweak styling of pattern template save

8 years agowebstaff: Offline mode
Mike Rylander [Mon, 20 Mar 2017 20:38:15 +0000 (16:38 -0400)]
webstaff: Offline mode

Here is implemented an offline mode interface for the web staff client.

It is made available during both network and server outages by using the
UpUp[1] service worker wrapper.

We leverage Lovefield[2] for local storage of library settings, configuration
data, offline transactions, and the standalone offline block list.

In order to make use of the offline interface, users should first log into
the web staff client and navigate to the "Search -> Search for Patrons"
interface, perform a search, select a user from the results, and open the
Patron Editor interface.  This will allow the offline interface to collect
all the relevant configuration information for the workstation.  In addition,
the offline interface available from the Circulation menu provides a "Download
block list" button when accessed while logged in.

[1]https://www.talater.com/upup/
[2]https://google.github.io/lovefield/

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoReplace baseline asset.copy.id fkey constraints with ones that understand inheritance...
Mike Rylander [Mon, 24 Apr 2017 16:40:37 +0000 (12:40 -0400)]
Replace baseline asset.copy.id fkey constraints with ones that understand inheritance, and change all existing contstraints to do the same via upgrade script.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: better tooltips inside Link MHFD dialog
Jason Etheridge [Tue, 30 May 2017 15:52:20 +0000 (11:52 -0400)]
webstaff: better tooltips inside Link MHFD dialog

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: join filter for angular templates
Jason Etheridge [Tue, 30 May 2017 15:51:51 +0000 (11:51 -0400)]
webstaff: join filter for angular templates

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: quick-receive from catalog record
Mike Rylander [Fri, 26 May 2017 20:32:23 +0000 (16:32 -0400)]
webstaff: quick-receive from catalog record

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: implement import patterns from bibliographic/mfhd records
Galen Charlton [Thu, 25 May 2017 22:45:01 +0000 (18:45 -0400)]
webstaff: implement import patterns from bibliographic/mfhd records

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: add Predict New Issues button to predictions tab
Galen Charlton [Thu, 25 May 2017 17:54:09 +0000 (13:54 -0400)]
webstaff: add Predict New Issues button to predictions tab

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: move add_issuances() to core service
Galen Charlton [Thu, 25 May 2017 17:48:56 +0000 (13:48 -0400)]
webstaff: move add_issuances() to core service

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Conflicts:
Open-ILS/web/js/ui/default/staff/serials/services/core.js

8 years agowebstaff: Serials drop-down button in OPAC record
Jason Etheridge [Thu, 25 May 2017 17:57:58 +0000 (13:57 -0400)]
webstaff: Serials drop-down button in OPAC record

and remove the placeholder Manage Subscription link

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: make bind/receive smarter; allow individual item receive/bind selection...
Mike Rylander [Thu, 25 May 2017 17:16:02 +0000 (13:16 -0400)]
webstaff: make bind/receive smarter; allow individual item receive/bind selection in modal

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: service-ize item receiving for use in other UIs
Mike Rylander [Thu, 25 May 2017 16:22:27 +0000 (12:22 -0400)]
webstaff: service-ize item receiving for use in other UIs

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Receiving data sanity, and form validation
Mike Rylander [Thu, 25 May 2017 01:08:38 +0000 (21:08 -0400)]
webstaff: Receiving data sanity, and form validation

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Add routing list printing on receive/bind and directly from the action...
Mike Rylander [Thu, 25 May 2017 00:39:52 +0000 (20:39 -0400)]
webstaff: Add routing list printing on receive/bind and directly from the action menu

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoallow routing list printing UI to live in the web staff client
Mike Rylander [Thu, 25 May 2017 00:38:22 +0000 (20:38 -0400)]
allow routing list printing UI to live in the web staff client

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoallow naming an afterload function in the iframe
Mike Rylander [Thu, 25 May 2017 00:37:17 +0000 (20:37 -0400)]
allow naming an afterload function in the iframe

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoFix checkbox/action confusion
Mike Rylander [Thu, 25 May 2017 00:36:42 +0000 (20:36 -0400)]
Fix checkbox/action confusion

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: add MFHD tab to serials management page
Galen Charlton [Tue, 23 May 2017 22:00:12 +0000 (18:00 -0400)]
webstaff: add MFHD tab to serials management page

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: teach MARC editor more about SREs
Galen Charlton [Tue, 23 May 2017 21:59:18 +0000 (17:59 -0400)]
webstaff: teach MARC editor more about SREs

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: global services for managing MFHDs + create MFHD dialog
Galen Charlton [Tue, 23 May 2017 21:58:44 +0000 (17:58 -0400)]
webstaff: global services for managing MFHDs + create MFHD dialog

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: UI for delete subscription
Jason Etheridge [Tue, 23 May 2017 21:37:44 +0000 (17:37 -0400)]
webstaff: UI for delete subscription

and distribution and stream

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: clean up unused tabs
Mike Rylander [Tue, 23 May 2017 20:46:37 +0000 (16:46 -0400)]
webstaff: clean up unused tabs

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoserials: API for safe deleting subscriptions
Jason Etheridge [Mon, 22 May 2017 21:28:17 +0000 (17:28 -0400)]
serials: API for safe deleting subscriptions

and distributions and streams.

open-ils.serial.subscription.safe_delete
open-ils.serial.distribution.safe_delete
open-ils.serial.stream.safe_delete
open-ils.serial.subscription.safe_delete.dry_run
open-ils.serial.distribution.safe_delete.dry_run
open-ils.serial.stream.safe_delete.dry_run

Won't delete if there are attached serial.item's with a status other
than Expected, or if there are any attached non-deleted serial.unit's.

dry_run variants behave exactly the same except they don't actually
delete anything.

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: Provide "reset" method for serial items
Mike Rylander [Tue, 23 May 2017 15:33:51 +0000 (11:33 -0400)]
webstaff: Provide "reset" method for serial items

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Default receiving callnumber to last created; UI cleanup
Mike Rylander [Tue, 23 May 2017 14:48:37 +0000 (10:48 -0400)]
webstaff: Default receiving callnumber to last created; UI cleanup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: collect receiving data in one modal
Mike Rylander [Mon, 22 May 2017 23:19:00 +0000 (19:19 -0400)]
webstaff: collect receiving data in one modal

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: receiving template associated with distribution now displays
Galen Charlton [Mon, 22 May 2017 21:22:44 +0000 (17:22 -0400)]
webstaff: receiving template associated with distribution now displays

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: fix grid refresh upon linking binding template
Galen Charlton [Mon, 22 May 2017 20:25:13 +0000 (16:25 -0400)]
webstaff: fix grid refresh upon linking binding template

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: ad hoc issuances (no scap) and general cleanup
Mike Rylander [Mon, 22 May 2017 14:02:11 +0000 (10:02 -0400)]
webstaff: ad hoc issuances (no scap) and general cleanup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Serials -- allow issuances (ad hoc) that have no scap
Mike Rylander [Mon, 22 May 2017 13:56:06 +0000 (09:56 -0400)]
webstaff: Serials -- allow issuances (ad hoc) that have no scap

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: receiving fixes, proceeding
Mike Rylander [Thu, 18 May 2017 23:58:07 +0000 (19:58 -0400)]
webstaff: receiving fixes, proceeding

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: binding and receiving, logic based on XUL code
Mike Rylander [Thu, 18 May 2017 23:26:26 +0000 (19:26 -0400)]
webstaff: binding and receiving, logic based on XUL code

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: provide an id -> item map for simpler lookup
Mike Rylander [Thu, 18 May 2017 23:25:50 +0000 (19:25 -0400)]
webstaff: provide an id -> item map for simpler lookup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Teach grid to always show checkbox menu items, and adjust style a bit
Mike Rylander [Thu, 18 May 2017 23:24:45 +0000 (19:24 -0400)]
webstaff: Teach grid to always show checkbox menu items, and adjust style a bit

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Apply Binding Template for distributions
Jason Etheridge [Thu, 18 May 2017 22:06:31 +0000 (18:06 -0400)]
webstaff: Apply Binding Template for distributions

and fix Receiving and Binding Template columns in the Subscription Manager grid

Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>
8 years agowebstaff: fix Owning Lib for new Serials Templates
Jason Etheridge [Thu, 18 May 2017 18:06:08 +0000 (14:06 -0400)]
webstaff: fix Owning Lib for new Serials Templates

instead of using the workstation lib, use the library from the list filter

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: remove Edit Offset from actions
Jason Etheridge [Tue, 16 May 2017 18:36:25 +0000 (14:36 -0400)]
webstaff: remove Edit Offset from actions

and fix typo for offset in the subscriptions area

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: serials Receiving Template selector
Jason Etheridge [Tue, 16 May 2017 13:15:28 +0000 (09:15 -0400)]
webstaff: serials Receiving Template selector

under Manage Subscriptions

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: Allow jumping between pages
Mike Rylander [Thu, 18 May 2017 16:23:57 +0000 (12:23 -0400)]
webstaff: Allow jumping between pages

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Filter by serial item status, and page through items server-side
Mike Rylander [Thu, 18 May 2017 16:01:18 +0000 (12:01 -0400)]
webstaff: Filter by serial item status, and page through items server-side

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: correct green-field duplicateprediction
Mike Rylander [Wed, 17 May 2017 20:31:28 +0000 (16:31 -0400)]
webstaff: correct green-field duplicateprediction

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: fix thinko; chron labels now can be set when starting prediction
Galen Charlton [Tue, 16 May 2017 20:06:04 +0000 (16:06 -0400)]
webstaff: fix thinko; chron labels now can be set when starting prediction

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: serialize $u values as text
Galen Charlton [Tue, 16 May 2017 19:57:43 +0000 (15:57 -0400)]
webstaff: serialize $u values as text

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: improvements to creating prediction from pattern template
Galen Charlton [Tue, 16 May 2017 19:42:02 +0000 (15:42 -0400)]
webstaff: improvements to creating prediction from pattern template

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Confirm before deleting; Allow prediction from empty list
Mike Rylander [Tue, 16 May 2017 18:40:02 +0000 (14:40 -0400)]
webstaff: Confirm before deleting; Allow prediction from empty list

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Ability to generate a count of predictions, edit issuances, and add a singl...
Mike Rylander [Tue, 16 May 2017 16:50:24 +0000 (12:50 -0400)]
webstaff: Ability to generate a count of predictions, edit issuances, and add a single following issuance

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Repair new API for gathering predictions without saving them
Mike Rylander [Tue, 16 May 2017 16:49:42 +0000 (12:49 -0400)]
webstaff: Repair new API for gathering predictions without saving them

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Add the ability to edit the holding code, type, and pub date of an issuance
Mike Rylander [Mon, 15 May 2017 21:21:14 +0000 (17:21 -0400)]
webstaff: Add the ability to edit the holding code, type, and pub date of an issuance

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: serials code cleanup and removing an inf digest loop
Mike Rylander [Mon, 15 May 2017 20:28:29 +0000 (16:28 -0400)]
webstaff: serials code cleanup and removing an inf digest loop

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Teach serials perl to predict for "current" issue, not just future
Mike Rylander [Mon, 15 May 2017 20:27:47 +0000 (16:27 -0400)]
webstaff: Teach serials perl to predict for "current" issue, not just future

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: service addition for generating holding codes, seeded or unseeded
Mike Rylander [Fri, 12 May 2017 20:34:33 +0000 (16:34 -0400)]
webstaff: service addition for generating holding codes, seeded or unseeded

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Provide a way to get shallow (no nested objects) clones from IDL objects
Mike Rylander [Thu, 4 May 2017 20:59:07 +0000 (16:59 -0400)]
webstaff: Provide a way to get shallow (no nested objects) clones from IDL objects

This will have an impact on the webstaff offline interface, which has a similar
but less advanced implementation of the same.  We want THIS one going forward,
not the one from offline.  HEAD'S UP!

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstasff: start serials Issues tab
Mike Rylander [Wed, 10 May 2017 19:27:58 +0000 (15:27 -0400)]
webstasff: start serials Issues tab

Just a grid for now.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: implement creating scap from a pattern template
Galen Charlton [Fri, 12 May 2017 21:59:02 +0000 (17:59 -0400)]
webstaff: implement creating scap from a pattern template

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Link MFHD action
Jason Etheridge [Fri, 12 May 2017 14:29:11 +0000 (10:29 -0400)]
webstaff: Link MFHD action

under Manage Subscriptions

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: Clone Subscription action
Jason Etheridge [Thu, 11 May 2017 03:23:59 +0000 (23:23 -0400)]
webstaff: Clone Subscription action

under Manage Subscriptions

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: implement fetcher for pattern templates
Galen Charlton [Thu, 11 May 2017 21:26:43 +0000 (17:26 -0400)]
webstaff: implement fetcher for pattern templates

The method open-ils.serial.pattern_template.retrieve.at
takes a org unit ID and returns the set of patterns visible
to it.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: add admin interface for managing serial pattern templates
Galen Charlton [Wed, 10 May 2017 21:37:21 +0000 (17:37 -0400)]
webstaff: add admin interface for managing serial pattern templates

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: teach egEditFmRecord how to use custom template for a field
Galen Charlton [Wed, 10 May 2017 21:36:44 +0000 (17:36 -0400)]
webstaff: teach egEditFmRecord how to use custom template for a field

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: implement saving pattern as a template
Galen Charlton [Tue, 9 May 2017 20:34:48 +0000 (16:34 -0400)]
webstaff: implement saving pattern as a template

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: fix problem with IDL definition for spt
Galen Charlton [Tue, 9 May 2017 19:42:03 +0000 (15:42 -0400)]
webstaff: fix problem with IDL definition for spt

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: new egShareDepthSelector directive
Galen Charlton [Tue, 9 May 2017 18:56:04 +0000 (14:56 -0400)]
webstaff: new egShareDepthSelector directive

This directive implements a selector for OU-sharing depths; depths
and names come from the actor.org_unit_type table. If there are
multiple types defined for a given depth, the display value in
the selector is the concatenation of their names.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: new table to store shared prediction pattern codes
Galen Charlton [Tue, 9 May 2017 18:53:18 +0000 (14:53 -0400)]
webstaff: new table to store shared prediction pattern codes

serial.pattern_template is a new table for establishing a
shared list of predication pattern codes. Pattern templates
have an OU owner and share depth; CUD has a new ADMIN_SERIAL_PATTERN_TEMPLATE
permission.

The share depth is meant to be advisory, so there's no pcrud
permission tied to retrieving serial.pattern_template rows.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: improve initialization from pattern code
Galen Charlton [Mon, 8 May 2017 21:03:57 +0000 (17:03 -0400)]
webstaff: improve initialization from pattern code

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: clicking outside pattern modal no longer closes it
Galen Charlton [Mon, 8 May 2017 15:02:10 +0000 (11:02 -0400)]
webstaff: clicking outside pattern modal no longer closes it

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: implement action to cancel creating new pattern
Galen Charlton [Fri, 5 May 2017 21:49:05 +0000 (17:49 -0400)]
webstaff: implement action to cancel creating new pattern

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: implement prediction deletion action
Galen Charlton [Fri, 5 May 2017 21:44:06 +0000 (17:44 -0400)]
webstaff: implement prediction deletion action

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: implement adding a new prediction
Galen Charlton [Fri, 5 May 2017 21:34:11 +0000 (17:34 -0400)]
webstaff: implement adding a new prediction

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: fix creating PredictionPattern from null pattern code
Galen Charlton [Fri, 5 May 2017 21:33:35 +0000 (17:33 -0400)]
webstaff: fix creating PredictionPattern from null pattern code

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: finish implementing updating patterns
Galen Charlton [Fri, 5 May 2017 20:38:17 +0000 (16:38 -0400)]
webstaff: finish implementing updating patterns

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: changing pattern now marks form dirty
Galen Charlton [Fri, 5 May 2017 20:12:51 +0000 (16:12 -0400)]
webstaff: changing pattern now marks form dirty

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: embed serials prediction wizard into modal
Galen Charlton [Fri, 5 May 2017 19:36:43 +0000 (15:36 -0400)]
webstaff: embed serials prediction wizard into modal

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: Serials Admin menu and Serial Templates
Jason Etheridge [Fri, 28 Apr 2017 19:38:40 +0000 (15:38 -0400)]
webstaff: Serials Admin menu and Serial Templates

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
8 years agowebstaff: update review pane to display pattern summary
Galen Charlton [Fri, 5 May 2017 17:14:50 +0000 (13:14 -0400)]
webstaff: update review pane to display pattern summary

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: add PredictionPattern.compile() method
Galen Charlton [Tue, 2 May 2017 22:00:13 +0000 (18:00 -0400)]
webstaff: add PredictionPattern.compile() method

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: start work on review pane of pattern wizard
Galen Charlton [Tue, 2 May 2017 22:00:02 +0000 (18:00 -0400)]
webstaff: start work on review pane of pattern wizard

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: more work on the regularity UI
Galen Charlton [Tue, 2 May 2017 21:59:37 +0000 (17:59 -0400)]
webstaff: more work on the regularity UI

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: UI for setting pattern regularity
Galen Charlton [Tue, 2 May 2017 21:56:08 +0000 (17:56 -0400)]
webstaff: UI for setting pattern regularity

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: add basic frequency inputs
Galen Charlton [Tue, 2 May 2017 18:37:08 +0000 (14:37 -0400)]
webstaff: add basic frequency inputs

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: tweak add/remove level buttons on enum pane
Galen Charlton [Tue, 2 May 2017 18:09:06 +0000 (14:09 -0400)]
webstaff: tweak add/remove level buttons on enum pane

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: implement chronology tab
Galen Charlton [Fri, 28 Apr 2017 22:00:12 +0000 (18:00 -0400)]
webstaff: implement chronology tab

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: finish first pass at enumeration pane
Galen Charlton [Fri, 28 Apr 2017 21:01:58 +0000 (17:01 -0400)]
webstaff: finish first pass at enumeration pane

Includes three new directives:

egMonthSelector
egSeasonSelector
egMonthDaySelector

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: start of prediction wizard
Galen Charlton [Fri, 28 Apr 2017 19:23:19 +0000 (15:23 -0400)]
webstaff: start of prediction wizard

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: start list of patterns
Galen Charlton [Thu, 27 Apr 2017 16:58:57 +0000 (12:58 -0400)]
webstaff: start list of patterns

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: serials: improvements to updating address bar
Galen Charlton [Tue, 25 Apr 2017 21:36:56 +0000 (17:36 -0400)]
webstaff: serials: improvements to updating address bar

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: add subscription selector to prediction manager
Galen Charlton [Tue, 25 Apr 2017 21:29:06 +0000 (17:29 -0400)]
webstaff: add subscription selector to prediction manager

This also implement updating the browser URL when a
different subscription is chosen.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: serials: add egSubSelector directive
Galen Charlton [Tue, 25 Apr 2017 21:28:19 +0000 (17:28 -0400)]
webstaff: serials: add egSubSelector directive

This directive allows the operator to select the subscription
they want to work on in contexts such as the prediction
manager.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: fix toTypedHash conversion of null dates
Galen Charlton [Tue, 25 Apr 2017 21:27:22 +0000 (17:27 -0400)]
webstaff: fix toTypedHash conversion of null dates

... and avoid flashbacks to 1969/1970

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: serials - start egPredictionManager directive
Galen Charlton [Mon, 24 Apr 2017 21:58:23 +0000 (17:58 -0400)]
webstaff: serials - start egPredictionManager directive

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: add subscription ID to serials routes
Galen Charlton [Mon, 24 Apr 2017 21:52:56 +0000 (17:52 -0400)]
webstaff: add subscription ID to serials routes

Teach the serials app to recognize the subscription ID if supplied
in the path. The subscription ID is validated against the bib record;
if it doesn't belong to the bib, the path is rewritten to
drop it.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: wrap serials app directives in ng-if
Galen Charlton [Mon, 24 Apr 2017 21:30:26 +0000 (17:30 -0400)]
webstaff: wrap serials app directives in ng-if

This is meant to reduce running initialization code unnecessarily
when a user goes directly to one of the tabs

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: rename subscription management tab
Galen Charlton [Mon, 24 Apr 2017 21:22:28 +0000 (17:22 -0400)]
webstaff: rename subscription management tab

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agowebstaff: ensure grid in egSerialsManager is consistently initialized
Galen Charlton [Mon, 24 Apr 2017 21:16:24 +0000 (17:16 -0400)]
webstaff: ensure grid in egSerialsManager is consistently initialized

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>