Enhance error resolution workflow and notification service

Refactored error log model and views to use a unified 'notes' field instead of 'resolution_notes'. Added a modal dialog for entering resolution notes when marking errors as resolved in admin views. Improved stack trace handling in ErrorHandler by storing as JSON and formatting for display. Expanded NotificationService to support multi-channel notifications (email, Telegram, Discord, Slack), group notifications, and improved domain expiration alerts.
This commit is contained in:
Hosteroid
2025-10-11 20:27:46 +03:00
parent 1d80dd282c
commit dcb7f685dd
5 changed files with 342 additions and 29 deletions

View File

@@ -350,7 +350,7 @@ class ErrorLog extends Model
SET is_resolved = 1,
resolved_at = NOW(),
resolved_by = ?,
resolution_notes = ?
notes = ?
WHERE error_id = ?
");
@@ -367,7 +367,7 @@ class ErrorLog extends Model
SET is_resolved = 0,
resolved_at = NULL,
resolved_by = NULL,
resolution_notes = NULL
notes = NULL
WHERE error_id = ?
");