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
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
4 years ago
..
CSVs Always show direct traffic in sources reports (#2531) 4 years ago
api Replace Geolix with Locus (#2362) 4 years ago
site Improve test coverage (#2392) 4 years ago
admin_auth_controller_test.exs improve first launch experience for self-hosters (#2357) 4 years ago
auth_controller_test.exs Cascade delete sent_renewal_notifications table when user is deleted (#2549) 4 years ago
billing_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago
invitation_controller_test.exs fix ownership transfer when is_selfhost=true (#2455) 4 years ago
site_controller_test.exs Communicate site creation edge cases to the users (#2605) 4 years ago
stats_controller_test.exs Pass interval param to CSV export (#2469) 4 years ago
unsubscribe_controller_test.exs Run tests in async mode where applicable (#2542) 4 years ago