Skip to content
Python

1.51.0: Versionen 1.51.0 bis 1.57.0 zu einer Version zusammengefasst

Claude15e9f14d05b2
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 10e84db..1a86375 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,71 +3,42 @@
Version numbers follow [SemVer](https://semver.org/): MAJOR.MINOR.PATCH
(MAJOR = incompatible change, MINOR = new feature, PATCH = bug fix).
-## 1.57.0 – 2026-11-24
-- **New charts in the dashboard building blocks:** pie chart, line chart over time, stacked bars per day, gauge,
- calendar heatmap, number with trend (sparkline) and a run timeline that shows overlaps. Only views that fit the data
- source are offered.
-- New **metric** filter for runs (count, data transferred, run duration, files copied/deleted, errors) and new periods
- of 90 and 365 days. The editor hides filters that don't fit the selected view.
-- The transferred data is stored per run (new "Transferred" column); older runs are read from the log.
-- New templates (e.g. "Runs today", "Success rate", "Run duration per day", "Runs in the calendar", "Timeline").
-- Sizes are now also shown in GB/TB. API/MCP (`update_dashboard`, `get_dashboard`) and all 5 languages updated.
-
-## 1.56.0 – 2026-11-24
-- **Dashboard building blocks:** build tiles from a data source (overview, running jobs, jobs, runs, next starts,
- logins, audit log, disk space, system), a view (number, list, bars, status light) and filters (jobs, status, test
- runs, period, number of entries). Editor with live preview, extra templates. The default tiles are now templates and
- can be rebuilt the same way.
-- **Dashboard tabs** like in a browser: add, rename, move, delete; each tab has its own tiles.
-- New data source disk space (drives of /config and /logs, size of the logs; permission `system.settings`).
-- API/MCP: `get_dashboard` returns tabs, tiles, content and building blocks; `update_dashboard` takes `tabs` or `tab` +
- `tiles`. Layouts from 1.54/1.55 become the first tab. All 5 languages.
-
-## 1.55.0 – 2026-11-24
-- **Arrange the dashboard freely:** drag the bottom right corner of any tile to change its width (1–12 columns) and
- height (1–24 rows). Smaller tiles move into free gaps automatically, e.g. two half-height tiles stacked next to a big
- one. Content that does not fit scrolls inside the tile. Layouts from 1.54.0 are taken over.
-- API/MCP: `update_dashboard` takes `w` and `h` per tile (instead of `size`), `get_dashboard` returns them. All 5
- languages.
-
-## 1.54.0 – 2026-11-24
-- **Dashboard** (new, at the top of the sidebar) with tiles: running jobs, overview, jobs with errors, last 10 runs,
- next 10 starts, last 10 logins, last 10 changes (audit log), system. Refreshes every 5 seconds. With "Customize" you
- show and hide tiles, move them (drag or arrows) and make them narrow or wide; saved per user.
-- Permissions: each tile needs the matching permission (`jobs.view`, `users.view`, `system.audit`). API/MCP:
- `get_dashboard`, `update_dashboard`. Audit "dashboard customized". All 5 languages.
-
-## 1.53.0 – 2026-11-24
-- **Restart the container:** by hand ("Restart now", optionally even while jobs run) or on a schedule (time,
- weekdays; waits for running jobs). With the Docker socket via Docker, otherwise MirrorSync exits and Docker restarts
- it via `restart: unless-stopped`. Audit "restart triggered/completed".
-- **Old images:** after a self-update the old image is deleted (can be switched off). List of old MirrorSync images
- with "Remove old images".
-- New permission `system.restart`. API/MCP: `get_restart`, `restart_container`, `update_restart_settings`,
- `list_old_images`, `prune_images`, `selfupdate_prune`. README with security notes. All 5 languages.
-
-## 1.52.0 – 2026-11-24
-- **Time window per job:** start, end (also past midnight) and weekdays. Automatic starts (schedule, chain, full live
- sync) outside the window are postponed and start as soon as the window opens; live rounds outside are skipped. At
- the end of the window you can choose: let it run, stop and continue in the next window, or stop until the next
- regular start. The overview shows the window and "waiting for time window", the history "time window ended". Runs
- started by hand outside the window run to the end.
-- API/MCP: field `window` (`start`, `end`, `days`, `mode`) and `window_wait`. Permissions: like the other job
- settings (`jobs.edit`). The audit log records changes. All 5 languages.
-
## 1.51.0 – 2026-11-24
-- **Duplicate jobs** ("⧉" in the overview and in the job). The copy is switched off, history and two-way state are
- not carried over.
-- **Duplicate storage locations** under a new name, including password, sign-in and "Visible to".
-- **Change a storage location's protocol later** (e.g. SMB → SFTP), with a warning and the fields asked again. If
- the setup fails, the old state is restored.
-- **Mirror without deleting:** new option "Don't delete anything in the destination" (`rclone copy` instead of
- `sync`), also in the preview.
-- **Interface:** Start button as tall as the other buttons, sidebar collapse arrow centered on the edge, open windows
- such as the audit log details are modal (background doesn't scroll).
-- API/MCP: `duplicate_job`, `duplicate_remote`, `update_remote` with `type`, `no_delete`. Permissions: duplicating
- needs "create jobs" or "create storage locations", changing the protocol "edit storage locations". Everything is in
- the audit log. All 5 languages.
+**Dashboard**
+- **Dashboard** at the top of the sidebar, refreshes every 5 seconds. **Tabs** like in a browser (add, rename, move,
+ delete), each with its own tiles; saved per user or API key.
+- **Arrange tiles freely:** drag or move with arrows, drag the bottom right corner to change width (1–12 columns) and
+ height (1–24 rows). Smaller tiles move into free gaps automatically.
+- **Building blocks:** every tile is a data source (overview, running jobs, jobs, runs, next starts, logins, audit
+ log, disk space, system), a view and filters (jobs, status, test runs, period up to 365 days, metric, number of
+ entries). Editor with live preview; the default tiles are templates and can be rebuilt.
+- **Views:** number, number with trend (sparkline), list, bars, stacked bars per day, pie chart, gauge, line chart
+ over time (count, data transferred, run duration …), calendar heatmap, run timeline with overlaps and status light.
+ Only views that fit the data source are offered.
+- The transferred data is stored per run ("Transferred" column); older runs are read from the log.
+
+**Jobs and storage locations**
+- **Time window per job:** start, end (also past midnight) and weekdays. Automatic starts outside are postponed, live
+ rounds are skipped. At the end of the window: let it run, stop and continue in the next window, or stop until the
+ next regular start.
+- **Duplicate jobs and storage locations** ("⧉"); a duplicated job is switched off and has no history.
+- **Change a storage location's protocol later** (e.g. SMB → SFTP); if it fails, the old state is restored.
+- **Mirror without deleting:** option "Don't delete anything in the destination" (`rclone copy` instead of `sync`),
+ also in the preview.
+
+**System**
+- **Restart the container:** by hand or on a schedule (time, weekdays; waits for running jobs). With the Docker socket
+ via Docker, otherwise MirrorSync exits and Docker restarts it via `restart: unless-stopped`.
+- **Old images:** after a self-update the old image is deleted (can be switched off), plus "Remove old images".
+- **Interface:** Start button as tall as the other buttons, sidebar arrow centered on the edge, windows such as the
+ audit details are modal. Sizes also in GB/TB.
+
+**Permissions, API/MCP, languages**
+- New permission `system.restart`; dashboard tiles need the permission of their data source (`jobs.view`,
+ `users.view`, `system.audit`, `system.settings`). Time windows like the other job settings (`jobs.edit`).
+- API/MCP: `get_dashboard`, `update_dashboard`, `duplicate_job`, `duplicate_remote`, `update_remote` with `type`,
+ `no_delete`, `window`, `get_restart`, `restart_container`, `update_restart_settings`, `list_old_images`,
+ `prune_images`, `selfupdate_prune`. Everything in the audit log, all 5 languages.
## 1.50.0 – 2026-11-23
- **Tasks window stays open.** While a job was running, the overview (and a job's pages and its live log) reloaded
diff --git a/Dockerfile b/Dockerfile
index e71d4f3..64602d4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,7 +23,7 @@ RUN pip uninstall -y pip setuptools wheel >/dev/null 2>&1; \
/usr/local/lib/python3*/site-packages/pip* /usr/local/bin/pip*
COPY app/ .
-ARG VERSION=1.57.0
+ARG VERSION=1.51.0
LABEL org.opencontainers.image.title="MirrorSync" org.opencontainers.image.version=$VERSION
ENV TZ=Europe/Berlin CONFIG_DIR=/config LOG_DIR=/logs PORT=8080 PYTHONUNBUFFERED=1
VOLUME ["/config", "/logs"]
diff --git a/README.de.md b/README.de.md
index 8eef951..081f1af 100644
--- a/README.de.md
+++ b/README.de.md
@@ -4,7 +4,7 @@
# MirrorSync – 1:1-Spiegelung mit Web-GUI und Zeitplänen
-Version **1.57.0** · Änderungen siehe [CHANGELOG.md](CHANGELOG.md) (englisch) · [English version](README.md)
+Version **1.51.0** · Änderungen siehe [CHANGELOG.md](CHANGELOG.md) (englisch) · [English version](README.md)
Ein Docker-Container, der Ordner **einweg 1:1 spiegelt** (wie FreeFileSync „Spiegeln"):
Das Ziel wird exakt wie die Quelle, inklusive Löschungen. Als Sync-Motor dient
@@ -68,7 +68,7 @@ Geänderte Dateien werden komplett neu übertragen (kein Delta wie bei rsync).
## Installation
Das fertige Image liegt in der GitHub Container Registry: `ghcr.io/dermilderjoghurt/mirrorsync`
-(für amd64 und arm64, z. B. Raspberry Pi). Tags: `latest` (neueste Version), `1.57.0` (feste Version),
+(für amd64 und arm64, z. B. Raspberry Pi). Tags: `latest` (neueste Version), `1.51.0` (feste Version),
`1.40` (neuester Patch dieser Version). Das Image wird nur veröffentlicht, wenn sich die Versionsnummer ändert.
Update-Prüfer wie Dockhand oder Watchtower melden deshalb nur dann ein Update, wenn es wirklich eine neue Version gibt.
@@ -278,7 +278,7 @@ bleibt sie Basisordner, sonst wird der gemeinsame Elternordner zur Quelle.
`NAS:share` mit Auswahl `10-Temp/` und Ziel `Familie-NAS:share` ergibt `Familie-NAS:share/10-Temp`.
- Leeres Feld = der ganze Quellordner wie bisher.
-## Diagramme im Dashboard (seit 1.57.0)
+## Diagramme im Dashboard (seit 1.51.0)
Zusätzlich zu Zahl, Liste, Balken und Statusampel gibt es diese Darstellungen. Im Editor sind nur die wählbar, die zur
Datenquelle passen:
@@ -297,10 +297,10 @@ Neue Zeiträume: 90 und 365 Tage. Ohne Zeitraum zeigen die Diagramme die letzten
„Laufdauer pro Tag“, „Läufe pro Tag“, „Läufe nach Status“, „Läufe im Kalender“, „Zeitleiste der Läufe“ und ein Tacho
für den Speicherplatz.
-Die übertragene Datenmenge wird ab 1.57.0 bei jedem Lauf gespeichert (Spalte „Übertragen“ in der Liste der Läufe). Für
+Die übertragene Datenmenge wird bei jedem Lauf gespeichert (Spalte „Übertragen“ in der Liste der Läufe). Für
ältere Läufe liest MirrorSync sie aus dem vorhandenen Log.
-## Dashboard-Baukasten und Tabs (seit 1.56.0)
+## Dashboard-Baukasten und Tabs (seit 1.51.0)
Jede Kachel besteht aus drei Bausteinen, ähnlich wie die selbst zusammengestellten Benachrichtigungen:
- **Datenquelle:** Überblick, laufende Aufträge, Aufgaben, Läufe, nächste Starts, Anmeldungen, Änderungen
@@ -320,7 +320,7 @@ Rechte: jede Datenquelle braucht ihr Recht (`jobs.view`, `users.view` für Anmel
Audit-Log, `system.settings` für Speicherplatz). API/MCP: `get_dashboard` (Tabs, Kacheln, Inhalte, Bausteine) und
`update_dashboard` (`tabs` oder `tab` + `tiles`, `reset`).
-## Dashboard (seit 1.54.0)
+## Dashboard (seit 1.51.0)
Ganz oben in der Seitenleiste: **Dashboard** mit Kacheln, die sich alle 5 Sekunden selbst aktualisieren:
| Kachel | Inhalt | Recht |
@@ -335,14 +335,14 @@ Ganz oben in der Seitenleiste: **Dashboard** mit Kacheln, die sich alle 5 Sekund
| System | Version, verfügbares Update, läuft seit, letzter Neustart | – |
Mit **Anpassen** wählt jeder Benutzer selbst, welche Kacheln er sieht und in welcher Reihenfolge (ziehen oder ↑ ↓).
-Seit 1.55.0 lässt sich jede Kachel an der Ecke unten rechts frei größer und kleiner ziehen, in Breite (1–12 Spalten) und
+Jede Kachel lässt sich an der Ecke unten rechts frei größer und kleiner ziehen, in Breite (1–12 Spalten) und
Höhe (1–24 Zeilen). Kleinere Kacheln rücken automatisch in freie Lücken: zwei halb so hohe Kacheln stehen so
untereinander neben einer großen. Passt der Inhalt nicht hinein, lässt er sich in der Kachel scrollen. Auf dem Handy
stehen alle Kacheln untereinander. „Standard wiederherstellen“ setzt alles zurück. Kacheln, für die das Recht fehlt,
erscheinen nicht. Das Layout gilt pro Benutzer (und pro API-Key). API/MCP: `get_dashboard`, `update_dashboard`
(`tiles` mit `id`, `w`, `h`; `reset`).
-## Neustart und alte Images (seit 1.53.0)
+## Neustart und alte Images (seit 1.51.0)
Unter **Einstellungen → Allgemein → Neustart** lässt sich der Container von MirrorSync neu starten: von Hand mit
„Jetzt neu starten“ oder nach Zeitplan (Uhrzeit und Wochentage). Laufen gerade Aufgaben, lehnt der Knopf ab, außer du
setzt „auch wenn Aufgaben laufen“ (dann werden sie abgebrochen). Der Zeitplan wartet, bis keine Aufgabe mehr läuft.
@@ -370,7 +370,7 @@ nicht an (erkannt am Label `org.opencontainers.image.title=MirrorSync`). Recht:
API/MCP: `get_restart`, `restart_container` (`force`), `update_restart_settings` (`restart_auto`, `restart_time`,
`restart_days`), `list_old_images`, `prune_images`, `selfupdate_prune` bei `update_update_settings`.
-## Zeitfenster (seit 1.52.0)
+## Zeitfenster (seit 1.51.0)
In jeder Aufgabe unter **Zeitfenster**: „Nur in einem Zeitfenster laufen lassen“, Beginn, Ende und Wochentage, z. B.
Mo–Fr 22:00 bis 06:00.
@@ -979,7 +979,7 @@ MirrorSync kann sich selbst aktualisieren, wenn du den Docker-Socket in den Cont
sie entfernt und die bisherige läuft wieder. Ergebnis und Ablauf stehen in der GUI, im Audit-Log
(„Update gestartet / abgeschlossen / fehlgeschlagen“) und in `config/selfupdate.json`.
- **Voraussetzungen:** Das Image muss aus einem Registry kommen (`image: ghcr.io/dermilderjoghurt/mirrorsync:latest`).
- Mit `build: .` gebaute Images kann MirrorSync nicht neu holen. Mit festem Versions-Tag (`:1.57.0`) wird nur dieser
+ Mit `build: .` gebaute Images kann MirrorSync nicht neu holen. Mit festem Versions-Tag (`:1.51.0`) wird nur dieser
Tag neu geholt. `/config` muss als Volume oder Ordner eingebunden sein (ist es in der Beispiel-Compose).
- **Recht:** `system.update` („MirrorSync aktualisieren“, Admins haben es automatisch). Automatik und Uhrzeit
ändern braucht `system.settings`.
diff --git a/README.md b/README.md
index a2ea77e..65700de 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@
# MirrorSync – 1:1 mirroring with a web GUI and schedules
-Version **1.57.0** · Changes: [CHANGELOG.md](CHANGELOG.md) · [Deutsche Version](README.de.md)
+Version **1.51.0** · Changes: [CHANGELOG.md](CHANGELOG.md) · [Deutsche Version](README.de.md)
A Docker container that **mirrors folders one-way, 1:1** (like FreeFileSync "Mirror"):
the destination becomes an exact copy of the source, including deletions. The sync engine is
@@ -67,7 +67,7 @@ Changed files are transferred completely (no delta transfer like rsync).
## Installation
The ready-made image is in the GitHub Container Registry: `ghcr.io/dermilderjoghurt/mirrorsync`
-(for amd64 and arm64, e.g. Raspberry Pi). Tags: `latest` (newest version), `1.57.0` (fixed version),
+(for amd64 and arm64, e.g. Raspberry Pi). Tags: `latest` (newest version), `1.51.0` (fixed version),
`1.40` (newest patch of this version). The image is only published when the version number changes, so
update checkers such as Dockhand or Watchtower only report an update when there really is a new version.
@@ -272,7 +272,7 @@ the base folder, otherwise the common parent folder becomes the source.
with selection `10-Temp/` and destination `Family-NAS:share` gives `Family-NAS:share/10-Temp`.
- Empty field = the whole source folder.
-## Dashboard charts (since 1.57.0)
+## Dashboard charts (since 1.51.0)
In addition to number, list, bars and status light there are these views. The editor only offers the ones that fit the
data source:
@@ -290,12 +290,12 @@ New periods: 90 and 365 days. Without a period the charts show the last 30 days
Ready-made templates: "Runs today", "Success rate (30 days)", "Data transferred per day", "Run duration per day",
"Runs per day", "Runs by status", "Runs in the calendar", "Run timeline" and a gauge for disk space.
-From 1.57.0 the transferred data is stored with every run ("Transferred" column in the list of runs). For older runs
+The transferred data is stored with every run ("Transferred" column in the list of runs). For older runs
MirrorSync reads it from the existing log.
![Dashboard charts](docs/screenshots/dashboard-charts.png)
-## Dashboard building blocks and tabs (since 1.56.0)
+## Dashboard building blocks and tabs (since 1.51.0)
Every tile is made of three building blocks, similar to the self-assembled notifications:
- **Data source:** overview, running jobs, jobs, runs, next starts, logins, changes (audit log), disk space (/config,
@@ -317,7 +317,7 @@ log, `system.settings` for disk space). API/MCP: `get_dashboard` (tabs, tiles, c
![Dashboard tabs](docs/screenshots/dashboard-tabs.png)
-## Dashboard (since 1.54.0)
+## Dashboard (since 1.51.0)
At the top of the sidebar: **Dashboard** with tiles that refresh themselves every 5 seconds:
![Dashboard](docs/screenshots/dashboard.png)
@@ -333,14 +333,14 @@ At the top of the sidebar: **Dashboard** with tiles that refresh themselves ever
| Latest changes | the last 10 audit log entries | `system.audit` |
| System | version, available update, running since, last restart | – |
-With **Customize** every user picks which tiles to see and in which order (drag or ↑ ↓). Since 1.55.0 each tile can
+With **Customize** every user picks which tiles to see and in which order (drag or ↑ ↓). Each tile can
be resized freely by dragging its bottom right corner, in width (1–12 columns) and height (1–24 rows). Smaller tiles
move into free gaps automatically, so two half-height tiles stack next to a big one. If the content does not fit, it
scrolls inside the tile. On phones all tiles are stacked. "Restore default" resets everything. Tiles without the
needed permission are not shown. The layout is per user (and per API key). API/MCP: `get_dashboard`,
`update_dashboard` (`tiles` with `id`, `w`, `h`; `reset`).
-## Restart and old images (since 1.53.0)
+## Restart and old images (since 1.51.0)
Under **Settings → General → Restart** you can restart the MirrorSync container: by hand with "Restart now" or on a
schedule (time and weekdays). If jobs are running, the button refuses unless you tick "even if jobs are running" (they
are then cancelled). The schedule waits until no job is running.
@@ -368,7 +368,7 @@ any more and removes them with "Remove old images". Other images are never touch
API/MCP: `get_restart`, `restart_container` (`force`), `update_restart_settings` (`restart_auto`, `restart_time`,
`restart_days`), `list_old_images`, `prune_images`, `selfupdate_prune` in `update_update_settings`.
-## Time windows (since 1.52.0)
+## Time windows (since 1.51.0)
In each job under **Time window**: "Only run within a time window", start, end and weekdays, e.g. Mon–Fri 22:00 to
06:00.
@@ -956,7 +956,7 @@ MirrorSync can update itself if you mount the Docker socket into the container:
previous one runs again. Result and steps are shown in the GUI, in the audit log ("Update started / completed /
failed") and in `config/selfupdate.json`.
- **Requirements:** the image has to come from a registry (`image: ghcr.io/dermilderjoghurt/mirrorsync:latest`).
- MirrorSync cannot pull images built with `build: .`. With a fixed version tag (`:1.57.0`) only that tag is pulled
+ MirrorSync cannot pull images built with `build: .`. With a fixed version tag (`:1.51.0`) only that tag is pulled
again. `/config` has to be a volume or bind mount (it is in the example compose file).
- **Permission:** `system.update` ("Update MirrorSync", admins have it automatically). Changing the automatic
update and its time needs `system.settings`.
diff --git a/app/VERSION b/app/VERSION
index 373aea9..ba0a719 100644
--- a/app/VERSION
+++ b/app/VERSION
@@ -1 +1 @@
-1.57.0
+1.51.0
diff --git a/app/dashboard.py b/app/dashboard.py
index 26ff305..1e39be4 100644
--- a/app/dashboard.py
+++ b/app/dashboard.py
@@ -105,7 +105,7 @@ PRESETS = {
"runs_timeline": {"title": "Zeitleiste der Läufe (24 Stunden)", "source": "runs", "view": "timeline", "filters": {"period": "1d"}, "w": 12, "h": 7},
}
DEFAULT = ["running", "stats", "failed", "last_runs", "next_runs", "logins", "audit", "system"]
-OLD_SIZE = {"s": 4, "w": 8} # Layouts aus 1.54.0: size s/w
+OLD_SIZE = {"s": 4, "w": 8} # aeltere Layouts: size s/w
def set_audit_categories(cats):
@@ -362,7 +362,7 @@ def clean_tabs(raw, has):
def tabs_for(stored, has, tr=lambda x: x):
- """Gespeicherte Tabs (oder Standard). Layouts bis 1.55.0 (nur eine Kachel-Liste) werden zum ersten Tab."""
+ """Gespeicherte Tabs (oder Standard). Aeltere Layouts (nur eine Kachel-Liste) werden zum ersten Tab."""
if isinstance(stored, list):
return [{"id": "main", "name": tr(DEFAULT_TAB), "tiles": layout_for(stored, has)}]
if not isinstance(stored, dict) or not stored.get("tabs"):
diff --git a/docker-compose.yml b/docker-compose.yml
index ae4d363..2215a61 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -8,7 +8,7 @@
services:
mirrorsync:
- image: ghcr.io/dermilderjoghurt/mirrorsync:latest # or a fixed version, e.g. :1.57.0
+ image: ghcr.io/dermilderjoghurt/mirrorsync:latest # or a fixed version, e.g. :1.51.0
# Build it yourself instead of pulling (Dockerfile and app/ in the same folder):
# build: .
container_name: mirrorsync