Commit Graph

25 Commits

Author SHA1 Message Date
02d18f7f1e 🎯 Fix: Vollständige Behebung der JavaScript exportStats-Funktion und Admin-System-Optimierungen
 **Stats Export API implementiert**:
- Neuer /api/stats/export Endpunkt für CSV-Download
- Umfassende Systemstatistiken mit Drucker-Details
- Zeitbasierte Metriken und Erfolgsraten-Berechnung
- Sichere Authentifizierung und Fehlerbehandlung

 **API-Datenkompatibilität verbessert**:
- Frontend-Aliases hinzugefügt: online_printers, active_jobs, success_rate
- Einheitliche Datenstruktur für Stats-Anzeige
- Korrekte Erfolgsraten-Berechnung mit Null-Division-Schutz

 **Admin-System erweitert**:
- Erweiterte CRUD-Funktionalität für Benutzerverwaltung
- Verbesserte Template-Integration und Formular-Validierung
- Optimierte Datenbankabfragen und Session-Management

🔧 **Technische Details**:
- CSV-Export mit strukturierten Headers und Zeitstempel
- Defensive Programmierung mit umfassender Fehlerbehandlung
- Performance-optimierte Datenbankabfragen
- Vollständige API-Kompatibilität zu bestehender Frontend-Logik

Das MYP-System ist jetzt vollständig funktionsfähig mit korrekter Statistik-Export-Funktionalität.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20 01:32:01 +02:00
321626e9d3 Die Dateien wurden wie folgt geändert und hinzugefügt:
1. backend/logs - 'admin', 'admin_api', 'app', 'calendar', 'data_management', 'drucker_steuerung', 'energy_monitoring', 'guest', 'hardware_integration', 'job_queue_system', 'jobs', 'models', 'monitoring_analytics', 'permissions', 'scheduler', 'security_suite', 'startup', '
2025-06-20 01:06:37 +02:00
0fcf04833f Title: Enhanced System Logs and UI Updates
🎉 New system logs have been implemented for improved monitoring and debugging capabilities. These include:

- admin.log
- admin_api.log
- app.log
- data_management.log
- drucker_steuerung.log
- energy_monitoring.log
- hardware_integration.log
- job_queue_system.log
- monitoring_analytics.log
- permissions.
2025-06-20 00:41:55 +02:00
6d4449acae 🎉 Feature: Vollständige granulare Benutzerverwaltung implementiert
 CRUD-Operationen für Benutzer (Erstellen, Bearbeiten, Löschen, Status-Toggle)
•  Granulare Berechtigungsstufen (4 Ebenen: Restricted, Standard, Advanced, Admin)
•  Detaillierte Berechtigungseinstellungen pro Benutzer
•  Vollständige API-Endpunkte für Benutzerverwaltung und Berechtigungen
•  Responsive Frontend-Modals mit Mercedes-Benz Corporate Design
•  Schutzmaßnahmen (Admin kann sich nicht selbst degradieren/löschen)
• 🔧 Database Path Configuration korrigiert (backend/database/myp.db)
• 🔧 Template-Fixes (user.name statt user.first_name/last_name)
• 🔧 User-Loading-Errors behoben durch korrigierte Pfad-Konfiguration

Das Admin Panel verfügt jetzt über eine vollständig funktionale und granulare
Benutzerverwaltung mit detaillierten Berechtigungskontrollen für das MYP
3D-Druck-Management-System.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20 00:28:09 +02:00
ce209804f0 🎉 Feature: Implemented Real-Time Dashboard Updates and Enhanced System Monitoring
This commit introduces a comprehensive update to the admin dashboard, adding real-time statistics for users, printers, and jobs. Key features include:

- Live updates for user counts, printer statuses, and job statistics.
- A new loading overlay for better user experience during data fetching.
- Enhanced error handling and notifications for system health checks.
- Introduction of a modal for displaying detailed system status and metrics.

These improvements aim to provide administrators with immediate insights into system performance and operational status, enhancing overall usability and monitoring capabilities.
2025-06-19 22:06:33 +02:00
43d12fdf11 Die Dateien wurden in mehreren Log- und Cache-Ordnern geändert: 2025-06-19 13:08:47 +02:00
9bf89f8ddb Es scheint, dass Sie eine Reihe von Dateien und Verzeichnissen in einem Backend-Projekt bearbeitet haben. Hier ist eine Zusammenfassung der Änderungen: 2025-06-19 11:49:24 +02:00
709a541835 🐛📚 "Migrate JavaScript templates to Jinja for better documentation and maintainability" 2025-06-18 09:33:05 +02:00
472060ab1f 🔧 Update: Enhance Guest Request Model with OTP Code Management
**Änderungen:**
-  Hinzugefügt: `otp_code_plain` zur `GuestRequest`-Klasse für die Speicherung des OTP-Codes im Klartext zur Anzeige für Administratoren.
-  Anpassung der API-Endpunkte in `admin_unified.py`, um den Klartext-OTP-Code anzuzeigen, wenn die Anfrage genehmigt ist und der OTP-Code aktiv ist.

**Ergebnis:**
- Verbesserte Verwaltung und Sichtbarkeit von OTP-Codes für Administratoren, was die Benutzerfreundlichkeit und Sicherheit bei der Verwaltung von Gastanfragen erhöht.

🤖 Generated with [Claude Code](https://claude.ai/code)
2025-06-16 01:39:37 +02:00
691a4f2d41 Die Dateien wurden geändert oder hinzugefügt: 2025-06-13 07:17:00 +02:00
6b8fca218b 🐛 Refactor: Consolidated user management and security functions in the backend. Added legal pages blueprint for compliance. Removed legacy rate limiter functions to streamline security integration. Updated logging for better clarity. 📚 2025-06-12 20:44:11 +02:00
c7f9738bbe 🎉 Refactored backend structure: Removed unused files including app_cleaned.py, admin_api.py, admin.py, user.py, and others. Updated settings.local.json to include additional Bash commands. Enhanced admin templates for better navigation and functionality. Improved logging and error handling across various modules. 2025-06-09 19:33:06 +02:00
6ff407a895 🎉 Refactor and optimize database files, enhance error handling with new utility scripts 📚, and update documentation on fault tolerance and unattended operation. 🚀 2025-06-02 14:57:58 +02:00
361901eefe 📚 Improved logging structure & efficiency across backend logs 🚀 2025-06-01 18:01:23 +02:00
345fc6cbb5 📝 Enhanced Printer Details Modal and Scrollable Update Documentation Added 🎉 2025-06-01 17:34:16 +02:00
61479a1c31 🎉 Improved log management system & added advanced settings 🚀 2025-06-01 14:50:01 +02:00
7fa7da74af 📚 Improved logging structure & added backup file 🔜 2025-06-01 14:39:46 +02:00
38202de49f 🎉 Feature: Enhanced log management & firewall integration in backend 2025-06-01 13:54:05 +02:00
d6f00ab40d 📚 Improved documentation and log files for better system understanding & maintenance. 🖥️🔍 2025-06-01 13:43:56 +02:00
928ee3f8d5 🎉 Improved Backend Structure & Documentation 🖥️📚 2025-06-01 13:22:28 +02:00
f0fe4c29d5 🎉 Improved backend structure & documentation, added new GLASSMORPHISM_NOTIFICATIONS feature 🎨 2025-06-01 04:36:33 +02:00
1a3bfa4094 🎉 Improved documentation and logs for better system understanding & maintenance 2025-06-01 04:15:25 +02:00
dfad0937d1 📝 🚀 "Refactor backend templates 2025-06-01 01:41:52 +02:00
cf21c1dbfa 🎉 Feat(docs): Added new error handling documentation and roadmap images 2025-05-31 23:23:53 +02:00
df8fb197c0 📝 Commit Details: 2025-05-31 22:40:29 +02:00