Commit Graph

79 Commits

Author SHA1 Message Date
bhursey 8b309d9cad Publish the 0.5.3.1 Windows artifact checksums 2026-12-01 13:31:18 +00:00
bhursey 8fba0835b9 Publish the 0.5.3.1 Linux artifact checksums 2026-12-01 13:26:05 +00:00
bhursey 83322d9b50 Describe the desktop app and the local engine in the user guide
The guide still read as a team-server product: raws were "sent to the server"
and the Windows chapter described the old Program Files install. It now explains
the local engine, the native window, offline start and the per-user installer,
and the PDF is regenerated from it.
2026-12-01 13:25:05 +00:00
bhursey 7282d2d960 Publish the 0.5.3.1 Windows artifact checksums 2026-12-01 13:20:25 +00:00
bhursey 5cc8867878 Publish the 0.5.3.1 Linux artifact checksums 2026-12-01 13:14:06 +00:00
bhursey 93168de914 Document the 0.5.3.1 desktop release and add a changelog
The README described only the browser and team-server modes, so the desktop
bundles, their offline behaviour and the native Windows window were undocumented,
and there was no changelog to point testers at.
2026-12-01 13:12:50 +00:00
bhursey 970fa18d86 Publish the 0.5.3.1 Windows artifact checksums 2026-12-01 13:09:36 +00:00
bhursey a4aa43461f Ship the native app window and start from Luminary.exe
A tester saw Edge open and start syncing his Microsoft account; the bundle
carried no WebView2 host, so the launcher fell back to Edge's app mode. The
window host is now built and shipped, the fallback prefers Chrome over Edge, and
the installer's Start Luminary, shortcuts and start-at-login use Luminary.exe so
they no longer depend on Windows Script Host, which policy can disable.
2026-12-01 13:04:37 +00:00
bhursey 9aff70bd63 Publish the 0.5.3.1 Windows artifact checksums 2026-12-01 12:53:13 +00:00
bhursey bbcf2efda6 Publish the 0.5.3.1 Linux artifact checksums 2026-12-01 12:48:29 +00:00
bhursey f1f96f1f10 Check offline imports in the smoke tests
With the network down, a request that goes through the system proxy cannot
reach 127.0.0.1, which is how a healthy engine looked unreachable. Both smoke
tests now start under a proxy pointed at a black hole, import a TIFF through the
real upload and preview path, and assert the launcher and app window bypass
proxies.
2026-12-01 12:47:06 +00:00
bhursey 0525e496e0 Say local engine in the import dialog and the offline errors
A tester saw "raw files are demosaiced by the server" and read it as an upload
to someone else's machine. In desktop mode the decoder runs in the bundle on
this PC, so the import dialog, the join page and the "cannot reach" error now
say local engine, while team-server installs keep the server wording.
2026-12-01 12:45:04 +00:00
bhursey 91ce88a51f Publish the 0.5.3.1 Windows artifact checksums 2026-12-01 12:38:15 +00:00
bhursey b675fa8fea Publish the 0.5.3.1 Linux artifact checksums 2026-12-01 12:32:31 +00:00
bhursey 2d3b3bb665 Call the local process the local engine on Linux and macOS
The Windows launcher already avoids the word "server" in what users read, and
the macOS health probe now uses curl --noproxy so starting offline cannot stall
on a system proxy. The app windows also ignore proxies, which only ever point
at 127.0.0.1.
2026-12-01 12:31:10 +00:00
bhursey b271037c54 Publish the 0.5.3.1 artifact checksums 2026-12-01 12:24:37 +00:00
bhursey afdbeb4283 Say background service instead of network service
"Network service" still reads as something that talks to the internet. The
generated bundle README now calls the local engine a background service on this
PC and says a connection is not needed.
2026-12-01 12:24:37 +00:00
bhursey e7ecd712e2 Create the NSIS cache directory on a fresh build
--installer unpacks a private NSIS into <out>/tools/nsis, but dpkg-deb creates
only the leaf directory, so the build failed whenever --out had no tools/ yet.
The parent is created first.
2026-12-01 12:24:37 +00:00
bhursey 7eac7e7ecf Release 0.5.3.1
Ships the offline-start fix for the Windows launcher and the before/after split.
2026-12-01 12:14:31 +00:00
bhursey 7cad990c8e Call the local process the local engine, not a server
Windows users read "server" as a network service and asked whether the app
phones home, even though the bundle only ever talks to 127.0.0.1. The launcher
dialogs, the help text, the Stop shortcut and the bundle README now call it the
local engine and say plainly that it is a background process on this PC.
2026-12-01 12:14:31 +00:00
bhursey a7ba0d2e87 Start the Windows bundle when the network is disconnected
The launcher asked /api/health through Invoke-WebRequest, which resolves the
system proxy or PAC script before it looks at the URL; with no network every
probe timed out and the launcher killed a healthy local process after two
minutes and reported that Luminary had not started. Both launchers now probe
127.0.0.1 over a raw TCP socket, which uses no proxy, DNS or certificate store,
and the app window is started with --no-proxy-server.
2026-12-01 12:13:54 +00:00
bhursey 7aef2e37bf Add a before/after split with a draggable handle
The Develop preview can put the untouched source left of a drag line and the
edited frame right of it. Both halves come from one render on one view, so they
line up exactly, and the split shares its handle behaviour with the lens
correction split. The headless render check now asserts that each half shows its
own edit.
2026-12-01 12:13:54 +00:00
bhursey b39cad02fe Read the app version from package.json everywhere
CI / verify (push) Has been cancelled
The version was duplicated in the server, the About panel and the release
scripts, and had already drifted once. The server health endpoint and the
About panel now take it from package.json, and the help sheet gained an
About section that shows the version alongside the guide details.
2026-12-01 06:02:16 +00:00
bhursey 5cde6d444b Publish the 0.5.2 artifact checksums
CI / verify (push) Has been cancelled
The Linux and Windows builds were rerun after the health endpoint moved to
0.5.2, so their SHA-256 sums changed.
v0.5.2
2026-12-01 05:38:30 +00:00
bhursey 74a16fbf88 Report 0.5.2 from the health endpoint
The server carries its own copy of the version for /api/health, which was left
behind when the packages moved to 0.5.2 and made a deployed build look older
than it is.
2026-12-01 05:31:27 +00:00
bhursey becfafc603 Skip the ONNX CUDA download in the Windows build image
CI / verify (push) Has been cancelled
The cross-build container runs npm ci against the host package.json, which
otherwise pulls the CUDA runtime the bundle never loads.
2026-12-01 05:27:46 +00:00
bhursey 4758fa1076 Release 0.5.2
Bumps the app version so the packages carry the SCUNet and NLM denoise bases,
and updates the packaging docs to the new filenames.
2026-12-01 05:18:59 +00:00
bhursey b633f07042 Keep experiments out of the Docker build context
spike/ held a 449 MB set of ONNX trials and .pi/ session notes, both of which
were being copied into every image build. Neither is referenced by the app, so
ignore them alongside the existing scratch directories.
2026-12-01 04:16:52 +00:00
bhursey f7942d0bd0 Offer SCUNet and NLM alongside the guided denoise
The AI denoise panel now picks between three bases: the existing guided
filter, non-local means and a learned SCUNet model run through
onnxruntime-node on overlapping tiles. The base is part of the render key, so
each model keeps its own cached render and switching back is instant, and jobs
report stage and tile progress instead of a bare spinner.

onnxruntime-node is pinned to 1.23.0, the last release that ships both macOS
architectures, and every Docker and desktop install skips its CUDA download
because only the CPU binaries in the package are used. The SCUNet weights and
ONNX Runtime are added to the third-party notices, the deb copyright file and
the README's denoise, API and redistribution sections.
2026-12-01 04:03:53 +00:00
bhursey b34d34dacb Package a self-contained macOS app and harden serving
- Add macos/build.mjs: stages a universal .app outside the checkout, bundles
  and checksums Node, installs production deps per architecture, compiles the
  launcher shim, signs ad-hoc or with a Developer ID, and writes a zip and dmg
  with an optional notarization path.
- Serve precompressed brotli/gzip assets and split admin panels and the public
  pages out of the main bundle.
- Support HTTP range requests, and fix upload and quota accounting, gallery
  download counts and unreadable-file handling.
- Add server HTTP integration tests, a Gitea CI workflow, a catalog backup
  script and a crash screen for the UI.
2026-11-29 06:23:58 +00:00
bhursey d42727618e Add the film gallery generator and brand logo
scripts/film-samples.mjs renders the sample frames and B&W filter strip for the
film-looks page, and logo.png is the asset the app, bundles and site deploy all
expect at the repo root.
v0.5.1
2026-11-29 01:15:52 +00:00
bhursey 335cb3c757 Ship Windows as a per-user NSIS installer
Replaces the Inno Setup script, which could not be built off Windows, with an
NSIS installer that cross-compiles on Linux, installs under LOCALAPPDATA with
no UAC prompt, and keeps the catalog on uninstall. build.mjs gains --installer
and --no-installer, and --publish now ships the setup exe beside the portable
zip.
2026-11-29 01:15:52 +00:00
bhursey 7ecc4474c5 Add the Ubuntu packaging pipeline and smoke test
Builds the tar.gz and .deb under linux/, with a launcher, install script and
SMOKE-LINUX.sh so a packaged build can be checked before publishing.
2026-11-29 01:15:49 +00:00
bhursey 726a5b922b Fix direct window launch when VBScript is disabled
The window now starts Luminary.ps1 through a hidden PowerShell process instead of relying on the VBS entry point, and the installer defaults to Luminary.cmd. Bump the beta to 0.5.1.
2026-11-28 23:03:51 +00:00
bhursey fe1da03f66 Add direct native-window launch and publish 0.5 beta
Forward a direct LuminaryWindow launch through the bundle launcher so it starts desktop mode instead of showing a signed-out page. Refresh the guide screenshots and version the release as 0.5.0 Beta.
2026-11-28 22:40:16 +00:00
bhursey edfc6cdc80 Cover raw and TIFF import in tests and show decode details
The new tests pin the CR2/NEF/CR3/DNG and TIFF routing, container
signatures and TIFF proxy decoding, with an opt-in fixture run for real
raw files. The Info panel now reports the decoder and the proxy size, so
a file that fell back to a camera preview is visible at a glance.
2026-11-28 20:57:53 +00:00
bhursey 27360ffae7 Import TIFF through the server and survive a wedged raw decoder
Browsers have no TIFF decoder, so TIFF import failed at createImageBitmap
and the develop canvas asked for the undecodable original. TIFF now takes
the raw proxy path (original stored, sharp writes the JPEG proxy) and the
editor reads that proxy. LibRaw demosaic and preview calls are bounded so
one bad file falls back to the embedded preview instead of hanging.
2026-11-28 20:49:25 +00:00
bhursey 8aafdcfb16 Add an About panel with the guide version and date
Clicking the brand opens it, so the guide version and publication date
are visible in the app rather than only on the PDF cover.
2026-11-28 20:32:37 +00:00
bhursey d0e0e8926c Rebuild the user guide from live catalog screenshots
The guide now covers every screen, panel and setting with 21 figures
captured from the production catalog, plus server, Docker and Windows
install chapters, a full settings reference and a printable quick-start
card. The PDF is regenerated and refreshed in public/ and docs/.
2026-11-28 20:30:27 +00:00
bhursey 4beaaacf0e Hide account and team admin UI in single-user mode
The desktop bundle has one local admin and nothing to manage, so the
account pill, the account panel and the team administration panel are
left out when the server reports local mode.
2026-11-28 18:39:06 +00:00
bhursey b79f6c9a4e Give the Windows bundle a single-user mode without sign-in
LUMINARY_LOCAL=1 creates one local admin and treats an unauthenticated
request as that account, so the packaged desktop app opens signed in. It
is off unless the launcher sets it, leaving the shared server and Docker
deploy unchanged.
2026-11-28 18:33:08 +00:00
bhursey fb43ca8e99 Make the mask tint a view toggle and mask local detail in source space
The mask overlay was always painted while the mask tool was open, at a fixed
strength; it is now a persisted view toggle (O or the Mask button) with its own
strength slider, so the photo underneath stays readable. The mask HUD also
gains + and - so a brush can erase and a shape can subtract without leaving the
canvas.

Local texture, clarity, dehaze and sharpen sampled the baked masks at the view
coordinate in the finish pass, so their coverage slid off the subject under a
crop or zoom. The grade pass now writes each pixel's source coordinate to a
second render target and the finish pass reads the masks through it, which also
follows straightening and lens correction.

The render gate checks the tint and a local dehaze amount through a quarter
frame crop and a synthetic lens warp, plus the tint strength and toggle.
pre_windows
2026-11-28 17:39:31 +00:00
bhursey 46dcc231a7 Show the baked local mask in the develop view instead of a drawn band.
The overlay redrew every stroke as a flat translucent band, so the feather
never appeared and the guide did not match the shape it stood for. The
develop view now tints the selected layer's baked mask, sampled with the
same source uv the adjustments use: the preview follows crops,
straightening, zoom, lens correction, subtract shapes and the feather
exactly as the mask stores it. Only the stroke still under the pointer is
drawn, as a preview of what will be baked, and the histogram is left
alone while a tint is showing.

The render gate now checks the overlay ranks its tint from the dab core
through the feathered rim to untouched pixels outside the brush circle.
2026-11-28 17:14:00 +00:00
bhursey c05dbce580 Keep the brush guide round and show the feather in it.
The local brush cursor took its height from the canvas aspect and its width
from the frame window, so a cropped or zoomed photo drew an oval cursor
over a round mask, and the stroke preview was scaled the same wrong way.
Both now convert the brush radius through the visible frame on each axis,
which matches the baked mask at any crop or zoom.

The feather band was also invisible in the guide: the preview painted one
flat band and the cursor was a single ring. Painted strokes now show the
soft band under the solid core, and the cursor adds an inner ring at
1 - feather of the radius.

Masks shrink their width instead of clamping their height, so tall or wide
frames keep square mask pixels and round dabs.
2026-11-28 17:09:02 +00:00
bhursey 69a327cd45 Draw brush masks with a soft dab inside the brush circle.
Feathering blurred a copy of the stroke and unioned it with the hard
stroke, so coverage stayed at full strength across the whole stroke and
then continued as a halo past the brush outline. The adjustment visibly
spilled outside the brush circle and its rim read as a step rather than a
falloff.

Each stroke is now stamped with a dab that is solid out to 1 - feather of
its radius and fades to nothing at the rim, so the mask follows the brush
circle and softens smoothly at any size. The render gate measures the
dab's core, its rim and the area just outside the circle.
2026-11-28 16:47:49 +00:00
bhursey 5c2903eeef Apply the lens vignetting gain in linear light.
Lensfun's vignetting coefficients describe linear transmission, so
multiplying them into the sRGB-encoded proxy brightened the corners far
more than the lens had lost and over-exposed the edges. The gain now runs
after the decode, in both the grade and the eyedropper.

Existing records that stored the old auto-enabled flag are cleared once,
on the server catalogue at boot and in the browser cache on its next
IndexedDB upgrade, and the Optics panel says when the correction is off.
2026-11-28 16:34:31 +00:00
bhursey be8cf3c88a Make lens-profile vignetting correction opt-in.
Applying a profile used to enable distortion, CA and vignetting together,
and the flat-field gain lifts the already tone-mapped corners above the
frame centre, over-exposing the edges. Vignetting now defaults off when a
profile is applied or restored from a camera default, and only turns on
when a profile explicitly stored vignetting: true.
2026-11-28 16:21:19 +00:00
bhursey b884616889 Group local mask shapes into editable components.
A local adjustment is now a list of shapes composited in order (add, subtract,
intersect) instead of a single shape, so dodging and burning can be built from
several brushes, gradients and auto masks without spending layer channels.
Existing edits migrate on load: the flat layer fields become components[0],
keeping geometry, invert, feather and the layer's blend mode unchanged. The
panel gains a shape list with active-shape editing, and the render gate now
asserts a subtract shape clears the group while an intersect keeps it.
2026-11-28 16:09:14 +00:00
bhursey acf582251f Give every mask its own tone curve.
Local masks could only shift tone globally, so a burnt sky or a backlit face had
to fight the frame-wide sliders. Each mask now carries an RGB point curve,
applied to the masked pixels before the mask blend. All eight curves ride in one
256×8 LUT texture, so the grade shader needs a single extra sampler rather than
eight. Masks saved before this exist migrate to an identity curve, so old edits
keep their look; the render check fails if the curve stops reaching the grade,
and a unit test pins the LUT's identity, per-row isolation and monotonicity.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-28 15:42:24 +00:00
bhursey 00e6fee9bd Pin the mask cases a model benchmark exposed.
A cluster-based rewrite of the model-free estimator was measured against u2netp
on seven real 60D frames and came out worse than the border-histogram version
(0.214 vs 0.305 mean IoU against the model, best blend weight 0.298), so it was
not shipped. The two cases that mattered are now regression tests: a saturated
object running off the frame must stay out of the subject, and a dark scene with
no clear subject must not be swallowed.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-28 15:36:53 +00:00