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": "Sie können auch ein Issue auf GitHub eröffnen:",
"support_hint": "Geben Sie bei einem Problem bitte Ihre ChessPenguin-Version und Ihr System an und hängen Sie die PGN-Datei an, wenn es um eine Partie geht.",
"footer_license": "Freie Software unter GPL-3.0-or-later",
"footer_privacy": "Keine Cookies, keine Tracker. Besuche, Downloads und Länder werden nur auf dem Server gezählt, ohne IP-Adressen zu speichern.",
"footer_privacy": "Keine Cookies, keine Tracker. Besuche, Downloads und Länder werden nur auf dem Server gezählt, ohne IP-Adressen zu speichern. Die Update-Prüfung des Programms wird ebenso gezählt, über eine Zufallsnummer der Installation.",
"footer_geo": "IP-Geolokalisierung von",
"nf_title": "Seite nicht gefunden",
"nf_text": "Die gesuchte Seite oder Datei gibt es hier nicht.",

View file

@ -123,7 +123,7 @@
"support_issues": "You can also open an issue on GitHub:",
"support_hint": "When reporting a problem, please mention your ChessPenguin version and system, and attach the PGN file if the problem is with a game.",
"footer_license": "Free software under GPL-3.0-or-later",
"footer_privacy": "No cookies, no trackers. Visits, downloads and countries are counted on the server only, without storing IP addresses.",
"footer_privacy": "No cookies, no trackers. Visits, downloads and countries are counted on the server only, without storing IP addresses. The program's update check is counted the same way, by a random number of the installation.",
"footer_geo": "IP geolocation by",
"nf_title": "Page not found",
"nf_text": "The page or file you were looking for isn't here.",

View file

@ -123,7 +123,7 @@
"support_issues": "También puedes abrir una incidencia en GitHub:",
"support_hint": "Al informar de un problema, indica tu versión de ChessPenguin y tu sistema, y adjunta el archivo PGN si el problema es con una partida.",
"footer_license": "Software libre bajo GPL-3.0-or-later",
"footer_privacy": "Sin cookies ni rastreadores. Las visitas, descargas y países se cuentan solo en el servidor, sin guardar direcciones IP.",
"footer_privacy": "Sin cookies ni rastreadores. Las visitas, descargas y países se cuentan solo en el servidor, sin guardar direcciones IP. La comprobación de actualizaciones del programa se cuenta igual, mediante un número aleatorio de la instalación.",
"footer_geo": "Geolocalización IP por",
"nf_title": "Página no encontrada",
"nf_text": "La página o el archivo que buscabas no está aquí.",

View file

@ -123,7 +123,7 @@
"support_issues": "Vous pouvez aussi ouvrir un ticket sur GitHub :",
"support_hint": "Pour signaler un problème, indiquez votre version de ChessPenguin et votre système, et joignez le fichier PGN si le problème concerne une partie.",
"footer_license": "Logiciel libre sous GPL-3.0-or-later",
"footer_privacy": "Sans cookies ni traceurs. Les visites, téléchargements et pays sont comptés uniquement sur le serveur, sans conserver les adresses IP.",
"footer_privacy": "Sans cookies ni traceurs. Les visites, téléchargements et pays sont comptés uniquement sur le serveur, sans conserver les adresses IP. La vérification des mises à jour du programme est comptée de la même façon, par un numéro aléatoire de l’installation.",
"footer_geo": "Géolocalisation IP par",
"nf_title": "Page introuvable",
"nf_text": "La page ou le fichier que vous cherchiez n'est pas ici.",

View file

@ -123,7 +123,7 @@
"support_issues": "Puoi anche aprire una segnalazione su GitHub:",
"support_hint": "Quando segnali un problema, indica la versione di ChessPenguin e il sistema, e allega il file PGN se il problema riguarda una partita.",
"footer_license": "Software libero sotto GPL-3.0-or-later",
"footer_privacy": "Niente cookie né tracker. Visite, download e paesi sono contati solo sul server, senza conservare gli indirizzi IP.",
"footer_privacy": "Niente cookie né tracker. Visite, download e paesi sono contati solo sul server, senza conservare gli indirizzi IP. Il controllo degli aggiornamenti del programma è contato allo stesso modo, con un numero casuale dell’installazione.",
"footer_geo": "Geolocalizzazione IP di",
"nf_title": "Pagina non trovata",
"nf_text": "La pagina o il file che cercavi non è qui.",

View file

@ -123,7 +123,7 @@
"support_issues": "Сондай-ақ GitHub-та issue ашуға болады:",
"support_hint": "Мәселе туралы хабарлағанда ChessPenguin нұсқасы мен жүйеңізді көрсетіңіз, ал мәселе партияға қатысты болса, PGN файлын тіркеңіз.",
"footer_license": "GPL-3.0-or-later лицензиясымен таратылатын еркін бағдарлама",
"footer_privacy": "Cookie де, трекер де жоқ. Кірулер, жүктеулер мен елдер тек серверде, IP мекенжайлары сақталмай есептеледі.",
"footer_privacy": "Cookie де, трекер де жоқ. Кірулер, жүктеулер мен елдер тек серверде, IP мекенжайлары сақталмай есептеледі. Бағдарламадағы жаңартуларды тексеру де солай — орнатудың кездейсоқ нөмірі бойынша саналады.",
"footer_geo": "IP геолокациясын ұсынған:",
"nf_title": "Бет табылмады",
"nf_text": "Сіз іздеген бет немесе файл бұл жерде жоқ.",

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.",

View file

@ -123,7 +123,7 @@
"support_issues": "Можно также открыть задачу на GitHub:",
"support_hint": "Сообщая о проблеме, укажите версию ChessPenguin и систему, а если проблема с партией — приложите файл PGN.",
"footer_license": "Свободная программа под GPL-3.0-or-later",
"footer_privacy": "Без cookie и трекеров. Посещения, загрузки и страны считаются только на сервере, IP-адреса не хранятся.",
"footer_privacy": "Без cookie и трекеров. Посещения, загрузки и страны считаются только на сервере, IP-адреса не хранятся. Проверка обновлений в программе считается так же — по случайному номеру установки.",
"footer_geo": "Геолокация по IP —",
"nf_title": "Страница не найдена",
"nf_text": "Страницы или файла, который вы искали, здесь нет.",

View file

@ -123,7 +123,7 @@
"support_issues": "GitHubda issue ochishingiz ham mumkin:",
"support_hint": "Muammo haqida xabar berganda ChessPenguin versiyasi va tizimingizni yozing, muammo partiya bilan boʻlsa, PGN faylni ilova qiling.",
"footer_license": "GPL-3.0-or-later litsenziyasidagi erkin dastur",
"footer_privacy": "Cookie ham, kuzatuvchilar ham yoʻq. Tashriflar, yuklab olishlar va mamlakatlar faqat serverda, IP manzillarni saqlamasdan hisoblanadi.",
"footer_privacy": "Cookie ham, kuzatuvchilar ham yoʻq. Tashriflar, yuklab olishlar va mamlakatlar faqat serverda, IP manzillarni saqlamasdan hisoblanadi. Dasturdagi yangilanishlarni tekshirish ham xuddi shunday — oʻrnatmaning tasodifiy raqami boʻyicha sanaladi.",
"footer_geo": "IP geolokatsiyasi:",
"nf_title": "Sahifa topilmadi",
"nf_text": "Siz qidirgan sahifa yoki fayl bu yerda yoʻq.",