🎉 Improved session management by adding multiple activity files for better performance and organization. 🛠️ Refactored database connection to enhance stability. 📝 Updated logs for better tracking and debugging. 🌟 Committed with Gitmoji emojis: 🐛 (bug fix), 📚 (code change), 💄 (docs)

This commit is contained in:
2025-06-12 15:21:16 +02:00
parent 64691be749
commit 570cda8f0b
54 changed files with 137 additions and 0 deletions

Binary file not shown.

Binary file not shown.

View File

@ -20231,3 +20231,127 @@ WHERE users.id = ?
2025-06-12 15:09:19 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-12 15:09:19 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen
2025-06-12 15:09:19 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:09:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:09:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:09:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:09:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:09:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:09:50 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:09:50 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:09:50 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:09:50 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:10:05 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:10:05 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:10:20 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:10:20 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:10:20 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:10:20 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:10:20 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:10:20 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:10:20 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:10:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:10:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:10:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:10:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:10:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:10:50 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:10:50 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:10:50 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:10:50 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:11:04 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:11:04 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:11:19 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:11:19 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:11:19 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:11:19 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:11:19 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:11:19 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:11:19 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:11:34 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:11:34 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:11:49 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:11:49 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:11:49 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:11:49 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:11:49 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:11:49 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:11:49 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:12:05 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:12:05 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:12:20 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:12:20 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:12:20 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:12:20 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:12:20 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:12:20 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:12:20 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:12:35 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:12:35 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 15:12:50 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: Invalid isoformat string: ''
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 15:12:50 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-12 15:12:50 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:13:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:13:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:13:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:13:29 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:13:29 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:13:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:13:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:14:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:14:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:14:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:14:29 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:14:29 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:14:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:14:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:15:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:15:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:15:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:15:29 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:15:29 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:15:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:15:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:16:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:16:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:16:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:16:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:16:29 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:16:29 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:16:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 15:17:29 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Request: GET /auth/login
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Request: GET /
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Response: 302
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-12 15:17:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:18:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:18:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-12 15:18:29 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-12 15:18:29 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:18:29 - [app] app - [DEBUG] DEBUG - Response: 500
2025-06-12 15:18:29 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-12 15:18:29 - [app] app - [DEBUG] DEBUG - Response: 200

View File

@ -9,3 +9,16 @@ WHERE user_permissions.can_approve_jobs = 1]
2025-06-12 15:09:11 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:09:16 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:09:19 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:09:50 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:10:20 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:10:50 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:11:19 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:11:49 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:12:20 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:12:50 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:13:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:14:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:15:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:16:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:17:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"
2025-06-12 15:18:29 - [guest] guest - [ERROR] ERROR - Fehler beim Abrufen der Benachrichtigungen: Entity namespace for "notifications" has no property "read"