diff --git a/docs/requests/2026-11-15-owner-review-5.md b/docs/requests/2026-11-15-owner-review-5.md new file mode 100644 index 00000000..6945b5c8 --- /dev/null +++ b/docs/requests/2026-11-15-owner-review-5.md @@ -0,0 +1,38 @@ +# Owner review 5 (2026-11-15) + +## Owner's text (verbatim, Italian) + +> Ripensa il setup in modo da fare un setup unico per installare e aggiornare tutti i componenti. Crea quindi UN solo +> setup dove puoi scegliere se installare Chronos Uploader o Chronos Desktop (Chronos Server solo disponibile in docker) +> e quindi è un installer a parte. +> +> Dammi più informazioni riguardo alle scansioni massive (esempio "elaborazione foto x di y) +> +> Differenzia il percorso sul desktop tra server locale e server remoto, differenziando i percorsi per evitare di +> mischiare i due archivi. Puoi fare la stessa cosa con le aree di lavoro +> +> Ricorda sempre di tracciare tutti i lavori che fai + +## Interpretation + +| Id | Request | Working interpretation | +|---|---|---| +| R1 | One setup for every component (issue #64) | One `Chronos-Setup-.exe` installs, updates, adds, removes and uninstalls Chronos Desktop and Chronos Uploader (ticked per component; Desktop on by default). The Uploader-only setup and the Windows server zip are no longer published; Chronos Server ships only as the Docker image. The portable zip stays beside the setup. The update code moves to `Chronos.Core/Updates` and `Chronos.Ui/Updates` so that the Uploader checks for updates too. | +| R2 | More detail on mass passes (issue #65) | Live progress of a job gains an optional detail: the step, the item, item x of y (e.g. photo x of y) and part n of m (e.g. sequence n of m), with rate and time left. The desktop shows it for its own jobs (Jobs, job bar, Archive, editor header); its Server section, when connected, lists the server's running jobs with the same detail; the admin panel shows it too. | +| R3 | Separate homes for local and remote archives (issue #66) | "Local" is this PC's archive and each Chronos Server is its own home, keyed by a stable server id: `servers\` in the cache and in the workspace, and its own archive for downloaded originals (e.g. `D:\ChronosArchive - Studio NAS`). Copies already downloaded stay where they are. | +| R4 | Chronos Desktop as the Windows server (issue #67) | The separate Windows server program leaves the product. Chronos Desktop can be set to share this PC's library on the local network (Settings › Server › *Share this library*), hosting the same server engine as the Docker image in-process over its own archive and index. A 1.0 Windows Server found by the setup is shown as no longer offered and removed only by an explicit, dry-run-planned action. | +| R5 | Track every piece of work | Every work item has an issue in milestone `v1.1.0` and a board card; every commit ends with `Refs #N`. | + +## Questions and answers + +| Id | Question | Owner's answer | +|---|---|---| +| Q1 (#66) | What do "local server" and "remote server" mean, and where do downloaded originals go? | The recommended option: *local* is this PC's archive, *remote* is a Chronos Server. Each server gets its own folders keyed by a stable server id (`servers\` in the cache and in the workspace) and its own archive for downloaded originals, e.g. `D:\ChronosArchive - Studio NAS`. Copies already downloaded stay where they are. | +| Q2 (#65) | Where is the detailed progress of mass passes shown, and does the desktop follow the server's jobs? | "I lavori del desktop li seguo, ovviamente, sul desktop mentre i lavori in esecuzione sul server li posso vedere dal pannello server dell'applicazione desktop, se connesso a un server ovviamente". Desktop jobs show their detail on the desktop; the desktop's Server section, while connected, lists the server's running jobs live with the same detail (server jobs API, `jobProgress` events, `JobDetailDto`). Pause, resume and cancel are offered only with the account's right, otherwise the list is read-only. The admin panel shows the detail too. | +| Q3 (#64, #67) | One setup: what happens to the Windows server and the portable zip? | "Il server windows non dovrebbe essere un exe separato ma dovrebbe essere chronos desktop che gestisce una libreria e viene impostato come server e viene condiviso in rete locale". No Server component, no Windows server zip or installer, the Windows service hosting removed; new issue #67 makes Chronos Desktop a server for this PC's library (R4). The Docker image is unchanged. The portable zip keeps being published beside the single setup. | + +## Delivery plan + +| Phase | Content | State | Commit | +|---|---|---|---| +| 1 | `v1.1.0`: R1 single setup and Uploader update check (#64), R2 mass-pass progress (#65), R3 separate homes (#66), R4 Chronos Desktop as server (#67); R5 tracking | in progress | | diff --git a/src/Chronos.App/About/AboutViewModel.cs b/src/Chronos.App/About/AboutViewModel.cs index ca1134bb..7dccfe01 100644 --- a/src/Chronos.App/About/AboutViewModel.cs +++ b/src/Chronos.App/About/AboutViewModel.cs @@ -4,8 +4,10 @@ using System.Windows.Input; using Chronos.App.Infrastructure; using Chronos.App.Shell; using Chronos.Core.Localization; +using Chronos.Core.Updates; using Chronos.Ui.Controls; using Chronos.Ui.Mvvm; +using Chronos.Ui.Updates; namespace Chronos.App.About; diff --git a/src/Chronos.App/DesignTime/SampleData.cs b/src/Chronos.App/DesignTime/SampleData.cs index ff723449..ace1ca49 100644 --- a/src/Chronos.App/DesignTime/SampleData.cs +++ b/src/Chronos.App/DesignTime/SampleData.cs @@ -1,6 +1,5 @@ using System.IO; using System.Net; -using Chronos.App.About; using Chronos.App.Editor; using Chronos.App.Import; using Chronos.App.Infrastructure; @@ -21,6 +20,7 @@ using Chronos.Core.Localization; using Chronos.Core.Metadata; using Chronos.Core.Model; using Chronos.Core.Project; +using Chronos.Core.Updates; using Chronos.Core.Video; using Chronos.Data; using Chronos.Data.Archiving; diff --git a/src/Chronos.App/Infrastructure/AppServices.cs b/src/Chronos.App/Infrastructure/AppServices.cs index 859c8700..d87a7c8d 100644 --- a/src/Chronos.App/Infrastructure/AppServices.cs +++ b/src/Chronos.App/Infrastructure/AppServices.cs @@ -2,7 +2,6 @@ using System.ComponentModel; using System.IO; using System.Net.Http; using System.Reflection; -using Chronos.App.About; using Chronos.App.Archiving; using Chronos.App.Import; using Chronos.App.Jobs; @@ -16,6 +15,7 @@ using Chronos.Core.Export; using Chronos.Core.Imaging; using Chronos.Core.Imaging.Decoders; using Chronos.Core.Model; +using Chronos.Core.Updates; using Chronos.Core.Video.Managed; using Chronos.Core.Windows.MediaFoundation; using Chronos.Core.Windows.Wic; diff --git a/src/Chronos.App/Infrastructure/ProductLinks.cs b/src/Chronos.Core/Updates/ProductLinks.cs similarity index 98% rename from src/Chronos.App/Infrastructure/ProductLinks.cs rename to src/Chronos.Core/Updates/ProductLinks.cs index 6859fe05..f2f29f07 100644 --- a/src/Chronos.App/Infrastructure/ProductLinks.cs +++ b/src/Chronos.Core/Updates/ProductLinks.cs @@ -1,6 +1,6 @@ using System.Reflection; -namespace Chronos.App.Infrastructure; +namespace Chronos.Core.Updates; /// /// Public links (BRIEF §19.4, amended 2026-10-23, R2): the Gitea repository that publishes the releases. Release diff --git a/src/Chronos.App/About/UpdateCheck.cs b/src/Chronos.Core/Updates/UpdateCheck.cs similarity index 99% rename from src/Chronos.App/About/UpdateCheck.cs rename to src/Chronos.Core/Updates/UpdateCheck.cs index f6407010..11d20499 100644 --- a/src/Chronos.App/About/UpdateCheck.cs +++ b/src/Chronos.Core/Updates/UpdateCheck.cs @@ -2,7 +2,7 @@ using System.Net.Http; using System.Net.Http.Headers; using System.Text.Json; -namespace Chronos.App.About; +namespace Chronos.Core.Updates; /// The newest public release (BRIEF §18) with its downloadable files. public sealed record ReleaseInfo(Version Version, string Tag, string PageUrl) diff --git a/src/Chronos.App/About/UpdateDownload.cs b/src/Chronos.Core/Updates/UpdateDownload.cs similarity index 99% rename from src/Chronos.App/About/UpdateDownload.cs rename to src/Chronos.Core/Updates/UpdateDownload.cs index 1d2df65e..e3744262 100644 --- a/src/Chronos.App/About/UpdateDownload.cs +++ b/src/Chronos.Core/Updates/UpdateDownload.cs @@ -6,7 +6,7 @@ using System.Net.Http; using System.Net.Http.Headers; using System.Security.Cryptography; -namespace Chronos.App.About; +namespace Chronos.Core.Updates; /// A downloaded update was refused: the release lacks a setup or checksum line, or the bytes do not match. public sealed class UpdateVerificationException(string message) : Exception(message); diff --git a/src/Chronos.App/About/UpdateFlow.cs b/src/Chronos.Ui/Updates/UpdateFlow.cs similarity index 99% rename from src/Chronos.App/About/UpdateFlow.cs rename to src/Chronos.Ui/Updates/UpdateFlow.cs index 9a024b11..cf16d99f 100644 --- a/src/Chronos.App/About/UpdateFlow.cs +++ b/src/Chronos.Ui/Updates/UpdateFlow.cs @@ -1,9 +1,10 @@ using System.IO; using System.Net.Http; using Chronos.Core.Diagnostics; +using Chronos.Core.Updates; using Chronos.Ui.Mvvm; -namespace Chronos.App.About; +namespace Chronos.Ui.Updates; /// Where the update notice stands. public enum UpdateState diff --git a/tests/Chronos.App.Tests/About/UpdateFlowTests.cs b/tests/Chronos.App.Tests/About/UpdateFlowTests.cs index 84200563..464ec823 100644 --- a/tests/Chronos.App.Tests/About/UpdateFlowTests.cs +++ b/tests/Chronos.App.Tests/About/UpdateFlowTests.cs @@ -1,7 +1,8 @@ using System.IO; -using Chronos.App.About; +using Chronos.Core.Updates; using Chronos.Testing; using Chronos.Ui.Mvvm; +using Chronos.Ui.Updates; namespace Chronos.App.Tests.About; diff --git a/tests/Chronos.App.Tests/About/UpdateCheckTests.cs b/tests/Chronos.Core.Tests/Updates/UpdateCheckTests.cs similarity index 98% rename from tests/Chronos.App.Tests/About/UpdateCheckTests.cs rename to tests/Chronos.Core.Tests/Updates/UpdateCheckTests.cs index 947d9879..09bb68bf 100644 --- a/tests/Chronos.App.Tests/About/UpdateCheckTests.cs +++ b/tests/Chronos.Core.Tests/Updates/UpdateCheckTests.cs @@ -1,11 +1,10 @@ using System.Net; using System.Net.Http; using System.Text; -using Chronos.App.About; -using Chronos.App.Infrastructure; +using Chronos.Core.Updates; using Chronos.Testing; -namespace Chronos.App.Tests.About; +namespace Chronos.Core.Tests.Updates; public sealed class UpdateCheckTests { diff --git a/tests/Chronos.App.Tests/About/UpdateDownloadTests.cs b/tests/Chronos.Core.Tests/Updates/UpdateDownloadTests.cs similarity index 99% rename from tests/Chronos.App.Tests/About/UpdateDownloadTests.cs rename to tests/Chronos.Core.Tests/Updates/UpdateDownloadTests.cs index 4aaf4e38..d7d83860 100644 --- a/tests/Chronos.App.Tests/About/UpdateDownloadTests.cs +++ b/tests/Chronos.Core.Tests/Updates/UpdateDownloadTests.cs @@ -4,10 +4,10 @@ using System.Net.Http; using System.Net.Http.Headers; using System.Security.Cryptography; using System.Text; -using Chronos.App.About; +using Chronos.Core.Updates; using Chronos.Testing; -namespace Chronos.App.Tests.About; +namespace Chronos.Core.Tests.Updates; public sealed class UpdateDownloadTests(TestContext context) {