Go to file
Ivo Oskamp 4c0b5ada37 Rename AdminLog to AuditLog for better semantic clarity
The table name 'admin_logs' was misleading as it contains both admin actions
and automated system events. Renamed to 'audit_logs' to better reflect its
purpose as a comprehensive audit trail.

Changes:
- Renamed model: AdminLog → AuditLog (with backwards compatibility alias)
- Database migration: Renames admin_logs table to audit_logs (idempotent)
- Updated admin_logging.py: log_admin_event → log_audit_event (with alias)
- Updated imports in routes_core.py and routes_shared.py
- Updated all references to use AuditLog instead of AdminLog
- Backwards compatibility maintained via aliases for smooth transition

This is part 1 of audit logging expansion.
Part 2 will add logging for settings changes and export/import actions.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-07 00:25:47 +01:00
containers/backupchecks Rename AdminLog to AuditLog for better semantic clarity 2026-02-07 00:25:47 +01:00
deploy Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
docs Implement timezone-aware datetime display across all pages 2026-02-07 00:12:59 +01:00
.gitignore Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
.last-branch Auto-commit local changes before build (2026-02-07 00:13:44) 2026-02-07 00:13:44 +01:00
build-and-push.sh Auto-commit local changes before build (2026-01-01 16:40:37) 2026-01-01 16:40:37 +01:00
LICENSE Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
README.md Auto-commit local changes before build (2026-01-01 16:09:56) 2026-01-01 16:09:56 +01:00
version.txt Release v0.1.22 on branch v20260205-13-changelog-python-structure (bump type 1) 2026-02-05 23:29:46 +01:00