Messages you send us.
@@ -60,6 +71,10 @@
- a session cookie that keeps you signed in;
- a CSRF token that protects forms from cross-site requests;
+ -
+ a security cookie that our content delivery network, Cloudflare, may set
+ when it checks that a request is not automated abuse;
+
- a colour-mode preference stored in your browser.
-
an analytics opt-out preference stored in your browser's local storage,
@@ -67,11 +82,12 @@
- We do not use advertising cookies, third-party analytics, or cross-site
- tracking. Our analytics is self-hosted Matomo and is configured without
- cookies. You can clear these entries at any time in your browser settings;
- doing so will sign you out, reset your colour mode, and reset your
- analytics preference.
+ We do not use advertising cookies, analytics cookies, or cross-site
+ tracking. The only cookie not set by this site is Cloudflare's security
+ check described above; our analytics is self-hosted Matomo and is
+ configured without cookies. You can clear these entries at any time in
+ your browser settings; doing so will sign you out, reset your colour mode,
+ and reset your analytics preference.
Analytics
@@ -79,9 +95,9 @@
We use a self-hosted Matomo instance at
analytics.owenrees.eu
to understand aggregate use of the public site and guest trainer. It is
- configured without cookies, with IP anonymisation, and to respect Do Not
- Track. We do not use user IDs, track signed-in account pages, or share
- this data with third parties.
+ configured without cookies, with IP addresses shortened before storage,
+ and to respect Do Not Track. We do not use user IDs, track signed-in
+ account pages, or share this data with third parties.
Raw analytics data is retained for up to 180 days. We process it on the
@@ -148,15 +164,38 @@
to object to this processing; to do so, contact us using the address below.
+ Hosting and infrastructure
+
+ The site runs on a virtual private server operated for us by Hetzner
+ inside the European Union. Our database runs on the same server, our
+ transactional email is sent through Amazon SES in the EU, and our
+ self-hosted Matomo analytics runs on infrastructure we control in the EU.
+
+
+ We also use Cloudflare as our content delivery network and security proxy.
+ Because Cloudflare sits between your browser and our server, it processes
+ your IP address, the requested URL, and request headers. Cloudflare is a
+ US company, so that request data may be transferred outside the UK and
+ EEA. The transfer relies on the EU–US Data Privacy Framework and standard
+ contractual clauses. Cloudflare and Hetzner each keep their own logs
+ under their own retention policies; we do not receive or keep them.
+
+
+ These providers act as our processors under data protection law. We share
+ with them only what they need to run the service, and we remain
+ responsible for how your information is handled.
+
+
Sharing
- We do not sell your personal information. We share it only with providers
- who help us run the site — for example hosting, database, and email
- delivery providers — and only as far as they need it to perform that work.
- Self-hosted Matomo analytics is operated by us on infrastructure we
- control; we do not share that data with third parties. We may also
- disclose information where the law requires it or to protect the rights
- and safety of our users.
+ We do not sell your personal information. We share it only with the
+ providers described under
+ hosting and infrastructure
+ — our hosting, content delivery, database, and email delivery providers —
+ and only as far as they need it to perform that work. Self-hosted Matomo
+ analytics is operated by us on infrastructure we control; we do not share
+ that data with third parties. We may also disclose information where the
+ law requires it or to protect the rights and safety of our users.
Retention
@@ -166,6 +205,15 @@
reasonable period, except where we must keep records for legal, security,
or accounting reasons. We retain raw analytics data for up to 180 days.
+
+ Two exceptions are worth naming. If you unsubscribe from the mailing list,
+ or ask us not to email you, we keep your address on a suppression list so
+ that we do not contact you again; we hold only what is needed to recognise
+ the address. We also keep database backups for disaster recovery, stored
+ off the primary server, so a deleted account may remain in a backup for
+ some time after deletion. We do not use backups to restore individual
+ accounts, and we delete them once they are no longer needed.
+
Your rights
@@ -178,13 +226,6 @@
authority.
- Children
-
- The service is not directed at children under 13, and we do not knowingly
- collect their personal information. If you believe a child has created an
- account, contact us and we will remove it.
-
-
Changes
We may update this policy as the service changes. When we do, we will
diff --git a/lib/chesstrainer_web/controllers/page_html/terms_conditions.html.heex b/lib/chesstrainer_web/controllers/page_html/terms_conditions.html.heex
index c7f6207..1de8c54 100644
--- a/lib/chesstrainer_web/controllers/page_html/terms_conditions.html.heex
+++ b/lib/chesstrainer_web/controllers/page_html/terms_conditions.html.heex
@@ -3,13 +3,20 @@
Terms & Conditions
- Last updated: 6 November 2026
+ Last updated: 10 November 2026
These terms govern your use of {Branding.name()}. By browsing the site, using
the guest trainer, or creating an account, you agree to them. If you do not
agree, please do not use the service.
+
+ {Branding.name()} is operated by Owen REES, entrepreneur individuel (EI),
+ established in France, business register number (SIRET)
+ 929 553 774 00019. Full publisher details are on the
+ mentions légales
+ page.
+
The service
@@ -26,6 +33,10 @@
Accounts
- You must be at least 13 years old to create an account.
+ -
+ If you are under 16 and in the UK or EU, you may only use an account
+ with the consent of a parent or guardian.
+
- Give accurate information and keep it up to date.
- Keep your password private and tell us promptly about unauthorised use.
- You are responsible for activity that happens under your account.
diff --git a/lib/chesstrainer_web/controllers/sitemap_controller.ex b/lib/chesstrainer_web/controllers/sitemap_controller.ex
index e9b0b14..1cea4b4 100644
--- a/lib/chesstrainer_web/controllers/sitemap_controller.ex
+++ b/lib/chesstrainer_web/controllers/sitemap_controller.ex
@@ -14,7 +14,8 @@ defmodule ChesstrainerWeb.SitemapController do
urls = [
url(conn, ~p"/"),
url(conn, ~p"/privacy"),
- url(conn, ~p"/terms-conditions")
+ url(conn, ~p"/terms-conditions"),
+ url(conn, ~p"/mentions-legales")
]
conn
diff --git a/lib/chesstrainer_web/plugs/prelaunch.ex b/lib/chesstrainer_web/plugs/prelaunch.ex
index 94624a7..acd252f 100644
--- a/lib/chesstrainer_web/plugs/prelaunch.ex
+++ b/lib/chesstrainer_web/plugs/prelaunch.ex
@@ -15,6 +15,7 @@ defmodule ChesstrainerWeb.Plugs.Prelaunch do
/
/privacy
/terms-conditions
+ /mentions-legales
/health
/robots.txt
/sitemap.xml
diff --git a/lib/chesstrainer_web/router.ex b/lib/chesstrainer_web/router.ex
index 54d8deb..55bcfb9 100644
--- a/lib/chesstrainer_web/router.ex
+++ b/lib/chesstrainer_web/router.ex
@@ -33,6 +33,7 @@ defmodule ChesstrainerWeb.Router do
get "/", PageController, :home
get "/privacy", PageController, :privacy
get "/terms-conditions", PageController, :terms_conditions
+ get "/mentions-legales", PageController, :mentions_legales
post "/mailing-list", MailingListController, :create
get "/mailing-list/confirm/:token", MailingListController, :confirm
post "/admin/log-in", UserSessionController, :create_admin
diff --git a/test/chesstrainer_web/controllers/page_controller_test.exs b/test/chesstrainer_web/controllers/page_controller_test.exs
index 5bc0390..986ceec 100644
--- a/test/chesstrainer_web/controllers/page_controller_test.exs
+++ b/test/chesstrainer_web/controllers/page_controller_test.exs
@@ -109,6 +109,11 @@ defmodule ChesstrainerWeb.PageControllerTest do
assert html =~ "Guest puzzle limit"
assert html =~ "HMAC-SHA256"
assert html =~ "Article 6(1)(f) GDPR"
+ assert html =~ "Hosting and infrastructure"
+ assert html =~ "Cloudflare"
+ assert html =~ "Data controller"
+ assert html =~ "suppression list"
+ refute html =~ "not directed at children"
assert LazyHTML.text(LazyHTML.query(document, "title")) ==
Branding.title("Privacy Policy")
@@ -124,10 +129,11 @@ defmodule ChesstrainerWeb.PageControllerTest do
document = LazyHTML.from_document(html)
assert LazyHTML.text(LazyHTML.query(document, "h1")) == "Terms & Conditions"
- assert html =~ "Last updated: 6 November 2026"
+ assert html =~ "Last updated: 10 November 2026"
assert html =~ "Acceptable use"
assert html =~ "Governing law"
assert html =~ "fixed number of puzzles per UTC day"
+ assert html =~ "consent of a parent or guardian"
assert html =~ ~p"/privacy"
assert LazyHTML.text(LazyHTML.query(document, "title")) ==
@@ -139,6 +145,27 @@ defmodule ChesstrainerWeb.PageControllerTest do
assert URI.parse(canonical).path == "/terms-conditions"
end
+ test "GET /mentions-legales renders the French legal notice", %{conn: conn} do
+ html = conn |> get(~p"/mentions-legales") |> html_response(200)
+ document = LazyHTML.from_document(html)
+
+ assert LazyHTML.text(LazyHTML.query(document, "h1")) == "Mentions légales"
+ assert html =~ "Owen REES"
+ assert html =~ "929"
+ assert html =~ "293 B"
+ assert html =~ "Hetzner Online GmbH"
+ assert html =~ "Directeur de la publication"
+ assert html =~ ~p"/privacy"
+
+ assert LazyHTML.text(LazyHTML.query(document, "title")) ==
+ Branding.title("Mentions légales")
+
+ assert [canonical] =
+ LazyHTML.attribute(LazyHTML.query(document, ~s(link[rel="canonical"])), "href")
+
+ assert URI.parse(canonical).path == "/mentions-legales"
+ end
+
test "branding is read from application config", %{conn: conn} do
previous = Application.get_env(:chesstrainer, :branding)
diff --git a/test/chesstrainer_web/controllers/sitemap_controller_test.exs b/test/chesstrainer_web/controllers/sitemap_controller_test.exs
index 6ca75c2..21b1daf 100644
--- a/test/chesstrainer_web/controllers/sitemap_controller_test.exs
+++ b/test/chesstrainer_web/controllers/sitemap_controller_test.exs
@@ -13,7 +13,8 @@ defmodule ChesstrainerWeb.SitemapControllerTest do
assert body =~ "#{base_url}/"
assert body =~ "#{base_url}/privacy"
assert body =~ "#{base_url}/terms-conditions"
- assert length(:binary.matches(body, "")) == 3
+ assert body =~ "#{base_url}/mentions-legales"
+ assert length(:binary.matches(body, "")) == 4
end
test "is served as XML", %{conn: conn} do