v1.0.9-beta.006 - feat: implement comprehensive system and audit logging
This commit introduces 100% logging coverage across the entire Omnibus application, ensuring no silent failures occur and all sensitive actions are tracked.
Key additions:
- Added Logger.log() to all catch blocks across API routes to properly record exceptions to the system log instead of swallowing them.
- Implemented AuditLogger.log() for all administrative, destructive, and security-sensitive actions (e.g., bulk deletions, user impersonation, password resets, API/OPDS key generation, config updates, manual imports, and system log clearing).
- Wrapped previously unprotected routes (OPDS feeds, KOReader sync) in strict ry/catch blocks to prevent ungraceful Node process crashes on database timeouts.
Included bug fixes:
- Restored the missing POST handler in /api/library/route.ts to re-enable Library bulk actions (mark read, monitor, move to manga).
- Fixed unreachable logging code in the DELETE handler of /api/admin/audit-logs/route.ts.
- Updated the manual Prowlarr download route (/api/admin/download/route.ts) to use the newly unified DownloadService.addDownload method.
- Ensured hoster resolution data is properly passed to the download service during GetComics manual/retry imports.
Resolves #91