0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/ee/billing
Raquel Smith 4e53dc74b7
feat: sync distinct ids with billing (#16919)
* update billing distinct IDs on user join/leave org

* temporarily update on usage report send
to update existing orgs

* abstract a bit more

* update existing tests

* add billing_manager test for the method

* Update query snapshots

* specify date

* move outside the transaction

* cache the instance license

* use new instance license method in other places

* fix mypy and some tests

* Update query snapshots

* Update query snapshots

* fix caching in tests

* constrain try/except

* Update query snapshots

* make sure we hae license before update billing

* Update query snapshots

* Update query snapshots

* set to false if no instance license

* fix date

* Update query snapshots

* use correct var

* Update UI snapshots for `chromium` (1)

* clear license cache before running tests

* Update UI snapshots for `chromium` (2)

* Update UI snapshots for `chromium` (2)

* fix tests

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-17 11:41:25 -07:00
..
test feat: sync distinct ids with billing (#16919) 2023-08-17 11:41:25 -07:00
billing_manager.py feat: sync distinct ids with billing (#16919) 2023-08-17 11:41:25 -07:00
billing_types.py fix: small UI fixes for new billing API (#15024) 2023-04-11 09:52:46 -07:00
quota_limiting.py chore(usage-report): Stop charging for feature flag called events (#16226) 2023-07-26 08:13:18 -07:00