From 102f8a42841db8911fc6927ad032b82807e75a9e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 7 Jan 2020 00:57:17 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 12 ++++-------- ayanova/src/api/errorhandler.js | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index b498efaf..d7eeb84f 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -47,14 +47,6 @@ CURRENT TODOs SHELL / NAV / MENUS / LAYOUT - - -TODO: Errors - make sure all user displayed errors have an error number if they might be something tech support needs to know (case 1854) - - I guess this is a LT feature really - - Once start then make sure documented in manual?! - - Not sure it's going to be helpful as no one will ever read it, more important that we get the number for support and that the text is clear for the user - - TODO: Test when logging in and server is ops only due to license not installed - Does it work? - With ops level user? @@ -62,6 +54,10 @@ TODO: Test when logging in and server is ops only due to license not installed - So user can remotely fetch key and shit - Why not have server automatically fetch a trial license if it sees it's unlicensed? - Does DBID get changed on erase? + - WHAT IT SHOULD DO ACCORDING TO PLAN IN core-license-key-system.txt on server side: + - user installs raven, opens client. + - Client checks if server is licensed, if it isn't then it goes to a license request form in client + - User fills out form and submits. TODO: Change api docs regarding using api explorer, no longer necessary to put Bearer in the string diff --git a/ayanova/src/api/errorhandler.js b/ayanova/src/api/errorhandler.js index 43e58e97..ea3e85e6 100644 --- a/ayanova/src/api/errorhandler.js +++ b/ayanova/src/api/errorhandler.js @@ -119,6 +119,6 @@ API specific (logic) error codes are all in the range of 2000 to 3000 CLIENT ERROR CODES: E16 - ErrorUserNotAuthenticated E17 - ErrorServerUnresponsive -E18 - Misc api error during server call, details in the message +E18 - Misc error without a locale key, unexpected throws etc or api error during server call, details in the message / Any error without a locale key defined basically */