fleet/website/config
Eric ac8150a319
Website: Create Platform model and use platform record to track mergefreeze status. (#13681)
Closes: #11755

Changes:
- Created a new model: `Platform` that has a single attribute:
`currentUnfrozenGitHubPrNumbers`
- Updated bootstrap.js to throw an error if more than one platform
record exists, and to create a platform record when the server is lifted
with the `--drop` flag.
- Updated the receive-from-github webhook to use a Platform record to
track the PRs that are currently unfrozen in the fleetdm/fleet repo.

Before this Pr is merged, we will need to:
- [x] Migrate the Fleet website's database to add the new database
table.
- [x] Create a single platform record.
2023-09-05 16:31:40 -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: Create Platform model and use platform record to track mergefreeze status. (#13681) 2023-09-05 16:31:40 -05:00
custom.js Automation: Bust out individual maintainership for issue templates o… (#13541) 2023-08-26 19:44:55 -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: increase body parser limit (#13334) 2023-08-15 21:35:21 -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 Migrate Deploy Fleet on Render to docs. (#13017) 2023-08-31 10:15:52 -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