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>
Wed, 1 May 2019 15:31:18 +0000 (11:31 -0400)
commitf5c6d937224b720628f25adbdc71a648ca7a70a9
tree6bc70e2195e2e3f296935a73c85397e67a546dda
parent5b3c8479d9db5ace05060ce82e7b71a851ef10fd
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>
16 files changed:
Open-ILS/src/eg2/src/app/common.module.ts
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/eg2/src/app/staff/staff.component.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