* revert any changes to local updates to current_amount_usd, keep changes in current_usage accumulation
* fix tests
* add some text saying the dollar values update once daily
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* add in banner about tiers data
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* everything except plugin server and sync_available_features
* sync_available_features_done, some plugin_server done?
* and a tiny bit more
* linting
* try to fix some tests
* more test fixes/
* clean up typos
* weed wacking bugs
* more test shenanigans
* fix plugin server
* actually fix plugin server test?
* still fixing tests
* another attempt
* some pr feedback
* small fix
* fix database query accessor
* fix functional tests
* fix tests
* Update query snapshots
* Update query snapshots
* Update query snapshots
* update some comments and fxn names
* fix plugin server test
* Update query snapshots
* Update query snapshots
* Update query snapshots
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Add `test_insight_refreshing_query_async`
It's red.
* Allow `enqueue_process_query_task` short circuit if cache warm
* Make cache key consistent between sync and async execution
* Remove obsolete comment
* Fix test_execute_async.py
* Fix `execute_process_query` call
* Fix `enqueue_process_query_task` call
* Update expected cache keys
This is to be expected, because now `get_cache_key()` returns the _full_ cache key, i.e. including f"...._{self._limit_context_aliased_for_cache}_v2".
* Update mypy-baseline.txt
* Make `process_query_...` return actual model instances
This makes `CacheMissResponse` checks easy and obvious.
* Fix post-refactor issues
* Stabilize `test_create_two_similarly_named_organizations`
It looks like we're calling `random()` at some point now, which causes the test to see a different disambiguated org slug than before. But this test should not rely on that – `choice()` just needs to be mocked.
* add warning about auto paying open invoices on unsubscribe modal
* Update frontend/src/scenes/billing/UnsubscribeSurveyModal.tsx
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
* undo lemoncollapse
* wip
* some small tweaks
* Update UI snapshots for `chromium` (1)
* some dict accessor wrappers just in case
* add fix for sentry error
* wrong syntax for raising exception
---------
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* retrieve open invoices as part of /billing loading, show warning
* small fixes
* address pr feedback
* small grammar update
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (1)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* update tiers usage with local org usage information
* type finagling
* update addon tiers as well
* test
* Update ee/billing/billing_manager.py
* update tests
---------
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
* show error messages on billing page
* some more updates
* extraneous exception and pr feedback
* Move error display into the unsubscribe modal
* Only show link to stripe if the error detail is about open invoices
* Update frontend/src/scenes/billing/billingLogic.tsx
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>
* remove opensupportform from billingLogic
---------
Co-authored-by: Raquel Smith <raquelmsmith@users.noreply.github.com>