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
Vini Brasil 2ab8453a57 Set with_imported=false in realtime mode (#3053)
This commit fixes a bug where timeseries queries - such as the main
graph - would fail with imported data in realtime mode. Realtime mode
`date` field is not actually a date, but minutes from now. This would
cause the imported tables join to fail with this error:

```
(Ch.Error Code: 53. DB::Exception: Can't infer common type for joined
columns: date: Int64 at left, s1.date: Date at right. There is no
supertype for types Int64, Date because some of them are
Date/Date32/DateTime/DateTime64 and some of them are not.
(TYPE_MISMATCH)
```

This commit removes imported data from realtime queries, as it doesn't
make sense to include it. Imported data does not have time precision,
and would only appear in the first day the data was imported anyways.
3 years ago
..
CSVs make CSV export return only conversions with goal filter (#2760) 4 years ago
api Set with_imported=false in realtime mode (#3053) 3 years ago
auth_controller add LOG_FAILED_LOGIN_ATTEMPTS (#2936) 4 years ago
site Upgrade phoenix (#2902) 4 years ago
admin_auth_controller_test.exs improve first launch experience for self-hosters (#2357) 4 years ago
auth_controller_test.exs Wrap user deletion in DB transaction (#2964) 4 years ago
billing_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago
error_report_controller_test.exs Prevent error reports from being sent with short feedback (#2635) 4 years ago
invitation_controller_test.exs fix ownership transfer when is_selfhost=true (#2455) 4 years ago
page_controller_test.exs add landing page (#2989) 4 years ago
site_controller_test.exs Revenue tracking: Add currency field to goal creation (#2948) 4 years ago
stats_controller_test.exs Associate goals with sites, not domains (#2828) 4 years ago
unsubscribe_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago