1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-11 12:46:49 +00:00
webvirtcloud/appsettings
catborise 25e49c2aa2 fix: backups and snapshots keep their order when the clock goes back
Backup retention kept the last --keep backups by name, and a name is the
panel's local time. Where the clock goes back an hour in autumn
(TIME_ZONE=Europe/Berlin), a backup at 02:10 CET forty minutes after one
at 02:50 CEST sorted first, and --keep 1 deleted the new one. Retention
now keeps the newest by when they were made (the directory's mtime);
the names stay as they were.

Snapshot times from libvirt (epoch seconds) became naive local times,
which the snapshot list sorts newest first: in the same hour the older
snapshot came first. They are now aware UTC times; the page still shows
them in the panel's time zone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
2026-11-10 12:21:36 +03:00
..
management fix: backups and snapshots keep their order when the clock goes back 2026-11-10 12:21:36 +03:00
migrations chore(appsettings): one squashed migration for a new database 2026-11-06 13:47:23 +03:00
templates feat(appsettings): the settings page with a group index, two columns and switches 2026-10-31 18:10:05 +03:00
tests fix: backups and snapshots keep their order when the clock goes back 2026-11-10 12:21:36 +03:00
__init__.py Add Settings page: Move theme & lang changer to settings page 2020-06-04 12:03:26 +03:00
apps.py fix: track migrations; installs apply them instead of generating them 2026-10-04 01:08:11 +03:00
context_processors.py Some improvements for appsettings app 2020-06-17 15:15:58 +06:00
middleware.py ci: replace super-linter with ruff 2026-10-04 01:08:11 +03:00
models.py format python code with black 2022-11-02 08:54:35 +03:00
settings.py fix(appsettings,vrtManager,storages): error handlers that hid the real failure 2026-10-07 11:29:45 +03:00
views.py feat(operations): the Logs page's rows and expired sessions are removed 2026-11-05 10:36:34 +03:00