Count installations that run: the update check goes through the site

The programs (desktop, Android) ask https://chess.vrubel.xyz/api/update for the latest
release instead of GitHub, with a random id of the installation (made once, kept in the
settings), the version and the platform; the site passes GitHub's answer on and keeps one
row per installation and day (no IP; the country of the address). Without the site the
programs ask GitHub, uncounted; with the update check off nothing is sent. /stats shows
installations that ran today, in 7 and 30 days, in all and new ones, by platform and
version. The texts about the update check and the site's privacy line say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-24 13:45:15 +03:00
parent 04bd7c08a1
commit 1edbbda368
30 changed files with 284 additions and 44 deletions

View file

@ -123,7 +123,7 @@
"support_issues": "Você também pode abrir uma issue no GitHub:",
"support_hint": "Ao relatar um problema, informe sua versão do ChessPenguin e seu sistema, e anexe o arquivo PGN se o problema for com uma partida.",
"footer_license": "Software livre sob GPL-3.0-or-later",
"footer_privacy": "Sem cookies, sem rastreadores. Visitas, downloads e países são contados apenas no servidor, sem guardar endereços IP.",
"footer_privacy": "Sem cookies, sem rastreadores. Visitas, downloads e países são contados apenas no servidor, sem guardar endereços IP. A verificação de atualizações do programa é contada da mesma forma, por um número aleatório da instalação.",
"footer_geo": "Geolocalização de IP por",
"nf_title": "Página não encontrada",
"nf_text": "A página ou o arquivo que você procurava não está aqui.",