Add Pushover notification channel and improve status detection
Introduces Pushover as a new notification channel with priority-based alerts, device targeting, and custom sounds. Enhances domain status detection for .nl and .eu domains, ensuring accurate handling when expiration dates or explicit status flags are missing. Fixes PHP 8.x compatibility issues with null parameters in date functions and improves error handling and logging by replacing error_log() with a centralized Logger service. Updates documentation and migrations for version 1.1.1.
This commit is contained in:
@@ -45,7 +45,11 @@ class ProfileController extends Controller
|
||||
$this->sessionModel->cleanOldSessions();
|
||||
} catch (\Exception $e) {
|
||||
// Silent fail - don't break the page
|
||||
error_log("Session cleanup failed: " . $e->getMessage());
|
||||
$logger = new \App\Services\Logger();
|
||||
$logger->error('Session cleanup failed', [
|
||||
'user_id' => \Core\Auth::id(),
|
||||
'error' => $e->getMessage()
|
||||
]);
|
||||
}
|
||||
|
||||
// Get all active sessions
|
||||
|
||||
Reference in New Issue
Block a user