This commit is contained in:
2020-06-08 19:42:26 +00:00
parent 0d654e05e5
commit 6349d39e56

View File

@@ -5,16 +5,63 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
WIFI change 5g channel to 52,56,60 and 2g channel to 8
recheck before doing as it seems to vary, maybe someone else's is auto switching
todo: User logs in with default manager account and it's NOT a trial database:
CLIENT UI immediately requires change of password on the spot then logs user out after successful change
todo: Administration - License
- view current license
- View and copy DBID (very important, they will need it to purchase manually)
- Erase all biz data (new route and command needed at back as currently it erases ops data as well I think)
- Request trial?
- Request trial license key?
- Have a button that triggers an immediate check for new license at rockfish
- Show last result of license check job?
todo: License testing (I know it's working when these things all pass)
ONBOARDING / BOOTSTRAPPING
NO LICENSE MODE
Client should show the default manager account login info prefilled, no offer of sample trial accounts
If they attempt to login without being *the* manager account and there's no license then server blocks login
Upon login it goes to an onboarding page that iterates through a set of tasks:
1) change password and save it immediately before next step
2) Client checks if there is a registered key for this db via server route:
EMPTY DB AND EXISTING LICENSED KEY IN RF If this DBID is already present in ROCKFISH as *licensed* and FETCHED previously then:
Form displays a message, at top about restoring with link to the manual for restoring db
Rest of form is related to releasing a previously fetched key:
Has a FETCH button on it for forcing a fetch when they have requested it or know it's coming or whatever and below that
A form to fill out to request it be released for re-fetch:
User must fill out form stating reason why and their contact info for verification
The request is emailed to us via Rockfish
We decide to release or not and can contact them etc to handle it
We can release it for refetch and then it's all automatic once daily check (maybe more frequent when unlicensed?) or they can force it
EMPTY DB AND DBID NOT IN ROCKFISH
User gets a form for requesting a trial
- by filling out a form in RAVEN (or using api tool)
- see "trial process" below for details
Form has fetch key button on it to force an immediate fetch
FUTURE: form displays a purchase link they can go to and make purchase inside RF
TRIAL LICENSE MODE
LOGIN: when trial license always takes user to trial form as their home form NOT dashboard
"TRIAL / EVALUATION" PAGE is available ROOT (where logout and widgets are)
Has helpful trial hints, links and tools
Purchase link
Manual link to evaluating?
Guided walkthroughs or links to them?
Erase data
so they can regen new data
or entere their own test data
if(DB empty)
Generate sample data
choose size etc
IF trial license has EXPIRED
Clear message saying trial has expired
Button to erase db and re-request a fresh trial key
Server is automatically checking for updated license periodically
once a day?
@@ -33,6 +80,7 @@ todo: License testing (I know it's working when these things all pass)
only allow ops routes
allow user to request a trial
todo: add system to reset password if lost
todo: Administration - Users
is this where roles are set?