fleet/website/api
Eric 867029e9c0
Website: Add Fleet Premium trial to get started questionnaire. (#21922)
Related to: #18869

Changes:
- Updated the /start questionnaire to generate a 30 day, 10 host trial
for Fleet Premium when users submit the step before the "Is it any
good?" step (Where the user is directed to try `fleetctl preview`) and
to save the details (license key and expiration timestamp) of the trial
to their user record.
- Added two new attributes to the User model:
- `fleetPremiumTrialLicenseKey`: A Fleet Premium license key that was
generated for the user when they progressed through the get started
questionnaire.
- `fleetPremiumTrialLicenseKeyExpiresAt`: A JS timestamp of when the
user's Fleet Premium trial license key expires.
- Updated the try-fleet page to have copyable terminal commands, and to
add the `--license_key` flag with the users license key to the command
to run `fleetctl preview`
2024-09-12 17:37:48 -05:00
..
controllers Website: Add Fleet Premium trial to get started questionnaire. (#21922) 2024-09-12 17:37:48 -05:00
helpers Website: requested changes from website backend code review (#21934) 2024-09-10 14:36:01 -05:00
hooks/custom Website: Track reason behind psychological stage changes in start flow. (#21483) 2024-08-24 13:40:12 -06:00
models Website: Add Fleet Premium trial to get started questionnaire. (#21922) 2024-09-12 17:37:48 -05:00
policies Website: Add admin tool for generating Fleet Premium licenses. (#8478) 2022-12-05 14:53:16 -06:00
responses Website: Fleet Sandbox (#6380) 2022-08-12 17:31:01 -05:00