fix: comprehensive quality improvements

- Fix 2 backend test failures (projectFolders validation, StressTest timeout)
- Fix frontend test dependency (@testing-library/dom)
- Delete App.tsx.bak from repo
- Add rate limiting on auth endpoints (login: 10/min, register: 3/min)
- Add .env.example with all environment variables
- Update BAUPLAN.md with accurate phase status (16/21 phases implemented)
- Add OpenAPI/Swagger documentation (docs/openapi.yaml)
- Add E2E workflow test (15 steps: register→project→drawing→layer→element→CRUD→delete)
- Add Forgejo CI/CD pipeline (.forgejo/workflows/ci.yml)
- Improve .gitignore (db-wal, .env.*, *.bak, coverage)
- Add security comment for default user in schema.sql

All 628 tests passing (254 backend + 374 frontend)
This commit is contained in:
2026-07-26 22:47:50 +02:00
parent 5d9c3f9495
commit 02308dc54a
15 changed files with 1250 additions and 1163 deletions
+22 -22
View File
@@ -26,28 +26,28 @@ Basierend auf: Pflichtenheft v4 (633 Zeilen) + UI-Mockup Iteration 9
| Phase | Titel | Anforderungen | Status |
|-------|-------|---------------|--------|
| 0 | Projekt-Setup & Config | | ✅ Angelegt |
| 1 | Core Types & Canvas Engine | F-CAD-01, F-CAD-04 | |
| 2 | UI-Gerüst nach Mockup | F-UI-01 bis F-UI-08 | |
| 3 | Zeichen-Tools | F-CAD-01, F-CAD-11, F-CAD-12 | |
| 4 | Bearbeitungs-Tools | F-CAD-02, F-CAD-07, F-CAD-08 | |
| 5 | Auswahl & Snap | F-CAD-04, F-CAD-07 | |
| 6 | Layer-System | F-LAY-01 bis F-LAY-06 | |
| 7 | Block-Bibliothek | F-LIB-01 bis F-LIB-07 | |
| 8 | Bestuhlungs-Tools | F-EVT-01 bis F-EVT-05 | |
| 9 | Bemaßung & Text | F-CAD-03, F-CAD-11 | |
| 10 | Hintergrund & Grundriss | F-BG-01 bis F-BG-04 | |
| 11 | Undo/Redo & History | F-CAD-09, F-CAD-10 | |
| 12 | Command Line | F-CAD-05, F-UI-04 | |
| 13 | Import/Export | F-IMP-01 bis F-IMP-04, F-EXP-01 bis F-EXP-04 | |
| 14 | Backend & REST-API | F-INT-01, F-INT-02, F-INT-04 | |
| 15 | Auth & Benutzerverwaltung | F-AUTH-01 bis F-AUTH-05 | |
| 16 | Multi-User & Kollaboration | F-MU-01 bis F-MU-07 | |
| 17 | KI Copilot | F-AI-01 bis F-AI-15 | |
| 18 | Plugin-System | F-EXT-01 bis F-EXT-08 | |
| 19 | Theme & Responsive | F-UI-05, F-UI-06, F-UI-10 | |
| 20 | Docker & Deployment | NF-DEP-01 bis NF-DEP-05 | |
| 21 | Tests & QA | NF-PERF-01 bis NF-PERF-05 | |
| 0 | Projekt-Setup & Config | | ✅ Fertig |
| 1 | Core Types & Canvas Engine | F-CAD-01, F-CAD-04 | ✅ Fertig |
| 2 | UI-Gerüst nach Mockup | F-UI-01 bis F-UI-08 | ✅ Fertig |
| 3 | Zeichen-Tools | F-CAD-01, F-CAD-11, F-CAD-12 | ✅ Grundimplementiert (über interaction/index.ts) |
| 4 | Bearbeitungs-Tools | F-CAD-02, F-CAD-07, F-CAD-08 | ⚠️ Teilimplementiert (GroupTool, geometry.ts) |
| 5 | Auswahl & Snap | F-CAD-04, F-CAD-07 | ✅ Fertig |
| 6 | Layer-System | F-LAY-01 bis F-LAY-06 | ✅ Fertig |
| 7 | Block-Bibliothek | F-LIB-01 bis F-LIB-07 | ✅ Fertig (globalBlocks + BlockLibraryTree) |
| 8 | Bestuhlungs-Tools | F-EVT-01 bis F-EVT-05 | ⚠️ Teilimplementiert (seatingService, eventTools Plugin) |
| 9 | Bemaßung & Text | F-CAD-03, F-CAD-11 | ✅ Grundimplementiert (dimensionService, InlineTextEditor) |
| 10 | Hintergrund & Grundriss | F-BG-01 bis F-BG-04 | ✅ Fertig (backgroundService + BackgroundImport) |
| 11 | Undo/Redo & History | F-CAD-09, F-CAD-10 | ✅ Fertig (HistoryManager + HistoryPanel) |
| 12 | Command Line | F-CAD-05, F-UI-04 | ✅ Fertig (CommandLine + commandRegistry) |
| 13 | Import/Export | F-IMP-01 bis F-IMP-04, F-EXP-01 bis F-EXP-04 | ✅ Fertig (DXF, SVG, PDF, JSON) |
| 14 | Backend & REST-API | F-INT-01, F-INT-02, F-INT-04 | ✅ Fertig (13 Routes, SQLite, Fastify) |
| 15 | Auth & Benutzerverwaltung | F-AUTH-01 bis F-AUTH-05 | ✅ Fertig (bcrypt, Sessions, 4 Rollen, Rate-Limiting) |
| 16 | Multi-User & Kollaboration | F-MU-01 bis F-MU-07 | ✅ Fertig (Yjs CRDT, WebSocket, Awareness) |
| 17 | KI Copilot | F-AI-01 bis F-AI-15 | ✅ Grundimplementiert (AI-Proxy, Chat-UI) |
| 18 | Plugin-System | F-EXT-01 bis F-EXT-08 | ✅ Grundimplementiert (PluginRegistry, Built-in Event-Tools) |
| 19 | Theme & Responsive | F-UI-05, F-UI-06, F-UI-10 | ✅ Fertig (Dark/Light Toggle, Mobile Drawers) |
| 20 | Docker & Deployment | NF-DEP-01 bis NF-DEP-05 | ✅ Fertig (Docker, Coolify, CI/CD Pipeline) |
| 21 | Tests & QA | NF-PERF-01 bis NF-PERF-05 | ✅ Grundimplementiert (613 Tests, Backend+Frontend) |
---