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
|
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
|
Put trials in their own tables not in regular customers
|
||||||
"TrialRequest"
|
"TrialRequest"
|
||||||
id integer PRIMARY key
|
id integer PRIMARY key
|
||||||
@@ -18,26 +23,49 @@ Put trials in their own tables not in regular customers
|
|||||||
processed timestamp
|
processed timestamp
|
||||||
status enum 0=notset, 1=approved, 2=rejected
|
status enum 0=notset, 1=approved, 2=rejected
|
||||||
rejectreason text
|
rejectreason text
|
||||||
generated key text
|
KEY as generated text
|
||||||
key retrieved timestamp
|
key fetched timestamp
|
||||||
|
|
||||||
Add "trial" table mirroring purchase table but with trial stuff in it
|
Add minimal barebones ui for this under main top menu beside customers "Trials"
|
||||||
CREATE TABLE trial (id INTEGER PRIMARY KEY, trialrequest_id integer not null, productCode text, FOREIGN KEY (trialrequest_id) REFERENCES trialrequest(id) ON DELETE CASCADE)
|
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"
|
routes:
|
||||||
going to make a full ui later with vuetify so just do the bare minimum nothing more
|
Add request trial route
|
||||||
display a list of active trials
|
update license check route to check trials for dbid and key fetched timstamp empty and return trial key
|
||||||
optionaly way to view old trials?
|
|
||||||
|
|
||||||
Rename SITE to DATABASE in the UI (keep as site in code)
|
|
||||||
SITE UI AND TABLE
|
FOR SALES:
|
||||||
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)
|
|
||||||
|
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 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)
|
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
|
API
|
||||||
|
|||||||
Reference in New Issue
Block a user