fleet/website/api/controllers/webhooks
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
..
receive-from-customer-fleet-instance.js Website: Fix bug in customer migration webhook (#12277) 2023-06-09 19:06:25 -05:00
receive-from-github.js Website: Create Platform model and use platform record to track mergefreeze status. (#13681) 2023-09-05 16:31:40 -05:00
receive-from-stripe.js Website: Update error handling in Stripe webhook. (#13369) 2023-08-18 18:16:03 -05:00
receive-usage-analytics.js Website: Fix storedError metric reporting in receive-usage-analytics.js (#11404) 2023-04-27 17:40:10 -05:00