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> |
||
|---|---|---|
| containers/backupchecks | ||
| deploy | ||
| docs | ||
| .gitignore | ||
| .last-branch | ||
| build-and-push.sh | ||
| LICENSE | ||
| README.md | ||
| version.txt | ||