Commit Graph
72 Commits
Author SHA1 Message Date
sparkandClaude Opus 5.5 b8b7170a2d Develop: crop tool works like Lightroom's
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
2026-10-18 09:01:46 +00:00
spark 11282efa1a Archive: open each gallery by the page, with a link that survives refresh.
ci / rust (pull_request) Successful in 7m25s
ci / typescript (pull_request) Failing after 8m57s
The public archive was loading every indexed photo on each click. Pages now come from the database, and Nextcloud is only asked when someone signs in.
2026-10-17 17:46:24 +01:00
sparkandClaude Opus 5.5 0b56ba8c4c Delivery: a delivered photo edited again is sent again (ZeroZero: old one taken back)
ci / rust (push) Successful in 4m20s
ci / typescript (push) Successful in 7m1s
Once the edits of a delivered photo pause for a minute, it goes again to every destination it went to, with the same name: files are replaced; on ZeroZero the new image goes up and the previous one is deleted. Originals' backups are not resent; deliveries made before count as current.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 14:37:36 +01:00
sparkandClaude Opus 5.5 303aedef80 Archive: both teams or no game, legends are events, every match redone; faces keep to the sport
ci / rust (push) Successful in 4m19s
ci / typescript (push) Successful in 7m38s
A folder is matched to an official game only when both teams are recognised (never a first team for its B side); legends', veterans', charity and exhibition games never get a championship fixture; every match but a manual one is made again on start and every six hours (one failing folder never stops the rest), renaming events to clean team names. The viewer merges teams written with dates before them and known teams under one name. Faces are never suggested as someone of another sport, and old such suggestions are taken away. Visible loading in the archive site. More archive work at once (previews, images in flight, face processes).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 03:49:08 +01:00
sparkandClaude Opus 5.5 ea63b30452 Delivery: the central FTP as a relay to a computer (chosen logins, untouched originals)
ci / rust (push) Successful in 4m19s
ci / typescript (push) Successful in 7m12s
An every-arrival destination can take only some FTP logins' photos, and with "untouched" the original goes byte for byte as the camera sent it, with its own name, into the folder a local Photo Mechanic Live Ingest watches. The photo still enters PhotoReport as any FTP arrival.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 03:13:53 +01:00
sparkandClaude Opus 5.5 52d340ef43 Archive: past FPA seasons read club by club; games apart from events
ci / rust (push) Successful in 4m10s
ci / typescript (push) Successful in 7m9s
The archive reads the FPA national games of any season it meets (club by club from today's agenda, following every club met, regional games left out), in the background in the worker, then matches every gallery again. Galleries split into official games, games known by their folder only, and events; events read no shirt numbers (faces only).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 03:06:32 +01:00
sparkandClaude Opus 5.5 04137476ff Photo Mechanic compatibility: all its variables and modifiers, its full IPTC pad, camera details
ci / rust (push) Successful in 4m27s
ci / typescript (push) Successful in 7m27s
Templates (IPTC pad, folders, file names, rename on arrival) take every variable of Photo Mechanic's list under its names and short names, in any case, with its modifiers (substrings, lc/UC/PC, tr:find/repl). IPTC variables are the photo's pad, as in Photo Mechanic. The pad gains every Photo Mechanic field with the same IIM/XMP tags, read back from incoming files. Camera details (exposure compensation, flash, metering, program, white balance, 35mm, lens range, firmware, owner, artist, GPS) are kept in photos.exif at ingest and read from the file at delivery for older photos.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 02:43:43 +01:00
sparkandClaude Opus 5.5 7675edb6c6 Archive: never a game still to come; date galleries by their photos; re-check every gallery
ci / rust (push) Successful in 4m9s
ci / typescript (push) Successful in 7m5s
Galleries were matched to Liga games of January/February 2027 and a name event was dated 2028. Fixtures not yet played are never candidates; a folder date in the future is read the other way (23.09.28 -> 2023-09-28) or ignored, and name events are never dated ahead. A folder whose name has no day is dated by its photos' camera time (captureDay: 3+ photos, 60%+ on one Lisbon day); a date in the name always wins. Every walk, and on start for all clouds (verifyAll), FIXTURE galleries dated ahead, or (no day in the name) on another day than their photos, are taken off that game for good.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 02:16:50 +01:00
sparkandClaude Opus 5.5 f578bdd15c Delivery: originals backup (untouched originals, IPTC written) and every arrival sent on its own
ci / rust (push) Successful in 4m14s
ci / typescript (push) Successful in 7m8s
A destination can take the originals as they arrived (no resizing or recompression; IPTC written by exiftool; renamed by the templates), like Photo Mechanic's Live Ingest destination, and every arrival (FTP, desktop, uploads, once in an event) can be queued to it on its own. On a LOCAL destination: one's own backup in a folder on the computer, e.g. /Users/cyclop/Desktop/2026/{iptcdate} - {event}/PS_{event}_{timesort}.jpg. Adds {iptcdate} (CCYYMMDD).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 02:08:37 +01:00
sparkandClaude Opus 5.5 19ccaf76f5 Archive: never add to live events; stricter game matching; take wrong folders back out
ci / rust (push) Successful in 10m25s
ci / typescript (push) Successful in 12m11s
Archive photos ended up in a live event (SC Braga x Sporting CP) from other games. The archive now keeps to its own events (never a library event, even for the same fixture); name events only join archive events of the same day, never by the cloud folder's date; a fixture needs a dated folder or competition+season+matchday, and reserve/youth/women's sides never match the first team. A FIXTURE folder whose photos were taken more than 36 h from the game is taken off it for good (cloud_folders.fixture_rejected). On start the worker moves folders out of live events (leaveLiveEvents), their CLOUD photos with them (faces found again), keeping photos that were already there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 01:31:16 +01:00
sparkandClaude Opus 5.5 4741aa3c53 Faces: shirt numbers by season and competition, never club numbers for the national team
ci / rust (push) Successful in 4m31s
ci / typescript (push) Successful in 7m34s
A person's number is read for the event's context (faces/numbers.ts): that season's squad, then what the shirts clearly read in their confirmed photos of the same season and competition (first when the game is not an official match), and the number typed on the person only in the current season and never for a national team. Used for face/number agreement, squad suggestions and the shirt-sample labels (which never take the model's own readings).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 01:02:44 +01:00
sparkandClaude Opus 5.5 1e4d910cfd Archive sites in their owner's look: Liga Portugal and FPA
ci / rust (push) Successful in 4m22s
ci / typescript (push) Successful in 7m11s
cloud_sources.look (liga, fpa or none), set from the source's name or folder and changeable in the app. The archive site wears Liga Portugal's (night blue, orange, condensed capitals) or the FPA's (light grey, red bar, Open Sans capitals) colours and type; no marks or logos of theirs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 00:28:02 +01:00
sparkandClaude Opus 5.5 26d317e017 Archive: read clouds from a local mount, more downloads in flight
ci / rust (push) Successful in 6m35s
ci / typescript (push) Successful in 8m53s
WebDAV through Nextcloud's PHP is what holds a big import back (CPUs idle). ARCHIVE_LOCAL_DIRS maps a cloud folder to its data on a read-only mount; files there are read from disk, the rest downloaded as before. Downloads in flight: up to 4 per CPU (192).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 00:16:00 +01:00
sparkandClaude Opus 5.5 594be91708 Search by photo: library lookup by face and "Encontra-te" on the public galleries
ci / rust (push) Successful in 8m2s
ci / typescript (push) Successful in 11m7s
A photo's faces against the library's face groups and named people (all events or one),
results in the library grid with who it is; on the sites, a visitor's face in one gallery.
Only with biometrics on; the photo is read in memory and never kept. The API runs its own
face engine on demand (stopped when idle).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 21:42:09 +01:00
sparkandClaude Opus 5.5 64d52fc691 Errors to errors.bitreport.pt from API, worker, app, desktop, sites and print agent
ci / rust (push) Successful in 15m6s
ci / typescript (push) Successful in 18m21s
API and worker report error log lines, unhandled 5xx and crashes to the hub with the
photoreport ingest key (ERROR_REPORTING_TOKEN); browsers (app, desktop webview, sites),
Next server renders and the print agent send through POST /v1/client-errors so the key
stays on the server. Repeats folded, rate-limited. docs/errors.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 19:32:54 +01:00
sparkandClaude Opus 5.5 beb7a249a9 Archive: game parts and session athletes, national teams, PO codes, club names
ci / rust (push) Successful in 9m8s
ci / typescript (push) Successful in 14m38s
Folders read as the FPA names them: a game's halves, warm-up and ceremony share the game's
event; a dated session's folders are athletes, named on their photos; national team codes
become countries; PO codes in every spelling and matchdays in names; club initials resolve
to the club's name. Rematch puts existing galleries right. Viewer: section per gallery,
Equipas only from games, and an Atletas list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 19:12:44 +01:00
sparkandClaude Opus 5.5 3ef00ef86e Worker: concurrency sized from the container's CPUs and memory; archive yields when busy
ci / rust (push) Successful in 11m35s
ci / typescript (push) Successful in 19m25s
Ingest, archive, faces, render and delivery concurrency come from the container's
cores and memory at start (logged as capacity); env values only pin them. The
archive takes less while live work keeps the CPUs busy (cgroup CPU pressure, or the
load average) or memory runs short, and all of it again when quiet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 18:12:28 +01:00
sparkandClaude Opus 5.5 04cee6095d Archive: show the server disk, pause indexing before it fills
ci / rust (push) Successful in 11m23s
ci / typescript (push) Successful in 19m9s
The Arquivo page shows free space and what the photos still to index will take
(about 1.6 MB each); the worker stops indexing below ARCHIVE_MIN_FREE_GB
(default 25) and resumes by itself.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 17:34:35 +01:00
sparkandClaude Opus 5.5 ab90d1e480 Archive: people and faces for viewers (directory, person photos, more of this face)
ci / rust (push) Successful in 10m22s
ci / typescript (push) Successful in 16m26s
Viewers find athletes by face within the galleries shared with them: a people
directory with faces by club, every photo of a person (identified, probable,
look-alike with a score), and clickable face boxes that find more of that face.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 17:27:17 +01:00
sparkandClaude Opus 5.5 2610d42670 Archive: index Nextcloud folders, match galleries to games, viewer site
ci / rust (push) Successful in 7m48s
ci / typescript (push) Successful in 11m32s
Nextcloud archives (FPA, Liga) connected with the login flow v2, walked by etag,
indexed as previews whose originals stay on the cloud, galleries matched to
official games. App: Arquivo module. Site: /arquivo/<id> for viewers who sign in
with their own cloud account and see only what is shared with them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 17:14:01 +01:00
sparkandClaude Opus 5.5 003b8fceb8 Desktop 0.3.12: originals changed by Photo Mechanic are sent anyway; "the best" can be sent again
desktop-release / build (--target universal-apple-darwin, dmg,app, darwin-universal, macos) (push) Successful in 7m45s
ci / rust (push) Successful in 14m15s
ci / typescript (push) Successful in 17m16s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Successful in 37m8s
A delivery waiting for an original never got it when Photo Mechanic had written captions into the file on the computer (its fingerprint changed, so the desktop could not find it). The desktop now sends the file it recorded for that photo to POST /v1/photos/:id/original, which takes it when it has the photo's pixel size. The "best" delivery gets an option to send again the ones the destination already has.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 04:44:22 +01:00
sparkandClaude Opus 5.5 a5cbbe594d Desktop 0.3.11: importing destinations brings their saved passwords when readable
ci / rust (push) Successful in 10m54s
desktop-release / build (--target universal-apple-darwin, dmg,app, darwin-universal, macos) (push) Successful in 12m29s
ci / typescript (push) Successful in 14m3s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Successful in 38m33s
The desktop takes the passwords out of Photo Mechanic's accounts and FileZilla's site manager and hands them over on their own when they are readable (plain, or base64 that decodes to text); the wizard fills them in and says so. Encrypted ones (FileZilla with a master password, binary Photo Mechanic blobs) are flagged to be typed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 04:24:06 +01:00
sparkandClaude Opus 5.5 42664869fc Desktop 0.3.10: the destination-import parser gets a name of its own
desktop-release / build (--target universal-apple-darwin, dmg,app, darwin-universal, macos) (push) Successful in 11m24s
ci / rust (push) Successful in 11m30s
ci / typescript (push) Successful in 14m36s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Successful in 33m55s
macOS file systems ignore case, so importTargets.ts and ImportTargets.tsx were the same module there and the 0.3.9 build failed. The parser is now importSources.ts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 02:36:59 +01:00
sparkandClaude Opus 5.5 b0e1664375 Deliveries to a folder on a computer, and importing destinations from Photo Mechanic and FileZilla
desktop-release / build (--target universal-apple-darwin, dmg,app, darwin-universal, macos) (push) Failing after 3m4s
ci / rust (push) Successful in 12m41s
ci / typescript (push) Successful in 15m10s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Successful in 34m31s
A LOCAL destination renders on the server and waits for the desktop app that chose the folder; the app saves it there and reports back. Destinos gains an import wizard for Photo Mechanic and FileZilla destinations (passwords are typed here, never read). Desktop 0.3.9.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 01:56:24 +01:00
sparkandClaude Opus 5.5 b4d3cedacc ZeroZero delivery and "only the best" selection
ci / rust (push) Successful in 7m42s
ci / typescript (push) Successful in 10m58s
A new delivery kind for fotos.zerozero.pt: the server signs in with the photographer's zerozero.pt account (OAuth through ax_login.php), finds the event's game among the desk's upcoming games by teams and kick-off (or uses a pasted link), and uploads with tus, with the photographer as the author.

"Only the best": an autopilot selection that delivers a short gallery of game moments (about N photos), spread over the match in 5-minute windows with unused shares carried forward, ranked by action (ball, duels, celebrations, big sharp subjects, stars), without twins. After the match, "Melhores..." sends the best N of an event the same way.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 01:07:07 +01:00
sparkandClaude Opus 5.5 caeee877ba Handball: licence numbers for bench officials, referees and table officials
ci / rust (push) Successful in 7m45s
ci / typescript (push) Successful in 10m43s
The match report lists the bench officials' coaching grade where players have their licence; the match page's team panes carry it, so coaches and directors now get their licence photo too. Referees and table officials come with full name and CIPA from the report and are kept as an FPA "Arbitragem" team, so the names the match page gives before a game find their licence, photo and full name; table officials become people of the event like the referees. Reports read before this are read again once.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-14 00:33:27 +01:00
spark eadb535d8f Handball squads from the FPA match reports, licence photos and referees
ci / rust (push) Successful in 7m35s
ci / typescript (push) Successful in 10m51s
The FPA publishes no squad lists, but its match reports (Boletim do Jogo) list every player with shirt number and licence number, the bench officials by card letter (Oficial A-F) and the referees. Teams of the senior national leagues and cups start from their club's last three reports, a few per refresh; then each report of a game played is read once. Licence photos are looked up for the people of an event being synced (biometrics on) and become reference photos; referees come from the report or the match page.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 23:50:14 +01:00
spark 8c39c6eb34 Faces: surer when face and shirt agree; kit colours learnt from strong suggestions
ci / rust (push) Successful in 8m24s
ci / typescript (push) Successful in 11m25s
A face suggestion whose shirt reads the same number goes up (+0.15 x the reading, max 0.99). Teams' kit
colours are learnt from confirmed players and from suggestions where face and shirt agree, and the kit decides
between two near faces wearing the number read (one per team).

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 23:21:15 +01:00
spark 97265b8de2 Sports data: UEFA competitions (fixtures, referee teams, squads from match sheets)
ci / rust (push) Successful in 9m25s
ci / typescript (push) Successful in 14m11s
Champions League, Europa League, Conference League, Women's Champions League and Futsal Champions League from
match.uefa.com (the JSON uefa.com reads; not documented, asked sparingly). Fixtures carry venue and the referee
team; squads (numbers, positions, headshots, coaches) grow from the sheets of matches played, and the match's own
sheet is read from 1 h before kick-off. On an event the referee team on the pitch becomes people ("Arbitragem").

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 22:48:58 +01:00
spark 467df72a59 Faces: face, shirt number and kit colour together
ci / rust (push) Successful in 8m24s
ci / typescript (push) Successful in 11m44s
A weak or ambiguous face match is settled by the number read on the shirt; a sure face whose shirt clearly
reads another number is suggested as less sure; when both teams have a player with the number, the kit colour
(median of the chest, per face) against each team's confirmed players decides, or nothing is guessed.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 21:53:42 +01:00
spark c32012a0cd Shirt numbers: a shorts crop for football, next to the chest crop for handball
ci / rust (push) Successful in 7m40s
ci / typescript (push) Successful in 10m49s
A sample of Liga Portugal 2026/27 photos (14 clubs) shows no chest numbers: the front number is on the shorts.
Each confirmed face now gives two samples (region CHEST and SHORTS); the reader tries both and keeps the more
confident reading. Faces collected before get the shorts crop once (faces.jersey_crops). Synthetic training
data also paints small side numbers.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 21:30:38 +01:00
spark ae7f8eb6f9 Work offline: library from cache, local arrivals, queued changes (0.3.7)
ci / rust (push) Successful in 11m44s
ci / typescript (push) Successful in 13m59s
desktop-release / build (--target universal-apple-darwin, dmg,app, darwin-universal, macos) (push) Successful in 18m44s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Successful in 33m41s
The desktop app opens and keeps working offline: events, photo lists, edit states, thumbnails and previews are kept on the computer; photos arriving by FTP show at once (filed by capture time) and can be culled, named and edited before upload; culling, IPTC and "send to" made offline wait in order and go when the server answers; uploads wait instead of failing. The autopilot never edits over a person's edit.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 18:34:30 +01:00
spark f8611ad405 Desktop 0.3.6: the interface lives on the computer and updates itself
ci / rust (push) Successful in 11m30s
ci / typescript (push) Successful in 13m56s
desktop-release / build (--target universal-apple-darwin, dmg,app, darwin-universal, macos) (push) Successful in 18m40s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Successful in 33m44s
The window always opens the interface from disk (no download to start, works offline). Each web deploy publishes ui-manifest.json; the app checks it in the background, downloads only the files that changed, verifies every hash and switches on the next start or reload. The installer's copy is the fallback and wins when newer.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 17:25:59 +01:00
spark c16730f540 Autopilot: level by boards, not pitch lines; crops frame the upper body
ci / rust (push) Successful in 7m54s
ci / typescript (push) Successful in 11m21s
The level ignores lines on grass (pitch markings tilted by perspective) and only trusts near-level or near-plumb lines that agree; otherwise the photo is left as it is. The automatic crop puts the chest a little above the middle and the spare height above the subject, instead of the knees in the middle and a strip of pitch below.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 16:45:21 +01:00
spark aae9ab8d0b Faces queue photos left unanalysed; local FTP originals count as camera ingest
ci / rust (push) Successful in 10m37s
ci / typescript (push) Successful in 12m58s
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 15:20:51 +01:00
spark 17784c8b22 Desktop: macOS installer and update build on a registered Mac (macos-runner.sh); 0.3.5
ci / typescript (push) Successful in 24m55s
desktop-release / build (--target universal-apple-darwin, dmg,app, darwin-universal, macos) (push) Successful in 19m18s
ci / rust (push) Successful in 24m31s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Successful in 1h16m12s
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 14:18:28 +01:00
spark 82ab4a3888 Local FTP: logins can be switched off, a connection test, macOS firewall warnings; desktop 0.3.3
ci / rust (push) Successful in 15m32s
ci / typescript (push) Successful in 16m47s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Successful in 1h16m6s
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 13:56:24 +01:00
spark 91a88c1aaa Agenda: connect your calendar (iCal) to fill generic events and suggest captions
ci / rust (push) Successful in 10m1s
ci / typescript (push) Successful in 12m33s
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 13:44:56 +01:00
spark edf8c21488 Generic events: no guessed caption, written in the form or the event's IPTC template
ci / rust (push) Successful in 7m38s
ci / typescript (push) Successful in 11m0s
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 13:33:21 +01:00
spark 112cea980f Events that are not a match: a name instead of two teams, captioned by the name
ci / rust (push) Successful in 7m42s
ci / typescript (push) Successful in 9m58s
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 13:15:54 +01:00
spark c94772e78e Site: most viewed galleries, photo caption and credit, a link per photo
ci / rust (push) Successful in 8m43s
ci / typescript (push) Successful in 11m58s
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 12:43:19 +01:00
spark ff8488fd93 Kiosk with photobooth on a tablet, Windows print agent, face boxes that follow the crop
ci / rust (push) Successful in 16m17s
ci / typescript (push) Failing after 16m55s
Impressão → Quiosque: a secret link for a tablet (photographer's photos, front camera photobooth, name and copies; paid prints at the counter). Print agent: Windows spooler through PowerShell. Loupe: face boxes in the edited preview's frame.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 11:29:23 +01:00
spark daf7fa7c11 Come back by itself after a reboot: boot unit for api and site, TMPDIR at boot, PM2 retries
ci / rust (push) Successful in 9m14s
ci / typescript (push) Successful in 11m18s
photoreport-boot.service runs infra/deploy/boot.sh at boot (starts the PM2 apps from the last built code, without depending on a saved PM2 list); tmpfiles rule for TMPDIR; deploys pm2 save; PM2 retries with exponential backoff while the database starts.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 10:32:56 +01:00
spark 69df3a1fd6 Photo packages: N photos or the whole gallery for one price, applied in the cart by itself
ci / rust (push) Successful in 7m1s
ci / typescript (push) Failing after 9m18s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Failing after 28m39s
Vendas → Produtos → Pacotes; contracts applyBundles prices the cart on the site and the order in the API the same way.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 05:32:12 +01:00
spark 238be17b2e FTP packages: days and upload quotas per login, and a download limit per bought file
ci / rust (push) Successful in 7m13s
ci / typescript (push) Failing after 9m12s
Membros → Pacotes FTP (the old app's pacotes), enforced through SFTPGo's auth hook; downloads per file set in the shop settings.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 05:18:05 +01:00
spark a47e83b56d Press accounts: newspapers and agencies buy on account and get one invoice a month
ci / rust (push) Successful in 7m23s
ci / typescript (push) Failing after 9m19s
Vendas → Imprensa in the app, Imprensa sign-in on the site, orders on account, monthly InvoiceXpress invoice per account.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 05:02:39 +01:00
spark 78dfd5cc3d Invoicing through InvoiceXpress: a certified invoice-receipt for every paid order
ci / rust (push) Successful in 7m1s
ci / typescript (push) Failing after 9m5s
With InvoiceXpress set up (account and API key, sealed), a paid order queues an invoice that the worker issues: created as a draft with our id as proprietary_uid (no duplicates), finalized, emailed to the buyer. Retried with backoff; rejected data or a bad key fails at once and notifies admins. Reverse-charged orders carry the exemption code from the settings (M40 by default). The number and link show on the order in the app and on the buyer's order page; Vendas -> Faturas lists them with a retry.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 04:46:09 +01:00
spark e7abf24a11 Import the old storefront: gallery links, paid orders, affiliates, Stripe Connect accounts
ci / rust (push) Successful in 7m16s
ci / typescript (push) Failing after 8m55s
The legacy importer gains a shop part. Every public gallery link becomes a gallery with the same address, title and password or PIN (old bcrypt hashes still verify), with its folder's photos. Paid carts become orders numbered OLD-..., marked delivered (history: no new payment, downloads or earnings). Affiliates keep codes and rates; photographers keep their Stripe Connect account. Order pages no longer offer a download for items without a rendered file.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 04:32:05 +01:00
spark 98a799eeb9 Notifications: the bell for sales, paid orders, comments to approve, payouts and failed deliveries
ci / rust (push) Successful in 6m58s
ci / typescript (push) Failing after 8m12s
Per-person notices written where things happen: a sale of your photos and what it earns you, paid orders (admins), client comments waiting for approval (editors), payouts made to you, deliveries that gave up (admins). Unread notices with the same key fold into one with a count; read ones are dropped after 90 days. The app shows a bell with the unread count, polls every minute and on focus, and links each notice to its page.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 04:22:36 +01:00
spark 17e9cbb3a8 Earnings: photographer shares and affiliate commissions, paid by Stripe Connect or bank
ci / rust (push) Successful in 7m5s
ci / typescript (push) Failing after 8m56s
When an order is paid, each line owes its photographer a share of its net amount and the order owes its affiliate (?ref=CODE links, remembered 30 days by the site) a commission. Earnings are held for the refund window, then paid per person by a Stripe Connect transfer (idempotent per payout) or a bank transfer recorded by hand. Orders can be marked refunded, cancelling what they still owed. App: Vendas -> Ganhos and Afiliados; photographers see their own sales and connect their Stripe account.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 04:10:47 +01:00