0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00
posthog/ee/billing
Bianca Yang 376fb232ae
feat: Implement Quota Limiting Suspension Strategy (#20469)
* add db field, add automatic scoring mechanism, update billing response types

* implement score override system

* add migration file, small change

* add model fields, fix ff implementation

* add is_hipaa field to organization
* fix ff quota_limiting implementation so only not already limited orgs have limiting suspended

* update automatic limiting logic, existing tests

* update ff test

* beefing up tests

* Update query snapshots

* Update query snapshots

* Update query snapshots

* rebase upon customer score pr

* Update query snapshots

* typo fix

Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>

* remove needs_save, claen up migration

* Update query snapshots

* Update query snapshots

* another set of small cleanup

* Update query snapshots

* Update query snapshots

* fix type errors

* Update query snapshots

* tests and typing

* actually fix tests

* Update query snapshots

* Update query snapshots

* Update query snapshots

* update fields to match backend

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* Update query snapshots

* some pr comments

* undo migrations as they are moved to another pr

* undo model changes to organization

* Update query snapshots

* Update query snapshots

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
2024-03-07 10:15:11 -08:00
..
test feat: Implement Quota Limiting Suspension Strategy (#20469) 2024-03-07 10:15:11 -08:00
billing_manager.py feat: Implement Quota Limiting Suspension Strategy (#20469) 2024-03-07 10:15:11 -08:00
billing_types.py feat: Implement Quota Limiting Suspension Strategy (#20469) 2024-03-07 10:15:11 -08:00
quota_limiting.py feat: Implement Quota Limiting Suspension Strategy (#20469) 2024-03-07 10:15:11 -08:00