feat(editor): visual crop, rotate/mirror/flip/straighten, colour looks (owner review 1 phase 4) #26

Merged
Alby96 merged 68 commits from or1-p4 into main 2026-11-05 01:09:17 +01:00
68 Commits
Author SHA1 Message Date
Alby96 af868c2175 docs: record owner review 1 phase 4
CI / Build and test (pull_request) Successful in 8m36s
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 18s
CI / PostgreSQL 16 integration (pull_request) Successful in 10m13s
CI / PostgreSQL 17 integration (pull_request) Successful in 11m34s
CI / Docker image (pull_request) Successful in 3m57s
BRIEF, DECISIONS, CHANGELOG, STATUS, ARCHITECTURE and the request files now
describe the visual crop locked to the output, rotate, mirror, flip and
straighten, the colour looks and "proportions win" as built and reviewed.
The CHANGELOG carries the upgrade note (existing projects at a chosen aspect
change output size, settings format 2 opens read-only in older builds,
servers and nodes announce the settings format they read), and the 5c
entries move under rc.11. DESIGN and the Editor mockup put Reset framing on
its own line, as the panel has it.

Refs #19
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:27:07 +01:00
Alby96andClaude Opus 5.5 abf8bc93c4 test(visual): accept the phase 4 screens
The Camera step's new rows (mirror, flip, straighten, crop handles), the Exposure
Look group and the Export output size, captured on this PC; three new scenes for
the crop, straighten and look states.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 23:12:18 +01:00
Alby96andClaude Opus 5.5 d2332687da fix(projects): address the line-end review
StillRestores compared the restored version with the new version's parent
as raw text, so a version an older Windows build stored with CRLF never
matched the same choices written as LF, and a commit on a parent already
holding the restored version was labelled a restore. It now compares them
with SameChoices, like every other project text comparison.

The LF line ends of the project writers were only checked through
Environment.NewLine, which is LF on Linux CI already; the tests now assert
the NewLine option of ProjectJson and IndentedJson directly, so reverting
either fails on every OS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 23:09:30 +01:00
Alby96andClaude Opus 5.5 787f030060 fix(projects): same project text on every OS; compare stored CRLF versions line-end-insensitively
Project text was indented with Environment.NewLine, so the same project
read as CRLF text on Windows and LF text on the Linux server and its
content hash differed. A Windows desktop pushing to a Linux server got
spurious Merge and External versions, Modified/Behind states with no
edits, empty commits, and renders and sends taken for other settings.

Every build now writes the project JSON with LF (ProjectJson and
IndentedJson). Versions already stored keep their CRLF text and hash, so
SameChoices reads CRLF as LF (lossless: raw line ends are JSON
whitespace) and the places that ask whether a text is a given version
use the new ProjectContent.MatchesHash, true for the hash of the LF or
the CRLF form. Integrity checks of stored and pushed versions stay exact.

Tests pin the LF default hash, cover both comparisons both ways, and
push versions with the other OS's line ends to an archive home and into
a workspace: no outside change, in sync, nothing to commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 22:48:27 +01:00
Alby96andClaude Opus 5.5 863c6cf27b feat(i18n): translate the phase 4 strings; tell the two rotate icons apart
The 60 new camera, crop, look and output-size strings in the 36 machine-translated
languages. The rotate-left and rotate-right arrows were near mirror twins at 16 px;
their arcs are now lopsided so the direction reads at a glance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 22:13:00 +01:00
Alby96andClaude Opus 5.5 69a1e84c51 fix(library): render a remote card's sequence settings, not a cached copy
The quick Render on a remote card embedded the project it read, which may
come from this PC's proxy cache and be older than the server's, so the node
rendered stale settings. The job is now sized on that project without
embedding it: the server renders the sequence's settings when a node takes
the job, as before phase 4.

Also restores the FramingRows doc comment that the ShownTurns insertion
displaced, records the review-fix decisions in DECISIONS, updates the
DESIGN crop keyboard/pan text (Enter selects, middle button pans) and
corrects the plan's cover-zoom figure (about 1.43x at 15 degrees on 16:9)
and merge-semantics note.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 22:01:30 +01:00
Alby96andClaude Opus 5.5 e188cf7de6 fix(library): hold the Render quick action to the older-server gate
The Library's Render on a remote card posted to the server without the
check the editor's Render makes, so a turned project or a proportions-win
project was rendered wrong by a server that reads only format 1. It now
computes the format the render needs, explains the refusal instead of
posting, and sends the project it fetched rather than sizing the job from
the card's stale settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 21:45:36 +01:00
Alby96andClaude Opus 5.5 eeaddc2d14 fix(phase4): close the owner review 1 phase 4 findings
Routing sizes render jobs from the resolved preset, and the node wait
applies the same routing as the claim, so a re-routed job neither keeps a
stale size nor waits for a node that will never take it. Settings an older
server cannot read stay on this side for the remote editor, archive sync
and workspace push, and the reason is shown where it applies. A turn on
one side and a framing on the other merge as one conflict.

Orientation and framing fixes: an out-of-range crop turns with the content
it shows, the aspect text transposes exactly, the Rotation row counts
turns as shown on screen, and Reset framing undoes the orientation press
by press, so keyframes and aspect stay on their content. The advisor
places the horizon in the view as shown. A look at zero strength is
cleared and no longer reaches the motion vectors.

Preview changes: the middle button pans, a press inside a box with no
slack pans while zoomed, the selected box shows a ring, and screen readers
hear when the crop value changes. Tooltips in en and it updated; stale
translations of changed tooltips removed so they fall back to English.

Test changes: the pinned hash is OS-independent, and the tautological
encoder and warning assertions became real checks. Added a non-screen
test of the Straighten slider binding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 21:40:07 +01:00
Alby96 4e21aaa548 Merge origin/main (5c squash, same tree as bc90e5a2) into or1-p4 2026-11-04 20:46:09 +01:00
Alby96 fca2a80e81 Merge commit 'bc90e5a2' into or1-p4 2026-11-04 20:46:03 +01:00
Alby96andClaude Opus 5.5 2a8344aee0 feat(editor): integrate the phase 4 crop, orientation and look packages
Joins the preview crop interaction (P3) and the step controls (P4):
- "Optimise" on the Camera step now advises on the turned view
  (SequenceContext.ForCamera) when the camera is turned or flipped, so it
  keeps the transposed aspect a quarter turn wrote instead of putting the
  unturned one back.
- The capture gains edit-camera-crop (a moved 9:16 box with its handles),
  edit-camera-straighten (turned right, straightened 3°, with the grid)
  and edit-exposure-look (Sepia at 60 % with the compare wipe), each
  undone after; SampleData holds the three project changes.
- The crop-margin, offset X and crop tooltip strings and
  Export.Render.AspectFromPreset are no longer used: removed from en/it
  and pruned from the other cultures. Editor.Camera.OffsetY stays, as the
  advisor's horizon placement still names it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 20:44:30 +01:00
Alby96 b06f5aa852 Merge branch 'or1p4-p4' into or1-p4 2026-11-04 20:24:52 +01:00
Alby96 5db1d1b87d Merge branch 'or1p4-p3' into or1-p4 2026-11-04 20:24:52 +01:00
Alby96andClaude Opus 5.5 6f15717463 feat(editor): edit the crop box on the preview, locked to the output proportions
The Camera step now shows its crop box on the Source picture with its mask on
by default, and the box is moved and resized right there (owner review 1, R5).
A press takes a handle within 6 px, then the wipe divider, then the inside of
the box, then pans; a resize stays anchored at the opposite corner or edge and
locked to the ratio, Alt resizes about the centre. Esc cancels a drag, and once
the box is taken (a press on it or Enter) the arrows, + and - nudge it. Cursors
follow the same priority and screen readers read "x, y, size" from a read-only
value pattern.

Each finished drag goes through CropCommit to CommitCropCommand as one undo
step; a run of key presses merges into one ("Camera.Crop"). The commit writes
the locked box with the offsets at 0, so the render keeps it as drawn. Editing
is gated on the Camera step, the mask on, an editable project, a current
format and frames to show.

PreviewRenderer frames Source through ViewFor, so the turned, mirrored and
straightened view frame is what the box is drawn on; the mask comes from
EditableCrop on the Camera step and FootprintInView elsewhere, and the horizon
overlay is mapped into the view. A straighten grid shows while IsStraightening.
xaml-lint now requires a tooltip on PreviewViewport.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 20:24:10 +01:00
Alby96andClaude Opus 5.5 7413b72ecc feat(editor): step controls for orientation, crop, look and output size
Owner review 1 asked for the Camera step to frame the picture the way the
mockup does, so the step now offers Aspect, Rotation (icon buttons), Mirror
and Flip switches, Straighten, Crop size, Crop X and Crop Y, and Reset
framing. Cropping by margins is gone: the crop box is now held to the chosen
aspect.

- EditorSession gains Orient and ResetFraming. Edit and Optimise refit a
  box that was already held to the aspect whenever the aspect or the export
  box changes, and do it in the same undo step. A crop from an older project
  that was placed by offsets is left for the render to fit.
- Straighten drives the preview's grid through the new SliderActivity
  attached behaviour, which a NumberRow switches on with ShowsGrid.
- Exposure gains a Look group with Filter and Strength. A newer project's
  extra look data is kept as it is.
- Export: Width and Height now edit the preset's own box, and a new Output
  size row shows the size after the chosen proportions are applied, marked
  Capped when the encoder shrinks it. ExportPlan carries OutputSize and
  EncodedSize.
- New SwitchRow, IconActionsRow and GroupRow rows with their panel
  templates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 20:24:03 +01:00
Alby96andClaude Opus 5.5 aaf9c0bba7 test(render): pin the merged phase 4 render sizes end to end
With P1's geometry merged, the render follows the chosen proportions, so
the server's managed fallback now writes the advised 16:9 inside the 96x64
box (96x54) instead of the preset's ratio; the test expected the old size.
A new Data test renders a turned, straightened 9:16 project with a sepia
look through the job engine and checks that every output (fixed box and
source-sized) has the size the job was routed with, which P5 could not
check before P1's RenderGeometry was in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:59:49 +01:00
Alby96 3c192ddd1b Merge branch 'or1p4-design' into or1-p4 2026-11-04 19:49:17 +01:00
Alby96 a433b55be3 Merge branch 'or1p4-p5' into or1-p4 2026-11-04 19:49:17 +01:00
Alby96 d067219764 Merge branch 'or1p4-p2' into or1-p4 2026-11-04 19:49:16 +01:00
Alby96 3549bfe0cb Merge branch 'or1p4-p1' into or1-p4 2026-11-04 19:49:16 +01:00
Alby96andClaude Opus 5.5 fca6c8dfea feat(server): route renders by settings format and adapted size; gate older servers
Owner review 1, phase 4 (P5). A render job now carries the output size its
settings give (RenderSize, proportions win) and the settings format it needs,
resolved on the server before the job is split, so only nodes that read that
format and whose encoder takes the frame claim it, and a job no online node
can read no longer waits for one. Nodes and the server announce the format
they read; settings of a newer Chronos fail saying so.

Encoder size limits are read as long edge x short edge: Media Foundation's
software H.264 encoder, announced as 4096x2304, accepts portrait 2160x3840
(probed on this PC), so EncoderSelector and the provider take either
orientation and cap a portrait frame against the turned limit.

On the desktop, Sync and Send-and-render are disabled with the
NeedsNewerServer tooltip while the server reads an older format than the
working settings need.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:48:23 +01:00
Alby96andClaude Opus 5.5 bee66da63a feat(render): orient, straighten and let the chosen proportions win in the render geometry
Owner review 1, phase 4, package P1: the Core geometry behind the visual
crop (R5) and the orientation controls (R6).

- RenderGeometry: one warp stab⁻¹ · O⁻¹ · V with the crop and the keyframe
  centres in the view frame T (turned, mirrored, flipped, straightened);
  the output size comes from RenderSize, so a fixed preset adapts to the
  aspect (4K at 9:16 = 2160×3840) and AspectFromPreset is gone; the decode
  grows by the straighten cover zoom; ViewFor, ViewToFrame, EditableCrop
  and FootprintInView get their real bodies; a rotation that is not a
  quarter turn and an out-of-range straighten render as none or clamped,
  with their warnings.
- FrameOrientation: the cover zoom is taken on the pixel-centre extents,
  so every output pixel samples inside the frame (full alpha coverage at
  ±15°, never a smeared border).
- CropFrame: crops are written on the 12-decimal grid OrientationEdit
  remaps on, so four turns or two mirrors give back the same text; a
  stored crop is read value by value as the render reads it.
- Advisor: the aspect (and the horizon framing) is advised on the view
  turned by the camera (SequenceContext.Rotate/Flip, ForCamera); the
  analyser passes the project's camera.
- Self-test: proc.orient, proc.straighten, proc.portrait.
- Tests: exact pixel permutations for turns, mirror and flip, the
  orientation algebra, straighten against an analytic ramp and its full
  coverage, Create sizes, a crop keeping its content through every press,
  CropFrame move/resize/refit/rows, OrientationEdit round trips and its
  agreement with FrameOrientation, the turned-view advice, determinism.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:35:05 +01:00
Alby96andClaude Opus 5.5 bc90e5a244 fix(workspace): a copy cancelled just before its commit never commits
CI / Build and test (pull_request) Successful in 8m56s
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 8s
CI / PostgreSQL 16 integration (pull_request) Successful in 9m46s
CI / PostgreSQL 17 integration (pull_request) Successful in 9m56s
CI / Docker image (pull_request) Successful in 1m35s
A cancel landing while the copy's last query was in flight (PostgreSQL
answers a finished query anyway) went unseen: the copy took the freed
project lease, committed media.json and ended Done over Cancelled, so its
clean-up never ran. Both commit points now check the token under the lease.
Seen once in CI's PostgreSQL 17 run of
ACancelledFirstCopyRemovesTheMediaItWroteOnceItStopped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:26:31 +01:00
Alby96andClaude Opus 5.5 8e55f60bbf docs(ui): draw the visual crop, orientation, look and output size
Phase 4 of owner review 1 (R5/R6) gives P3 and P4 a visual target to check
against before they build the preview overlay and the step rows.

- Editor mockup: the Exposure step gains the Look group (Filter, Strength)
  with the look shown on the corrected side of the wipe; a Camera-step
  screen shows a 9:16 crop being edited on the whole view frame with its
  handles, the rows Aspect, Rotation (icon buttons and value), Mirror and
  Flip switches, Straighten, Crop size/X/Y, and Reset framing beside
  Optimise/Reset; a strip shows the overlay states (shown, editable,
  dragging with thirds, straightening grid, locked).
- Export mockup: Resolution is the preset's box and a new Output size row
  reads 2160 x 3840 for 4K at 9:16, the preview mask being the output
  footprint.
- DESIGN.md: setting-row kinds, the crop overlay states, hit-test order,
  cursors and keys, the orientation icons (never mirrored in RTL), and the
  screen notes; Camera is no longer a missing screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:20:34 +01:00
Alby96andClaude Opus 5.5 429dbcc3d8 feat(color): implement the built-in colour looks and their self-test check
The seven looks (mono, sepia, warm, cool, vivid, muted, fade) are now real:
a linear-light 3x3 matrix built from Rec.709 luminance (saturation mixed as
(1 - k)L + kI, tint gains normalised to luminance 1), a contrast power about
mid grey 0.18 and a lift, blended by strength, never clamped so the knee that
follows compresses any overshoot. The kernel is vectorised with Vector<float>
and runs the last pixels through the same kernel, padded, so a pixel's result
does not depend on its position; large frames split across cores like the
exposure processor. A double-precision scalar reference backs the tests.

The self-test gains proc.look (mono renders grey at the picture's luminance;
an unknown look is ignored with Export.Render.LookIgnored). New tests cover
the closed form per look, mono luminance, the strength midpoint, identity
byte-equality, look-then-knee order, the render capture against FrameFinish,
a median stack with mono and PNG determinism.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:19:12 +01:00
Alby96andClaude Opus 5.5 e4364c4f25 feat(project): settle phase 4 contracts: conditional settings format, transforms, look, output size
Groundwork for owner review 1, phase 4, so the parallel packages build on
fixed contracts and strings.

- Settings: camera rotate/mirror/flip/straighten and a look, declared after
  the existing members and omitted at default. ToJson writes the lowest
  format that renders the same (2 only while a transform or look is used),
  so projects without them keep byte-identical text and hash; an old-build
  simulation test proves the order survives an older build's round trip.
- RenderSize and RenderRules: proportions win over a fixed preset box, and
  the routing format a job needs.
- FrameOrientation, CropFrame, OrientationEdit, LookFilter (identity) and
  FrameFinish (look, then knee) wired into the render pipeline and preview;
  RenderGeometry gains view-frame members equivalent to today.
- Protocol trailing members for node, job and server formats; SyncText keys;
  EditPath counts transforms and the look as hand values.
- New en/it strings and tooltips, five icons, test fixtures moved to v3 as
  the first unread format, and the 18 DECISIONS rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:10:12 +01:00
Alby96andClaude Opus 5.5 4ad29977b9 docs(plan): owner review 1 phase 4: visual crop, transforms and looks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 18:39:49 +01:00
Alby96andClaude Opus 5.5 99ae344c0d style: apply dotnet format whitespace to the phase 5c files
CI / Build and test (pull_request) Successful in 8m52s
CI / PostgreSQL 16 integration (pull_request) Successful in 9m21s
CI / Docker image (pull_request) Successful in 1m48s
CI / YAML check (pull_request) Successful in 7s
CI / Windows tests and installer (pull_request) Skipped
CI / PostgreSQL 17 integration (pull_request) Successful in 8m59s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 18:39:32 +01:00
Alby96 e65d10ead2 Merge origin/main (5b squash, same tree as 31df8beb) into review2-p5c
CI / Build and test (pull_request) Failing after 1m52s
CI / PostgreSQL 16 integration (pull_request) Skipped
CI / PostgreSQL 17 integration (pull_request) Skipped
CI / Docker image (pull_request) Skipped
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 6s
2026-11-04 18:01:06 +01:00
Alby96andClaude Opus 5.5 c06bae1bc5 docs: record phase 5c and translate its strings
DECISIONS, BRIEF, CHANGELOG, STATUS, ARCHITECTURE and the request files now
describe the workspace originals, local render and send, clean-up, trash
and move as built and reviewed; the 5b entries move under rc.10. The 184
new strings are translated into the 36 machine-translated languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 18:00:43 +01:00
Alby96andClaude Opus 5.5 9d72027d44 test(visual): accept the phase 5c screens
The scheduled list gains Workspace clean-up, the priority queue lists the
three workspace job kinds and Settings › Workspace has all its rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 17:48:37 +01:00
Alby96andClaude Opus 5.5 e0644e5304 fix(settings): hold Change and Move while a switched move awaits Resume
A move that switched to the folder in use but left part of its old folder
showed Resume and a "resume it first" tooltip on Change… and Move…, yet both
stayed enabled because no journal lies in the folder in use. Choosing another
folder then would hide the Resume for good and leave the old folder's copy
on disk. Change… and Move… now wait whenever a stopped move is found.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 17:43:40 +01:00
Alby96andClaude Opus 5.5 2654683a12 fix(workspace): close the phase 5c review findings
Originals are now judged by their bytes, never by the media index: a removal
or clean-up hashes every file under media/originals and deletes it only when
the home holds that SHA-256; every other file, named or not, goes to the
workspace trash. Trash entries are filled under a staging name that Empty
never lists. A ledger can only name files inside exports/.

Jobs follow the workspace: a copy, render or send resolves the folder that
holds its project now (a moved workspace, a retry after a move) and waits
while a move has not switched yet. A clean-up failure after the switch is a
warning that keeps the journal for a later resume; entries that changed
since they were copied are kept, and a same-volume rename refused across
volumes falls back to copy and verify.

Sends map a replayed version by content hash, or go with the project only,
and note an old server that drops provenance. The media index (format 2) and
project file (format 3) refuse older readers while they hold originals.
Metered connections also hold sync downloads and server copies. The editor
gains Send again, the Settings page can resume a stopped move, the disabled
tooltips say why, and unused strings are pruned.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 17:32:48 +01:00
Alby96andClaude Opus 5.5 09fcff4eb2 fix(workspace): join the phase 5c packages at their seams
The local render, the send home, the clean-up, the settings page and the
folder move were built apart; together they left gaps:

- A local render to an image sequence writes a folder, which the send
  took for a missing file. The archive home now files the folder whole
  (checked by its listing hash, as the render recorded it) and the
  clean-up removes a sent folder; a server, which takes one file per
  render, refuses it with Errors.Workspace.SendSequence.
- Rename, delete and Remove local copy are refused while the folder is
  being moved, so no project folder changes under the move.
- Settings > Workspace shows the folder, usage, Move... and Change...
  again when a move ends (WorkspaceHost.MoveEnded).
- Empty... uses the Settings typed confirmation; the separate trash
  dialog, never shown, is removed. The move plan counts unsent renders
  with the clean-up's helper.
- Tests: the follow-up send now runs in the render tests; an end-to-end
  archive-home test (originals, version on render, local render, send
  with project and version, clean-up) and an image-sequence send test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 16:23:54 +01:00
Alby96 6daf5fa056 Merge branch 'p5c-p5' into review2-p5c 2026-11-04 16:04:19 +01:00
Alby96 dbf5d3651d Merge branch 'p5c-p6' into review2-p5c 2026-11-04 16:04:14 +01:00
Alby96 66163542f9 Merge branch 'p5c-p4' into review2-p5c 2026-11-04 16:04:09 +01:00
Alby96 b0b55ff570 Merge branch 'p5c-p3' into review2-p5c 2026-11-04 16:04:05 +01:00
Alby96 5fc7f02abf Merge branch 'p5c-p1p2' into review2-p5c 2026-11-04 16:04:00 +01:00
Alby96andClaude Opus 5.5 59e7aca006 feat(workspace): render a project on this PC from its originals
A workspace project that holds its originals now renders locally
(JobKind.WorkspaceRender), so the full-resolution render no longer
waits on the home. This holds also when the home is a server.

- The handler reads its inputs under the project's lease. It refuses
  proxies-only media, and it refuses frames without an original,
  saying how many lack one. It renders into exports/ with unique
  names and a resumable checkpoint.
- Each output gets a ledger entry: SHA-256, the render id from
  RenderJobHandler.RenderId, and the version, recorded only when
  versions/ holds it and its hash verifies.
- After rendering, the handler queues a WorkspaceSend follow-up for
  the outputs it recorded. A cancel leaves no partial file.
- The editor routes Originals media to the local engine even for a
  server home, and lists those jobs beside the server's. It treats
  WorkspaceRender like Render for the toast and the reload, says
  "Sent home" when a send ends, and shows unsent ledger renders as
  "Not sent".
- Version on render saves a changed project as a version noted
  "Render" before it renders, and sends it with Sync automatically.
  With the setting off, the render behaves as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 16:03:05 +01:00
Alby96andClaude Opus 5.5 0c51d11080 feat(workspace): copy originals into the workspace and choose the project Edit opens
Phase 5c P1. A workspace copy of kind "originals" now copies each frame's
original beside its proxy, so a later local render has full-quality input:
streamed into a .part file, hashed as written, checked against the home's
SHA-256, renamed and read back. Archive and server homes both work, a stopped
copy resumes (originals: checkpoint), and the space check counts the
originals. A frame whose original is gone, damaged or refused keeps its proxy
and the job says how many; the copy does not fail. Stale originals are
deleted only when the home holds the same SHA-256, otherwise moved to the
workspace's trash.

Proxies only... plans first (every original hashed against the home's
frames), asks for an explicit confirmation, rewrites the media to proxies
before it touches a file, refuses a plan that changed since, and trashes what
the home no longer holds instead of deleting it.

Edit: Open in workspace offers Originals (the settings' default, disabled
when the drive lacks room) with the originals' size for archive and server
homes; Settings > Workspace > Open project picks Last used, Main or asks
which; each open is recorded for the clean-up. The project menu gains Copy
originals... and Proxies only..., refused while changes are unsaved or jobs
of the sequence run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:43:42 +01:00
Alby96andClaude Opus 5.5 f86630c77a feat(workspace): clean-up of media, size limit and workspace trash
Phase 5c P4. The workspace no longer grows without bound: a daily
workspace-cleanup system schedule (04:30, catch-up) removes the media of
projects in step with their home that were not opened for Clean after,
and the size limit removes the least recently used after each copy.
Each project kept is logged with its reason (open in Edit, not in step,
home offline, jobs pending, renders not sent, unreadable, just copied).

- WorkspaceCleaner: cleans under the project's lease, re-checking every
  condition; the originals the home no longer holds go to the workspace
  trash, never away. The media index is marked Cleaned, so the project
  reads as MediaRemoved and opening it copies the media again.
- WorkspaceTrash: lists entries with a fingerprint, and empties only the
  plan the user confirmed (refused when the trash changed since).
- Trash dialog view model and view: Erase is enabled only after the user
  types the number of entries.
- Removing a copy counts the unsent renders and the last originals. Send
  first queues the renders' sending and refuses the removal until they
  are sent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:41:48 +01:00
Alby96andClaude Opus 5.5 c93a4b0779 feat(workspace): move the workspace folder with its projects
Settings › Workspace › Change only pointed Edit at another folder and left
every project behind. Moving a workspace to a bigger or faster disk now
carries its projects along, without ever putting work at risk:

- a plan first: projects, files, bytes, free space at the target, whether
  folders are renamed (one volume) or copied (another), projects with work
  not at their home as a warning; refused for the folder itself or one
  inside it, a target holding a workspace or a same-id folder, a target
  inside a library, too little room, or a workspace job still pending
- the WorkspaceMove job checks the plan's fingerprint again, journals the
  move in <from>/.move.json, renames each entry on one volume, and across
  volumes copies each file to a .part, hashes both sides and only then
  renames it into place; the source goes only after every entry is
  verified and the desktop switched to the target
- a failure before the switch is undone (renamed entries go back, copies
  are removed) so the source stays the workspace; a pause or a closed
  program goes on from the journal; a user cancel undoes it
- while a move waits, runs or its journal is in the folder in use, opens,
  checkouts, copies, saves, syncs and another folder are refused, and a
  journal left at start is offered again with Resume
- the setting names the new folder only once the move verified everything

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:35:00 +01:00
Alby96andClaude Opus 5.5 00b8dcd249 feat(workspace): send local renders home with their project and version
Phase 5c P3. A render made in a workspace must reach its home with the project
and version it was rendered from, and transfers with a server must respect a
metered connection, downloads into the workspace included.

- WorkspaceSendJobHandler: per unsent ledger entry, hash the file again
  (missing or changed: marked failed, file left in place), push the named
  version first when the home lacks it (failure fails the job, entry pending),
  then file it in this PC's archive (staged copy read back against its SHA-256,
  project and version checked against the sequence) or upload it to the server
  with ProjectId/ProjectVersionId; mark it sent. Idempotent by render id. A send
  to a server waits while HoldTransfers says so.
- SyncTransfers: extract FileRenderAsync, the lease-held filing of a staged
  render into a sequence's exports, shared by GetExportsAsync and the send.
- ISyncConnector.ProjectHome (default null; SyncHost already implements it) so
  the send can push a version to a server home.
- Server: RenderUploads checks the project fields at start and completion
  (422 project_mismatch) and records them; RenderDto carries them.
- UploadHold also pauses WorkspaceCopy and WorkspaceSend jobs naming a server;
  Server screen checkbox reads "Pause metered transfers".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:32:49 +01:00
Alby96andClaude Opus 5.5 8f804b6acb feat(settings): complete the Settings › Workspace page
Phase 5c P5. The page now holds every workspace setting in the plan's
order: the folder with Open, Change… and Move… (bound to
WorkspaceFolderChange.MoveAsync, disabled while a move runs) and what
the folder takes of its drive; Size limit and Clean after, presets then
No limit / Never; Default media and Open project as radio choices;
Sync automatically; Version on render; Kept versions; and Trash, which
shows its entries and size and empties it only after its plan and the
typed entry count (WorkspaceHost.PlanTrashAsync / EmptyTrashAsync),
telling a changed trash apart in a toast.

WorkspaceSettingsRows reaches the workspace through
WorkspaceSettingsServices, so the rows are tested without a shell;
Reset restores every row but keeps the folder and what the workspace
remembers. The page's search finds the new rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:19:16 +01:00
Alby96andClaude Opus 5.5 2e1c67f531 feat(workspace): lay the phase 5c foundation
Phase 5c (owner review 2, R8) is built by six packages in parallel. This
commit settles everything they share, so each one touches its own files:

- job kinds WorkspaceRender (21), WorkspaceSend (22) and WorkspaceMove (23)
  with their wire names, default priorities, notices and parameter records;
  their handlers are registered as skeletons that throw until their
  package lands
- WorkspaceJobOptions and a new CreateHandlers overload; the earlier ones
  stay and default the options
- originals in the media index (an index of phase 5b reads as proxies
  only), their file names, and the exports/renders.json ledger of local
  renders, written atomically
- the optional project and version of an uploaded render
- the workspace settings (size limit, default media, version on render,
  clean-up age, project to open) and when each project was opened, which
  Reset and Import keep and Export leaves out
- WorkspaceHost split into partial files, with stubs for usage, trash and
  the folder move, removal hooks for unsent renders and last originals,
  and a guard that holds work while the workspace moves
- every new string of the phase in English and Italian, with tooltips

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:05:09 +01:00
Alby96andClaude Opus 5.5 102f28b5df docs(plan): phase 5c work packages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 14:31:00 +01:00
Alby96andClaude Opus 5.5 31df8beb9a docs(i18n): translate the phase 5b strings and split the changelog by release
CI / Build and test (pull_request) Successful in 8m15s
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 10s
CI / PostgreSQL 16 integration (pull_request) Successful in 8m46s
CI / PostgreSQL 17 integration (pull_request) Successful in 9m51s
CI / Docker image (pull_request) Successful in 1m45s
The 119 new phase 5b strings are translated into the 36 machine-translated
languages. The changelog separates what shipped in 0.1.0-rc.9 (ports and
baselines) from the unreleased phase 5b work, and the index settings decision
names the rare cases where a newer project.json is kept as version 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 14:21:36 +01:00
Alby96andClaude Opus 5.5 2068656f44 docs: record the phase 5b final check
DECISIONS: IndexSettingsMayLead (Main's birth and meeting on a server keep the
index's settings), the name follow that never fails a pull, the capture's
sample paths and the Server actions column; the rows on the Main meeting, the
settings PATCH and the name follow point to them. CHANGELOG: the fix wording
is now true for servers upgraded from an earlier release, with an upgrade note;
BRIEF's Main mirror rule and STATUS follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:54:27 +01:00
Alby96andClaude Opus 5.5 bc4d8e0768 fix(app): captures show no machine paths, Server row actions stay on one line
The capture's data folder lives in the machine's temporary folder, so 8
baselines showed %TEMP% and the user name and differed on any other machine.
AppEnvironment.Shown now shows a capture's folders as a sample user's
(C:\Users\Studio\AppData\Local\Chronos, the sample archive as D:\ChronosArchive)
in Settings > Storage, Workspace and Advanced, the Rebuild index dialog and the
cache's Clear confirmation; AppEnvironment.Actual maps a typed path back, so the
capture still writes only to its temporary folder. Two captures with different
TEMP folders are identical.

On the Server screen the row actions column is at least 400 px wide, so a
remote row's three actions (an older server's disabled Open in workspace after
Open with proxies and Download originals, as BRIEF 12.7 asks) fit one 40 px
line at the capture size instead of wrapping.

Baselines recaptured: server, server-sync, server-conflict, server-signedout
(column layout; the disabled action of phase 5b), settings-storage,
settings-workspace, settings-advanced and archive-rebuild (sample paths), light
and dark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:54:26 +01:00
Alby96andClaude Opus 5.5 5ff9c086fd fix(workspace): a pull that succeeded never fails on the name it follows
The name follow after a pull caught only the home's own exceptions, so a 403
or any other error from the home's list (or a bundle in use) made a pull that
had already pulled and replayed report a failure. It is now logged as a
warning and the name is followed at the next pull; a cancellation still passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:35:47 +01:00
Alby96andClaude Opus 5.5 ab6cad51b2 fix(projects): never revert a server's index settings to an older project.json
Before phase 5b the server's settings PATCH wrote the index alone, and every
desktop edit of a linked sequence arrives as one, so an upgraded server holds
sequences whose index settings are newer than their project.json. Main's birth
read project.json first and mirrored it over the index; sequenceChanged then
carried the loss to the desktops' linked copies.

ArchiveServiceOptions.IndexSettingsMayLead, set by the server, keeps both: Main
is born with project.json's settings as version 1 and the index's as version 2,
in force and mirrored (on a read-only archive both go to the index only). A Main
the sidecars already hold, met with no mirror known, keeps index settings that
none of its versions hold as an External version below what project.json gives
(the head again as a Restore, a merge, or the file's). The desktop is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:35:47 +01:00
Alby96 ccc10ec8b8 Merge remote-tracking branch 'origin/main' into review2-p5b-final
# Conflicts:
#	docs/BRIEF.md
#	docs/CHANGELOG.md
#	docs/DECISIONS.md
#	docs/requests/2026-10-26-owner-review-2.md
#	i18n/en/Server.resx
#	i18n/it/Server.it.resx
2026-11-04 13:21:31 +01:00
Alby96andClaude Opus 5.5 3ade4b8d6c docs: document phase 5b, the server as a project home
Phase 5b had only module rows and the review's DECISIONS and CHANGELOG lines.
The brief now describes the server home as the code does after the review
fixes: the projects API, projectChanged, the capability, the settings PATCH
under the lease, renders of a project version, the panel's Projects section,
and the desktop's server projects (open, copy, sync, chip, renders, viewers).

DECISIONS gains the phase's own rows; the 5b rows are dated 2026-10-26 like
the other review-2 phases, and three 5a rows are marked partly superseded.
CHANGELOG, STATUS, the request's 5b row and ARCHITECTURE follow the code
(frames stamp, stored reads, the .thumb marker, followed renames, the
editor's sign-in).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 13:19:55 +01:00
Alby96andClaude Opus 5.5 ae41c95682 docs: record the phase 5b review fixes in DECISIONS and CHANGELOG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 12:54:46 +01:00
Alby96andClaude Opus 5.5 48d8158fd7 fix(app): viewers open server sequences with proxies, the editor follows the sign-in
An account without Edit is offered Open with proxies on a server that keeps
projects and checks nothing out, since it could never push. The editor of a
server's workspace project connects with the sign-in in use at each call, so a
project opened signed out renders once signed in; SyncHost tells every session
start and stop so workspace projects read their state again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 12:54:46 +01:00
Alby96andClaude Opus 5.5 cdd29f8e84 fix(workspace): follow server renames, never keep a thumbnail as a proxy on resume
A pull and the server's renamed event write the home's name into the copy, so
a rename made on the server reaches the workspace. A copy from a server marks
a thumbnail taken for a missing proxy before moving it into place; a resumed
run reads the marker and fetches the proxy the server has now, instead of
recording the thumbnail as one. Tests also cover the frames stamp (frames read
only when it moves), an older server's copy refusal and a viewer's 403 push.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 12:54:45 +01:00
Alby96andClaude Opus 5.5 44f0d30147 test(projects): cover empty sequences, push size, byte-capped pages, maker rights, PATCH vs project.json, stored checks, rescan events
Each behavioural fix of the previous commit gets a test that fails without it:
an empty sequence writes nothing and refuses projects, a 24 MiB version is
stored and one over the limit is too_large, a page of large versions stops
short and a server home pages on, a reused username deletes nothing, a PATCH
made after project.json stays Main's head, HoldsAsync is false for a missing
file or a deleted project, and a full rescan tells the rename it found.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 12:54:44 +01:00
Alby96andClaude Opus 5.5 4f652c4025 fix(projects): empty sequences, push size, version paging, delete rights, settings PATCH, change events
- An unplaced sequence (no photos) lists no projects and refuses to create one
  with sequence_empty, instead of writing sidecars at the archive root.
- A push accepts a full-size version; a 413 is reported as too_large.
- Version pages are capped in bytes and say when more follow; the summary form
  leaves settings out; server homes page on.
- Deleting by its maker needs the same account, not just the same username.
- A settings PATCH writes project.json under the sequence lease, so Main's
  later birth no longer wipes it.
- Reconcile, read-only catch-up and a Main flip publish projectChanged.
- Server homes read the frames stamp and check a version is really stored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 12:31:52 +01:00
Alby96andClaude Opus 5.5 ed7452e739 fix(sync): tell missed project changes only once the event stream is open again
The agent told "changes may have been missed" as soon as the stream dropped,
so a workspace re-read before the server's events could reach it again and
missed changes made in between. The signal now waits for the reconnected
stream and the refresh that follows it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 12:31:51 +01:00
Alby96andClaude Opus 5.5 353024fc71 fix(panel): projects table fits narrow widths, keeps loaded versions on refresh, skips settings
The projects table sits in a min-width-0 host so fitColumns can drop columns.
A live refresh re-reads only the changed, expanded projects and keeps as many
versions as were shown (Load more included). Version pages ask for the summary
form, so the panel no longer downloads settings it never shows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 12:31:51 +01:00
Alby96andClaude Opus 5.5 26bab759fe feat(app): workspace projects whose home is a server, pushed and pulled like this PC's archive
Owner review 2, R8, phase 5b (client part), ported onto the final phase 5a.
A Chronos Server with the "projects" capability is now the home of
workspace projects. A server sequence is edited in the workspace like a
local one, not inside the library, and its versions sync with the server
"like git".

- Data: ServerProjectHome is an IProjectHome over ChronosClient.
  - These are HomeUnavailableException, so the workspace shows Offline: a
    server out of reach, an expired sign-in, a 503 (lease, offline archive,
    projects_unreadable), a 409 folder_in_use, and a server without projects.
  - 404 sequence/project/version and refused names are ProjectException;
    other refusals keep their meaning.
  - A deleted project's head is 404 project, so final 5a's HeadAsync NotFound
    rule reads it as Gone. The original 5b's IsLiveAsync and
    WorkspaceStatus.Gone are dropped. IProjectHome gains rename and delete.
- Data: WorkspaceJobs.CopyFromServer downloads into the workspace, through
  the desktop's session, the proxies of one frames version (or the
  thumbnails standing in for them), with the aliases of the server's
  conversions. It is rebuilt on final 5a's copy handler:
  - the copy:frame:fv:folder checkpoint, EnsureSpace (from the server's proxy
    sizes), WritingMedia, and the cancelled-copy clean-up;
  - the editor's current file is never overwritten;
  - each file is hashed as it arrives and checked on disk, four at a time.
  It never writes this PC's archive. Originals are still refused until 5c.
- Data: SyncAgent passes on the server's projectChanged events, and after a
  lost event stream it reports that changes may have been missed.
- App: SyncHost gives the server home over one session client. The Server
  screen offers Open in workspace, disabled with its reason on older
  servers, whose sequences keep opening with proxies.
- App: Edit opens or checks out server projects with final 5a's refusals:
  unreadable copies, a disabled damaged or newer Main, a refused folder. The
  "sequence left the index" refusal now applies only to projects of this
  PC's archive.
- App: the picker and the chip follow projectChanged (Server newer, Not on
  server). Every state, conflict, delete, remove and failure text uses its
  ".Server" form when one exists (WorkspaceText.ForHome). That includes 5a's
  newer-format conflict, the save conflict, the taken-values toast, Gone and
  version-too-large.
- App: a render of a server project first offers to send what is not on the
  server, then renders the version the server holds. Offline, Gone, Damaged
  and missing media hold the render. Analyses and renders run as server jobs
  (ServerJobs, shared with RemoteSequenceSource).
- Pruning keeps final 5a's rule: a version is pruned only after HoldsAsync
  reads it back.
- Strings in en and it; ARCHITECTURE, DECISIONS and CHANGELOG.

Tests:
- ServerProjectHome error mapping, using a fake handler.
- Against the in-process server:
  - two workspaces on one project: fast-forward, replay and merge, keep mine,
    take server, save both, restore;
  - the copy job verifying, resuming and following new frames;
  - a project deleted on the server (Gone from its head; a push sends
    nothing);
  - an offline server.
- SyncAgent project events.
- App tests for the host, the project menu and renders of a server home.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 11:45:06 +01:00
Alby96andClaude Opus 5.5 e2ecc409a3 feat(server): the server keeps its sequences' projects, pushed and pulled like a PC's archive
Owner review 2, phase 5b (R8): a server is a project home. A workspace can
list a sequence's projects, make, rename and delete them, read their
versions and push new ones through /api/v1/sequences/{sid}/projects. The
endpoints run on the archive's ProjectService exactly as a desktop's archive
does (sidecars first, then the index, under the sequence's lease), so no
version is stored apart and a desktop sharing the archive sees the same
projects.

- Protocol: project, version, create, rename, version page, push answer
  (outcome, stored version, head, plus code and message on 409/422) and
  home frames DTOs, the projectChanged event, the "projects" capability and
  the ChronosClient calls; a push returns its outcome without throwing on
  409 or 422. ProjectWire maps them to and from the model for both sides.
- Server: Read lists and reads, Edit makes, renames and pushes, Delete (the
  sequence's owner, the project's maker or an admin) deletes; refusals with
  stable codes, 503 while the sequence is busy, offline or moved; the
  pushing account becomes the version's author; creations, renames and
  deletions audited, pushes logged.
- ProjectService tells the host what each call changed, compared under the
  lease, so projectChanged also follows Main's external versions; a Main
  version mirrored into the settings sends sequenceChanged too, for older
  clients. ProjectCatchUp takes settings a PATCH, an analysis or a
  conversion wrote into Main at once, for sequences that have a Main.
- Renders of a project version: POST /jobs checks the project and version
  against the sequence and pins a project alone to its head; render nodes
  get the version's settings placed on the frames they claim; the render
  records the project and version.
- Admin panel: the sequence page lists its projects (Main marked, head,
  last change, versions on demand) with Rename and Delete for the others,
  live on projectChanged. It edits no settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 11:15:19 +01:00
Alby96 917cddde41 Merge remote-tracking branch 'origin/main' into review3-ports
CI / Build and test (pull_request) Successful in 11m22s
CI / Windows tests and installer (pull_request) Skipped
CI / YAML check (pull_request) Successful in 7s
CI / PostgreSQL 16 integration (pull_request) Successful in 10m51s
CI / PostgreSQL 17 integration (pull_request) Successful in 10m55s
CI / Docker image (pull_request) Successful in 1m33s
2026-11-04 11:04:25 +01:00
Alby96andClaude Opus 5.5 7273eec2bb feat: screenshot baselines from the development PC, fixed capture values, ports strings in all languages
The owner chose to capture the baselines on the development PC (owner
review 3, R2): 156 screens go to tests/visual/baselines and CI no longer
pushes a ci-screenshots branch. While --capture freezes AppClock, free
space, a server's latency and the last sync are fixed sample values; they
moved the Server and Import screens past the diff tolerance at random.
The 22 new or changed Admin strings are translated into the 36 other
languages, and the request file records the owner's text and answers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 11:04:23 +01:00
Alby96andClaude Opus 5.5 2585b5d45f fix(protocol): report Chronos's own info error as that error, not a disposed stream
The identity check reads Chronos's error body to tell it from another
service; GetInfoAsync then read it again and threw ObjectDisposedException.
The identity now carries the parsed error and GetInfoAsync throws it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 10:42:58 +01:00
Alby96andClaude Opus 5.5 0aa2fb8135 fix(server): client address from the page's port, stricter Chronos identity, Host networking notes
Review fixes on top of the public ports change (owner review 3):

- Settings > Network and TLS: opened over HTTPS, the client address uses the port
  the page came through (a container's 8443 published as 8444 with Public HTTPS
  port still empty showed the wrong 8443), and a "Use <port>" button fills that
  port in. Saving a Public HTTPS port other than the page's asks first, since the
  HTTPS redirect follows it at once and a typo would lock the panel's link out.
- GetInfoAsync tells Chronos from other services by stricter rules on both the
  trusted and the untrusted-certificate path: any redirect, any answer that is not
  JSON, more than 1 MB, or an error without the X-Chronos-Api header is not
  Chronos. Another service's certificate is no longer offered for trust after a
  cross-scheme redirect, an error page or a JSON 401/403/404, and a JSON 401 over
  HTTP no longer reads as a wrong password.
- The HTTP port typed without a scheme (TLS to a plain HTTP port) now gives the
  not-Chronos error instead of "the server did not answer".
- The Uploader's certificate question names the address with its port.
- A link-local IPv6 address with a zone index is refused instead of losing it.
- In a container, the first save of the settings removes HttpPort/HttpsPort from
  server.json, so the start-up warning stops; the warning says so.
- Guide, README, compose and template: with network type Host the mappings do
  nothing and CHRONOS_HTTP_PORT / CHRONOS_HTTPS_PORT move the listening ports off
  ones another service uses; the template overview is back to two sentences.
- BRIEF, DECISIONS and CHANGELOG updated; en/it strings added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 10:28:08 +01:00
Alby96andClaude Opus 5.5 369e754bec fix(server): public ports as settings, container port lock and client address; clients default to 8443 and name non-Chronos servers
The owner's Uploader could not connect: the panel showed the container's
listening ports (8080/8443) as if clients used them, the public ports were
only environment variables (CHRONOS_PUBLIC_HTTP_PORT not even in the Unraid
template), and the clients mapped a bare host to 443, where another service
answered.

- Public HTTP/HTTPS ports are settings (server.json, or locked by
  CHRONOS_PUBLIC_*) and apply at once; ServerSettingsDto gains appended
  PublicHttpPort, PublicHttpsPort and InContainer members.
- In a container the listening ports are fixed by the template: locked in the
  panel, and saved values from earlier versions are ignored with a warning.
- Settings > Network and TLS shows the client address with a Copy button; the
  discovery tooltip says a container needs network type Host.
- ChronosAddress (shared by Chronos and the Uploader): no scheme and no port is
  https on 8443, https:// keeps 443, a typed port is kept, IPv6 is bracketed.
- GetInfoAsync throws NotChronosServerException for answers that are not a
  Chronos server; another service's certificate is never offered for trust
  and no credentials are sent to it. Both clients name the address asked.
- Unraid template, compose file, user guide, README, BRIEF, DECISIONS,
  CHANGELOG (with an Unraid upgrade note) and ARCHITECTURE updated; en/it
  strings added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:53:49 +01:00