Commit Graph
8 Commits
Author SHA1 Message Date
gurix ef5ccc18f7 feat: add navigation bar with progress indicator and backward navigation
- Created _navigation.html component with 5-step progress indicator
- Added German labels (E-Mail, Persönliche Daten, Motivation, Dokumente, Bestätigung)
- Implemented can_access_page() validation in routes.py
- Users can navigate backward to completed pages (data preserved)
- Sequential forward progression enforced (cannot skip ahead)
- Visual states: completed (green checkmark), current (blue), future (gray)
- Added comprehensive CSS styling with responsive design
- Updated base.html to include navigation component
- Updated page templates to pass current_page context
- Navigation appears on pages 2-5 only
- All 102 tests passing with no regressions
2025-12-27 23:12:21 +01:00
gurix c0cca71b74 Use mailcatcher by default. 2025-12-27 22:44:06 +01:00
gurix f1d8bae6a1 refactor: split monolithic app.py into modular Flask application with factory pattern
- Created app/ package with 6 modules:
  - __init__.py: Application factory (create_app function)
  - routes.py: All route handlers (473 lines)
  - models.py: Data persistence layer (41 lines)
  - validators.py: Input validation functions (48 lines)
  - email_service.py: Email sending functions (85 lines)
  - utils.py: Utility functions (30 lines)

- Implemented Flask application factory pattern
- Created run.py as minimal entry point
- Updated all test imports to use new module structure
- Fixed template/static folder paths for package structure

- All 102 tests passing
- Improved maintainability with clear separation of concerns
- Follows Flask best practices for scalable applications
2025-12-27 22:36:05 +01:00
gurix 733ee756c7 HR notification added 2025-12-27 21:57:10 +01:00
gurix ce19237444 Ignore as well .pytest_cache 2025-12-27 20:37:21 +01:00
gurix f631f61bad Security hardening 2025-12-27 17:51:00 +01:00
gurix 3f26416bdd Tests added 2025-12-27 16:49:52 +01:00
gurix 2284808043 Initial commit 2025-12-27 16:34:31 +01:00