analytics/lib/plausible_web/plugs
hq1 1d01328287
Allow domain change (#2803)
* Migration (PR: https://github.com/plausible/analytics/pull/2802)

* Implement Site.Domain interface allowing change and expiry

* Fixup seeds so they work with V2_MIGRATION_DONE=1

* Update Sites.Cache so it's capable of multi-keyed lookups

* Implement worker handling domain change expiration

* Implement domain change UI

* Implement transition period for public APIs

* Exclude v2 tests in primary test run

* Update lib/plausible_web/controllers/site_controller.ex

Co-authored-by: Vini Brasil <vini@hey.com>

* Update lib/plausible_web/controllers/site_controller.ex

Co-authored-by: Vini Brasil <vini@hey.com>

* Update moduledoc

* Update changelog

* Remove remnant from previous implementation attempt

* !fixup

* !fixup

* Implement domain change via Sites API

cc @ukutaht

* Update CHANGELOG

* Credo

* !fixup commit missing tests

* Allow continuous domain change within the same site

---------

Co-authored-by: Vini Brasil <vini@hey.com>
2023-04-04 10:55:12 +02:00
..
auth_plug.ex OpenTelemetry (OTEL) Implementation (#2317) 2022-10-18 12:11:30 -03:00
authorize_site_access.ex OpenTelemetry (OTEL) Implementation (#2317) 2022-10-18 12:11:30 -03:00
authorize_sites_api.ex Add limit of 20 sites 2021-05-05 10:30:05 +03:00
authorize_stats_api.ex Allow domain change (#2803) 2023-04-04 10:55:12 +02:00
crm_auth_plug.ex Allow admin access to locked dashboards (#1710) 2022-02-23 13:48:33 -06:00
favicon.ex Add Content-Security-Policy to favicon Plug (#2489) 2022-12-02 06:33:24 -03:00
first_launch_plug.ex improve first launch experience for self-hosters (#2357) 2022-11-10 12:42:22 +01:00
last_seen_plug.ex Formatting only changes - No code change (#75) 2020-06-08 10:35:13 +03:00
require_account.ex Add ability to delete account and start over in activate flow 2021-04-01 10:43:32 +03:00
require_logged_out.ex Add elixir action (#526) 2020-12-29 15:17:27 +02:00
session_timeout_plug.ex Formatting only changes - No code change (#75) 2020-06-08 10:35:13 +03:00
tracker.ex Rename dimensions script to pageview-props (#2786) 2023-03-27 17:50:15 +03:00