XPS\Micro
e811c4fe3d
feat: Add user-template-dictionary with SQLite persistence
...
- New template: user-template-dictionary with Flask backend
- Features: Add/Edit/Delete words, SQLite database per user
- Persistent storage: Docker Volumes mount to /data/
- Modern HTML/CSS/JS Frontend with error handling
- REST API: GET/POST/PUT/DELETE endpoints
- Health checks and comprehensive logging
- Comprehensive documentation in docs/templates/DICTIONARY_TEMPLATE.md
- Updated templates.json and .env.example
Files:
- user-template-dictionary/Dockerfile
- user-template-dictionary/app.py
- user-template-dictionary/requirements.txt
- user-template-dictionary/templates/index.html
- docs/templates/DICTIONARY_TEMPLATE.md
- templates.json (updated)
- .env.example (updated)
2026-03-18 15:57:23 +01:00
XPS\Micro
0117566268
feat: Expandable Container-Rows + shadcn AlertDialog + Status 207 Fix
...
- Backend: Status 207 → 200 für partielle Erfolge (admin_api.py)
- Frontend: Expandable User-Rows mit Container-Checkboxen (admin/page.tsx)
- UI: Neues shadcn AlertDialog für Container-Lösch-Bestätigung
- Deps: @radix-ui/react-alert-dialog installiert
- Docs: Version 3.0 Dokumentation aktualisiert (admin-dashboard-improvements.md)
Behebt:
- Problem I: Browser-confirm() → echtes Modal
- Problem II: Status 207 Fehler (0 gelöscht, 1 fehlgeschlagen)
2026-02-08 16:56:04 +01:00
XPS\Micro
ef518a826d
fix: claude-rules compliance - Remove docker-compose down from documentation
...
**Regel-Verstöße behoben:**
1. Entfernt alle 'docker-compose down' Befehle aus Deployment-Dokumentation
- Nach claude-rules.md Zeile 38-54: 'docker-compose down' vermeiden
- Ersetzt durch: 'docker-compose up -d --build' (nur geänderte Services)
- Rollback-Procedure korrigiert
2. Documentation updated:
- IMPLEMENTATION_SUMMARY_PHASE_7.md: Deployment Steps korrigiert
- PHASE_7_DEPLOYMENT.md: Step 4 und Rollback Procedure korrigiert
**Warum:** 'docker-compose down' entfernt ALLE Container unnötig.
'docker-compose up -d --build' baut NUR geänderte Services.
**Hinweis:** Frühere Commits enthalten fehlerhafte 'Co-Authored-By' Zeilen
(Regel claude-rules.md Zeile 117-119). Diese können später bereinigt werden.
2026-02-04 22:48:02 +01:00
XPS\Micro
a260df97c8
docs: Phase 7 Implementation & Deployment Documentation
...
**Neue Dokumentation:**
1. IMPLEMENTATION_SUMMARY_PHASE_7.md (Entwickler-fokussiert)
- Überblick über alle Änderungen
- API-Reference mit Endpoints und Response-Format
- Database Schema Erklärung
- Frontend Component Details
- Security Considerations
- Testing Checklist
- Troubleshooting Guide
- Nächste Schritte (Phase 8+)
2. docs/PHASE_7_DEPLOYMENT.md (Ops/DevOps-fokussiert)
- Step-by-Step Deployment Guide
- Pre-Deployment Checklist
- Database Migration mit Fallback
- Post-Deployment Testing
- Rollback Procedure
- Monitoring & Logging
- Performance Impact Analysis
- Häufige Probleme & Lösungen
- Final Deployment Checklist
**Zielgruppe:**
- Entwickler: IMPLEMENTATION_SUMMARY_PHASE_7.md
- DevOps/SysAdmins: PHASE_7_DEPLOYMENT.md
- Testing: Beide Dokumente enthalten Test-Checklisten
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-04 22:45:34 +01:00
XPS\Micro
288d2f3db5
docs: Synology Git Berechtigungsbits Problem dokumentieren
...
- Erkläre das 'local changes' Fehler-Problem auf Synology
- Ursache: Automatische Berechtigungsänderungen (executable bit)
- Lösung: git checkout <datei> vor git pull
- Zeige Beispiel (old mode 100644 vs new mode 100755)
2026-02-03 14:14:47 +01:00
XPS\Micro
aa48040264
Doc added
2026-02-03 14:11:58 +01:00
XPS\Micro
37df1eda40
fix: Container-Spawn Fehler beheben - Pre-Check für existierende Container, Naming-Konflikt auflösen
...
- container_manager.py: Pre-Check vor containers.run() hinzufügen
- Prüfe ob Container bereits existiert (z.B. nach Fehler)
- Wenn running: Wiederverwenden statt zu erstellen
- Wenn stopped: Versuchen zu starten oder zu löschen
- Verhindert Docker 409 Conflict-Fehler
- api.py: Container-Spawn Fehlerbehandlung verbessern
- Container-Spawn ist optional beim Signup
- User wird trotzdem erstellt wenn Spawn fehlschlägt
- JWT wird immer returned (Status 200)
- docs/BUGFIX_CONTAINER_SPAWN.md: Dokumentation hinzufügen
- Erklär die Probleme, Fixes und Testing
2026-02-03 14:09:36 +01:00
XPS\Micro
2c8cf47564
docs: add Swagger/OpenAPI documentation for DEBUG-API
...
- Install flasgger dependency (0.9.7.1)
- Initialize Swagger in app.py with config
- Add YAML docstring with OpenAPI spec to debug_management()
- Create comprehensive debug-api-swagger.md guide
- Create debug-api-cheatsheet.md for quick reference
- Swagger UI available at /swagger endpoint
- OpenAPI JSON at /openapi.json
2026-02-02 17:25:24 +01:00
XPS\Micro
1392316068
feat: implement multi-container deletion, DSGVO compliance, and toast notifications
...
- Add CASCADE DELETE to MagicLinkToken and AdminTakeoverSession models
- Update admin_api.py to support multi-container deletion
- Add DSGVO-compliant user deletion (removes tokens and sessions)
- Integrate Sonner toast system in frontend
- Add bulk-operations UI (select, block, unblock, delete users)
- Implement two-step confirmation for critical actions
- Update TypeScript config for Set iteration
- Add comprehensive documentation in docs/guides/
2026-02-02 17:19:48 +01:00
XPS\Micro
b30f173a16
docs: update DEPLOYMENT_GUIDE for .env-based template building
...
- Clarify that install.sh only builds .env-defined templates
- Add emphasis: without .env entry, templates are NOT built
- Update section 1.3 to explain .env configuration requirement
- Change from 'automatically builds all' to 'only builds defined templates'
2026-02-02 16:44:28 +01:00
XPS\Micro
960e69bf62
docs: update custom-templates guide for .env-based template building
...
- Update overview to clarify that only .env-defined templates are built
- Update architecture diagram to reflect new .env-based process
- Add new 'Template Build-Prozess' section with detailed explanation
- Update 'Automatisiertes Deployment' with correct .env-based instructions
- Add emphasis to WICHTIG notes about .env configuration
- Update quick-start guide to show .env configuration as first step
- Update checklist to highlight critical .env step
- Clarify validation, error handling, and fallback behavior
2026-02-02 16:43:54 +01:00
XPS\Micro
57b6cf1068
Sidebar added
2026-02-02 00:14:41 +01:00
XPS\Micro
49605288f0
docs: add comprehensive dashboard navigation documentation
2026-02-01 23:17:01 +01:00
XPS\Micro
92820c251c
docs: add comprehensive custom templates guide
...
- Full guide for creating custom user templates
- Step-by-step instructions with requirements
- 3 complete examples: Python Flask, Hugo static site, Node.js with DB
- Deployment workflows for local and production
- Troubleshooting section and best practices
- Quick reference and checklist
2026-02-01 21:28:00 +01:00
XPS\Micro
7b0d48ca32
feat: configure Flask file-based logging for debug API
...
- Add rotating file handler to app.py for logging to /app/logs/spawner.log
- Configure max 10MB per file with 5 backup files
- Update admin_api.py debug endpoint to read from Flask log file
- Implement clear-logs functionality to truncate log file
- Update documentation with Flask log file details
- Creates log directory automatically if missing
2026-02-01 15:51:24 +01:00
XPS\Micro
5dcc731d7c
- Changed view-logs to read docker container logs (docker logs spawner)
...
- Updated clear-logs to inform that docker logs cannot be deleted
- Updated documentation to reflect docker-based log reading
- No log file needed anymore"
2026-02-01 15:36:52 +01:00
XPS\Micro
95960ab7a9
add debug admin API for logs and database management
2026-02-01 13:41:28 +01:00
XPS\Micro
10b28179fc
feat: implement dynamic template system with auto-detection
...
**Backend (config.py):**
- Add dynamic template loading from USER_TEMPLATE_IMAGES (.env)
- Add template metadata loading from templates.json
- Implement automatic type extraction from image names
- Remove hardcoded template definitions (dev/prod)
- Maintain legacy USER_TEMPLATE_IMAGE for backward compatibility
**Configuration:**
- Add templates.json with metadata for template-01, template-02, template-next
- Update .env.example with new USER_TEMPLATE_IMAGES variable (semicolon-separated)
- Document automatic template type extraction
**Installation (install.sh):**
- Implement auto-detection for all user-template-* directories
- Replace hardcoded template builds with dynamic loop
- Calculate TOTAL_BUILDS dynamically
- Add special handling for Next.js templates
**Documentation:**
- Move MVP_DEPLOYMENT_GUIDE.md to docs/install/DEPLOYMENT_GUIDE.md
- Add "Dynamic Template System" section to CLAUDE.md
- Update docs/install/README.md with Quick Links and dynamic system info
- Add references to deployment guide in CLAUDE.md
**Templates:**
- Reorganize user-template/ → user-template-01/ (Nginx Basic)
- Add user-template-02/ (Nginx Advanced)
- Keep user-template-next/ unchanged
**Benefits:**
- Unlimited number of templates (no longer hardcoded to 2)
- Metadata-driven display in dashboard
- Automatic image discovery and building
- Extensible without code changes
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-01 09:04:59 +01:00
XPS\Micro
1b44bb3d10
Update documentation for v0.3.0 (admin features)
...
- CHANGELOG.md: Add v0.3.0 with admin dashboard, email verification,
user states, and all new features
- install/README.md: Add SMTP configuration variables
- README.md: Update version to 0.3.0
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 07:06:13 +01:00
XPS\Micro
99d7ed1e82
picture added
2026-01-31 07:03:14 +01:00
XPS\Micro
b6fd832311
Update documentation: CHANGELOG v0.2.0, Synology compatibility guide
2026-01-31 00:01:32 +01:00
XPS\Micro
c363351483
Initial project structure with documentation
2026-01-30 18:00:41 +01:00