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
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
..
api Delete stats improvements (#2318) 4 years ago
site Allow admins to grant admin rights (#2216) 4 years ago
auth_controller.ex Delete stats improvements (#2318) 4 years ago
billing_controller.ex Redirect user after upgrading only when subscription is created (#2285) 4 years ago
helpers.ex Initial commit 7 years ago
invitation_controller.ex Allow admins to grant admin rights (#2216) 4 years ago
page_controller.ex Selhosted version Improvements and additional features (#209) 6 years ago
site_controller.ex Delete stats improvements (#2318) 4 years ago
stats_controller.ex Block Stats API for locked sites (#2302) 4 years ago
unsubscribe_controller.ex Add presence check when unsubscribing from email reports 6 years ago