analytics/test
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.
2022-10-10 08:55:58 -03:00
..
load Fix script path for k6 load test (#2068) 2022-07-29 09:00:50 -03:00
plausible Delete stats improvements (#2318) 2022-10-10 08:55:58 -03:00
plausible_web Allow super-admin Stats API access for locked sites (#2308) 2022-10-05 12:04:37 +02:00
support do not show invoices for free subscription (#2249) 2022-09-22 17:25:24 -03:00
workers Manually lock outgrown enterprise accounts (#2197) 2022-09-20 11:46:28 +03:00
test_helper.exs Remove Mimic dependency (#2280) 2022-10-03 11:41:51 -03:00