fleet/website/config
Eric 47227d7bd3
Website: add Fleet Sandbox waitlist (#13028)
Changes:
- Added a new config variable:
`sails.config.custom.fleetSandboxWaitlistEnabled`
- Added a new attribute to the website's `user` model:
`inSandboxWaitlist`
- Updated `signup.js` to create user accounts without a Fleet sandbox
instance and `inSandboxWaitlist` set to true if
`sails.config.custom.fleetSandboxWaitlistEnabled` is true.
- Added /try-fleet/waitlist, a page that shows a message to users who
have been added to the Fleet sandbox waitlist.
- renamed`view-sandbox-teleporter-or-redirect-because-expired.js` to
`view-sandbox-teleporter-or-redirect-because-expired-or-waitlist.js` and
updated it to redirect users who are on the Fleet Sandbox waitlist to
/try-fleet/waitlist

Before this PR can be merged, we need to:
- [x] Add `sails.config.custom.fleetSandboxWaitlistEnabled` config
variable in Heroku.
- [x] Add the new attribute to the user table in the website's database
- [x] Update existing `user` records to have the new attribute (set to
false)
..
2023-07-28 18:56:54 -05:00
..
env Website update production config (#9410) 2023-01-20 15:05:52 -06:00
locales Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
blueprints.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
bootstrap.js Website: Fleet Sandbox (#6380) 2022-08-12 17:31:01 -05:00
custom.js Deduplicate config, auto-remove #g-ceo and #handbook labels when appropriate, improve comments (#12915) 2023-07-22 14:07:54 -05:00
datastores.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
globals.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
http.js Website: Update Fleet website's body parser limit (#11701) 2023-05-16 12:09:02 -05:00
i18n.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
log.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
models.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
policies.js Website: add Fleet Sandbox waitlist (#13028) 2023-07-28 18:56:54 -05:00
routes.js Website: add Fleet Sandbox waitlist (#13028) 2023-07-28 18:56:54 -05:00
security.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
session.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
sockets.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00
views.js Move fleetdm.com into main Fleet repo (#83) 2020-12-02 14:48:03 -06:00