LP#1938835: always display the Angular portal, not the AngularJS one This patch ensures that when a user navigates to the staff home page, they will always see the Angular version, not the AngularJS version. Consequently, the AngularJS staff portal is now deprecated (and also does not need to learn how to be dynamic.) Sponsored-by: Pioneer Library System Signed-off-by: Galen Charlton <gmc@equinoxOLI.org> Signed-off-by: Mike Rylander <mrylander@gmail.com>
LP1869898 Make Angular staff catalog default Modifies Angular and AngJS templates and AngJS code to use the new Angular staff catalog as the default catalog for new catalog searches, record detail links, etc. The traditional client is left unmodified and remains accessible from the navigation menus. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
LP#1839361 Login page tile is confusing to screen readers Prior to this change, the login page, the splash page, and the about page in the staff client all used 'Home' as the page title, which caused accessibility problems. This change gives each its own title. Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org> Signed-off-by: Lynn Floyd <lfloyd1@library.in.gov> Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
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> Signed-off-by: Jason Boyer <JBoyer@eoli.info>
LP#1789747 SharedWorker sanity checks Avoid page load failures when SharedWorkers (for offline mode) are not supported. Additionally, disable the Offline Circulation menu option when SharedWorkers are not supported. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
LP#1718036 Webstaff about page Adds a simple About page showing the EG server version number, accessed from the "hamburger" (log out) menu. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Kathy Lussier <klussier@masslnc.org>
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>
LP#1467663 webstaff: login requires valid workstation Hide the workstation selector when no workstations are registered. After successful login, direct the user to the new workstation admin page to create a new workstation. After successful login with an invalid workstation, direct the user to the workstation admin page, issuing a 'remove' command to un-register the offending WS. On the WS admin page, the user can create a new workstation or select from their existing workstations. Any attempt to access a browser client interface (minus the WS admin page) without a valid workstation will cause the page to redirect to the workstation admin page. Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Mike Rylander <mrylander@gmail.com> Signed-off-by: Kathy Lussier <klussier@masslnc.org>
LP#1464350 Webstaff home page catalog search Search the catalog directly from the home/splash page in the browser client. A side effect of this commit is that it's now possible to jump directly to a set of search results in the embedded catalog by going to: /eg/staff/cat/catalog/results?<query-params> E.g. /eg/staff/cat/catalog/results?query=scores&qtype=subject Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Mike Rylander <mrylander@gmail.com>
LP#1350042 Browser client templates/scripts (phase 1) * Templates in Open-ILS/src/templates/staff/ * JS files in Open-ILS/web/js/ui/default/staff/ * Also includes a few TPAC modifications for embedded mode * Resurrects the pre-XUL user permission editor Signed-off-by: Bill Erickson <berick@esilibrary.com> Signed-off-by: Ben Shum <bshum@biblio.org>