analytics/test/plausible_web/controllers/api
RobertJoonas fa54efbc6d
Support with_imported=true in Stats API aggregate (#2919)
* default to source_query.include_imported before true

This fixes a bug where a Stats API aggregate query was trying
to query current period *without imported data* but previous
period *with imported data*.

* remove __internal_visits at a better time

As soon as we have made the db query, we don't need it anymore

* disallow events metric with imported data

* update changelog

* keep default in a better place

* remove unused option

* update test description

Co-authored-by: Vini Brasil <vini@hey.com>

---------

Co-authored-by: Vini Brasil <vini@hey.com>
2023-05-18 12:05:24 +02:00
..
external_stats_controller Support with_imported=true in Stats API aggregate (#2919) 2023-05-18 12:05:24 +02:00
stats_controller Fix a bug with query bindings (#2932) 2023-05-17 14:26:39 +02:00
external_controller_test.exs Clean up after V2 migration (#2868) 2023-04-24 12:17:57 +02:00
external_sites_controller_test.exs Clean up after V2 migration (#2868) 2023-04-24 12:17:57 +02:00
internal_controller_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 2023-03-27 13:52:42 +02:00
paddle_controller_test.exs Run tests in async mode where applicable (#2542) 2022-12-26 10:20:29 -03:00