analytics/lib/plausible_web
Karl-Aksel Puulmann 58a66a952c
APIv2 - initial PR (#4216)
* WIP new querying

* WIP: Move some aggregate code under new command

* WIP: Add joins, handling less metrics

* join events table to sessions if needed

* Merge imported results with built query

* Remove dead code

* WIP: /api/v2/query

* Allow grouping by time

* Use JOIN for main query

* Build query result

* update parse_time

* Make joinless order by work

* First test

* more breakdown tests

* Serialize event:goal filters in an json-encodable way/reflection

* Handle inner vs outer ORDER BY clauses properly

* Handle single conversion_rate metric

* Update more tests

* Get parsing tests passing again

* Validate filtered goal filter is configured

* Enable more validation tests

* Enable more event:name breakdown tests

* Enable more breakdown tests

* Validate site has access to custom props

* Validate conversion_rate metric which is only allowed in some situations

* Validate that empty event:props: is not valid

* handle query.dimensions properly in table_decider

* test more validations on metrics/dimensions

* Validate session metrics in combination with event dimension(s)

* Tests cleanup

* Parse include.imports

* Get imports working with new querying

* Make more imports tests work

* Make event:props:path imports-adjacent test work

* Get query imports warning-related tests running

* Remove dead pagination tests

* Solve dead import

* Solve some warnings

* Update aggregate metrics tests

* credo

* Improve test naming

* Lazy goal loading

* Use datetime methods

* Ecto -> SQL module name

* Remove Expression.dimension mode option
2024-06-25 09:27:19 +03:00
..
components update runtime to elixir-1.17.1 and erlang-27.0 (#4255) 2024-06-24 13:22:33 +02:00
controllers APIv2 - initial PR (#4216) 2024-06-25 09:27:19 +03:00
live Reset captcha when captcha error is returned in registration form (#4238) 2024-06-18 09:36:52 +02:00
mjml remove Plausible Analytics metions from CE (#4121) 2024-05-23 09:43:01 +02:00
plugins/api Update deps - follow up to #4255 (#4267) 2024-06-24 16:50:19 +02:00
plugs Revert "Debug queries for super-admins (#4010)" (#4073) 2024-05-06 15:05:17 +02:00
templates update runtime to elixir-1.17.1 and erlang-27.0 (#4255) 2024-06-24 13:22:33 +02:00
two_factor Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00
views Add CRM QoL improvements around usage info and linking Paddle (#4229) 2024-06-17 09:21:24 +02:00
captcha.ex Include tests for Captcha success/failure scenarios (#2344) 2022-10-17 08:16:59 -03:00
email.ex remove Plausible Analytics metions from CE (#4121) 2024-05-23 09:43:01 +02:00
endpoint.ex Rename internal build symbols (#3942) 2024-04-29 08:05:33 +02:00
refinspector.ex Store referrers from android apps (#3715) 2024-03-21 17:45:34 +02:00
remote_ip.ex Unify default pricing currency selection (#4221) 2024-06-14 14:49:22 +02:00
router.ex APIv2 - initial PR (#4216) 2024-06-25 09:27:19 +03:00