feat: owner review 2 phase 4b: mass conversion after import (#13)
CI / Build and test (push) Failing after 3m1s
CI / PostgreSQL 16 integration (push) Skipped
CI / PostgreSQL 17 integration (push) Skipped
CI / Docker image (push) Skipped
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 10s
Release / Build, test and publish (push) Successful in 15m31s
Release / Server image (push) Successful in 1m13s

Convert photos already in the archive to JPEG, TIFF-16 or Linear DNG, from the panel's Library and the desktop's Archive and Library. Each run asks Replace (same frames, originals to the trash, recoverable) or New sequence. A dry run lists what converts, what is skipped and why, size before and after, and free space; the job converts exactly the confirmed photos, resumes, and commits all or nothing per sequence. A conversion never changes what Chronos reads from a photo. Replaced originals are erased only on the archive's own word that their conversion is gone. Desktop TIFFs that WIC showed black or as noise now go to the managed reader; the Edit picker no longer spins a core.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #13.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-11-03 10:41:50 +01:00
1 parent 7e4a3b481d
commit efa87f68ce
354 files changed
+24530 -843

No files matched your search

+74
View File
@@ -9,6 +9,7 @@
<data name="Admin.About.Title" xml:space="preserve"><value>Chronos Server</value></data>
<data name="Admin.About.Uptime" xml:space="preserve"><value>Running for</value></data>
<data name="Admin.About.Version" xml:space="preserve"><value>Version</value></data>
<data name="Admin.Activity.ArchiveConverted" xml:space="preserve"><value>{0} queued a conversion · {1}</value><comment>long</comment></data>
<data name="Admin.Activity.ArchiveReorganized" xml:space="preserve"><value>{0} reorganized the archive · {1}</value><comment>long</comment></data>
<data name="Admin.Activity.ArchiveSettings" xml:space="preserve"><value>{0} changed the archive layout</value><comment>long</comment></data>
<data name="Admin.Activity.FramesDeleted" xml:space="preserve"><value>{0} deleted {1}</value><comment>long</comment></data>
@@ -83,6 +84,73 @@
<data name="Admin.Common.TypeToConfirm.Tip" xml:space="preserve"><value>Type the name exactly as shown to confirm</value></data>
<data name="Admin.Common.TypeWord.Tip" xml:space="preserve"><value>Type the word exactly as shown; upper or lower case does not matter</value></data>
<data name="Admin.Common.TypeWordFirst.Tip" xml:space="preserve"><value>Type the word above first</value></data>
<data name="Admin.Convert.Action" xml:space="preserve"><value>Convert…</value></data>
<data name="Admin.Convert.Action.Tip" xml:space="preserve"><value>Convert the photos of the selected sequences to JPEG, TIFF-16 or linear DNG; a preview shows every sequence first</value></data>
<data name="Admin.Convert.Apply" xml:space="preserve"><value>Convert…</value></data>
<data name="Admin.Convert.Apply.Tip" xml:space="preserve"><value>Convert as the preview shows; a confirmation comes first</value></data>
<data name="Admin.Convert.Cancel.Tip" xml:space="preserve"><value>Close without converting anything</value></data>
<data name="Admin.Convert.ChooseMode" xml:space="preserve"><value>Choose Replace or New sequence to convert.</value><comment>long</comment></data>
<data name="Admin.Convert.ChooseMode.Tip" xml:space="preserve"><value>Choose Replace or New sequence first</value></data>
<data name="Admin.Convert.Column.Converted" xml:space="preserve"><value>Converted</value></data>
<data name="Admin.Convert.Column.NotCopied" xml:space="preserve"><value>Not copied</value></data>
<data name="Admin.Convert.Column.Sequence" xml:space="preserve"><value>Sequence</value></data>
<data name="Admin.Convert.Column.Size" xml:space="preserve"><value>Size</value></data>
<data name="Admin.Convert.Column.Unchanged" xml:space="preserve"><value>Unchanged</value></data>
<data name="Admin.Convert.Confirm.New" xml:space="preserve"><value>Convert</value></data>
<data name="Admin.Convert.Confirm.New.Tip" xml:space="preserve"><value>Queue the job that converts the photos into new sequences, each conversion verified; the originals are not touched</value></data>
<data name="Admin.Convert.Confirm.Replace" xml:space="preserve"><value>Replace</value></data>
<data name="Admin.Convert.Confirm.Replace.Tip" xml:space="preserve"><value>Queue the job that converts the photos, verifies each conversion and moves the originals to the trash</value></data>
<data name="Admin.Convert.ConfirmNew.one" xml:space="preserve"><value>{0} photo is converted into a copy in a new sequence; the original stays as it is.</value><comment>long</comment></data>
<data name="Admin.Convert.ConfirmNew.other" xml:space="preserve"><value>{0} photos are converted into copies in a new sequence beside each one; the originals stay as they are.</value><comment>long</comment></data>
<data name="Admin.Convert.ConfirmNewNotCopied.one" xml:space="preserve"><value>{0} photo is not copied into the new sequence, for the reason the preview gives.</value><comment>long</comment></data>
<data name="Admin.Convert.ConfirmNewNotCopied.other" xml:space="preserve"><value>{0} photos are not copied into the new sequences, for the reasons the preview gives.</value><comment>long</comment></data>
<data name="Admin.Convert.ConfirmNewTitle" xml:space="preserve"><value>Convert to {0} in new sequences?</value><comment>long</comment></data>
<data name="Admin.Convert.ConfirmReplace.one" xml:space="preserve"><value>{0} photo in {1} is replaced by its conversion; the original goes to the trash, restorable until it is emptied.</value><comment>long</comment></data>
<data name="Admin.Convert.ConfirmReplace.other" xml:space="preserve"><value>{0} photos in {1} are replaced by their conversions; the originals go to the trash, restorable until it is emptied.</value><comment>long</comment></data>
<data name="Admin.Convert.ConfirmReplaceTitle" xml:space="preserve"><value>Replace the originals with {0}?</value><comment>long</comment></data>
<data name="Admin.Convert.Format" xml:space="preserve"><value>Format</value></data>
<data name="Admin.Convert.Format.Jpeg" xml:space="preserve"><value>JPEG</value><comment>invariant: a file format's name</comment></data>
<data name="Admin.Convert.Format.Jpeg.Tip" xml:space="preserve"><value>8-bit JPEG with full colour detail at the quality set beside: the smallest files, opened by every program</value></data>
<data name="Admin.Convert.Format.LinearDng" xml:space="preserve"><value>Linear DNG</value></data>
<data name="Admin.Convert.Format.LinearDng.Tip" xml:space="preserve"><value>16-bit linear DNG compressed without loss: the archival choice, opened by raw editors</value></data>
<data name="Admin.Convert.Format.Tiff16" xml:space="preserve"><value>TIFF-16</value><comment>invariant: a file format's name</comment></data>
<data name="Admin.Convert.Format.Tiff16.Tip" xml:space="preserve"><value>16-bit sRGB TIFF compressed without loss: large files that keep every tone for editing</value></data>
<data name="Admin.Convert.Gone" xml:space="preserve"><value>A selected sequence is no longer in the archive; close and select again.</value><comment>long</comment></data>
<data name="Admin.Convert.Mode" xml:space="preserve"><value>Mode</value></data>
<data name="Admin.Convert.Mode.NewSequence" xml:space="preserve"><value>New sequence</value></data>
<data name="Admin.Convert.Mode.NewSequence.Tip" xml:space="preserve"><value>The converted copies go into a new sequence beside each one; the originals and their sequence stay exactly as they are</value></data>
<data name="Admin.Convert.Mode.Replace" xml:space="preserve"><value>Replace</value></data>
<data name="Admin.Convert.Mode.Replace.Tip" xml:space="preserve"><value>The converted files become the sequence's photos; the originals go to the archive's trash, restorable until it is emptied</value></data>
<data name="Admin.Convert.NoAnswer" xml:space="preserve"><value>The server did not answer: check on the Jobs page whether the conversion was queued before converting again.</value><comment>long</comment></data>
<data name="Admin.Convert.NoSpace.Tip" xml:space="preserve"><value>Free some space on the archive's volume first</value></data>
<data name="Admin.Convert.NotCopiedCount.one" xml:space="preserve"><value>{0} not copied</value><comment>a photo count a new sequence lacks</comment></data>
<data name="Admin.Convert.NotCopiedCount.other" xml:space="preserve"><value>{0} not copied</value><comment>a photo count a new sequence lacks</comment></data>
<data name="Admin.Convert.Nothing.Tip" xml:space="preserve"><value>Nothing in the preview converts</value></data>
<data name="Admin.Convert.NothingToConvert" xml:space="preserve"><value>Nothing to convert: every photo stays as it is, for the reasons shown.</value><comment>long</comment></data>
<data name="Admin.Convert.OpenJob" xml:space="preserve"><value>Open job</value></data>
<data name="Admin.Convert.OpenJob.Tip" xml:space="preserve"><value>Show the job and its log on the Jobs page</value></data>
<data name="Admin.Convert.PlanItem" xml:space="preserve"><value>{0} · {1} · {2}</value><comment>invariant; a sequence's title, the photos it converts, and their size before and after</comment></data>
<data name="Admin.Convert.PlanChanged" xml:space="preserve"><value>The archive changed since the preview; check the new one and apply again.</value><comment>long</comment></data>
<data name="Admin.Convert.PlanItemNotCopied" xml:space="preserve"><value>{0} · {1}</value><comment>invariant; a sequence of the New sequence confirmation (Admin.Convert.PlanItem), then the photos its new sequence lacks</comment></data>
<data name="Admin.Convert.Planning" xml:space="preserve"><value>Planning…</value></data>
<data name="Admin.Convert.Planning.Tip" xml:space="preserve"><value>The server reads every photo folder of the selection: a large archive takes minutes, and the preview appears once it is done</value></data>
<data name="Admin.Convert.PlanningFor" xml:space="preserve"><value>Planning… {0}</value><comment>{0} how long the dry run has taken so far, e.g. "2 min"</comment></data>
<data name="Admin.Convert.Preview" xml:space="preserve"><value>Preview</value></data>
<data name="Admin.Convert.Preview.Tip" xml:space="preserve"><value>What each sequence converts and leaves as it is, with the size before and after (an estimate); nothing has changed yet</value></data>
<data name="Admin.Convert.Quality" xml:space="preserve"><value>Quality</value></data>
<data name="Admin.Convert.Quality.Tip" xml:space="preserve"><value>JPEG quality from 1 to 100; 95 keeps fine detail, lower values make smaller files</value></data>
<data name="Admin.Convert.QualityRange" xml:space="preserve"><value>Write a whole number from 1 to 100.</value><comment>long</comment></data>
<data name="Admin.Convert.Queued" xml:space="preserve"><value>Conversion queued.</value></data>
<data name="Admin.Convert.ReplaceWord" xml:space="preserve"><value>replace</value><comment>the word typed to confirm replacing the originals, lower case</comment></data>
<data name="Admin.Convert.Size.Tip" xml:space="preserve"><value>Size of the photos converted now, then the estimate after</value></data>
<data name="Admin.Convert.SizeChange" xml:space="preserve"><value>{0} → {1}</value><comment>invariant; a size before and the estimated size after</comment></data>
<data name="Admin.Convert.SkippedPhotos" xml:space="preserve"><value>{0}: {1}</value><comment>long: a photo count, then why those photos stay as they are</comment></data>
<data name="Admin.Convert.Title.one" xml:space="preserve"><value>Convert {0} sequence</value></data>
<data name="Admin.Convert.Title.other" xml:space="preserve"><value>Convert {0} sequences</value></data>
<data name="Admin.Convert.TitleAll" xml:space="preserve"><value>Convert all sequences</value></data>
<data name="Admin.Convert.TooMany" xml:space="preserve"><value>Convert takes at most {0} sequences at once, or every sequence: clear the filters and select all.</value><comment>long</comment></data>
<data name="Admin.Convert.Totals" xml:space="preserve"><value>Sequences converted: {0} · photos: {1} · unchanged: {2} · size: {3} → {4}</value><comment>long</comment></data>
<data name="Admin.Convert.TotalsNew" xml:space="preserve"><value>Sequences converted: {0} · photos: {1} · not copied: {2} · size: {3} → {4}</value><comment>long: the totals with New sequence chosen; {2} the photos the new sequences lack</comment></data>
<data name="Admin.Dashboard.Activity" xml:space="preserve"><value>Recent activity</value></data>
<data name="Admin.Dashboard.AllLogs" xml:space="preserve"><value>All logs</value></data>
<data name="Admin.Dashboard.AllLogs.Tip" xml:space="preserve"><value>Open the audit log</value></data>
@@ -133,6 +201,7 @@
<data name="Admin.Job.Kind.Adopt" xml:space="preserve"><value>Adopt</value></data>
<data name="Admin.Job.Kind.Backup" xml:space="preserve"><value>Backup</value></data>
<data name="Admin.Job.Kind.Cleanup" xml:space="preserve"><value>Clean-up</value></data>
<data name="Admin.Job.Kind.Convert" xml:space="preserve"><value>Convert</value></data>
<data name="Admin.Job.Kind.DeepAnalyse" xml:space="preserve"><value>Deep analysis</value></data>
<data name="Admin.Job.Kind.Duplicates" xml:space="preserve"><value>Duplicates</value></data>
<data name="Admin.Job.Kind.EmptyTrash" xml:space="preserve"><value>Empty trash</value></data>
@@ -344,6 +413,7 @@
<data name="Admin.Login.SignIn.Tip" xml:space="preserve"><value>Sign in to administer this server</value></data>
<data name="Admin.Login.User" xml:space="preserve"><value>User</value></data>
<data name="Admin.Login.User.Tip" xml:space="preserve"><value>Your user name on this server</value></data>
<data name="Admin.Logs.Action.ArchiveConverted" xml:space="preserve"><value>Photos converted</value></data>
<data name="Admin.Logs.Action.ArchiveReorganized" xml:space="preserve"><value>Archive reorganized</value></data>
<data name="Admin.Logs.Action.ArchiveSettings" xml:space="preserve"><value>Archive layout</value></data>
<data name="Admin.Logs.Action.FramesDeleted" xml:space="preserve"><value>Photos deleted</value></data>
@@ -795,6 +865,7 @@
<data name="Admin.Theme.Tip" xml:space="preserve"><value>Switch between light and dark</value></data>
<data name="Admin.Trash.Back" xml:space="preserve"><value>Library</value></data>
<data name="Admin.Trash.Back.Tip" xml:space="preserve"><value>Back to the Library</value></data>
<data name="Admin.Trash.ConversionDeleted" xml:space="preserve"><value>conversion deleted</value></data>
<data name="Admin.Trash.DeletedAt" xml:space="preserve"><value>Deleted</value></data>
<data name="Admin.Trash.DeletedBy" xml:space="preserve"><value>Deleted by</value></data>
<data name="Admin.Trash.Emptied" xml:space="preserve"><value>Trash emptied.</value><comment>long</comment></data>
@@ -822,9 +893,12 @@
<data name="Admin.Trash.PlanItem" xml:space="preserve"><value>{0} · {1} · {2}</value><comment>invariant; an entry's kind, title and size</comment></data>
<data name="Admin.Trash.Restore" xml:space="preserve"><value>Restore</value></data>
<data name="Admin.Trash.RestorePhotos.Tip" xml:space="preserve"><value>Put the photos back into their sequence (a new one if it is gone); each is checked against its SHA-256 first</value></data>
<data name="Admin.Trash.RestoreReplaced.Tip" xml:space="preserve"><value>Put the originals back in place of their conversions while those are unchanged (the conversions go to the trash), else into a new sequence; each is checked against its SHA-256 first</value></data>
<data name="Admin.Trash.RestoreSequence.Tip" xml:space="preserve"><value>Move the sequence's folder back into the library as it is (next to its old place if that is taken); its photos are not hash-checked: Verify does that</value></data>
<data name="Admin.Trash.RestoredNew.one" xml:space="preserve"><value>{0} photo restored into a new sequence.</value><comment>long</comment></data>
<data name="Admin.Trash.RestoredNew.other" xml:space="preserve"><value>{0} photos restored into a new sequence.</value><comment>long</comment></data>
<data name="Admin.Trash.RestoredOriginals.one" xml:space="preserve"><value>{0} original is back in {1}; its conversion is in the trash.</value><comment>long</comment></data>
<data name="Admin.Trash.RestoredOriginals.other" xml:space="preserve"><value>{0} originals are back in {1}; their conversions are in the trash.</value><comment>long</comment></data>
<data name="Admin.Trash.RestoredPhotos.one" xml:space="preserve"><value>{0} photo is back in {1}.</value><comment>long</comment></data>
<data name="Admin.Trash.RestoredPhotos.other" xml:space="preserve"><value>{0} photos are back in {1}.</value><comment>long</comment></data>
<data name="Admin.Trash.RestoredSequence" xml:space="preserve"><value>{0} is back in the library.</value><comment>long</comment></data>