Five commits that were only on local branches:
- FPA folders use short team codes
- Library grid no longer stalls on one hung thumbnail
- Local FTP ignores a stopped server's shutdown error
- Event settings can set home/away short codes
- Send the selection to several destinations at once
The older single-target remember commit is covered by the multi-destination button.
Tests: metadata (25), SendButton (1), app typecheck.
The FPA destination preset built the game folder and file name from the full
team names ({home} x {away}), e.g. "Vitória SC x AA Águas Santas". FPA expects
the short codes ("VSC x AAAS"). Switch the FPA folder and fileName templates to
{homeShort} x {awayShort}.
Safe by construction: buildVars sets homeShort/awayShort with a `?? home`
fallback, so when an event has no short code the segment is the full name (never
empty, never a missing-variable error). Liga keeps full names on purpose
("1. Casa Pia x Sporting"), so its preset is unchanged.
Test: the FPA fixture now uses distinct full names + short codes, proving the
template renders the short code rather than the full name.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
Two causes of the "half-loaded" grid where some READY photos stay grey:
1. cachedImage fetched thumbnails with no timeout, inside a 6-slot concurrency
limiter. A single stalled request (busy server, dropped connection) held its
slot forever and starved every queued tile, so the rest of the grid never
loaded. Download now runs through an AbortController that aborts after 20s,
freeing the slot so the queue keeps moving; the stalled photo falls back to
loading its URL directly instead of blocking the others.
2. The grid cell rendered `shown && <img>` with no onError and no fallback, so a
pending or failed image was an indistinguishable grey blank. A READY photo
now shows "…" while its thumbnail is still resolving and "erro" if the image
fails to load (onError), mirroring the loupe's resilience.
UI/cache only; no API or data changes.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
On the libunftp version in use, server.listen() returns Err when the server is
shut down gracefully, and the listen task writes that into the shared last_error
asynchronously. ftp_save_settings restarts the server (stop -> sleep -> start):
start() clears last_error and brings up a new server, but the *old* listen task
then returns its expected "shutdown error" and writes it into the same shared
slot — so a perfectly running server reports `server error: shutdown error`.
Give each server instance an epoch. The listen task records its error only while
it is still the current server; stop() moves the epoch on (so the server's own
shutdown is ignored) and clears last_error, since a server stopped on purpose is
not a server in error.
No command signatures change. cargo build/clippy/test to run in CI (no Rust
toolchain on this machine).
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
Delivery folders/filenames use {homeShort}/{awayShort}, which fall back to the
full team name when the event has no short code. Short codes are only filled in
when an event is created from a fixture that carries abbreviations; an event made
by hand, or from a fixture without them, has none, so its folder gets the full
names ("CDE GIL Eanes x CD Feirense -Movit" instead of "CDE x CDF").
Add "Sigla casa"/"Sigla visitante" fields to the event settings (match events
only) so the codes can be set or corrected on any existing event; the folder
picks them up on the next delivery. The API and SDK already accept homeShort/
awayShort on updateEvent — this only wires the UI. Labels are inline for now to
avoid touching i18n.ts, which another branch is editing.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
The send button chose a single destination. You can now pick several (a checklist
appears when there is more than one destination) and one send queues the photos to
all of them — the same photos to the agency FTP, a ZeroZero desk and a cloud
folder in one go. "Melhores" and "Enviar de novo" follow the same set.
Each destination still goes through the existing per-target deliver() path (queued
offline when there is no network), looped over the chosen set and the results
merged, so the server and the delivery queue are unchanged.
The chosen set is remembered on every change (not only on send), so it survives
switching tabs — which also fixes the earlier "forgets the destination" bug, so
this supersedes task/library-remember-target. Older saved single-id values are
still read.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
spark
merged commit 3d407f5524 into main2026-10-17 16:07:25 +01:00
pr-api, pr-app and pr-site: deploy success. Public health and pages answer.
pr-ingest: repo at 3d407f5, SFTPGo active, .env unchanged.
Desktop FTP fix is on main. Installed desktop apps pick up the web UI from this app deploy; the FTP server change itself ships with the next desktop release tag.
Deployed on main 3d407f5.
- pr-api, pr-app and pr-site: deploy success. Public health and pages answer.
- pr-ingest: repo at 3d407f5, SFTPGo active, .env unchanged.
- Desktop FTP fix is on main. Installed desktop apps pick up the web UI from this app deploy; the FTP server change itself ships with the next desktop release tag.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Five commits that were only on local branches:
The older single-target remember commit is covered by the multi-destination button.
Tests: metadata (25), SendButton (1), app typecheck.
The FPA destination preset built the game folder and file name from the full team names ({home} x {away}), e.g. "Vitória SC x AA Águas Santas". FPA expects the short codes ("VSC x AAAS"). Switch the FPA folder and fileName templates to {homeShort} x {awayShort}. Safe by construction: buildVars sets homeShort/awayShort with a `?? home` fallback, so when an event has no short code the segment is the full name (never empty, never a missing-variable error). Liga keeps full names on purpose ("1. Casa Pia x Sporting"), so its preset is unchanged. Test: the FPA fixture now uses distinct full names + short codes, proving the template renders the short code rather than the full name. Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2iDelivery folders/filenames use {homeShort}/{awayShort}, which fall back to the full team name when the event has no short code. Short codes are only filled in when an event is created from a fixture that carries abbreviations; an event made by hand, or from a fixture without them, has none, so its folder gets the full names ("CDE GIL Eanes x CD Feirense -Movit" instead of "CDE x CDF"). Add "Sigla casa"/"Sigla visitante" fields to the event settings (match events only) so the codes can be set or corrected on any existing event; the folder picks them up on the next delivery. The API and SDK already accept homeShort/ awayShort on updateEvent — this only wires the UI. Labels are inline for now to avoid touching i18n.ts, which another branch is editing. Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2iDeployed on main
3d407f5.3d407f5, SFTPGo active, .env unchanged.