Skip to content

Feat/audit log client - #110

Merged
SetZero merged 1 commit into
developfrom
feat/audit-log-client
Aug 16, 2026
Merged

SetZero merged 1 commit into
developfrom
feat/audit-log-client

Conversation

@SetZero

@SetZero SetZero commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Description

Changes

Checklist

  • Code compiles without warnings (cargo clippy --workspace -- -D warnings)
  • TypeScript type-checks (npx tsc --noEmit)
  • Frontend tests pass (npm test)
  • Rust tests pass (cargo test --package mumble-protocol --features opus-codec --lib)
  • New functionality has tests
  • Boy Scout Rule applied - files left cleaner than found

@SetZero
SetZero changed the base branch from main to develop July 19, 2026 19:42
@SetZero
SetZero force-pushed the feat/audit-log-client branch from 5cb2678 to aa31ecc Compare July 19, 2026 19:43
…phase 3)

Wire protocol for the mumble-audit plugin's query/config surface:
AuditEntry + FancyAuditQuery/Response/Event (166-168) and
FancyAuditConfig/Update (170-171; 169 reserved for FancyModSignal).
The design doc drafted 157-159, but those IDs are claimed by the
forum/scheduled-message features, so audit starts at 166. Config reuses
the generic Setting schema rows so the plugin owns its toggle matrix.
Gated at fancy 0.4.2, ServerOnly.

Backend: send commands, inbound handlers emitting audit-response /
audit-event / audit-config (config cached with a revision guard, like
server settings), AppState methods and Tauri commands
(get_audit_config / query_audit_log / save_audit_config).

Admin "Audit log" tab (Write-on-root + 0.4.2 gate):
- Viewer: KPI tiles, events-over-time / category / severity charts
  (CVD-validated palette), dual-mode search with filter pills bound
  both ways to a small DSL (category = "ban" and ts > now-7d) that
  lowers to the structured wire query; SELECT/WITH routes to the
  server-enforced advanced SQL mode when available. Keyset pagination,
  live tail with dedupe, detail drawer, CSV/JSON export, and visible
  "no reason given" flagging.
- Configuration: schema-driven per-part toggles, chain-status card
  with one-click verify, save-changed-only footer.

i18n for en/de/fr/zh, stable testids, and 30 tests covering the DSL
round-trip/lowering and the store's correlation, pagination, live-tail
and revision rules.
@SetZero
SetZero force-pushed the feat/audit-log-client branch from aa31ecc to 7b9e41c Compare July 19, 2026 20:00
@SetZero
SetZero merged commit 7b9e41c into develop Aug 16, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant