This commit is contained in:
52
notes/todo
52
notes/todo
@@ -5,6 +5,11 @@ no need to do anything fancy with UI, just the bare minimum for now as I will be
|
||||
|
||||
CHANGES
|
||||
|
||||
FOR TRIALS:
|
||||
=-=-=-=-=-
|
||||
|
||||
Trial key is 45 days time limited and has everything enabled, i.e. fullest possible feature set so we don't need to add any particular products or anything
|
||||
|
||||
Put trials in their own tables not in regular customers
|
||||
"TrialRequest"
|
||||
id integer PRIMARY key
|
||||
@@ -18,26 +23,49 @@ Put trials in their own tables not in regular customers
|
||||
processed timestamp
|
||||
status enum 0=notset, 1=approved, 2=rejected
|
||||
rejectreason text
|
||||
generated key text
|
||||
key retrieved timestamp
|
||||
KEY as generated text
|
||||
key fetched timestamp
|
||||
|
||||
Add "trial" table mirroring purchase table but with trial stuff in it
|
||||
CREATE TABLE trial (id INTEGER PRIMARY KEY, trialrequest_id integer not null, productCode text, FOREIGN KEY (trialrequest_id) REFERENCES trialrequest(id) ON DELETE CASCADE)
|
||||
Add minimal barebones ui for this under main top menu beside customers "Trials"
|
||||
Display list of trialrequests sorted by most requested timestamp desc
|
||||
open record to edit form which has all fields
|
||||
has PROCESS button which triggers process of status
|
||||
events triggered upon PROCESS BUTTON, NOT ON SAVE ALONE
|
||||
Upon PROCESS
|
||||
timestamp record processed
|
||||
if approved
|
||||
generate standard key with all features for 45 days
|
||||
email approval
|
||||
if rejected send reject message with reason if exists
|
||||
|
||||
Add minimal ui for this under main top menu beside customers "Trials"
|
||||
going to make a full ui later with vuetify so just do the bare minimum nothing more
|
||||
display a list of active trials
|
||||
optionaly way to view old trials?
|
||||
routes:
|
||||
Add request trial route
|
||||
update license check route to check trials for dbid and key fetched timstamp empty and return trial key
|
||||
|
||||
|
||||
Rename SITE to DATABASE in the UI (keep as site in code)
|
||||
SITE UI AND TABLE
|
||||
Remove UI AND DB: SERVER BITS, SERVER OS, DB TYPE (old dbtype)
|
||||
Remove DB: trial bool, (Purchases present indicate status of customer, trial is assumed)
|
||||
|
||||
FOR SALES:
|
||||
=-=-=-=-=-
|
||||
|
||||
SITE UI AND TABLE
|
||||
ADD LEGACY_V7 as a bool, set all to true (V8 is the default going forward and assumed to be true)
|
||||
ADD DBID as text (and ui)
|
||||
|
||||
LICENSE TABLE
|
||||
Add DBID as text to table for v8 keys
|
||||
|
||||
LicenseView UI
|
||||
Add dbid as field readonly
|
||||
|
||||
KEYGEN
|
||||
modify with tabs for v8 and v7 version
|
||||
for v8 the key is stored in the table same as v7 but with dbid and different format (obvs)
|
||||
|
||||
route:
|
||||
rvfcontroller checks license table and trial table, looks for unfetched key
|
||||
checks license first for unfetched and matching dbid
|
||||
checks trial second for unfetched and matching dbid
|
||||
|
||||
|
||||
|
||||
API
|
||||
|
||||
Reference in New Issue
Block a user