Commit graph

22 commits

Author SHA1 Message Date
vrubelroman
d15989bff1 Site: notices to the owner's Telegram bot and /stat
Downloads by people, new installations, updates and a day's first run of an installation
go to the owner's chat; /stat answers with today and all time (downloads, installations,
active in 7 and 30 days, by platform). Installations are numbered in the order they first
ran (installs table). Configured with TELEGRAM_TOKEN and TELEGRAM_CHAT; off without them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:57:07 +03:00
vrubelroman
a87d3e9f44 Site: clippy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:45:20 +03:00
vrubelroman
1edbbda368 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>
2026-10-24 13:45:15 +03:00
vrubelroman
9734108b83 Portuguese (Brazil), Uzbek (Latin) and Kazakh (Cyrillic) on the desktop, Android and the site
Nine interface languages. The system's language is picked up; Portuguese notation has its
own piece letters (R D T B C), Uzbek and Kazakh keep the Latin ones (the 'letters of
the language' choice is not offered for them). Uzbek o'/g' are written with U+2018 on
the desktop, whose font has no U+02BB. Comment translation targets the new languages too.
The shelf's two side cards widen for a longer label.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:48:03 +03:00
vrubelroman
0594e819d2 Site stats: download times in the server's zone (МСК), like the days
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:04:33 +03:00
vrubelroman
78ef78fda1 Site: no «free and open source» line; recent downloads without bots, long cells wrap
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 11:58:22 +03:00
vrubelroman
d13147079e Site: the Android button offers the build without Stockfish first
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 00:33:33 +03:00
vrubelroman
356384b13e Site: the Android button's texts reach the page; platform links show the download heading
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The page script gets only the texts listed in CLIENT_KEYS; the Android ones were missing,
so a phone saw "btn_android". A test now checks every text the script uses. A link to a
platform (Android, Linux…) scrolls to the start of the download section instead of the
panel under its tabs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 22:20:26 +03:00
vrubelroman
ba00887cc2 Site: downloads go straight to the file; Android in the stats
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
A phone with the GitHub app asks to open github.com links in it; the server now asks
GitHub where the release file is and sends the browser there (the usual link when
GitHub does not answer). Stats: the Android share in the summary, both builds with the
downloads left out of the counts, readable names of the files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 21:00:07 +03:00
vrubelroman
403880c03d ChessPenguin 0.10.0: the Android app as an alpha
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The site, the READMEs and the app's About screen call the Android app an alpha.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 08:06:10 +03:00
vrubelroman
de5ca02a82 Android: design review fixes, icon, signed releases, the site's Android downloads
- The design review (docs/design/android-ui.md §17): the move buttons in the
  bottom bar (snackbars above them), ripple on press, larger ◀ ▶, coordinates
  over the pieces, readable NAG colors in the light theme, 16 dp edges, the
  ⋮ menu (game details, copy PGN/FEN, share), "Deeper" next to ▾, TalkBack
  states, no "*" for unfinished games, "Found N of M", texts.
- The penguin as the adaptive icon and on the splash screen; dark window.
- Release builds: R8, signing from the environment, androidApp/scripts/release.sh
  (two APKs, apksigner and 16 KB alignment checks); the release workflow builds
  them from the repository secrets.
- Website: the Android tab with both APKs, "Download for Android" on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 01:57:03 +03:00
vrubelroman
005601afb2 Website: new features and fresh screenshots; no missing glyphs in the app
The site lists the reference tab, games from Lichess and Chess.com, translated
comments and self-update, and the notation and animation under "Make it
yours", in six languages. Thirteen screenshots (three new: reference,
translation, online games) on the owner's green board with Merida pieces, the
"looks" one on another board. The translation shot shows a real ChatGPT
translation of our own German comments to Reti-Tartakower 1910, put into the
screenshot cache once (shots/translate-for-shots.py); the shots send nothing.

The app: "✕" next to the Chess.com nickname, "⌂" in board search and "✓" in
translation texts had no glyph (empty boxes): replaced by the bundled 🗙, 🏠
and ✔. A test now checks every character of the translations and the string
literals against the character maps of the bundled fonts. The online games dev
hook takes two nicknames.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 23:47:14 +03:00
vrubelroman
7b0cd27507 Site: a reload no longer jumps back to the download section
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
After a jump to an anchor (a download badge, a menu link) the anchor is
dropped from the address, so a reload keeps the place the visitor scrolled to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 20:41:34 +03:00
vrubelroman
c66117e387 Email: copy the address instead of a bare mailto link; drop the checksum how-to from the site
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 17:34:38 +03:00
vrubelroman
148a02f308 Website: clear macOS first-launch instructions; no /donate for now
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The macOS download section and the "download started" panel explain in advance that
macOS warns about every app not signed by Apple, quote what it says, and give both ways
to allow ChessPenguin once (System Settings step by step, or one Terminal command with a
copy button); Mac visitors get a link to it under the hero button. The /donate redirect
is removed until a donation service is chosen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 15:32:03 +03:00
vrubelroman
507e44b6ae Settings → About: version, website, release notes, sources, support, donations
Some checks are pending
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
The About tab shows the version and links to the website (in the interface language),
the release notes of this version, the source code and the support contacts; "Support
the project" opens chess.vrubel.xyz/donate, which the website server sends on to
DONATE_URL (the support section while it is not set), so the donation service can change
without a new release. Links open in the browser (eframe "links": webbrowser, MIT OR
Apache-2.0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 15:11:25 +03:00
vrubelroman
97d38ec919 Website: a program for chess databases, not a database (titles in six languages, link preview)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:58:57 +03:00
vrubelroman
96e5142826 Website stats: page visitors, conversion, bots filtered out
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
site.js reports page views (POST /hit), so crawlers that do not run JavaScript are
not visitors. Downloads and views are classified as human, bot (no language, not a
browser, crawler user agent, or three files within ten minutes), owner (the browser
that opened /stats) or local network; only people are counted. Visitors are told
apart by a daily-salted hash, the IP is still not stored. Old rows are reclassified.
The stats page is in Russian: visitors, downloaders, conversion, downloads by period.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:45:24 +03:00
vrubelroman
c8e33e4ecd Website deploy: run the image tagged current, so plain compose commands work on the server
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:15:37 +03:00
vrubelroman
02fc61b88c Website: production compose (port 8140) and deploy script with rollback
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:12:41 +03:00
vrubelroman
18515fb287 Website container: own the mounted data/, run as an unprivileged user; health start period
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:11:32 +03:00
vrubelroman
265d9d794b Website: one page in six languages, downloads via the server, download statistics
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Rust server (axum) with server-side translations, OS-aware download buttons,
/download/<platform> redirecting to the latest GitHub release asset and logging
platform, version and geolocated region (no IP stored), password-protected /stats
and /stats.csv. Docker compose setup behind nginx. Ten screenshots taken with new
dev hooks (CP_FILTER, CP_PANE, CP_SORT, CP_BOARD).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:00:10 +03:00