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/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>
4 years ago
..
external_stats_controller Support `with_imported=true` in Stats API aggregate (#2919) 4 years ago
stats_controller Fix a bug with query bindings (#2932) 4 years ago
external_controller_test.exs Clean up after V2 migration (#2868) 4 years ago
external_sites_controller_test.exs Clean up after V2 migration (#2868) 4 years ago
internal_controller_test.exs Conditionally support switching between v1 and v2 clickhouse schemas (#2780) 4 years ago
paddle_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago