feat(auth): enhance security and audit logging

- Integrate webhook alerts for admin login lockouts.
- Implement detailed audit logging for login, logout, and setup actions.
- Improve client revocation event tracking.
- Standardize error handling in profile updates.
- Enforce 'operator' role for event API access.
This commit is contained in:
Team Dark Devil committed 2026-11-21 00:06:55 +06:00
1 parent 5c977d6977
commit 8132087085
52 files changed
+4434 -407

No files matched your search

+2 -2
View File
@@ -44,8 +44,8 @@ class CsvWriterWorker {
extractDateFromFilename(filename) {
return String(filename || '')
.replace(/\.csv(?:\.gz)?$/, '')
.split('-part')[0];
.replace(/\.csv(?:\.gz)?$/i, '')
.replace(/(?:-(?:part|gz)\d+)+$/i, '');
}
clearQuotaCaches(clientId) {