5 Commits

Author SHA1 Message Date
87c4046711 Implement comprehensive application flow tests
- Add test_application_flow.py with 22 test cases covering:
  * Setup page functionality and validation
  * Authentication flow and token handling
  * Main application access controls
  * Middleware flow enforcement
  * Integration scenarios
- Fix TestClient redirect following issue in tests
- Update ServerTodo.md and TestsTodo.md to mark completed items
- All application flow features now fully tested (22/22 passing)
2025-10-06 12:53:37 +02:00
3f98dd6ebb Implement application setup and flow middleware
- Add SetupService for detecting application setup completion
- Create ApplicationFlowMiddleware to enforce setup  auth  main flow
- Add setup processing endpoints (/api/auth/setup, /api/auth/setup/status)
- Add Pydantic models for setup requests and responses
- Integrate middleware into FastAPI application
- Fix logging paths to use ./logs consistently
- All existing templates (setup.html, login.html) already working
2025-10-06 12:48:18 +02:00
85f2d2c6f7 cleanup 2 2025-10-05 22:22:04 +02:00
fe2df1514c cleanup 2025-10-05 21:56:33 +02:00
d30aa7cfea latest api use 2025-10-05 21:42:08 +02:00