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/controllers/api
Vini Brasil 896d78d8fd
Apply feature gates to dashboard queries (#3424)
* Read feature status from Billing.Feature instead of %Site{}

This commit changes data attributes passed to React. Previously the
controller read feature statuses directly from the %Site{} schema. The
Billing.Feature context is aware of the user plan and the features
available.

* Limit funnels internal API based on site owner plan

* Limit props internal API based on site owner plan

* Use site factory in QueryTest

* Limit custom property filter based on site owner plan

* Limit revenue goals queries based on site owner plan
3 years ago
..
external_controller.ex derive jason encoder for request (#3182) 3 years ago
external_sites_controller.ex Clean up after V2 migration (#2868) 4 years ago
external_stats_controller.ex Fix filter suggestions (#3265) 3 years ago
helpers.ex Block Stats API for locked sites (#2302) 4 years ago
internal_controller.ex Feature gates (#3401) 3 years ago
paddle_controller.ex Wrap paddle actions with DB transactions (#2558) 4 years ago
stats_controller.ex Apply feature gates to dashboard queries (#3424) 3 years ago