Installation counter after review: strict input, limits, country only, GitHub outages
- /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:
parent
d15989bff1
commit
df2ee6f528
15 changed files with 106 additions and 35 deletions
|
|
@ -381,7 +381,7 @@
|
|||
<string name="upd_copy">Copiar</string>
|
||||
<string name="upd_group">Atualizações</string>
|
||||
<string name="upd_auto">Verificar atualizações ao iniciar</string>
|
||||
<string name="upd_auto_sub">Uma vez por dia o ChessPenguin pergunta ao seu site qual é a versão mais recente; o site conta as instalações em uso. São enviados apenas um número aleatório desta instalação e a versão.</string>
|
||||
<string name="upd_auto_sub">Uma vez por dia o ChessPenguin pergunta ao seu site qual é a versão mais recente; o site conta as instalações em uso. São enviados apenas um número aleatório desta instalação, a versão e o sistema.</string>
|
||||
<string name="upd_check_now">Verificar agora</string>
|
||||
<string name="upd_checking">Verificando…</string>
|
||||
<string name="upd_latest">Você tem a versão mais recente</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue