mirror of
https://github.com/plausible/analytics.git
synced 2024-12-23 09:33:19 +03:00
b86c2e715f
* Pre-emptively introduce `site.team_owner` relation
* Drop null constraint on user_id from subscriptions and enterprise_plans
* Temporarily remove populating old schemas in Teams.Test
* Point to site.owner via new schema
* Switch more reads to teams schema WIP
* Fix AuhtorizeSiteAccess test
There's no need to translate `admin`<->`editor` here,
the redundancy is inlined wherever the plug is initialized.
* Fix regions test
* Fix main graph test
* Fix authorization test
* Try to rely on team for subscription/plans where applicable
* Test fixes
* Fix plans test
* Prep for CheckUsage changes
* Skip remaining CheckUsage tests for now
* Fix user deletion to account for team relations
* Fix HelpScout tests
* 💀 Modify ingestion to read team schemas
* Made all tests green except skipped ones
* Mute warnings about transferring site with no order
By making artificial site membership struct,
when reading data off team membership schema.
* Fix site removal test case
* Re-enable locked site tests, that don't have to rely on `SiteLocker`
* Format
* Revert "Mute warnings about transferring site with no order"
This reverts commit
|
||
---|---|---|
.. | ||
teams | ||
conn_case.ex | ||
data_case.ex | ||
exchange_rate_mock.ex | ||
factory.ex | ||
google_api_mock.ex | ||
html.ex | ||
http_mocker.ex | ||
live_view_test_fix.ex | ||
paddle_api_mock.ex | ||
plugins_api_case.ex | ||
test_controller.ex | ||
test_utils.ex |