• ShineBridge v1.11.1 — Feature: Backup-Verwaltung im Einstellungen-Tab

    retr0 released this 2026-08-26 12:27:00 +02:00 | 9 commits to main since this release

    Neue Sektion 'Automatische Backups':

    • Aufbewahrung (Tage) konfigurierbar statt hartcodierter 14 Tage
      (config_backup_retention_days, Teil der normalen Config-Persistenz)
    • Liste aller vorhandenen Backups (Datum, Größe), neueste zuerst
    • Download-Button pro Backup
    • Wiederherstellen-Button pro Backup (mit Bestätigungsdialog, da überschreibend)

    Backend: Validierung+Anwendung aus /api/import-config in _apply_import_data()
    extrahiert, von Datei-Upload und neuem Backup-Restore-Endpunkt gemeinsam
    genutzt. Neue Endpunkte GET /api/config-backups, GET .../download,
    POST .../restore — mit Path-Traversal-Schutz (_safe_backup_filename, nur
    Dateinamen aus dem Backup-Ordner selbst).

    Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

    Downloads