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
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_controller.ex improve transfer ownership error message (#2651) 4 years ago
external_sites_controller.ex Clean up after V2 migration (#2868) 4 years ago
external_stats_controller.ex Support `with_imported=true` in Stats API aggregate (#2919) 4 years ago
helpers.ex Block Stats API for locked sites (#2302) 4 years ago
internal_controller.ex Keep track of native stats start timestamp when retrieving data (#2715) 4 years ago
paddle_controller.ex Wrap paddle actions with DB transactions (#2558) 4 years ago
stats_controller.ex Support `with_imported=true` in Stats API aggregate (#2919) 4 years ago