Sync with clickcandit: Updated admin features, session management, and logging

This commit is contained in:
2025-06-16 01:43:56 +02:00
parent a851664497
commit f9853e6396
110 changed files with 349 additions and 0 deletions

Binary file not shown.

View File

@ -352,3 +352,14 @@
2025-06-16 01:38:42 - [admin] admin - [INFO] INFO - Gastanfragen abgerufen: 2 Einträge für Admin Administrator
2025-06-16 01:38:42 - [admin] admin - [INFO] INFO - Admin-Check für Funktion get_pending_guest_otps_api: User authenticated: True, User ID: 1, Is Admin: True
2025-06-16 01:38:42 - [admin] admin - [INFO] INFO - Aktive OTP-Codes abgerufen: 2 Codes
2025-06-16 01:43:05 - [admin] admin - [INFO] INFO - Admin-Check für Funktion admin_dashboard: User authenticated: True, User ID: 1, Is Admin: True
2025-06-16 01:43:05 - [admin] admin - [INFO] INFO - Admin-Dashboard geladen von admin
2025-06-16 01:43:06 - [admin] admin - [ERROR] ERROR - Fehler beim Laden des Admin-Dashboards: 'dict object' has no attribute 'online_printers'
2025-06-16 01:43:06 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_system_health_alias: User authenticated: True, User ID: 1, Is Admin: True
2025-06-16 01:43:06 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_system_health: User authenticated: True, User ID: 1, Is Admin: True
2025-06-16 01:43:08 - [admin] admin - [INFO] INFO - Admin-Check für Funktion guest_otps_management: User authenticated: True, User ID: 1, Is Admin: True
2025-06-16 01:43:08 - [admin] admin - [INFO] INFO - Gast-OTP-Verwaltung aufgerufen von Admin Administrator
2025-06-16 01:43:09 - [admin] admin - [INFO] INFO - Admin-Check für Funktion get_guest_requests_api: User authenticated: True, User ID: 1, Is Admin: True
2025-06-16 01:43:09 - [admin] admin - [INFO] INFO - Admin-Check für Funktion get_pending_guest_otps_api: User authenticated: True, User ID: 1, Is Admin: True
2025-06-16 01:43:09 - [admin] admin - [INFO] INFO - Gastanfragen abgerufen: 2 Einträge für Admin Administrator
2025-06-16 01:43:09 - [admin] admin - [INFO] INFO - Aktive OTP-Codes abgerufen: 2 Codes

View File

@ -114,3 +114,6 @@
2025-06-16 01:38:25 - [admin_api] admin_api - [INFO] INFO - System-Health-Check durchgeführt: unhealthy
2025-06-16 01:38:36 - [admin_api] admin_api - [ERROR] ERROR - Datenbank-Health-Check fehlgeschlagen: Textual SQL expression 'SELECT 1' should be explicitly declared as text('SELECT 1')
2025-06-16 01:38:36 - [admin_api] admin_api - [INFO] INFO - System-Health-Check durchgeführt: unhealthy
2025-06-16 01:43:06 - [admin_api] admin_api - [ERROR] ERROR - Datenbank-Health-Check fehlgeschlagen: Textual SQL expression 'SELECT 1' should be explicitly declared as text('SELECT 1')
2025-06-16 01:43:06 - [admin_api] admin_api - [ERROR] ERROR - Speicherplatz-Check fehlgeschlagen: module 'os' has no attribute 'statvfs'
2025-06-16 01:43:06 - [admin_api] admin_api - [INFO] INFO - System-Health-Check durchgeführt: unhealthy

View File

@ -39,3 +39,4 @@
2025-06-16 01:38:10 - [api] api - [INFO] INFO - Statistiken abgerufen von Benutzer admin
2025-06-16 01:38:25 - [api] api - [INFO] INFO - Statistiken abgerufen von Benutzer admin
2025-06-16 01:38:36 - [api] api - [INFO] INFO - Statistiken abgerufen von Benutzer admin
2025-06-16 01:43:06 - [api] api - [INFO] INFO - Statistiken abgerufen von Benutzer admin

View File

@ -38111,3 +38111,214 @@ jinja2.exceptions.UndefinedError: 'maintenance_info' is undefined
2025-06-16 01:38:42 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:38:43 - [app] app - [DEBUG] DEBUG - Request: GET /sw.js
2025-06-16 01:38:43 - [app] app - [DEBUG] DEBUG - Response: 304
2025-06-16 01:42:48 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-16 01:42:50 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-16 01:42:50 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-16 01:42:50 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-16 01:42:50 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-16 01:42:51 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-16 01:42:51 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-16 01:42:51 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-16 01:42:51 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-16 01:42:51 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-16 01:42:51 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-16 01:42:51 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-16 01:42:51 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-16 01:42:51 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-16 01:42:51 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-16 01:42:51 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-16 01:42:51 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-16 01:42:51 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-16 01:42:51 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-16 01:42:51 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-16 01:42:51 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-16 01:42:51 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-16 01:42:51 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-16 01:42:52 - [app] app - [INFO] INFO - Optimierte SQLite-Engine erstellt: ./database/myp.db
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [CONFIG] Erkannte Umgebung: development
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [CONFIG] Production-Modus: False
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [CONFIG] Verwende Development-Konfiguration
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [DEVELOPMENT] Aktiviere Development-Konfiguration
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ MYP Development Environment Konfiguration aktiviert
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Environment: Development/Testing
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ Debug Mode: True
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [DEVELOPMENT] ✅ SQL Echo: True
2025-06-16 01:42:55 - [app] app - [INFO] INFO - SQLite für Raspberry Pi optimiert (reduzierte Cache-Größe, SD-Karten I/O)
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Admin-Berechtigungen beim Start korrigiert: 0 erstellt, 0 aktualisiert
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] 🚀 Starte MYP DEVELOPMENT-Umgebung
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] 🏢 Mercedes-Benz TBA Marienfelde
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] 🔒 Air-Gapped: True
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] Initialisiere Datenbank...
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Datenbank mit Optimierungen initialisiert
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] ✅ Datenbank initialisiert
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] Prüfe Initial-Admin...
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Admin-Benutzer admin (admin@mercedes-benz.com) existiert bereits. Passwort wurde zurückgesetzt.
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] ✅ Admin-Benutzer geprüft
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] Initialisiere statische Drucker...
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 1 (192.168.0.100)
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 2 (192.168.0.101)
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 3 (192.168.0.102)
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 4 (192.168.0.103)
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 5 (192.168.0.104)
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Drucker aktualisiert: Drucker 6 (192.168.0.106)
2025-06-16 01:42:55 - [app] app - [INFO] INFO - ✅ Statische Drucker-Initialisierung abgeschlossen: 0 erstellt, 6 aktualisiert
2025-06-16 01:42:55 - [app] app - [INFO] INFO - 📍 Alle Drucker sind für Standort 'TBA Marienfelde' konfiguriert
2025-06-16 01:42:55 - [app] app - [INFO] INFO - 🌐 IP-Bereich: 192.168.0.100-106 (außer .105)
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] ✅ Statische Drucker konfiguriert
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] Starte Queue Manager...
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] ✅ Queue Manager gestartet
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] Starte Job Scheduler...
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] ✅ Job Scheduler gestartet
2025-06-16 01:42:55 - [app] app - [INFO] INFO - [STARTUP] 🌐 Server startet auf http://0.0.0.0:5000
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Locating template 'dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\dashboard.html')
2025-06-16 01:42:55 - [app] app - [INFO] INFO - Locating template 'base.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\base.html')
2025-06-16 01:42:55 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:42:56 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-16 01:42:56 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:01 - [app] app - [DEBUG] DEBUG - Request: GET /user/settings
2025-06-16 01:43:01 - [app] app - [INFO] INFO - Locating template 'settings.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\settings.html')
2025-06-16 01:43:01 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:01 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-16 01:43:01 - [app] app - [DEBUG] DEBUG - Request: GET /api/user/settings
2025-06-16 01:43:01 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:01 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:05 - [app] app - [DEBUG] DEBUG - Request: GET /admin/
2025-06-16 01:43:05 - [app] app - [INFO] INFO - Locating template 'admin.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin.html')
2025-06-16 01:43:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-16 01:43:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/stats
2025-06-16 01:43:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:06 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/system-health
2025-06-16 01:43:06 - [app] app - [ERROR] ERROR - Datenbank-Transaktion fehlgeschlagen: Textual SQL expression 'SELECT 1' should be explicitly declared as text('SELECT 1')
2025-06-16 01:43:06 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:08 - [app] app - [DEBUG] DEBUG - Request: GET /admin/guest-otps
2025-06-16 01:43:08 - [app] app - [INFO] INFO - Locating template 'admin_guest_otps.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\admin_guest_otps.html')
2025-06-16 01:43:09 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:09 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/guest-requests
2025-06-16 01:43:09 - [app] app - [DEBUG] DEBUG - Request: GET /api/admin/guest-requests/pending-otps
2025-06-16 01:43:09 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-16 01:43:09 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:09 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:09 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:18 - [app] app - [DEBUG] DEBUG - Request: GET /energy/
2025-06-16 01:43:18 - [app] app - [INFO] INFO - Locating template 'energy_dashboard.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\energy_dashboard.html')
2025-06-16 01:43:18 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:18 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse
[SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout
FROM users
WHERE users.id = ?
LIMIT ? OFFSET ?]
[parameters: (1, 1, 0)]
(Background on this error at: https://sqlalche.me/e/20/rvf5)
2025-06-16 01:43:18 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-16 01:43:18 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/dashboard
2025-06-16 01:43:18 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/statistics
2025-06-16 01:43:18 - [app] app - [DEBUG] DEBUG - Request: GET /api/energy/live
2025-06-16 01:43:18 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:18 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:18 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:18 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:25 - [app] app - [DEBUG] DEBUG - Request: GET /dashboard
2025-06-16 01:43:25 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:25 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-16 01:43:25 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:30 - [app] app - [DEBUG] DEBUG - Request: GET /calendar
2025-06-16 01:43:30 - [app] app - [INFO] INFO - Locating template 'calendar.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\calendar.html')
2025-06-16 01:43:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:30 - [app] app - [ERROR] ERROR - Fehler beim Laden des Benutzers 1: (sqlite3.InterfaceError) bad parameter or other API misuse
[SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.password_hash AS users_password_hash, users.name AS users_name, users.role AS users_role, users.active AS users_active, users.created_at AS users_created_at, users.last_login AS users_last_login, users.updated_at AS users_updated_at, users.settings AS users_settings, users.last_activity AS users_last_activity, users.department AS users_department, users.position AS users_position, users.phone AS users_phone, users.bio AS users_bio, users.theme_preference AS users_theme_preference, users.language_preference AS users_language_preference, users.email_notifications AS users_email_notifications, users.browser_notifications AS users_browser_notifications, users.dashboard_layout AS users_dashboard_layout, users.compact_mode AS users_compact_mode, users.show_completed_jobs AS users_show_completed_jobs, users.auto_refresh_interval AS users_auto_refresh_interval, users.auto_logout_timeout AS users_auto_logout_timeout
FROM users
WHERE users.id = ?
LIMIT ? OFFSET ?]
[parameters: (1, 1, 0)]
(Background on this error at: https://sqlalche.me/e/20/rvf5)
2025-06-16 01:43:30 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/events
2025-06-16 01:43:30 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:31 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
2025-06-16 01:43:31 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-16 01:43:31 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:31 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:31 - [app] app - [DEBUG] DEBUG - Request: GET /api/calendar/statistics
2025-06-16 01:43:31 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:33 - [app] app - [DEBUG] DEBUG - Request: GET /jobs
2025-06-16 01:43:33 - [app] app - [INFO] INFO - Locating template 'jobs.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- C:\Users\TTOMCZA.EMEA\Dev\Projektarbeit-MYP\backend\templates
-> found ('C:\\Users\\TTOMCZA.EMEA\\Dev\\Projektarbeit-MYP\\backend\\templates\\jobs.html')
2025-06-16 01:43:33 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:33 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-16 01:43:33 - [app] app - [DEBUG] DEBUG - Request: GET /api/jobs
2025-06-16 01:43:33 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:33 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:33 - [app] app - [DEBUG] DEBUG - Request: GET /api/printers
2025-06-16 01:43:33 - [app] app - [INFO] INFO - ✅ API: 6 Drucker abgerufen (include_inactive=False)
2025-06-16 01:43:33 - [app] app - [DEBUG] DEBUG - Response: 200
2025-06-16 01:43:39 - [app] app - [DEBUG] DEBUG - Request: GET /api/notifications
2025-06-16 01:43:39 - [app] app - [DEBUG] DEBUG - Response: 200

View File

@ -37,3 +37,4 @@
2025-06-16 01:17:09 - [calendar] calendar - [INFO] INFO - 📅 Kalender-Events abgerufen: 2 Einträge für Zeitraum 2025-06-14 22:00:00+00:00 bis 2025-06-21 22:00:00+00:00
2025-06-16 01:17:41 - [calendar] calendar - [INFO] INFO - 📅 Kalender-Events abgerufen: 0 Einträge für Zeitraum 2025-06-14 22:00:00+00:00 bis 2025-06-21 22:00:00+00:00
2025-06-16 01:29:40 - [calendar] calendar - [INFO] INFO - 📅 Kalender-Events abgerufen: 0 Einträge für Zeitraum 2025-06-14 22:00:00+00:00 bis 2025-06-21 22:00:00+00:00
2025-06-16 01:43:30 - [calendar] calendar - [INFO] INFO - 📅 Kalender-Events abgerufen: 0 Einträge für Zeitraum 2025-06-14 22:00:00+00:00 bis 2025-06-21 22:00:00+00:00

View File

@ -198,3 +198,7 @@
2025-06-13 12:39:42 - [core_system] core_system - [INFO] INFO - 📊 Massive Konsolidierung: 6 Dateien → 1 Datei (88% Reduktion)
2025-06-13 12:39:47 - [core_system] core_system - [INFO] INFO - ✅ Core System Management Module erfolgreich initialisiert
2025-06-13 12:39:47 - [core_system] core_system - [INFO] INFO - 📊 Massive Konsolidierung: 6 Dateien → 1 Datei (88% Reduktion)
2025-06-16 01:42:48 - [core_system] core_system - [INFO] INFO - ✅ Core System Management Module erfolgreich initialisiert
2025-06-16 01:42:48 - [core_system] core_system - [INFO] INFO - 📊 Massive Konsolidierung: 6 Dateien → 1 Datei (88% Reduktion)
2025-06-16 01:42:52 - [core_system] core_system - [INFO] INFO - ✅ Core System Management Module erfolgreich initialisiert
2025-06-16 01:42:52 - [core_system] core_system - [INFO] INFO - 📊 Massive Konsolidierung: 6 Dateien → 1 Datei (88% Reduktion)

View File

@ -543,3 +543,7 @@
2025-06-16 01:38:03 - [data_management] data_management - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-16 01:38:04 - [data_management] data_management - [INFO] INFO - ✅ Data Management Module initialisiert
2025-06-16 01:38:04 - [data_management] data_management - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-16 01:42:49 - [data_management] data_management - [INFO] INFO - ✅ Data Management Module initialisiert
2025-06-16 01:42:49 - [data_management] data_management - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)
2025-06-16 01:42:53 - [data_management] data_management - [INFO] INFO - ✅ Data Management Module initialisiert
2025-06-16 01:42:53 - [data_management] data_management - [INFO] INFO - 📊 Massive Konsolidierung: 3 Dateien → 1 Datei (67% Reduktion)

View File

@ -402,3 +402,13 @@
2025-06-16 01:33:08 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-16 01:38:03 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-16 01:38:05 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-16 01:42:50 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-16 01:42:55 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiemonitoring-Blueprint initialisiert
2025-06-16 01:43:18 - [energy_monitoring] energy_monitoring - [INFO] INFO - 🔋 Energiemonitoring-Dashboard aufgerufen von admin
2025-06-16 01:43:18 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📊 API-Energiemonitoring-Dashboard von admin
2025-06-16 01:43:18 - [energy_monitoring] energy_monitoring - [INFO] INFO - 📈 API-Energiestatistiken (today) von admin
2025-06-16 01:43:18 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Dashboard-Daten erfolgreich erstellt: 0 Geräte online
2025-06-16 01:43:18 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Energiemonitoring-Dashboard 'api_energy_dashboard' erfolgreich in 35.61ms
2025-06-16 01:43:18 - [energy_monitoring] energy_monitoring - [INFO] INFO - ✅ Energiestatistiken erfolgreich erstellt für Zeitraum: today
2025-06-16 01:43:18 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Live-Energiedaten 'api_live_energy_data' erfolgreich in 27.62ms
2025-06-16 01:43:18 - [energy_monitoring] energy_monitoring - [INFO] INFO - [OK] API-Energiestatistiken 'api_energy_statistics' erfolgreich in 35.77ms

View File

@ -2073,3 +2073,47 @@
2025-06-16 01:38:04 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Printer Monitor initialisiert
2025-06-16 01:38:04 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Hardware Integration Module initialisiert
2025-06-16 01:38:04 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Massive Konsolidierung: 2 Dateien → 1 Datei (50% Reduktion)
2025-06-16 01:42:48 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ PyP100 (TP-Link Tapo) verfügbar
2025-06-16 01:42:48 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Printer Monitor initialisiert
2025-06-16 01:42:48 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Hardware Integration Module initialisiert
2025-06-16 01:42:48 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Massive Konsolidierung: 2 Dateien → 1 Datei (50% Reduktion)
2025-06-16 01:42:53 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ PyP100 (TP-Link Tapo) verfügbar
2025-06-16 01:42:53 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Printer Monitor initialisiert
2025-06-16 01:42:53 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Hardware Integration Module initialisiert
2025-06-16 01:42:53 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Massive Konsolidierung: 2 Dateien → 1 Datei (50% Reduktion)
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - 🔋 Sammle Energiestatistiken von allen P110 Steckdosen...
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 1 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 2 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 3 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 4 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 5 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 6 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erfolgreich gesammelt: 0/6 Geräte online
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Gesamtverbrauch: 0.0W aktuell, 0.0Wh heute
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - 🔋 Sammle Energiestatistiken von allen P110 Steckdosen...
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - 🔋 Sammle Energiestatistiken von allen P110 Steckdosen...
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 1 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - 🔋 Sammle Energiestatistiken von allen P110 Steckdosen...
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 2 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 1 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 1 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 3 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 2 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 2 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 4 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 3 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 3 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 5 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 4 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 4 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 6 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 5 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 5 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erfolgreich gesammelt: 0/6 Geräte online
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 6 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [WARNING] WARNING - ⚠️ Konnte Energiedaten für Drucker 6 nicht abrufen: module 'PyP100.PyP100' has no attribute 'P110'
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Gesamtverbrauch: 0.0W aktuell, 0.0Wh heute
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erfolgreich gesammelt: 0/6 Geräte online
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - ✅ Energiestatistiken erfolgreich gesammelt: 0/6 Geräte online
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Gesamtverbrauch: 0.0W aktuell, 0.0Wh heute
2025-06-16 01:43:18 - [hardware_integration] hardware_integration - [INFO] INFO - 📊 Gesamtverbrauch: 0.0W aktuell, 0.0Wh heute

View File

@ -1067,3 +1067,11 @@
2025-06-16 01:38:05 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestartet (Legacy-Kompatibilität)
2025-06-16 01:38:46 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestoppt (Legacy-Kompatibilität)
2025-06-16 01:38:46 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestoppt (Legacy-Kompatibilität)
2025-06-16 01:42:48 - [job_queue_system] job_queue_system - [INFO] INFO - ✅ Job & Queue System Module initialisiert
2025-06-16 01:42:48 - [job_queue_system] job_queue_system - [INFO] INFO - 📊 MASSIVE Konsolidierung: 4 Dateien → 1 Datei (75% Reduktion)
2025-06-16 01:42:51 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestartet (Legacy-Kompatibilität)
2025-06-16 01:42:53 - [job_queue_system] job_queue_system - [INFO] INFO - ✅ Job & Queue System Module initialisiert
2025-06-16 01:42:53 - [job_queue_system] job_queue_system - [INFO] INFO - 📊 MASSIVE Konsolidierung: 4 Dateien → 1 Datei (75% Reduktion)
2025-06-16 01:42:55 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestartet (Legacy-Kompatibilität)
2025-06-16 01:43:46 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestoppt (Legacy-Kompatibilität)
2025-06-16 01:43:46 - [job_queue_system] job_queue_system - [INFO] INFO - Queue Manager gestoppt (Legacy-Kompatibilität)

View File

@ -917,3 +917,5 @@ sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) FOREIGN KEY constraint f
2025-06-16 01:29:34 - [jobs] jobs - [INFO] INFO - ✅ Jobs erfolgreich abgerufen: 0 von 0 (Seite 1)
2025-06-16 01:38:32 - [jobs] jobs - [INFO] INFO - 📋 Jobs-Abfrage gestartet von Benutzer 1 (Admin: True)
2025-06-16 01:38:32 - [jobs] jobs - [INFO] INFO - ✅ Jobs erfolgreich abgerufen: 0 von 0 (Seite 1)
2025-06-16 01:43:33 - [jobs] jobs - [INFO] INFO - 📋 Jobs-Abfrage gestartet von Benutzer 1 (Admin: True)
2025-06-16 01:43:33 - [jobs] jobs - [INFO] INFO - ✅ Jobs erfolgreich abgerufen: 0 von 0 (Seite 1)

Some files were not shown because too many files have changed in this diff Show More