analytics/test/plausible_web
Karl-Aksel Puulmann 2eeaf7a152
APIv2: Aggregates, timeseries, conversion_rate, hostname (#4251)
* Add some aggregates tests

* Port aggregates tests to do with filtering

* Session metrics can be queried with event: filters

* Solve a typo

* Update a validation message

* Add validations for views_per_visit

* Port an aggregation/imports test

* Optimize time dimension, add tests

* Add first timeseries test, update parsing tests

* Docs for SQL.Expression

* Test timeseries more

* Allow time explicitly in order_by

* Add multiple breakdowns test

* Refactor QueryOptimizer not to care about time dimension placement in dimensions array

* Add test breaking down by event:hostname

* Add hostname filtering logic to QueryOptimizer, unblock some tests

* WIP: Breakdown by goal

* conversion rate logic for query api

* Update more tests

* Set default order_by

* dimension_label

* preloaded_goals in tests

* inline load_goals

* Use Date functions over Timex

* Comments

* is_binary

* Remove special form used in tests

* Fix defmodule

* WIP: Fix memory leak, event:page breakdown logic

* Enable more tests, fix for group_conversion_rate without explicit visitors metric

* Re-enable a partially commented test

* Re-enable a partially commented test

* Get last test passing

* No imports order_by in apiv2

* Add a TODO

* Remove redundant Util call

* Update aggregate.ex

* Remove problematic test
2024-06-28 08:59:54 +03:00
..
components/billing update runtime to elixir-1.17.1 and erlang-27.0 (#4255) 2024-06-24 13:22:33 +02:00
controllers APIv2: Aggregates, timeseries, conversion_rate, hostname (#4251) 2024-06-28 08:59:54 +03:00
live Count pending ownership sites towards account usage on the upgrade page (#4277) 2024-06-27 12:09:15 +03:00
plugins/api Fix CE Stats API access (#4244) 2024-06-20 09:32:21 +02:00
plugs Revert "Debug queries for super-admins (#4010)" (#4073) 2024-05-06 15:05:17 +02:00
views Upgrade Erlang/Elixir stack (#3454) 2023-10-24 10:33:48 +02:00
captcha_test.exs Google APIs integration improvements (#2358) 2022-10-24 09:34:02 +02:00
email_test.exs Rename internal build symbols (#3942) 2024-04-29 08:05:33 +02:00