mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 03:32:06 +00:00
* Align Postgres version on 18.6 * Document production tablebase path and permissions * Add cookieless Matomo analytics with opt-out (#131)
288 lines
12 KiB
HTML
288 lines
12 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Privacy Policy — Inner Square Chess</title>
|
|
<meta
|
|
name="description"
|
|
content="How Inner Square Chess collects, uses, and protects your personal information."
|
|
/>
|
|
<meta name="robots" content="noindex, nofollow" />
|
|
<meta name="theme-color" content="#f4f0e6" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:site_name" content="Inner Square Chess" />
|
|
<meta property="og:title" content="Privacy Policy — Inner Square Chess" />
|
|
<meta
|
|
property="og:description"
|
|
content="How Inner Square Chess collects, uses, and protects your personal information."
|
|
/>
|
|
<meta name="twitter:card" content="summary" />
|
|
<link rel="icon" href="/favicon.ico" />
|
|
<link rel="stylesheet" href="/legal.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
<nav class="nav-wrap" aria-label="Main navigation">
|
|
<a class="brand" href="/" aria-label="Inner Square Chess home">
|
|
<span class="brand-mark" aria-hidden="true">♞</span>
|
|
<span>INNERSQUARE</span>
|
|
</a>
|
|
<span class="status">Launching soon</span>
|
|
</nav>
|
|
</header>
|
|
|
|
<main id="main-content">
|
|
<article class="legal">
|
|
<h1>Privacy Policy</h1>
|
|
<p class="legal-meta">Last updated: 10 November 2026</p>
|
|
|
|
<p>
|
|
Inner Square Chess is an endgame training site. This policy explains what
|
|
information we collect when you use it, why we collect it, and the choices
|
|
you have. It covers the website and every page under it, including the
|
|
guest trainer.
|
|
</p>
|
|
|
|
<h2>What we collect</h2>
|
|
<ul>
|
|
<li>
|
|
<strong>Account details.</strong>
|
|
If you register, we store your username, email address, and a hashed
|
|
password. We never store passwords in plain text.
|
|
</li>
|
|
<li>
|
|
<strong>Training activity.</strong>
|
|
We record the puzzles you attempt and whether you solved them, so we can
|
|
show your progress and keep the daily puzzle meaningful.
|
|
</li>
|
|
<li>
|
|
<strong>Mailing list email.</strong>
|
|
If you join the mailing list — using the form on the home page or the
|
|
checkbox when registering — we store your email address and where you
|
|
signed up, so we can send you occasional updates. You can ask to be
|
|
removed at any time.
|
|
</li>
|
|
<li>
|
|
<strong>Technical data.</strong>
|
|
Our hosting and server infrastructure may keep standard request logs
|
|
(IP address, browser, timestamps) for security and troubleshooting.
|
|
These logs are rotated regularly.
|
|
</li>
|
|
<li>
|
|
<strong>Usage data.</strong>
|
|
On public pages and the guest trainer, we use a self-hosted Matomo
|
|
instance to understand aggregate usage. Matomo 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.
|
|
</li>
|
|
<li>
|
|
<strong>Messages you send us.</strong>
|
|
If you contact us, we keep the message and our reply for as long as
|
|
needed to help you.
|
|
</li>
|
|
</ul>
|
|
|
|
<h2>Cookies and local storage</h2>
|
|
<p>
|
|
We use a small number of cookies and local storage entries that are
|
|
required for the site to work:
|
|
</p>
|
|
<ul>
|
|
<li>a session cookie that keeps you signed in;</li>
|
|
<li>a CSRF token that protects forms from cross-site requests;</li>
|
|
<li>a colour-mode preference stored in your browser.</li>
|
|
<li>
|
|
an analytics opt-out preference stored in your browser's local
|
|
storage, if you choose to opt out.
|
|
</li>
|
|
</ul>
|
|
<p>
|
|
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.
|
|
</p>
|
|
|
|
<h2>Analytics</h2>
|
|
<p>
|
|
We use a self-hosted Matomo instance at
|
|
<a href="https://analytics.owenrees.eu/">analytics.owenrees.eu</a>
|
|
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.
|
|
</p>
|
|
<p>
|
|
Raw analytics data is retained for up to 180 days. We process it on the
|
|
basis of our legitimate interests in improving the service. You can
|
|
object at any time using the control below or by emailing
|
|
<a href="mailto:support@innersquare.app">support@innersquare.app</a>.
|
|
</p>
|
|
<p id="analytics-status">Analytics is currently on in this browser.</p>
|
|
<div class="analytics-buttons">
|
|
<button id="analytics-opt-out" type="button">Opt out of analytics</button>
|
|
<button id="analytics-opt-in" type="button" hidden>Opt back in</button>
|
|
</div>
|
|
|
|
<h2>How we use your information</h2>
|
|
<ul>
|
|
<li>To create and secure your account and sign you in.</li>
|
|
<li>To run the trainer and remember your progress.</li>
|
|
<li>To send service emails, such as confirmation and password reset links.</li>
|
|
<li>To send occasional endgame tips and site news, if you opted in.</li>
|
|
<li>
|
|
To understand aggregate use of the public site and guest trainer, and
|
|
improve the service.
|
|
</li>
|
|
<li>To keep the site available, prevent abuse, and fix faults.</li>
|
|
<li>To respond when you ask for help.</li>
|
|
</ul>
|
|
<p>
|
|
We rely on our contract with you to provide the service, our legitimate
|
|
interests in keeping it secure and improving it, and your consent where we
|
|
ask for it. You can withdraw consent at any time.
|
|
</p>
|
|
|
|
<h2>Guest puzzle limit</h2>
|
|
<p>
|
|
Visitors who use the guest trainer without an account get a limited number
|
|
of free puzzles per UTC day. To enforce that limit and prevent abuse, we
|
|
identify each visitor by a keyed hash (HMAC-SHA256) of their IP address.
|
|
The limiter itself never stores, logs, or shares the raw address.
|
|
</p>
|
|
<p>
|
|
The hash exists only in the memory of the server that handled your request.
|
|
It is tied to the current UTC day, stops being usable at 00:00 UTC, and is
|
|
deleted by a periodic sweep shortly afterwards; it is also discarded when
|
|
the server restarts. It is never written to a database, a log, or a
|
|
backup, and no cookie or other client-side storage is involved. Signed-in
|
|
accounts are not metered this way.
|
|
</p>
|
|
<p>
|
|
We process this hash on the basis of our legitimate interests
|
|
(Article 6(1)(f) GDPR) in keeping the service available and preventing
|
|
abuse of the free tier. We do not share it with anyone. You have the right
|
|
to object to this processing; to do so, contact us using the address below.
|
|
</p>
|
|
|
|
<h2>Sharing</h2>
|
|
<p>
|
|
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.
|
|
</p>
|
|
|
|
<h2>Retention</h2>
|
|
<p>
|
|
We keep account and training data while your account is open. If you
|
|
delete your account, we remove your personal information within a
|
|
reasonable period, except where we must keep records for legal, security,
|
|
or accounting reasons. We retain raw analytics data for up to 180 days.
|
|
</p>
|
|
|
|
<h2>Your rights</h2>
|
|
<p>
|
|
Depending on where you live, you may have the right to access, correct,
|
|
delete, restrict, or export your personal information, and to object to
|
|
some uses of it. You can object to analytics processing at any time using
|
|
the control on this page or by contacting us. To make a request, contact
|
|
us using the address below. If you are in the UK or EU and are unhappy
|
|
with our response, you can complain to your local data protection
|
|
authority.
|
|
</p>
|
|
|
|
<h2>Children</h2>
|
|
<p>
|
|
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.
|
|
</p>
|
|
|
|
<h2>Changes</h2>
|
|
<p>
|
|
We may update this policy as the service changes. When we do, we will
|
|
change the date at the top of this page and, for significant changes,
|
|
notify signed-in users by email or on the site.
|
|
</p>
|
|
|
|
<h2>Contact</h2>
|
|
<p>
|
|
Questions about this policy or your data can be sent to
|
|
<a href="mailto:support@innersquare.app">support@innersquare.app</a>.
|
|
</p>
|
|
</article>
|
|
</main>
|
|
|
|
<footer class="site-footer">
|
|
<div class="footer-brand">
|
|
<a class="brand" href="/" aria-label="Inner Square Chess home">
|
|
<span class="brand-mark" aria-hidden="true">♞</span>
|
|
<span>INNERSQUARE</span>
|
|
</a>
|
|
<p>Short, focused endgame training.</p>
|
|
</div>
|
|
<nav class="footer-links" aria-label="Legal">
|
|
<a href="/privacy">Privacy</a>
|
|
<a href="/terms-conditions">Terms</a>
|
|
</nav>
|
|
<small>© 2026 Inner Square Chess</small>
|
|
</footer>
|
|
|
|
<script>
|
|
(function () {
|
|
var key = "matomo_optout";
|
|
var optOut = document.getElementById("analytics-opt-out");
|
|
var optIn = document.getElementById("analytics-opt-in");
|
|
var status = document.getElementById("analytics-status");
|
|
|
|
function optedOut() {
|
|
try {
|
|
return localStorage.getItem(key) === "1";
|
|
} catch (error) {
|
|
return true;
|
|
}
|
|
}
|
|
|
|
function update() {
|
|
var off = optedOut();
|
|
if (optOut) optOut.hidden = off;
|
|
if (optIn) optIn.hidden = !off;
|
|
if (status) {
|
|
status.textContent = off
|
|
? "Analytics is currently off in this browser."
|
|
: "Analytics is currently on in this browser.";
|
|
}
|
|
}
|
|
|
|
if (optOut) {
|
|
optOut.addEventListener("click", function () {
|
|
try {
|
|
localStorage.setItem(key, "1");
|
|
} catch (error) {}
|
|
update();
|
|
});
|
|
}
|
|
|
|
if (optIn) {
|
|
optIn.addEventListener("click", function () {
|
|
try {
|
|
localStorage.removeItem(key);
|
|
} catch (error) {}
|
|
update();
|
|
});
|
|
}
|
|
|
|
update();
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|