Installation counter after review: strict input, limits, country only, GitHub outages
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run

- /api/update takes a 32-hex id, an x.y.z version and a known platform; at most 5 new
  installations a day per address are counted (made-up ids do not flood the bot).
- A download's notice: once a day per file and visitor; notices name the country only,
  as the texts promise; Android's text also says the system is sent.
- The release cache is not locked while GitHub is asked (one request asks, the others
  get what is known); after a failure GitHub is asked again in a minute, not on every
  request.
- An unrecognised desktop installation counts as 'other'; the bot logs a wrong token or a
  second listener; .env.example lists the bot's settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-24 14:08:05 +03:00
parent d15989bff1
commit df2ee6f528
15 changed files with 106 additions and 35 deletions

View file

@ -382,7 +382,7 @@
<string name="upd_copy">Copiar</string>
<string name="upd_group">Actualizaciones</string>
<string name="upd_auto">Buscar actualizaciones al iniciar</string>
<string name="upd_auto_sub">Una vez al día ChessPenguin pregunta a su sitio cuál es la última versión; el sitio cuenta las instalaciones en uso. Solo se envían un número aleatorio de esta instalación y la versión.</string>
<string name="upd_auto_sub">Una vez al día ChessPenguin pregunta a su sitio cuál es la última versión; el sitio cuenta las instalaciones en uso. Solo se envían un número aleatorio de esta instalación, la versión y el sistema.</string>
<string name="upd_check_now">Comprobar ahora</string>
<string name="upd_checking">Comprobando…</string>
<string name="upd_latest">Tienes la última versión</string>