LP1825896 Store workstations in Hatch when available
authorBill Erickson <berickxx@gmail.com>
Tue, 23 Apr 2019 14:57:31 +0000 (07:57 -0700)
committerBill Erickson <berickxx@gmail.com>
Mon, 5 Aug 2019 14:39:14 +0000 (10:39 -0400)
commit09f24e72d72231ca5f2fa268507183553e9ae624
tree05c34e4564aa3483ad8a9efeab6769f9af296a94
parentad4862a35d4801bbeb877709a00e68e71a92abfa
LP1825896 Store workstations in Hatch when available

When Hatch is enabled, use Hatch for storing workstation registration
information.

If workstations are found in localStorage, they are merged into the
collection of workstations stored in hatch and removed from
localStorage.

Include DB udpate to add workstation setting 'eg.hatch.enable.printing'
so that it may live on the server.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
14 files changed:
Open-ILS/src/eg2/src/app/core/auth.service.ts
Open-ILS/src/eg2/src/app/core/hatch.service.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/core/store.service.ts
Open-ILS/src/eg2/src/app/share/print/hatch.service.ts [deleted file]
Open-ILS/src/eg2/src/app/share/print/print.component.ts
Open-ILS/src/eg2/src/app/staff/admin/workstation/workstations/workstations.component.ts
Open-ILS/src/eg2/src/app/staff/login.component.ts
Open-ILS/src/eg2/src/app/staff/resolver.service.ts
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.hatch-enable-print.sql [new file with mode: 0644]
Open-ILS/web/js/ui/default/staff/admin/workstation/app.js
Open-ILS/web/js/ui/default/staff/app.js
Open-ILS/web/js/ui/default/staff/offline.js
Open-ILS/web/js/ui/default/staff/services/hatch.js