fleet/website/api
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
..
controllers Website: Create Platform model and use platform record to track mergefreeze status. (#13681) 2023-09-05 16:31:40 -05:00
helpers Website: Add admin page to manage the Fleet Sandbox waitlist (#13111) 2023-08-04 18:32:00 -05:00
hooks/custom Website: Add override sails.LOOKS_LIKE_ASSET_RX value (#11021) 2023-04-12 11:10:46 -05:00
models Website: Create Platform model and use platform record to track mergefreeze status. (#13681) 2023-09-05 16:31:40 -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