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/lib/plausible_web
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
..
components Implement Stats API feature gate (#3411) 3 years ago
controllers Implement Stats API feature gate (#3411) 3 years ago
live Implement Stats API feature gate (#3411) 3 years ago
mjml Update weekly_report.mjml.eex (#3313) 3 years ago
plugins Plugins API: 2nd pass with Goals resource + SharedLinks schema changes (#3396) 3 years ago
plugs Implement Stats API feature gate (#3411) 3 years ago
templates Implement Stats API feature gate (#3411) 3 years ago
views Refactor enterprise plan upgrade and change-plan actions (#3397) 3 years ago
captcha.ex Include tests for Captcha success/failure scenarios (#2344) 4 years ago
email.ex Apply unified capitalization to buttons and titles (#3321) 3 years ago
endpoint.ex Revert "Revert "Reconfigure session cookie (#3274)" (#3284)" (#3285) 3 years ago
live_socket.ex Revert "Revert "Reconfigure session cookie (#3274)" (#3284)" (#3285) 3 years ago
refinspector.ex [Continued] Google Analytics import (#1753) 5 years ago
remote_ip.ex Parse bunny header 5 years ago
router.ex Trigger email reverification on change (#3388) 3 years ago