feat: search sanitized logs with source and role filters (#1083)

This commit is contained in:
2026-11-17 14:25:05 +01:00
parent 8dbe1dc4b1
commit 51604eebf6
8 changed files with 678 additions and 18 deletions

View File

@ -18,6 +18,7 @@ pub struct AppState {
pub sessions: Mutex<HashMap<String, Session>>,
/// Datei mit dem Einmalpasswort des Standard-Admins; sie wird nach der
/// ersten Einrichtung gelöscht.
pub logs_dir: std::sync::OnceLock<std::path::PathBuf>,
pub bootstrap_file: std::sync::OnceLock<std::path::PathBuf>,
}
@ -35,6 +36,7 @@ impl AppState {
http,
started: Instant::now(),
sessions: Mutex::new(HashMap::new()),
logs_dir: std::sync::OnceLock::new(),
bootstrap_file: std::sync::OnceLock::new(),
})
}