working/Evergreen.git
8 years agoteach copy templates how to manage copy notes
Galen Charlton [Wed, 31 Aug 2016 16:53:05 +0000 (12:53 -0400)]
teach copy templates how to manage copy notes

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Conflicts:
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js

8 years agoupdate egBasicComboBox for new Bootstrap dropdown
Galen Charlton [Wed, 31 Aug 2016 16:52:35 +0000 (12:52 -0400)]
update egBasicComboBox for new Bootstrap dropdown

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoApply focus to the element tab-previous to the OK/Continue button in alert popups
Mike Rylander [Wed, 31 Aug 2016 16:37:14 +0000 (12:37 -0400)]
Apply focus to the element tab-previous to the OK/Continue button in alert popups

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoadjust OU lookup for suppression of system-generated alerts too
Galen Charlton [Sat, 27 Aug 2016 00:27:09 +0000 (20:27 -0400)]
adjust OU lookup for suppression of system-generated alerts too

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agocheck full org path of circ lib when deciding whether to suppress a copy alert
Galen Charlton [Sat, 27 Aug 2016 00:13:56 +0000 (20:13 -0400)]
check full org path of circ lib when deciding whether to suppress a copy alert

This allows for a system to suppress alerts of a given type on behalf
of all of its branches.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agofix bug with creating new copy alert suppression rules
Galen Charlton [Sat, 27 Aug 2016 00:07:08 +0000 (20:07 -0400)]
fix bug with creating new copy alert suppression rules

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoadd multi-select for setting copy alert type next status field
Galen Charlton [Fri, 26 Aug 2016 23:39:04 +0000 (19:39 -0400)]
add multi-select for setting copy alert type next status field

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoadjust labelling
Galen Charlton [Fri, 26 Aug 2016 15:56:41 +0000 (11:56 -0400)]
adjust labelling

- The action buttons for acknowledging a temporary
  copy alert now use "Clear"
- Menu items for bringing up the copy alerts dialog
  now uniformly use "Manage Copy Alerts"

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoset default value of 'Renewing?' to false when creating alert type
Galen Charlton [Thu, 25 Aug 2016 20:12:28 +0000 (16:12 -0400)]
set default value of 'Renewing?' to false when creating alert type

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agofix fleshing set of next copy statuses
Galen Charlton [Fri, 5 Aug 2016 20:37:36 +0000 (16:37 -0400)]
fix fleshing set of next copy statuses

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agowhen renewing, filter out alerts where in_renew is false
Galen Charlton [Fri, 5 Aug 2016 19:15:16 +0000 (15:15 -0400)]
when renewing, filter out alerts where in_renew is false

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoadd add/acknowledge copy alert actions to holdings view menu
Galen Charlton [Fri, 5 Aug 2016 18:16:03 +0000 (14:16 -0400)]
add add/acknowledge copy alert actions to holdings view menu

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agofix error made when rebasing
Galen Charlton [Fri, 5 Aug 2016 17:43:22 +0000 (13:43 -0400)]
fix error made when rebasing

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Conflicts:
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

8 years agofix syntax error
Galen Charlton [Fri, 5 Aug 2016 17:41:56 +0000 (13:41 -0400)]
fix syntax error

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoupdate from $modal to $uibModal
Galen Charlton [Fri, 5 Aug 2016 15:59:36 +0000 (11:59 -0400)]
update from $modal to $uibModal

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agowebstaff: Show event name in the manage interface (useful for staff alerts)
Mike Rylander [Thu, 14 Apr 2016 20:27:48 +0000 (16:27 -0400)]
webstaff: Show event name in the manage interface (useful for staff alerts)

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agowebstaff: Make alert type selection sticky when an alert is saved
Mike Rylander [Thu, 14 Apr 2016 20:07:08 +0000 (16:07 -0400)]
webstaff: Make alert type selection sticky when an alert is saved

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoFleshed call does not find "odd" circs, fetch directly; Disable auto-overrides on...
Mike Rylander [Fri, 8 Apr 2016 17:21:38 +0000 (13:21 -0400)]
Fleshed call does not find "odd" circs, fetch directly; Disable auto-overrides on existing circ to allow alerts to show up

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Conflicts:
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

TODO: Verify that the resolution of the merge conflict doesn't
cause a regression on LP#1522635

8 years agoProtect the status list from empty items
Mike Rylander [Fri, 8 Apr 2016 15:52:18 +0000 (11:52 -0400)]
Protect the status list from empty items

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoAdd better page titles
Mike Rylander [Fri, 8 Apr 2016 15:31:49 +0000 (11:31 -0400)]
Add better page titles

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoUse ngInit and ngOptions so we can have a nullable Event field
Mike Rylander [Fri, 8 Apr 2016 14:48:13 +0000 (10:48 -0400)]
Use ngInit and ngOptions so we can have a nullable Event field

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoArray-ify next_status when sending back to client; Skip old-style status events when...
Mike Rylander [Thu, 7 Apr 2016 18:50:23 +0000 (14:50 -0400)]
Array-ify next_status when sending back to client; Skip old-style status events when using new-style alert infrastructure.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoFix last commit... typo
Mike Rylander [Thu, 7 Apr 2016 17:11:42 +0000 (13:11 -0400)]
Fix last commit... typo

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoAdd dblclick handler for autoGrid
Mike Rylander [Thu, 7 Apr 2016 17:09:31 +0000 (13:09 -0400)]
Add dblclick handler for autoGrid

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoAlign terminology with the copy editor
Mike Rylander [Thu, 7 Apr 2016 16:54:29 +0000 (12:54 -0400)]
Align terminology with the copy editor

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoFurther cleanup of location checks; remove "no" option from at_circ and at_owning
Mike Rylander [Thu, 11 Feb 2016 18:07:33 +0000 (13:07 -0500)]
Further cleanup of location checks; remove "no" option from at_circ and at_owning

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoAdd LONGOVERDUE to the state list
Mike Rylander [Thu, 11 Feb 2016 17:54:25 +0000 (12:54 -0500)]
Add LONGOVERDUE to the state list

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoAdd more seed data
Mike Rylander [Thu, 11 Feb 2016 17:39:54 +0000 (12:39 -0500)]
Add more seed data

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoAdjust display of next-status labels in the copy alert popup
Mike Rylander [Thu, 11 Feb 2016 14:43:07 +0000 (09:43 -0500)]
Adjust display of next-status labels in the copy alert popup

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoCorrect location test for at_circ and at_owning
Mike Rylander [Thu, 11 Feb 2016 14:15:23 +0000 (09:15 -0500)]
Correct location test for at_circ and at_owning

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agotweak styling
Galen Charlton [Fri, 18 Dec 2015 18:51:30 +0000 (13:51 -0500)]
tweak styling

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoimprove init of next status
Galen Charlton [Fri, 18 Dec 2015 18:47:54 +0000 (13:47 -0500)]
improve init of next status

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoadd 'add copy alert' action
Galen Charlton [Fri, 18 Dec 2015 18:18:46 +0000 (13:18 -0500)]
add 'add copy alert' action

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Conflicts:
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

8 years agoadd acknowledge alerts to renewal
Galen Charlton [Thu, 17 Dec 2015 23:22:10 +0000 (18:22 -0500)]
add acknowledge alerts to renewal

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoallow both CHECKIN and CHECKOUT alerts to fire during renewal
Galen Charlton [Thu, 17 Dec 2015 23:13:52 +0000 (18:13 -0500)]
allow both CHECKIN and CHECKOUT alerts to fire during renewal

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agocorrectly test whether the alert_type fires during renewal
Galen Charlton [Thu, 17 Dec 2015 22:59:41 +0000 (17:59 -0500)]
correctly test whether the alert_type fires during renewal

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agono longer display the legacy copy alert message
Galen Charlton [Thu, 17 Dec 2015 22:52:52 +0000 (17:52 -0500)]
no longer display the legacy copy alert message

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agofix styling of manage copy alert button in item status
Galen Charlton [Thu, 17 Dec 2015 22:47:39 +0000 (17:47 -0500)]
fix styling of manage copy alert button in item status

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoadd new-style copy alerts to volcopy defaults selector
Galen Charlton [Thu, 17 Dec 2015 22:40:43 +0000 (17:40 -0500)]
add new-style copy alerts to volcopy defaults selector

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agocopy alert type editor can now create and update copy alert types
Galen Charlton [Fri, 11 Dec 2015 04:15:34 +0000 (23:15 -0500)]
copy alert type editor can now create and update copy alert types

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agomake copy alert suppression editor feature-complete
Galen Charlton [Fri, 11 Dec 2015 03:35:57 +0000 (22:35 -0500)]
make copy alert suppression editor feature-complete

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoset name as copy alert type selector field
Galen Charlton [Thu, 10 Dec 2015 23:29:31 +0000 (18:29 -0500)]
set name as copy alert type selector field

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoadd copy alert suppression to splash page
Galen Charlton [Thu, 10 Dec 2015 23:26:31 +0000 (18:26 -0500)]
add copy alert suppression to splash page

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agostart UI for managing copy alert suppression
Galen Charlton [Thu, 10 Dec 2015 23:25:03 +0000 (18:25 -0500)]
start UI for managing copy alert suppression

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoadd copy alerts to local admin splash page
Galen Charlton [Thu, 10 Dec 2015 23:19:36 +0000 (18:19 -0500)]
add copy alerts to local admin splash page

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agostart on a config editor for config.copy_alert_types
Galen Charlton [Thu, 10 Dec 2015 23:17:24 +0000 (18:17 -0500)]
start on a config editor for config.copy_alert_types

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoteach vol/copy editor how to deal with copy alerts
Galen Charlton [Wed, 9 Dec 2015 14:58:16 +0000 (09:58 -0500)]
teach vol/copy editor how to deal with copy alerts

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoadd copy alert ack/manage action to checkin, checkout, and item status
Galen Charlton [Tue, 8 Dec 2015 16:22:57 +0000 (11:22 -0500)]
add copy alert ack/manage action to checkin, checkout, and item status

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Conflicts:
Open-ILS/src/templates/staff/cat/item/t_summary_pane.tt2

8 years agoimplement setting next status upon checkin
Galen Charlton [Tue, 8 Dec 2015 14:22:27 +0000 (09:22 -0500)]
implement setting next status upon checkin

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agodisplay text for system-generated copy alerts
Galen Charlton [Mon, 7 Dec 2015 21:44:35 +0000 (16:44 -0500)]
display text for system-generated copy alerts

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoreturn all potential next copy statuses, not just first
Galen Charlton [Mon, 7 Dec 2015 21:44:09 +0000 (16:44 -0500)]
return all potential next copy statuses, not just first

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agohave a bit of visual separation between alerts
Galen Charlton [Thu, 3 Dec 2015 22:26:53 +0000 (17:26 -0500)]
have a bit of visual separation between alerts

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agostart work on egCopyAlertManagerDialog
Galen Charlton [Thu, 3 Dec 2015 22:00:23 +0000 (17:00 -0500)]
start work on egCopyAlertManagerDialog

This dialog is currently capable of:

- displaying copy alerts during checkin and checkout
- allowing the operator to acknowledge temporary alerts

TODO:

- allow display of all current alerts
- allow alerts to be added

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Conflicts:
Open-ILS/web/js/ui/default/staff/circ/services/circ.js

8 years agosome sample copy alert types
Galen Charlton [Thu, 3 Dec 2015 19:55:30 +0000 (14:55 -0500)]
some sample copy alert types

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agodon't generate system copy alerts if copy state is normal
Galen Charlton [Thu, 3 Dec 2015 19:52:13 +0000 (14:52 -0500)]
don't generate system copy alerts if copy state is normal

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agosupport the LOST_AND_PAID status added in LP#1198475
Galen Charlton [Thu, 3 Dec 2015 19:20:38 +0000 (14:20 -0500)]
support the LOST_AND_PAID status added in LP#1198475

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agofix various thinkos and syntax errors to get the biz logic working
Galen Charlton [Wed, 2 Dec 2015 22:49:01 +0000 (17:49 -0500)]
fix various thinkos and syntax errors to get the biz logic working

As of now, open-ils.circ.checkin is now starting to emit
custom copy alerts.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agofix some typos, syntax errors, and stray invisible characters
Galen Charlton [Wed, 2 Dec 2015 21:08:34 +0000 (16:08 -0500)]
fix some typos, syntax errors, and stray invisible characters

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agoadd typo/space fixes to baseline schema
Galen Charlton [Wed, 2 Dec 2015 20:46:47 +0000 (15:46 -0500)]
add typo/space fixes to baseline schema

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
8 years agobiz logic for alerts
Mike Rylander [Wed, 4 Nov 2015 21:27:04 +0000 (16:27 -0500)]
biz logic for alerts

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoBaseline IDL stuff for alerts
Mike Rylander [Wed, 4 Nov 2015 14:52:22 +0000 (09:52 -0500)]
Baseline IDL stuff for alerts

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoInitial schema for copy alerts
Mike Rylander [Tue, 20 Oct 2015 14:10:28 +0000 (10:10 -0400)]
Initial schema for copy alerts

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1695029 Patron reg. supports bool opt-in defaults
Bill Erickson [Fri, 21 Jul 2017 18:50:17 +0000 (14:50 -0400)]
LP#1695029 Patron reg. supports bool opt-in defaults

Support default values for boolean user opt-in settings during patron
registration.  A default value of True, true, T, or t (or really
anything starting with a 't') is treated as true.  Any other value
(including null) means false.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
8 years agoLP#1695029-Webstaff Fix Patron Registration page never loading
Cesar Velez [Tue, 27 Jun 2017 19:06:48 +0000 (15:06 -0400)]
LP#1695029-Webstaff Fix Patron Registration page never loading

It looks like there was a variable mistype causing the page
to not load, but the setting that the lp bug mentions wasn't being
properly bound and needed to be wrapped to a boolean.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
8 years agolp1709521 stamping schema upgrade
Jason Etheridge [Thu, 31 Aug 2017 03:48:24 +0000 (23:48 -0400)]
lp1709521 stamping schema upgrade

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
8 years agoLP#1709521: Tweak description for new OU setting
Kathy Lussier [Tue, 29 Aug 2017 14:29:16 +0000 (10:29 -0400)]
LP#1709521: Tweak description for new OU setting

Update the description for the new Number of Retrievable Recent Patrons OU
Setting to identify the default value if left unset.

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
8 years agoLP#1709521 Release notes for show recent patrons
Bill Erickson [Sat, 12 Aug 2017 15:52:26 +0000 (11:52 -0400)]
LP#1709521 Release notes for show recent patrons

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
8 years agoLP#1709521 Webstaff show recent patrons
Bill Erickson [Sat, 12 Aug 2017 15:52:40 +0000 (11:52 -0400)]
LP#1709521 Webstaff show recent patrons

Adds a new library setting 'ui.staff.max_recent_patrons' which
specifices the number of recently accessed patrons staff may quickly
refetch from the browser client interface.  If no value is set, it
defaults to 1 for backwards compatibility.

If the value is 0 or less, no recent patrons may be retrieved and the
'Retrieve Last Patron' action is hidden.  If the value is > 1 a new
'Retrieve Recent Patrons' menu item appears.  When clicked, the list
of recent patrons is displayed in the patron search interface, most
recently accessed patrons sorted to the top.

For privacy, the recent patrons list expires from the browser when the
authenticion token expires.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
8 years agoLP#1683575 - Webstaff fix silent fail of bad barcodes in ItemStatus
Cesar Velez [Wed, 16 Aug 2017 21:39:30 +0000 (17:39 -0400)]
LP#1683575 - Webstaff fix silent fail of bad barcodes in ItemStatus

This address the current issue in master, that causes bad barcodes
to fail silently.

To test
-------
[1] In the web staff client, go to Item Status and enter an item
    barcode that is not present in the database. Note that no
    warning message displayed.
[2] Apply the patch and repeat step 1. This tie, an 'Item Not Found'
    message is displayed.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1642086: Relase note for jQuery support
Mike Rylander [Wed, 30 Aug 2017 21:03:31 +0000 (17:03 -0400)]
LP#1642086: Relase note for jQuery support

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1642086: Adjust offline resources for jquery support
Mike Rylander [Wed, 30 Aug 2017 20:54:59 +0000 (16:54 -0400)]
LP#1642086: Adjust offline resources for jquery support

Offline needs to know about all the resources and their correct locations.
Since we're moving jquery.min.js, tell it about that.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1642086 TPAC Jquery path repair, .gitignore, karma
Bill Erickson [Wed, 30 Aug 2017 15:53:40 +0000 (11:53 -0400)]
LP#1642086 TPAC Jquery path repair, .gitignore, karma

* Repair JS path in TPAC jquery import.

* Tell git to ignore Open-ILS/web/js/ui/default/common/build/ since it
  only contains generated files.

* Add jquery to Karma unit test dependencies.  This is not strictly
  required, since angular includes a slim jquery shim, but having the
  unit tests load the same base JS as the UI is probably best.
  Confirmed tests still pass.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
8 years agoLP#1642086: Smallest possible JQuery patch that could work...
Mike Rylander [Tue, 15 Aug 2017 16:51:16 +0000 (12:51 -0400)]
LP#1642086: Smallest possible JQuery patch that could work...

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
8 years agoThe ngToast maintainers decided to trick us with a new directory name. Thanks.
Mike Rylander [Tue, 29 Aug 2017 19:03:51 +0000 (15:03 -0400)]
The ngToast maintainers decided to trick us with a new directory name. Thanks.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoFix the "404 asset" test
Mike Rylander [Tue, 29 Aug 2017 18:42:03 +0000 (14:42 -0400)]
Fix the "404 asset" test

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoReorder the tabs and adjust the default based on logged-in-ness
Mike Rylander [Tue, 29 Aug 2017 18:15:06 +0000 (14:15 -0400)]
Reorder the tabs and adjust the default based on logged-in-ness

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoRemove confusing "session" tab from the offline menu entry -- the code will figure...
Mike Rylander [Tue, 29 Aug 2017 18:14:34 +0000 (14:14 -0400)]
Remove confusing "session" tab from the offline menu entry -- the code will figure out the correct default tab

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoAdd moment.js to the offline asset list
Mike Rylander [Tue, 29 Aug 2017 18:13:48 +0000 (14:13 -0400)]
Add moment.js to the offline asset list

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agooffline: Load Lovefield wrapper in addition to the Lovefield framework
Mike Rylander [Tue, 8 Aug 2017 17:25:39 +0000 (13:25 -0400)]
offline: Load Lovefield wrapper in addition to the Lovefield framework

Spotted by Bill Erickson.  Thanks, Bill.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/web/js/ui/default/staff/test/karma.conf.js

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agooffline: add live-test for offline assets
Mike Rylander [Mon, 7 Aug 2017 15:12:53 +0000 (11:12 -0400)]
offline: add live-test for offline assets

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agooffline: Remove reference to nonexistent file
Mike Rylander [Mon, 7 Aug 2017 14:05:05 +0000 (10:05 -0400)]
offline: Remove reference to nonexistent file

When the status bar was removed back in commit 7814064, the reference to its
backing JS file was removed from base_js.tt2.  It looks like that slipped
back in at some point in the combined serials/offline branch.  This removes
that references, which causes offline failure.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agooffline: Load lovefield in the testing framework
Mike Rylander [Fri, 4 Aug 2017 15:16:17 +0000 (11:16 -0400)]
offline: Load lovefield in the testing framework

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agooffline: Prefer user-supplied param to browser-supplied cookie in the authen proxy
Mike Rylander [Thu, 27 Jul 2017 16:59:43 +0000 (12:59 -0400)]
offline: Prefer user-supplied param to browser-supplied cookie in the authen proxy

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agooffline: Make sure the the field_doc structure exists before writing to it
Mike Rylander [Tue, 25 Jul 2017 21:10:48 +0000 (17:10 -0400)]
offline: Make sure the the field_doc structure exists before writing to it

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agowebstaff: IDL Clone
Mike Rylander [Wed, 31 May 2017 15:29:36 +0000 (11:29 -0400)]
webstaff: IDL Clone

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1706107: Offline mode
Mike Rylander [Mon, 20 Mar 2017 20:38:15 +0000 (16:38 -0400)]
LP#1706107: 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>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Conflicts:
Open-ILS/src/templates/staff/base_js.tt2

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1710512 - OPAC js strings need to be i18n-izable
Cesar Velez [Thu, 24 Aug 2017 21:17:11 +0000 (17:17 -0400)]
LP#1710512 - OPAC js strings need to be i18n-izable

Adds a way to translate displayed string messages, in OPAC
JS source code alerts and other outputs. This is done by having
js.tt2 include i18n-strings.tt2 which contains an explosed/global
JS blob variable called eg_opac_i18n. This is intended to work
in similar fashion as base_js.tt2 in the webstaff ng client.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agolp1582354 stamping schema upgrade
Jason Etheridge [Tue, 29 Aug 2017 21:44:26 +0000 (17:44 -0400)]
lp1582354 stamping schema upgrade

and some other tweaks:

1) removing permacrud stanza from IDL entry
2) changing a tab to spaces
3) making the upgrade script match the extend-reporter.sql change

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
8 years agoLP#1582354 - Add owning_lib to available links.
Chris Sharp [Thu, 29 Sep 2016 17:08:15 +0000 (13:08 -0400)]
LP#1582354 - Add owning_lib to available links.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
8 years agoLP1582354 report able to show bibs where the last copy was deleted cancels
blake [Tue, 17 May 2016 21:27:00 +0000 (16:27 -0500)]
LP1582354 report able to show bibs where the last copy was deleted cancels

Created a view for ease of reporting. This source table allows you to construct
a clever aggregate report template which will report bibliographic ID's where a
library or a group of libraries no longer have a copy attached but had* a copy
attached. This is especially useful when a holdings sync is required with an
external vendor.

Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
8 years agoLP#1048822: Release notes entry for fuller simplified pull list title
Kathy Lussier [Tue, 29 Aug 2017 15:27:30 +0000 (11:27 -0400)]
LP#1048822: Release notes entry for fuller simplified pull list title

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1048822: Stamping upgrade script for simplified pull list fuller title
Kathy Lussier [Tue, 29 Aug 2017 15:10:12 +0000 (11:10 -0400)]
LP#1048822: Stamping upgrade script for simplified pull list fuller title

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1048822 - Fuller Title for reporter.super_simple_record
Josh Stompro [Fri, 1 Jul 2016 18:54:54 +0000 (13:54 -0500)]
LP#1048822 - Fuller Title for reporter.super_simple_record

The simplified pull list uses reporter.super_simple_record for
title information.  reporter.super_simple_record currently only
pulls the first 245a value for the title.  For titles that
use 245(n|p) to fully identify the title this leaves out information
that staff need to find the item.

This patch adds all of the 245(n|p) to the 245a in the title.  I've found
this covers most cases where staff need a fuller title.  The order of
the 245(n|p) also matters, so steps are taken to keep the marc ordering
of those fields.

Testing:

Before Patch - find a title that uses a 245(n|p) field to fully identify the
title.  Place a hold on the title.  Use the simplified pull list to view the
location that has that item on the shelf.  Observe that only the 245a is in
the title field.

After Patch - Look at the simplified pull list again and see that the title now
includes more information.

Signed-off-by: Josh Stompro <stomproj@larl.org>
Signed-off-by: Dan Pearl <dpearl@cwmars.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1629298: Web Client Checkout Fails For Barcodes With Spaces
Skye Howard [Thu, 17 Aug 2017 21:52:08 +0000 (21:52 +0000)]
LP#1629298: Web Client Checkout Fails For Barcodes With Spaces

Web Client checkout trims spaces from patron barcodes differently than xul client checkout
The web client was not removing the whitespaces before checking barcode searches
this commit includes a step where the whitespaces are removed.

Signed off by Skye Howard <showard@catalyte.io>
Signed off by Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1668734: stamp DB update
Galen Charlton [Mon, 28 Aug 2017 17:14:13 +0000 (13:14 -0400)]
LP#1668734: stamp DB update

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1668734: set max_delay, similar to stock courtesy email notice
Galen Charlton [Mon, 28 Aug 2017 17:11:29 +0000 (13:11 -0400)]
LP#1668734: set max_delay, similar to stock courtesy email notice

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1668734: pin ID of new A/T definition
Galen Charlton [Mon, 28 Aug 2017 16:55:50 +0000 (12:55 -0400)]
LP#1668734: pin ID of new A/T definition

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1668734 Action Trigger for SMS Preminder
McCanna [Thu, 20 Jul 2017 19:44:28 +0000 (15:44 -0400)]
LP#1668734 Action Trigger for SMS Preminder

New optional SMS text notification to be sent 3 days prior to the due
date of any circulating item for patrons who have an SMS text number
and carrier stored in their accounts. This action trigger is disabled
by default and can be enabled in Admin > Local Administration >
Notifications / Action Triggers.

Signed-off-by: McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
8 years agoLP#1698206: Stamping upgrade script for copy_vis_attr_cache
Kathy Lussier [Mon, 28 Aug 2017 15:21:16 +0000 (11:21 -0400)]
LP#1698206: Stamping upgrade script for copy_vis_attr_cache

Signed-off-by: Kathy Lussier <klussier@masslnc.org>
8 years agoLP#1698206: basic release notes entry
Galen Charlton [Thu, 17 Aug 2017 22:22:37 +0000 (18:22 -0400)]
LP#1698206: basic release notes entry

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>