🎉 Wichtige Änderungen wurden in verschiedenen Dateien vorgenommen, darunter:

- backend/models.py
- backend/static/css/output.css
- backend/templates/admin.html
- backend/templates/admin_add_printer.html
- backend/templates/admin_add_user.html
- backend/templates/admin_edit_printer.html
- backend/templates/admin
This commit is contained in:
2025-06-20 01:35:16 +02:00
parent 02d18f7f1e
commit d1d4d6ef22
91 changed files with 108 additions and 0 deletions

Binary file not shown.

View File

@ -1804,3 +1804,35 @@ jinja2.exceptions.UndefinedError: 'maintenance_info' is undefined
2025-06-20 01:31:35 - [admin] admin - [INFO] INFO - Admin-Check für Funktion advanced_settings: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:31:35 - [admin] admin - [INFO] INFO - Erweiterte Einstellungen werden geladen von admin@example.com
2025-06-20 01:31:35 - [admin] admin - [INFO] INFO - Template wird gerendert mit stats: {'total_users': 9, 'total_printers': 6, 'active_printers': 0, 'total_jobs': 0, 'pending_jobs': 0}
2025-06-20 01:31:59 - [admin] admin - [INFO] INFO - Admin-Check für Funktion admin_dashboard: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:31:59 - [admin] admin - [INFO] INFO - Admin-Dashboard geladen von admin@example.com
2025-06-20 01:31:59 - [admin] admin - [ERROR] ERROR - Fehler beim Laden des Admin-Dashboards: 'dict object' has no attribute 'online_printers'
2025-06-20 01:32:00 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_live_stats: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:32:00 - [admin] admin - [INFO] INFO - Admin-Check für Funktion get_system_status_api: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:32:01 - [admin] admin - [INFO] INFO - System-Status abgerufen von admin@example.com
2025-06-20 01:32:04 - [admin] admin - [INFO] INFO - Admin-Check für Funktion advanced_settings: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:32:04 - [admin] admin - [INFO] INFO - Erweiterte Einstellungen werden geladen von admin@example.com
2025-06-20 01:32:04 - [admin] admin - [INFO] INFO - Template wird gerendert mit stats: {'total_users': 9, 'total_printers': 6, 'active_printers': 0, 'total_jobs': 0, 'pending_jobs': 0}
2025-06-20 01:32:07 - [admin] admin - [INFO] INFO - Admin-Check für Funktion users_overview: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:32:07 - [admin] admin - [INFO] INFO - Benutzerübersicht geladen von admin@example.com
2025-06-20 01:32:07 - [admin] admin - [ERROR] ERROR - Fehler beim Laden der Benutzerübersicht: 'dict object' has no attribute 'online_printers'
2025-06-20 01:32:08 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_live_stats: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:32:08 - [admin] admin - [INFO] INFO - Admin-Check für Funktion get_system_status_api: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:32:09 - [admin] admin - [INFO] INFO - System-Status abgerufen von admin@example.com
2025-06-20 01:32:27 - [admin] admin - [INFO] INFO - Admin-Check für Funktion add_user_page: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:33:13 - [admin] admin - [INFO] INFO - Admin-Check für Funktion create_user: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:33:13 - [admin] admin - [INFO] INFO - Admin-Check für Funktion add_user_page: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:33:57 - [admin] admin - [INFO] INFO - Admin-Check für Funktion create_user: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:33:58 - [admin] admin - [INFO] INFO - Neuer Benutzer 'adminvcxv' (Rolle: user) mit erweiterten Berechtigungen erstellt von admin@example.com
2025-06-20 01:33:58 - [admin] admin - [INFO] INFO - Admin-Check für Funktion users_overview: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:33:58 - [admin] admin - [INFO] INFO - Benutzerübersicht geladen von admin@example.com
2025-06-20 01:33:58 - [admin] admin - [ERROR] ERROR - Fehler beim Laden der Benutzerübersicht: 'dict object' has no attribute 'online_printers'
2025-06-20 01:33:59 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_live_stats: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:33:59 - [admin] admin - [INFO] INFO - Admin-Check für Funktion get_system_status_api: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:34:00 - [admin] admin - [INFO] INFO - System-Status abgerufen von admin@example.com
2025-06-20 01:34:10 - [admin] admin - [INFO] INFO - Admin-Check für Funktion users_overview: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:34:10 - [admin] admin - [INFO] INFO - Benutzerübersicht geladen von admin@example.com
2025-06-20 01:34:10 - [admin] admin - [ERROR] ERROR - Fehler beim Laden der Benutzerübersicht: 'dict object' has no attribute 'online_printers'
2025-06-20 01:34:13 - [admin] admin - [INFO] INFO - Admin-Check für Funktion api_admin_live_stats: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:34:13 - [admin] admin - [INFO] INFO - Admin-Check für Funktion get_system_status_api: User authenticated: True, User ID: 2, Is Admin: True
2025-06-20 01:34:14 - [admin] admin - [INFO] INFO - System-Status abgerufen von admin@example.com

View File

@ -691,3 +691,7 @@
2025-06-20 01:30:45 - [admin_api] admin_api - [INFO] INFO - Error-Recovery-Status abgerufen: critical
2025-06-20 01:31:23 - [admin_api] admin_api - [INFO] INFO - Live-Statistiken abgerufen von Admin admin@example.com
2025-06-20 01:31:25 - [admin_api] admin_api - [INFO] INFO - Live-Statistiken abgerufen von Admin admin@example.com
2025-06-20 01:32:00 - [admin_api] admin_api - [INFO] INFO - Live-Statistiken abgerufen von Admin admin@example.com
2025-06-20 01:32:08 - [admin_api] admin_api - [INFO] INFO - Live-Statistiken abgerufen von Admin admin@example.com
2025-06-20 01:33:59 - [admin_api] admin_api - [INFO] INFO - Live-Statistiken abgerufen von Admin admin@example.com
2025-06-20 01:34:13 - [admin_api] admin_api - [INFO] INFO - Live-Statistiken abgerufen von Admin admin@example.com

View File

@ -58199,3 +58199,75 @@ WHERE users.role = ?]
2025-06-20 01:31:48 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:31:48 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:31:48 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:31:53 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:31:53 - [app] app - [INFO] INFO - Locating template 'system_info.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/system_info.html')
2025-06-20 01:31:53 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:31:53 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:31:53 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:31:59 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:31:59 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:00 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:00 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:00 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:00 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:00 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:01 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:04 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:04 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:04 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:04 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:07 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:07 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:08 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:08 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:08 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:08 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:08 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:09 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:27 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:27 - [app] app - [INFO] INFO - Locating template 'admin_add_user.html':
1: trying loader of application '__main__'
class: jinja2.loaders.FileSystemLoader
encoding: 'utf-8'
followlinks: False
searchpath:
- /cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates
-> found ('/cbin/C0S1-cernel/C02L2/Dateiverwaltung/nextcloud/core/files/3_Beruf_Ausbildung_und_Schule/IHK-Abschlussprüfung/Projektarbeit-MYP/backend/templates/admin_add_user.html')
2025-06-20 01:32:27 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:27 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:27 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:32:57 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:32:57 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:33:13 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:33:13 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:33:13 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:33:13 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:33:14 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:33:14 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:33:44 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:33:44 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:33:57 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:33:58 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:33:58 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:33:58 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:33:59 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:33:59 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:33:59 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:33:59 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:33:59 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:34:00 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:34:10 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:34:10 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:34:13 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:34:13 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:34:13 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:34:13 - [app] app - [DEBUG] DEBUG - Response:
2025-06-20 01:34:13 - [app] app - [DEBUG] DEBUG - Request:
2025-06-20 01:34:14 - [app] app - [DEBUG] DEBUG - Response: