The crop follows the camera focus point when the file has one, and a sequence keeps the frame with a visible face and open eyes when those can be told apart.
Saving IPTC on a photo that already went out queues it again so the file is replaced. Colour, stars and the tag follow Photo Mechanic's shortcuts beside the ones already there.
- R in the library opens the photo in Develop with the crop tool on; W with the
white balance eyedropper (as in Lightroom Classic).
- Ctrl/Cmd+Alt+2 (or +Up) from the library opens Develop on the photo;
Ctrl/Cmd+Alt+1 (or +Up) from Develop goes back to the library grid on it.
- The shortcut lines list them.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RL6fqg8fuk1vKF4H6Zrh9V
The field picker took the whole row (the full-width input class won over its set
width), leaving the value box 18 px wide: nothing could be typed, and rows
without a value are not saved, so saving kept nothing. The row's controls now
size themselves.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RL6fqg8fuk1vKF4H6Zrh9V
- {players} names every face: the confirmed player, or for a face nobody has
confirmed yet the group's suggestion (face and shirt number). Put right later by
confirming the right player.
- A delivery waits up to 3 minutes for the photo's faces to be read (organizations
with face recognition), so the names leave with it; waiting is not an attempt.
- A target can copy everything it gets to another target ("Copiar também para",
usually a folder on the computer). The copy is written with the first target's
IPTC, so it is the same file the client got. New columns
delivery_targets.copy_target_id and delivery_items.via_target_id.
Also updates the resumable upload test to the current rule (hand uploads are
edited by the autopilot too).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RL6fqg8fuk1vKF4H6Zrh9V
The second X turned the biggest portrait back into the whole frame, which looked
like the crop was gone. X now swaps the crop's width and height in pixels about
the same centre (moved in, then shrunk keeping its shape, only when the turned
crop would leave the photo): R, X gives 2667x4000 on a 6000x4000 photo, the next
X 4000x2667, and further presses swap between the two.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RL6fqg8fuk1vKF4H6Zrh9V
Each delivery target can now carry IPTC fields that replace the event's for that
client only (e.g. Creator "Peter Spark / Movephoto" for a newspaper while the
federation keeps PhotoReport.pt), with the event's variables. Applied after the
event template and the photo's own changes. Edited in the target form
("IPTC deste cliente"). New column delivery_targets.iptc_overrides.
{players} (Title, Persons shown...) now lists the players from left to right as
they appear in the photo, by where their face is; names typed by hand without a
face keep their order, after the others.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RL6fqg8fuk1vKF4H6Zrh9V
"Only the best" can now send to two clients at once: the main destination (e.g. a
newspaper's FTP) gets the short gallery, each moment as the second pick of its
burst, and a second destination (e.g. the federation's cloud) gets every other
picked photo once its 5-minute window is decided. A photo never reaches both.
New setting restTargetId ("As outras escolhidas para").
Also updates the autopilot test to the current rule: hand uploads are edited,
only archive re-imports (CLOUD) stay as sent.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RL6fqg8fuk1vKF4H6Zrh9V
The photo turns under an upright crop while cropping (the engine still renders the
whole frame unturned; the loupe shows the angle), so the crop matches the result.
- Drag outside the crop rotates the photo with the pointer (grid and angle readout).
- Ctrl/Cmd + drag draws a line to level along (horizon or plumb lines).
- Corners and edges resize and stay on the rotated photo; Shift keeps the shape,
Alt resizes about the centre.
- X swaps portrait/landscape keeping the aspect, A locks the aspect, O / Shift+O
cycle and turn the guides, Enter done, Esc cancels, Ctrl/Cmd+Alt+R resets.
Geometry is a port of lightcraft-geom (crop.rs, crop_drag.rs) and the ui-egui
crop guides, in apps/app/src/develop/crop.ts, with tests.
Also fixes the app typecheck (CardScan waitLine) that broke the app build.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01RL6fqg8fuk1vKF4H6Zrh9V
Closing it only hides the window; a bar at the bottom opens it again. The Mac build also links compiler-rt, which the GPU recogniser needs and the installer was missing.
The boxes stay on the CPU interpreter. The recogniser uses every accelerator when a startup check still matches that interpreter, so the names stay the same.
Node reports a signal kill as exit code null, so the in-flight request failed as "face worker exited (null)" with an empty stderr. Retry that request on a new process, and keep the signal name if it dies again. Closing the worker is not reported as that crash.
Paperclip-Agent: Bug Squasher (urlKey bug-squasher; id 4669adc7-6368-43ef-bf27-5a601a6b7b83)
Paperclip-Issue: BIT-31393
Paperclip-Run: 16662666-cc93-4b3c-9b85-cf591a921062
The desktop app reads the folder locally and only asks the server for a name. A photo already read is not read again. While a folder is still read on the server, face processes keep being added until the CPU is full.
A face is named from the match when one of them matches, and only then from the rest of the organization. The scan runs one face process per spare core.
A face is named from the match (players and officials) when one of them matches, and only then from the rest of the organization. The scan runs one face process per spare core so a full folder is read in parallel.
The game was already shown, but each face was compared with every person in the organization. The picker now limits that comparison to the two teams' squad for the season, which is who can be named and a much smaller search.
Search a folder for faces and numbers, then import the selection. Also newest-first face analysis, official FPA short codes, archive season dating, and desktop card offload.
The folder name sorted before the archive viewer migration, which is already applied. Deploy applies pending folders in name order and refuses one that lands behind a later applied migration.
A photographer can point at any folder, read the clear faces and jersey numbers without copying the files in, filter by name, club or number, and import only the photos they choose into the open event.
The folder date now comes from EXIF DateTimeOriginal when it can be read — a
JPEG's own EXIF, or a RAW's paired JPEG (RAW+JPEG shooting) — so a card offloaded
days after the shoot still lands in the day it was shot. It falls back to the
file's modification time when there is no EXIF (RAW-only formats with no reader
yet, e.g. CR3), so it is never worse than before.
exif_date() added to preview.rs (follows the ExifIFD pointer to DateTimeOriginal,
same byte-walking as exif_orientation); card.rs reads it for JPEGs and for a RAW's
sibling JPEG. Still needs CI to build.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
A new "Cartão…" button in the library offers Photo Mechanic's card offload: it
copies (default) or moves the photos from a card/folder into a dated folder on
this computer, with a folder template ({iptcyear4}/{iptcyear4}{iptcmonth0}{iptcday0}/{type}),
RAW+JPEG handling, overwrite, and WAV/XMP sidecars. The last settings used are
remembered. Pure filesystem — nothing is sent to the server.
Safety: the default is copy. "Move" copies, verifies the copy (size and SHA-256),
and only then deletes the original; on any mismatch or error it never deletes, so
a card is never emptied of a file that did not arrive whole.
The capture day comes from the file's modification time (on a card straight from
the camera that is when the frame was shot). Exact EXIF/RAW capture time — the CR3
case — is a later refinement; the shell has no RAW decoder yet (that is the
exiv2-FFI work on the engine roadmap).
New: card.rs (card_scan/card_ingest/card_settings/card_save_settings), wired in
lib.rs, build.rs and capabilities; CardIngest.tsx dialog; chrono added for the
local date. NOT built/typechecked here (no toolchain) — needs CI. chrono is new,
so Cargo.lock must be regenerated (cargo build) if CI runs --locked.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
A gallery whose folder name has no date (e.g. "J6 - ALA x ASSO") was dated from
the Nextcloud folder's modified time — when it was copied to the cloud, not when
the game was played — so 2018/19 games showed as 2026. A wrong season also
misidentifies faces (it matches against the wrong season's squads).
Date priority is now: the folder name's date, then the photos' capture day (both
already tried), then the season from the path (".../FPA/Fotos/2018_2019/..." ->
a date in that season), and only as a last resort the cloud's modified time. The
"current event still fits" check also rejects an event whose season no longer
matches the path, so the next scan re-dates the galleries already mis-catalogued.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
Fills homeShort/awayShort on events created before the automatic fill, from the
same official FPA club list. Dry-run by default; --apply writes. Uses pg and
DATABASE_URL so it needs no build.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
Handball fixtures carry no team abbreviations, so homeShort/awayShort were empty
and the delivery folder fell back to the full team name ("CDE Gil Eanes x CD
Feirense" instead of "GIL x CDF"). Add the federation's official "Cores, Siglas
e Nomes" short codes (Campeonato Betclic, men and women) and, when creating an
event, fill homeShort/awayShort from the club name whenever the fixture gave none.
Matching is by a normalised name (case, accents, punctuation and sponsor dashes
ignored); a club not on the list simply keeps the full name, so the fallback is
never worse than today. The list lives in one file to update once a season.
Only new events are filled here; existing events keep their current values (set
them by hand in the event settings, or ask for a one-off backfill).
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
The analysis queue was ordered oldest-first (created_at ascending), so a newly
shot or just-imported game went to the back, behind any older backlog of pending
photos, and seemed not to start until the event was boosted by hand ("Analisar
caras do jogo"). A photographer wants the game they just shot analysed now.
Order non-boosted photos newest-first (created_at DESC); a manually boosted event
still jumps ahead. The partial index is recreated to match the new order so the
claim stays index-ordered.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
Autopilot skipped hand uploads (source UPLOAD) and only ran on photos that
arrived by FTP or the desktop app's ingest. A second photographer often adds
their photos by hand, and those should go through the event's autopilot too.
Now autopilot runs for every source but archive re-imports (CLOUD) when the
event has it switched on, both on arrival (ingest) and when photos join an event
(adopt). The arrival rename is unchanged — hand uploads keep their own names.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i
A photo could be pulled off a destination only on ZeroZero, and only when an edit
replaced it. Now a delivered photo that is rejected, or un-picked (PICK -> none),
is taken back from every destination, and an edit that moves the file to a new
folder or name removes the old one on every transport (not just ZeroZero), so no
orphan is left behind.
- Transport gains remove(remotePath); implemented for Nextcloud (WebDAV DELETE),
SFTP, FTP and Dropbox (ZeroZero already had it). Missing-file is never an error.
- delivery_items gains a `retract` flag and a RETRACTED terminal status. A rejected
or un-picked photo's deliveries are queued for removal (DONE/WAITING) or cancelled
outright (QUEUED, never uploaded); the worker removes them and marks them RETRACTED.
- The flag PATCH triggers the retraction (REJECT for any, or the photos still PICK
when they go to none, i.e. un-pick), reading the old flags first.
- deliveryState() ignores RETRACTED, so a taken-back photo reads as not delivered.
Destructive on the client's live destinations (it deletes delivered files, agency
FTP included, by request). Not run locally — no toolchain/space on this machine;
needs CI to compile and a throwaway target to try before production.
Claude-Session: https://claude.ai/code/session_01RAkmwWv6L5KmpX4h9JPD2i