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/lib/plausible_web/controllers/api
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
..
external_controller.ex Replace Geolix with Locus (#2362) 4 years ago
external_sites_controller.ex Communicate site creation edge cases to the users (#2605) 4 years ago
external_stats_controller.ex Refine parallel application-side joins (#2564) 4 years ago
helpers.ex Block Stats API for locked sites (#2302) 4 years ago
internal_controller.ex Update the internal /sites api to paginate results (#1824) 5 years ago
paddle_controller.ex Wrap paddle actions with DB transactions (#2558) 4 years ago
stats_controller.ex Sentry cleanup (#2590) 4 years ago