Commit Graph

8 Commits

Author SHA1 Message Date
bhursey 4b17ca00db Skip the pre-deploy build when only test files changed.
predeploy was a shell chain that always rebuilt, so a test-only edit paid for a
full Vite build. It is now scripts/predeploy.mjs: typecheck, tests and the render
check always run, and the build is skipped when a content hash of the bundle
inputs (src and public minus test files, plus the Vite/TS/package config) matches
the last successful build. The signature lives in node_modules/.cache, so it is
gitignored and never rsynced to the server.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-28 15:02:00 +00:00
bhursey a67e9ef458 Name the channels in the shadow clipping warning too.
Shadow warnings were a flat blue, so a single crushed channel looked the same as
all three. The shadow branch now uses the highlight palette: red/green/blue for
one channel, yellow (red+green), magenta (red+blue) and cyan (green+blue) for
pairs, white for all three. The render check covers both ends of the range, and
`npm run predeploy` chains typecheck, tests, the render check and the build so a
shader regression cannot reach a deploy.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-28 14:40:50 +00:00
bhursey 1e7ec0cf15 Add a headless render check for the 16-bit sidecar swap.
The proxy and sidecar reach the GPU through different upload paths, and whether
they agree depends on UNPACK_FLIP_Y_WEBGL being ignored for ImageBitmap. A unit
test cannot see that, so the picture could silently start flipping again. The
check encodes a two-tone sidecar with the server's encoder, serves it beside the
matching JPEG and measures the rows that land in a WebGL2 texture in headless
Chrome.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-28 14:30:36 +00:00
bhursey 16456c3c69 Replace the Lensfun WebAssembly runtime with our own lens engine.
The wrapper's wasm, its 5 MB data blob and the runtime chunk were fragile to
serve (CSP, MIME, cache) and pulled an LGPL runtime into the bundle just for
calibration data. The Lensfun XML is now converted at build time into
public/lens-db/profiles.json, and search, matching and the correction maths live
in src/lib/lensDb.ts and src/lib/lensEngine.ts. Maps are pinned against output
captured from the previous implementation, so results are unchanged.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-28 05:17:02 +00:00
bhursey 0b3ab76405 Add the optional Immich integration and manual gallery push
Immich connections stay server-side with an encrypted API key, albums can be
imported, and photos are only sent back when an event's push button is pressed:
originals upload once, edited photos re-render, and edits hashes plus checksums
skip anything already in Immich. This also lands the accompanying editor, cloud
and administration work that was still uncommitted.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-25 17:43:05 +00:00
bhursey e0c76ba965 License the application code under MIT
The project is meant to be open source, so replace the proprietary notice with
the MIT licence, declare MIT in package.json, and update the README and the
consolidated notices so they describe the grant accurately while keeping
third-party terms, including the Lensfun database's CC BY-SA 3.0, untouched.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-23 16:18:27 +00:00
bhursey f892688136 Add root licence and consolidated third-party notices
Formalise the existing all-rights-reserved position with a proprietary root
LICENSE and mark the package UNLICENSED, then collect the third-party terms in
one THIRD_PARTY_NOTICES.md: resolved versions, copyright lines, the MIT/MIT-0/
zlib texts, the Apache-2.0 text copied from sharp, the PDF's embedded Liberation
and DejaVu font licences, and explicit pointers for the LGPL, CDDL and CC BY-SA
texts that still need to be bundled. The README's claim that no root licence
exists is updated to match.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-23 16:12:48 +00:00
bhursey cd52a2f82f Initial commit: Luminary photo catalog and RAW editor
Browser-based photo catalog with an optional team server (SQLite + LibRaw).
Local database, uploaded photos, build output and dependencies are gitignored.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-23 15:19:25 +00:00