From 52866a4af8a1d7f9f8bfaf768d7b022f9da10c66 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 3 Jan 2022 19:45:28 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 8 ++++---- ayanova/src/api/initialize.js | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 8347e421..aa5e9ae7 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -243,9 +243,6 @@ TODO: 1 BETA DOCS: \_____|______|_____|______|_| \_| |_| - -- 1 todo: Unlicensed doesn't allow any troubleshooting info, make sure that the user can still get to ops when unlicensed and view server configuration or whatever - is required to troubleshoot failed install - 1 bugbug?:open vendor, print report, go back it shows as savable all of a sudden despite no changes made in UI, also does not give dirty save prompt when leave it even though save icon is showing enabled bold - 1 fixed?? changed to attachment files path : for some reason user files path is blank in server settings under ops in ayanova app on linux desktop when using the single data path folder, check in windows @@ -837,10 +834,13 @@ Current v8 docs home: https://www.ayanova.com/docs/ BUILD 8.0.0-beta.0.9 CHANGES OF NOTE +- No schema changes but there are translation key changes so wiping data is optional but will see untranslated text if do not generate new db - Upgraded Windows Standalone version of PostgresSQL to 14.1 from 14.0 - data table now clears selected records array properly when change or remove filter and also when deselect all from the select all checkbox at top - added Download menu item to ops->logs so that user can download the current log file being viewed - +- opened up log files and server configuration even when server is locked to allow for troubleshooting ability with locked server +- changed unlicensed mode at client from only showing a license option in menu to now showing a limited OPS section with view logs and view server config as options + this allows troubleshooting a not yet licensed server installation and also for when a license expires "unexpectedly" diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 6a490ae9..cd3c2d25 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -170,6 +170,40 @@ function initNavPanel() { key++, "license" ); + + //add some diagnostic ops features in case that's needed to resolve license issue + sub = []; + // LOGS + if (window.$gz.role.canOpen(window.$gz.type.LogFile)) { + sub.push({ + title: "ServerLog", + icon: "$ayiHistory", + route: "/ops-log", + key: key++ + }); + } + // OPS VIEW SERVER CONFIGURATION + if (window.$gz.role.canOpen(window.$gz.type.GlobalOps)) { + sub.push({ + title: "ViewServerConfiguration", + icon: "$ayiInfoCircle", + route: "/ops-view-configuration", + key: key++ + }); + } + + // ** OPERATIONS (TOP) + if (sub.length > 0) { + addNavItem( + "Operations", + "$ayiServer", + undefined, + sub, + key++, + "operations" + ); + } + window.$gz.store.commit("setHomePage", "/adm-license"); return; }