analytics/test/plausible_web/controllers
Adam Rutkowski 1a4b65c36c
Communicate site creation edge cases to the users (#2605)
* Fingerprint DBConnection.ConnectionError in Sentry

* Check events before creating a site

* Enable sites limit screen

* Remove debugging remnant

* Fix buggy assertions

This wasn't doing what expected:

  iex(1)> Repo.exists?(Plausible.Site, domain: "foo")
  [debug] QUERY OK source="sites" db=0.6ms idle=1906.2ms
  SELECT TRUE FROM "sites" AS s0 LIMIT 1 []

* Encapsulate check to satisfy credo

* Use less technically involved error message

* Bring back e-mail to the limit error message
2023-01-19 15:03:18 +01:00
..
api Replace Geolix with Locus (#2362) 2023-01-17 12:05:09 -03:00
CSVs Always show direct traffic in sources reports (#2531) 2022-12-19 13:40:21 +01:00
site Improve test coverage (#2392) 2022-10-27 08:39:34 +02:00
admin_auth_controller_test.exs improve first launch experience for self-hosters (#2357) 2022-11-10 12:42:22 +01:00
auth_controller_test.exs Cascade delete sent_renewal_notifications table when user is deleted (#2549) 2023-01-02 11:46:18 -03:00
billing_controller_test.exs Run tests in async mode where applicable (#2542) 2022-12-26 10:20:29 -03:00
invitation_controller_test.exs fix ownership transfer when is_selfhost=true (#2455) 2022-11-24 16:18:29 +02:00
site_controller_test.exs Communicate site creation edge cases to the users (#2605) 2023-01-19 15:03:18 +01:00
stats_controller_test.exs Pass interval param to CSV export (#2469) 2022-11-25 10:53:22 +02:00
unsubscribe_controller_test.exs Run tests in async mode where applicable (#2542) 2022-12-26 10:20:29 -03:00