You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test/plausible_web/controllers
Vini Brasil c0fe2a3996
Implement Stats API feature gate (#3411)
* Include ApiKey functions in Auth context

* Make feature notice work without %Site{}

Previously the extra feature notice required a %Site{} in order to check
the owner plan. However, not every feature is scoped by site, for
example the Stats API. For features like this, a %User{} is required,
and not a %Site{}.

This commit replaces the `:site` param with `:billable_user`, which is
common to both site and user-scoped features.

* Add stats_api to the list of extra features

* Limit API Key creation based on user plan
3 years ago
..
CSVs Filter out empty entries when listing stats for UTM props (#3339) 3 years ago
api Implement Stats API feature gate (#3411) 3 years ago
auth_controller add LOG_FAILED_LOGIN_ATTEMPTS (#2936) 4 years ago
site Feature gates (#3401) 3 years ago
admin_auth_controller_test.exs improve first launch experience for self-hosters (#2357) 4 years ago
auth_controller_sync_test.exs Fix email update flow for selfhosted setup with verification disabled (#3408) 3 years ago
auth_controller_test.exs Implement Stats API feature gate (#3411) 3 years ago
billing_controller_test.exs Refactor enterprise plan upgrade and change-plan actions (#3397) 3 years ago
error_report_controller_test.exs Funnel site settings (#3039) 3 years ago
invitation_controller_test.exs Feature gates (#3401) 3 years ago
page_controller_test.exs add landing page (#2989) 4 years ago
site_controller_test.exs Feature gates (#3401) 3 years ago
stats_controller_test.exs Remove Props FF (#3242) 3 years ago
unsubscribe_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago