Commit Graph
49 Commits
Author SHA1 Message Date
spark 5eb5e95f1d Show one club for each sigla, and list countries as national teams.
ci / typescript (pull_request) Failing after 14m27s
ci / rust (pull_request) Successful in 11m46s
The Betclic list joins SLB with SL Benfica and AAAS with Águas Santas. A country name is a seleção. The face pass reads that club's squad for the season, including rows stored under the short code.
2026-10-21 23:19:19 +01:00
spark 7d77c51f57 Read every Liga season the federation still lists, and filter people by season.
ci / typescript (pull_request) Failing after 15m18s
ci / rust (pull_request) Successful in 14m8s
Older leagues were published under other names, so a gap in the register stopped the walk. The people list stays everyone until a season is chosen.
2026-10-21 21:12:30 +01:00
spark fd846ac68e Show the whole card copy, finish a fused angle, and open a tournament under its tile.
ci / rust (pull_request) Successful in 9m43s
ci / typescript (pull_request) Failing after 11m37s
The progress bar is the copy as a whole. A fused property angle can take a finish and be saved. A tournament's galleries open on the next row instead of below the list.
2026-10-21 05:12:53 +01:00
sparkandClaude Opus 5.5 6a5c3044f7 Find faces in archive videos the photos' way: frames through the same engine, appearances in the same face groups.
ci / rust (pull_request) Successful in 3m55s
ci / typescript (pull_request) Failing after 8m33s
The face worker (after the photos, one video at a time) takes ARCHIVE_VIDEO_FACE_FPS frames a second (default 5) out
of a video's web copy and analyses each with the same engine and filters as a photo. The same face in consecutive
frames is one appearance (video_faces: start, end, its clearest frame, the mean of its sharp embeddings), and goes
into the event's face groups by groupEvent, so suggestions, confirming, "não é", false positives, recognition off and
merging are the photos' own.

Viewers: "Rever rostos" shows a group's video appearances beside its photos' faces (rights: every folder its photos
and videos are in); the gallery's videos say who appears and when, and the player jumps there; a person's page lists
the videos they are in, with each moment. Existing videos are queued where face recognition is on.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SC7s5gwdivkoBXbRGxbnAo
2026-10-20 19:27:53 +00:00
sparkandClaude Opus 5.5 dd07599447 Merge main into archive videos: videos in the stored galleries, old videos found on the next walk, ffmpeg on deploy.
ci / rust (pull_request) Successful in 3m49s
ci / typescript (pull_request) Failing after 6m55s
Videos count in the galleries main now stores (a game's parts share one card): video_count summed per gallery, the
first video's frame as cover of a videos-only gallery, the videos of every part in the gallery page, and only from
published folders. The face review keeps main's own overlay class (.arq-rlightbox).

The migration (renumbered after main's) clears the folders' etags and walks every cloud at once, so the videos the
walks skipped until now are found; photos already indexed keep their etag and are not indexed again.

The API deploy puts a static ffmpeg in ~/.local/ffmpeg (md5 checked) when the host has none; the worker uses it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SC7s5gwdivkoBXbRGxbnAo
2026-10-20 14:40:08 +00:00
sparkandClaude Opus 5.5 de39705600 Show and play archive videos: a web copy made once by ffmpeg, signed and seekable, in the galleries the cloud shares.
Videos in gallery folders are walked like photos into cloud_videos (a folder of videos only is a gallery too).
The worker makes an H.264/AAC MP4 (short side at most 1080 px, faststart), a poster and a thumbnail; the
original stays on the cloud. Viewers get them by signed links with Range support, above the photos, in a player
like the large photo; download is the web copy, the original's link only for those who edit on the cloud.

Also gives the face review's overlay its own class: it reused .arq-lightbox and broke the large photo's layout.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01SC7s5gwdivkoBXbRGxbnAo
2026-10-20 14:21:02 +00:00
spark 9a61e8bf61 Store the teams list in the background and drop the Equipas helper line.
ci / typescript (pull_request) Failing after 2m9s
ci / rust (pull_request) Successful in 7m33s
The page reads a table the worker rewrites only when a gallery, a club alias, or a known team name changes.
2026-10-20 11:10:49 +01:00
sparkandClaude Opus 5.5 3794370dad Archive site: gallery filters and sections, faces waiting, club names joined, review scope.
ci / rust (pull_request) Successful in 7m31s
ci / typescript (pull_request) Successful in 10m6s
- Galleries by type (games, tournaments and events, sessions, refereeing), season and order; without a type,
  in sections, with a tournament's galleries grouped by day or group.
- A gallery shows its season and venue; those who review see the faces waiting (on the gallery and per photo),
  how sure each suggestion is, and false positives they can undo.
- People: clubs grouped (clubs, national teams, others), "Reconhecimento desativado" on the card, and on a
  person what recognition knows: confirmed faces, "não é", the reference photos with a way to take one out.
- "Juntar nomes": the same club under other names counts as one in people and teams (archive_club_aliases).
- Review "Âmbito": one gallery or every folder the viewer edits, with how much is done.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
2026-10-19 10:21:05 +00:00
sparkandClaude Opus 5.5 9a2148b2ed Archive site: more of the design (copy link, select in the large view, review and person details), and fix the large view's layout.
- Gallery: "Copiar ligação"; the large view selects photos for the download, steps with Anterior/Seguinte and
  shows the game.
- Pessoas: title; "confirmadas", and "por confirmar" only for those who review. Equipas: one line on what a team
  is, and its people.
- Pessoa: the recognition-off banner with "Reativar", "Rever N sugestões", "Zona de cuidado".
- Rever: the shortcuts on screen, the chosen person's card with "Opções de reconhecimento", and a page for those
  who may not review.
- The review cards' photo viewer had taken the gallery's class (.arq-lightbox) and broke the large view's layout:
  it is .arq-rlightbox now.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
2026-10-19 09:51:54 +00:00
spark 68588e0296 Merge main and read a slash between two club names as two teams.
ci / rust (pull_request) Successful in 12m19s
ci / typescript (pull_request) Successful in 15m22s
A folder such as "ALMADA AC / EXT. GIL EANES" was stored as one team in every archive. A slash with spaces is the two sides; a season written 2025/2026 stays a directory.
2026-10-19 08:54:26 +01:00
jos-alves 0d6a9e27e0 Show a retry screen instead of a hard crash when a page render fails
ci / rust (push) Successful in 7m16s
ci / typescript (push) Successful in 10m59s
The site had no error.tsx or global-error.tsx anywhere, so any transient
failure in a Server Component (an API hiccup, a DB blip like the one fixed
in d6a7edd) took down the whole page with Next's generic "omitted in
production" message and no way to recover short of reloading. The real
error and stack still reach errors.bitreport.pt via instrumentation.ts's
onRequestError, which fires independently of these boundaries.

Paperclip-Agent: José Alves (urlKey jos-alves; id 11179220-3cec-4f0f-880d-2771ff64fce8)
Paperclip-Issue: BIT-31537
Paperclip-Run: a91a9196-6082-4408-a3b1-9b3711e28f7b
2026-10-19 04:24:09 +01:00
spark 68c4f48cd6 Read every Liga sponsor as the same league, and review one person across their games.
ci / rust (pull_request) Successful in 10m46s
ci / typescript (pull_request) Successful in 13m36s
Liga Portugal bwin, Liga NOS, SABSEG and LigaPro are the leagues already stored under today's names, so an old folder can meet its real match. Confirming a face updates the other games of that person, and the review shows their photos large.
2026-10-19 03:40:26 +01:00
spark 11cbf64608 Index Liga bwin galleries by their glued codes, and name faces from the match sheet first.
ci / rust (pull_request) Successful in 10m10s
ci / typescript (pull_request) Successful in 14m23s
A folder such as CPACxRAFC was stored as one name with no championship. Editors who can edit a folder can now pick another person, with the official face, club and number. Failed face reads are retried a few at a time.
2026-10-19 03:04:14 +01:00
sparkandClaude Opus 5.5 5d286299f8 Archive teams: match folder names with prepared teams (6x faster), and say "preparing" instead of timing out.
Each known team's folded names, words and code are worked out once (teamMatcher, same answers as
canonicalTeam). The directory waits 10 s at most; meanwhile it answers { preparing: true } and the page asks
again, so the proxy never gives a 500.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
2026-10-19 00:45:00 +00:00
sparkandClaude Opus 5.5 02a1440d66 Rename an archive in the app; a cloud that does not answer the sign-in is said in 15 s.
ci / rust (pull_request) Failing after 1m23s
ci / typescript (pull_request) Successful in 7m5s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
2026-10-19 00:03:10 +00:00
sparkandClaude Opus 5.5 56f8660667 Let archive viewers download at web size, keep the cloud for editors, and serve an archive at its own address.
ci / rust (pull_request) Failing after 37s
ci / typescript (pull_request) Failing after 2m51s
- Downloads: one photo, a selection (up to 100) or a whole gallery (ZIP, up to 1000) at 2048 px with
  metadata, through a short-lived signed link. Gallery and large view get the buttons.
- The cloud is named only to those who edit the folder there (a small "originals" link); sign-in no
  longer mentions it.
- cloud_sources.hostname: the site's middleware serves that archive at the root of its own host;
  Caddy asks /v1/archive/host before getting a certificate. Set in the app (Endereço próprio).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
2026-10-18 23:27:33 +00:00
spark 16c23c3eb8 Fix the archive's buttons, sidebars and narrow screens.
The archive's resets had more weight than the component classes, so primary buttons took the text colour of
their parent; they are weightless now (:where). Faces in the review sidebar stretched; stacked columns on phone
and tablet grew to their content's width.

Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
2026-10-18 23:09:23 +00:00
spark d37a357bed Review faces in the archive site, and the person's recognition panel.
"Rever rostos" appears for viewers with edit rights on the cloud (with how many suggestions wait): face groups by
state, filtered by person, one card per group with its sharpest faces and how sure; confirm, "não é", false
positive, name an unnamed face, undo, one at a time (keys C, N, F) or for a selection. The large view offers the
same on each face. A person's page shows their recognition state and history to editors and, to whoever edits
the whole archive, taking back every suggestion, dropping a wrong reference photo, and turning recognition off
(with the names already given, if chosen) or on again.

Layout fixes found on phone and tablet; docs updated for templates and face review.

Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
2026-10-18 23:03:46 +00:00
spark 738823e7c3 Give the archive its owners' templates, a phone and tablet layout, and quicker lists.
One set of screens; FPA and Liga Portugal differ only in tokens (colours, display type, radius) and their logo,
in archive.css under `data-look`. Two-bar header with the sections, a bottom bar on phones; galleries open on
the latest game, cards show the two teams; a game's page shows the match, the people of the game and the
photos; people with a club list (a sidebar on desktop, pills on smaller screens); teams as cards.

Speed: answers are kept for the page's life and read again behind; galleries load ahead on hover; faces and
reference photos are lazy <img> instead of CSS backgrounds (all fetched at once before); the next and previous
photos preload in the large view. The directory sends the teams at once and the players apart, both kept five
minutes per source and per set of visible folders. Galleries carry a preview-size cover, and a gallery its two
teams.

The archive's styles move out of the site's globals.css into the archive's own stylesheet.

Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
2026-10-18 22:43:27 +00:00
spark edd3216330 Keep archive viewers signed in, and read their shares from the cloud again.
Closing the browser signed a viewer out: the session lived in sessionStorage and the grant ended after 12 hours.
"Manter sessão iniciada" (on by default) now keeps the token in localStorage and the viewer's app password,
sealed, on the grant. The session lasts while it is used at least once a month, and what is shared is read from
the cloud again when the last reading is over 10 minutes old, so a share taken away there is gone here too. A
refused app password ends the session; an unreachable cloud keeps the last reading for one hour, never longer.
"Sair" revokes the kept app password. Unticked, sign-in works as before (revoked at once, 12 hours).

Claude-Session: https://claude.ai/code/session_017sovZz1NXBwx4VySojoyA1
2026-10-18 22:33:37 +00:00
spark dc433d0bdf Show every team named in the cloud, and search a face in the database.
ci / rust (pull_request) Failing after 37s
ci / typescript (pull_request) Failing after 3m4s
The people list only showed clubs that already had a recognised face, so a cloud with hundreds of games looked like a handful of teams. Opening one person compared every face group in the process and the page timed out; that comparison now uses the vector index.
2026-10-18 19:54:18 +01:00
spark 9ff98530d9 Recognise a delivered game by its federation code, and ship the local copy and the game's people.
ci / rust (pull_request) Failing after 37s
ci / typescript (pull_request) Failing after 6m25s
A folder the program writes as AAAS x SCP is Águas Santas x Sporting, so the archive check that already runs when the worker starts attaches the official game. Suggestions on a linked game stay inside the two squads. An export can also keep the same file in a local folder named by the day, the game and the destination, and a gallery can pick anyone named in that game.
2026-10-18 19:29:07 +01: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 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 4b7cca0556 Archive looks: owner's name on top, themed photo view, phones
ci / rust (push) Successful in 4m56s
ci / typescript (push) Successful in 7m31s
The band names the owner (Liga Portugal, Federação de Andebol de Portugal) with the session, the page is the photo archive (not the source's technical name). Large photo, people, teams and the gallery page in the look's colours; cards as top-aligned panels; phone layout.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-15 00:48:36 +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 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 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
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 e9fcf973c3 Site home: search by team, player or competition, sport shortcuts, latest photos and live badges
ci / typescript (push) Successful in 18m48s
ci / rust (push) Successful in 15m24s
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 11:42:14 +01:00
spark 72d9c17a4d Event pages without a storefront on the domain; desktop 0.3.2 with the manifest step fixed
ci / typescript (push) Failing after 20m33s
ci / rust (push) Successful in 21m28s
desktop-release / build (deb,appimage, linux-x86_64, ubuntu-latest) (push) Successful in 45m20s
events.next showed "Este domínio não tem site configurado" for /e/ pages: they now render on their own. The release's manifest step ended under pipefail when one of the two bundle folders didn't exist.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 11:33:28 +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 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 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
spark a693057270 Live client galleries, proofing (favourites, comments) and ZIP downloads; PATCH keeps fields
ci / rust (push) Successful in 7m1s
ci / typescript (push) Failing after 8m45s
Live galleries fill themselves from their event (picks, or every ready photo) while the match is on; photos taken
out by hand stay out. Clients mark favourites and comment (approved by the photographer); the app shows the
selection, exports CSV, copies file names and labels the favourites in the library. Orders download as one ZIP,
and free galleries get "download all". Fixes PATCH on galleries, sites and print events resetting fields to their
defaults (a title change made a private gallery public).

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 03:09:46 +01:00
spark 5ef1611614 Dependency security upgrades: nodemailer 10, mysql2 3.24, next 15.5.27, vitest 4, overrides
ci / rust (push) Successful in 6m58s
ci / typescript (push) Successful in 8m18s
pnpm audit goes from 26 advisories (2 critical) to 1: ip under ftp-srv, a test-only FTP server with no fixed
release. postcss, deepmerge-ts, mysql2 (via prisma) and uuid (via ftp-srv) are pinned by pnpm overrides. All
suites, typechecks and the app and site builds pass.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 02:41:32 +01:00
spark adb557290c Release hardening: no symbols, no source maps, no wasm names
ci / rust (push) Successful in 7m1s
ci / typescript (push) Successful in 7m36s
Rust release profiles strip symbols and debug info (desktop: fat LTO, panic=abort), the web app and site ship
without source maps, and wasm-opt drops debug, producer and name sections from the engine.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-12 16:13:37 +01:00
spark 68c99dac2a fix(infra): source apps/site/.env before pm2 starts the site
ci / typescript (push) Failing after 6m48s
ci / rust (push) Successful in 6m55s
site.config.cjs defaults API_URL to 127.0.0.1:3000, which is wrong whenever
pr-site runs on a different container than pr-api (every multi-container
deployment). pm2 reads process.env at invocation time, not apps/site/.env
(thats Nexts own, separate loading), so source it in deploy.sh before
startOrReload, same pattern as the prisma CLI fix. Adds .env.example to
document the var.

Paperclip-Issue: BIT-31073
Paperclip-Run: f8f86a1f-44b2-4845-8a61-e33b080c4699
2026-10-12 14:24:24 +01:00
spark e566958413 fix(site): friendly page for a domain without a shop instead of a server error
ci / rust (push) Successful in 6m48s
ci / typescript (push) Successful in 7m10s
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-12 14:17:32 +01:00
sparkandClaude Opus 5.5 0f82126178 feat(print): paid prints at events through the organization's Stripe account
ci / typescript (push) Successful in 14m17s
ci / rust (push) Successful in 10m55s
Events can charge per print: the guest pays on Stripe's page first and the webhook (shared with the shop) sends the job to the queue or to approval; abandoned payments cancel the job.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-11 22:37:10 +01:00
sparkandClaude Opus 5.5 d40dd9552d feat(print): on-site printing with a QR page for guests and a print agent
ci / typescript (push) Successful in 16m21s
ci / rust (push) Successful in 22m6s
Print events with a QR code to events.photoreport.pt/e/<slug>; 300 dpi prints with the event's band and border; approval and limits; live queue in the app; apps/print-agent pairs with a one-time code, reports CUPS printers, claims jobs for loaded paper and prints with lp.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-11 22:36:26 +01:00
sparkandClaude Opus 5.5 8947a51d83 feat(shop): galleries on the public sites, Stripe checkout and rendered downloads
ci / typescript (push) Successful in 15m12s
ci / rust (push) Successful in 22m16s
Sites per domain with two skins (PhotoReport, ShootYourMove) in apps/site (Next.js); public, unlisted and private galleries with watermarked photos; products, cart, orders with VIES reverse charge; the organization's own Stripe Checkout and signed webhooks; bought files rendered from the original with edits and IPTC, emailed; Vendas module in the app.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-11 22:36:16 +01:00
sparkandClaude Opus 5.5 500bb9fd87 feat: API skeleton, edit contracts and app/package placeholders
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-11 13:53:01 +01:00