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
Vinicius Brasil 0733efa89e
Delete stats improvements (#2318)
* Move clear stats functions to Plausible.Purge

* Delete both native and imported stats when deleting a site

This commit moves the delete site function to the Plausible.Purge
module, and fixes a bug where deleted sites could leave dangling
imported stats.

* Clear sites.stats_start_date after clearing stats

This commit fixes a bug where resetting stats left an invalid state of
the stats_start_date field, used for GA imports, for example.
4 years ago
..
external_controller.ex Refactor event struct creation function (#2098) 4 years ago
external_sites_controller.ex Delete stats improvements (#2318) 4 years ago
external_stats_controller.ex add upper bound to limit parameter (#2226) 4 years ago
helpers.ex Block Stats API for locked sites (#2302) 4 years ago
internal_controller.ex Update the internal /sites api to paginate results (#1824) 5 years ago
paddle_controller.ex Remove old Sentry code 6 years ago
stats_controller.ex Keep user filter when listing cities, countries, and regions stats (#2030) 4 years ago