Galen Charlton [Thu, 6 Jul 2017 21:14:36 +0000 (17:14 -0400)]
webstaff: improve focus management of subscription manager
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 6 Jul 2017 21:14:15 +0000 (17:14 -0400)]
webstaff: teach egBasicComboBox and egDatePicker to accept focusMe
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Mike Rylander [Thu, 6 Jul 2017 21:09:02 +0000 (17:09 -0400)]
serials: Allow cascading delete of issuances from scap
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Thu, 6 Jul 2017 21:08:00 +0000 (17:08 -0400)]
serials: Allow scap deletion when there are no in-use issuances, and stop leaking cstores
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Thu, 6 Jul 2017 14:41:24 +0000 (10:41 -0400)]
serials: Confirm scap delete, and protect it with an ML method
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Wed, 5 Jul 2017 21:27:51 +0000 (17:27 -0400)]
webstaff serials: delete last issuance if it has no items left
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Wed, 5 Jul 2017 20:22:53 +0000 (16:22 -0400)]
webstaff serials: add buttons for removing pending dists/streams
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Wed, 5 Jul 2017 20:04:06 +0000 (16:04 -0400)]
webstaff serials: add subscription ID to manage subscriptions pane
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Mike Rylander [Wed, 5 Jul 2017 20:31:18 +0000 (16:31 -0400)]
serials: Dirty our subscription form when adding a stream
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 5 Jul 2017 20:30:56 +0000 (16:30 -0400)]
webstaff: Use custom filter function to avoid problems with null and undef
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Wed, 5 Jul 2017 19:35:00 +0000 (15:35 -0400)]
webstaff serials: pattern wizard shows 'share as' widgets conditionally
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Mike Rylander [Wed, 5 Jul 2017 19:34:48 +0000 (15:34 -0400)]
serials: Locally remember values given for stream routing destinations
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 5 Jul 2017 19:33:58 +0000 (15:33 -0400)]
webstaff: allow our combo box to assist containing UIs on update
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 5 Jul 2017 19:32:54 +0000 (15:32 -0400)]
webstaff: apply more form-control
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 5 Jul 2017 18:49:31 +0000 (14:49 -0400)]
serials: Labeling and flow change to improve alignment
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 5 Jul 2017 18:33:48 +0000 (14:33 -0400)]
serials: Use more bootstrap for better layout control
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Fri, 30 Jun 2017 20:39:21 +0000 (16:39 -0400)]
webstaff: have Quick Receive make operator select subscription rather than OU
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Mike Rylander [Fri, 30 Jun 2017 16:06:07 +0000 (12:06 -0400)]
offline: the offline backend cannot handle stat cats, so we disable them in the offline UI
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Thu, 29 Jun 2017 22:05:20 +0000 (18:05 -0400)]
webstaff serials: use dist holding library to determine MFHDs eligible to link to
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 21:57:28 +0000 (17:57 -0400)]
webstaff: fix MARC editor focus-moving when using in-place-mode
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 21:22:20 +0000 (17:22 -0400)]
webstaff: fixed bug with removing regularity info part
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 21:15:47 +0000 (17:15 -0400)]
webstaff: consistency-fy labels for the Prediction Pattern Template editor
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 21:11:11 +0000 (17:11 -0400)]
webstaff: SCT editor now displays location names qualified with OU
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 21:09:54 +0000 (17:09 -0400)]
webstaff: introduce egI18N
egI18N is a module that will serve as a grab-bag of functions
related to I18N and L10N. The initial function it provides
takes a acpl IDL object and returns a formatted name qualified
by the org unit, with the underlying template accessible
to the translation subsystem.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 20:04:30 +0000 (16:04 -0400)]
webstaff: exclude deleted locations from SCT editor
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 19:52:01 +0000 (15:52 -0400)]
webstaff: remove local admin link to old serial copy template editor page
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 19:49:45 +0000 (15:49 -0400)]
webstaff serials: never print routing list for 'reset items' action
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 19:36:46 +0000 (15:36 -0400)]
webstaff: hide alt. enum. and calendar change if not using enumeration
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 19:15:20 +0000 (15:15 -0400)]
webstaff: add aua to pcrud
This has the effect of causing routing list user addresses
to be fleshed, making them available to the printout.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Thu, 29 Jun 2017 18:44:03 +0000 (14:44 -0400)]
webstaff serials: fix bugs preventing routing list printing from working
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Mike Rylander [Tue, 27 Jun 2017 21:22:31 +0000 (17:22 -0400)]
offline: add two more files to Grunt and UpUp for offline SW caching
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Fri, 23 Jun 2017 13:57:38 +0000 (09:57 -0400)]
offline: use egUnloadPrompt to alert the user to unsaved transactions, and attach to $rootScope
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Fri, 23 Jun 2017 13:32:28 +0000 (09:32 -0400)]
offline: enhance egDateInput range validation for checkout and renew, and provide a fast path to logging out for offline work
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Tue, 20 Jun 2017 22:18:56 +0000 (18:18 -0400)]
webstaff serials: also display patron first name as part of selecting routing list member
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Tue, 20 Jun 2017 22:12:32 +0000 (18:12 -0400)]
webstaff: serials - sprinkle in some help
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Tue, 20 Jun 2017 22:10:46 +0000 (18:10 -0400)]
webstaff: egHelpPopover directive
This directive allows adding help text accessible by clicking
on a question mark icon. Example usage:
<eg-help-popover help-text="Use the Force, Leia!">
to create simple popover or
<eg-help-popover help-text="Learn MARC21"
help-link="https://www.loc.gov/marc"
>
to have the help text hyperlinked.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Tue, 20 Jun 2017 20:28:45 +0000 (16:28 -0400)]
webstaff: teach serials items grid about certain status changes
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Wed, 14 Jun 2017 16:33:07 +0000 (12:33 -0400)]
webstaff: teach serials grid how to resort on status, date expected, and date received
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Wed, 14 Jun 2017 15:27:15 +0000 (11:27 -0400)]
webstaff: put shared strings in correct file
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Mike Rylander [Tue, 13 Jun 2017 19:10:37 +0000 (15:10 -0400)]
offline: keep working location and workstation in sync
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 13 Jun 2017 17:45:21 +0000 (13:45 -0400)]
offline: Rename Details to Debug
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Tue, 13 Jun 2017 14:56:49 +0000 (10:56 -0400)]
offline: adjust offline service worker caching
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Mon, 12 Jun 2017 21:12:38 +0000 (17:12 -0400)]
offline: hotkeys, block reasons, optional bypass of barcode errors, pending xacts alert, and more
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Mon, 12 Jun 2017 21:12:33 +0000 (17:12 -0400)]
webstaff: move nav bar hotkey work into the controller so we can ng-if them if we like
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Mon, 12 Jun 2017 17:05:45 +0000 (13:05 -0400)]
offline: force-save outstanding transactions on patron registration to avoid losing data
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Mon, 12 Jun 2017 16:56:53 +0000 (12:56 -0400)]
webstaff: make chron caption directive that can be linked
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Mon, 12 Jun 2017 15:11:29 +0000 (11:11 -0400)]
webstaff: adjust add special/following issue modal title
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Mon, 12 Jun 2017 15:05:47 +0000 (11:05 -0400)]
webstaff: adjust title of serials bind/receive/barcode modal
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Mike Rylander [Fri, 9 Jun 2017 21:54:20 +0000 (17:54 -0400)]
Bunch of UI improvements: date restriction, progress dialogs, next-focus, success/fail toasts, and more
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Fri, 9 Jun 2017 19:06:01 +0000 (15:06 -0400)]
serials: discourage create of act with null loan_duration or fine_level
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 9 Jun 2017 18:27:56 +0000 (14:27 -0400)]
webstaff: start a shared serials string file
Also ensure that the pattern template editor uses it,
as a previous commit ended up breaking it by adding uses of
strings to the core serials service.
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 9 Jun 2017 18:07:14 +0000 (14:07 -0400)]
serials: fix IDL link between sstr and sunit
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Mike Rylander [Thu, 8 Jun 2017 21:55:41 +0000 (17:55 -0400)]
offline: Add light-weight tablesorter; Enable barcode checking; Add confirmation before clearing pending transactions; Improve layout of offline interfaces
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Thu, 8 Jun 2017 19:54:01 +0000 (15:54 -0400)]
offline: Use the workstation org unit as the default home library; copy barcode to user name
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Fri, 2 Jun 2017 22:06:09 +0000 (18:06 -0400)]
webstaff: improve editing issuances
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 2 Jun 2017 21:47:53 +0000 (17:47 -0400)]
webstaff: add 'Add Special Issue' button for non-predicted issues
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 2 Jun 2017 21:10:54 +0000 (17:10 -0400)]
webstaff: make iss holding_type and adhoc orthogonal concepts
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 2 Jun 2017 20:26:42 +0000 (16:26 -0400)]
webstaff: go ahead and start new sub with one distribution
Similarly, ensure that each new distribution has a stream
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Galen Charlton [Fri, 2 Jun 2017 20:20:37 +0000 (16:20 -0400)]
webstaff: fix barcode-less issue receiving
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Mike Rylander [Wed, 31 May 2017 18:18:05 +0000 (14:18 -0400)]
webstaff: serials -- allow changing the issuance type to ad-hoc
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Mike Rylander [Wed, 31 May 2017 18:17:34 +0000 (14:17 -0400)]
webstaff: typo!
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Wed, 31 May 2017 17:10:28 +0000 (13:10 -0400)]
webstaff: use sub start date as default first pub date for new sub
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
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>
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>
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>
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>
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>
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>
Mike Rylander [Wed, 31 May 2017 15:29:36 +0000 (11:29 -0400)]
clone check change
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Galen Charlton [Wed, 31 May 2017 15:39:58 +0000 (11:39 -0400)]
webstaff: tweak styling of pattern template save
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>