]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1706107: Offline mode
authorMike Rylander <mrylander@gmail.com>
Mon, 20 Mar 2017 20:38:15 +0000 (16:38 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 30 Aug 2017 13:52:06 +0000 (09:52 -0400)
commit7c3cdbbd140865e07d08952422c82605ac8c5676
treec2c1dc29fe9d741bacd4bba7588a2660878faaf2
parent4bea26e2721cd0cb52f2a4a6f7b570e98a83b720
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>
34 files changed:
Open-ILS/src/offline/offline.pl
Open-ILS/src/templates/staff/admin/workstation/t_print_templates.tt2
Open-ILS/src/templates/staff/base_js.tt2
Open-ILS/src/templates/staff/circ/patron/reg_actions.tt2
Open-ILS/src/templates/staff/circ/patron/t_edit.tt2
Open-ILS/src/templates/staff/config.tt2
Open-ILS/src/templates/staff/index.tt2
Open-ILS/src/templates/staff/navbar.tt2
Open-ILS/src/templates/staff/offline-interface.tt2 [new file with mode: 0644]
Open-ILS/src/templates/staff/share/print_templates/t_offline_checkin.tt2 [new file with mode: 0644]
Open-ILS/src/templates/staff/share/print_templates/t_offline_checkout.tt2 [new file with mode: 0644]
Open-ILS/src/templates/staff/share/print_templates/t_offline_in_house_use.tt2 [new file with mode: 0644]
Open-ILS/src/templates/staff/share/print_templates/t_offline_renew.tt2 [new file with mode: 0644]
Open-ILS/src/templates/staff/share/t_datetime.tt2
Open-ILS/src/templates/staff/t_login.tt2
Open-ILS/web/LICENSE.UpUp [new file with mode: 0644]
Open-ILS/web/js/ui/default/staff/Gruntfile.js
Open-ILS/web/js/ui/default/staff/app.js
Open-ILS/web/js/ui/default/staff/circ/patron/regctl.js
Open-ILS/web/js/ui/default/staff/offline.js [new file with mode: 0644]
Open-ILS/web/js/ui/default/staff/package.json
Open-ILS/web/js/ui/default/staff/services/auth.js
Open-ILS/web/js/ui/default/staff/services/env.js
Open-ILS/web/js/ui/default/staff/services/file.js
Open-ILS/web/js/ui/default/staff/services/hatch.js
Open-ILS/web/js/ui/default/staff/services/idl.js
Open-ILS/web/js/ui/default/staff/services/lovefield.js [new file with mode: 0644]
Open-ILS/web/js/ui/default/staff/services/navbar.js
Open-ILS/web/js/ui/default/staff/services/org.js
Open-ILS/web/js/ui/default/staff/services/print.js
Open-ILS/web/js/ui/default/staff/services/startup.js
Open-ILS/web/js/ui/default/staff/services/ui.js
Open-ILS/web/upup.min.js [new file with mode: 0644]
Open-ILS/web/upup.sw.min.js [new file with mode: 0644]