feat: Update-Check für Admins auf der Benutzerseite (#1078)
- Neues Modul update.rs: Versionsvergleich (MAJOR.MINOR.PATCH, v-Präfix, -rcN) und Abfrage der Releases auf git.wlkns.org (feste Adresse, nur lesend, ohne Nutzerdaten). - Benutzerseite: Karte „Version“ mit Knopf „Auf Updates prüfen“, nur Rolle admin, mit CSRF-Prüfung; Ergebnis als Hinweis, Audit-Eintrag system.update_check. - reqwest mit rustls (webpki-roots), damit HTTPS möglich ist; Begründung und Folgen siehe ROADMAP #1078. Binary 6,3 auf 7,6 MB, statisch (musl), neue Abhängigkeit unter anderem ring. - Geprüft: 255 Tests, clippy, fmt; echter Abruf (ignorierter Test) und lokale Instanz per curl: Gitea meldet v0.1.8, Hinweis „aktuell“. Die Installation bleibt beim Menschen. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -19,6 +19,7 @@ mod runtime;
|
||||
mod state;
|
||||
mod tap;
|
||||
mod ui;
|
||||
mod update;
|
||||
mod usage;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
Reference in New Issue
Block a user