Commit Graph
11 Commits
Author SHA1 Message Date
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 10406eef02 Faces on by default: deploy builds engines and fetches models; enabling biometrics queues old photos
ci / rust (push) Successful in 6m58s
ci / typescript (push) Successful in 7m47s
Also carries the Develop crop/level/flags change pushed as "x" by mistake (8b01ae8).

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 00:24:39 +01:00
spark 0cd5119581 Deploy builds the develop engine, installing its toolchain once
ci / rust (push) Successful in 6m49s
ci / typescript (push) Successful in 7m42s
The app host had no Rust toolchain, so Revelar showed "engine missing". The deploy now installs rustup, the
wasm32 target and the pinned wasm-bindgen CLI in the deploy user's home the first time, then builds the engine.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-12 16:32:16 +01:00
spark 8c42115a32 fix(app): find the API next to the app when the build does not say; world-readable web releases
ci / rust (push) Successful in 6m50s
ci / typescript (push) Successful in 7m55s
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-12 15:08:53 +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 217ee3e186 fix(infra): source apps/api/.env before prisma migrate deploy
ci / typescript (push) Successful in 10m47s
ci / rust (push) Successful in 10m50s
prisma.config.ts reads DATABASE_URL straight from process.env with no .env
fallback, so `pnpm exec prisma migrate deploy` failed with "Connection url is
empty" even though the app itself (started with `node --env-file=.env`) had
no trouble reading it. Source the env file into the subshell first.

Paperclip-Issue: BIT-31073
Paperclip-Run: f547e267-f300-4ca3-a746-be388d7e38b2
2026-10-12 13:55:24 +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 64da90d2f2 feat(develop): Revelar, the synced editor with one engine on web, desktop and server
ci / typescript (push) Successful in 9m59s
ci / rust (push) Successful in 21m53s
engine/core renders with the LightCraft pipeline; engine/wasm runs it in the browser; workers/render replays op logs and renders originals natively. Op log with live fan-out and offline outbox; edited thumbnails and deliveries rendered from the original. Revelar page with Basic and optional modules, crop with aspect presets and straighten, before/after, undo/redo, copy/paste settings.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-11 22:36:02 +01:00
sparkandClaude Opus 5.5 3f702c4e23 feat(faces): detect, group and name players by face; squad reference photos
ci / rust (push) Successful in 2m3s
ci / typescript (push) Successful in 4m26s
Faces end to end (YuNet + AuraFace worker in Rust, grouping per event, confirm/merge/ignore, suggestions from known people, loupe boxes), blurred faces kept out of groups (sharpness gate tuned on a real football match), and reference photos for the squad.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-11 18:41:07 +01:00
sparkandClaude Opus 5.5 fca9281f4e feat: phase 1 ingest, library, IPTC and Nextcloud delivery
ci / rust (push) Successful in 2m20s
ci / typescript (push) Successful in 5m23s
- packages/metadata: {variable} templates, Photo Mechanic code replacement, IPTC fields of the current pad (title = persons shown), IIM/XMP mapping, delivery folder and file-name templates (FPA, Liga)
- API: events with agenda and IPTC template, FTP logins, ingest worker (hash, dedupe, EXIF in Lisbon time, routing by agenda + capture time, previews), library culling, IPTC preview, code list, signed file URLs
- Realtime: Socket.io with Postgres LISTEN/NOTIFY fan-out
- Delivery: queue with fixed sequence numbers, 4000 px JPEG 100 with IPTC via ExifTool, WebDAV upload with retries, OCS share links, encrypted app passwords
- Web app: approved type and Lightroom-style workspace, grid/loupe with keyboard culling, players, IPTC panel, delivery queue, code list editor

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-11 15:46:07 +01:00
sparkandClaude Opus 5.5 29e96b3023 feat: deploy script with rollback; crop command contract (8/10)
ci / typescript (push) Failing after 34s
ci / rust (push) Successful in 1m41s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-11 14:48:58 +01:00