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

@ -46,6 +46,7 @@ mod auswertung;
mod benutzer;
mod chat;
mod engines;
mod logs;
mod verwaltung;
const COOKIE_NAME: &str = "nexus_ui";
@ -148,6 +149,7 @@ pub fn routes() -> Router<Arc<AppState>> {
.route("/ui/auswertung", get(auswertung::page))
.route("/ui/anfragen", get(requests_page))
.route("/ui/audit", get(audit_page))
.route("/ui/logs", get(logs::page))
.route("/ui/teil/uebersicht", get(overview_fragment))
.route("/ui/app.js", get(app_js))
.route("/ui/tabellen.js", get(tabellen_js))
@ -454,6 +456,7 @@ pub(crate) fn layout(title: &str, active: &str, viewer: &Viewer, body: &str) ->
("/ui/anfragen", "Anfragen"),
("/ui/auswertung", "Auswertung"),
("/ui/audit", "Audit"),
("/ui/logs", "Logs"),
];
if viewer.admin() {
pages.push(("/ui/keys", "Keys"));