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>
Fri, 24 May 2019 14:56:12 +0000 (10:56 -0400)
commit5302c747d854829eab6dca7c6519d8d6c2fe2f81
treefe3947a3b6329a70b7a9bc78c5d16b9f363565c5
parent78389b7bc689069cec741b583cb1bd8b6353a161
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