Commit Graph

13 Commits

Author SHA1 Message Date
d4e56c5cde Improve db migrations.
Move all migration code to python module and use it from app.py. Use Enum values to avoid problems with Enum names in DB.
2025-07-03 12:04:03 +02:00
Jens Luedicke
03455374e5 Add SYSTEM_ADMINISTRATOR role. 2025-07-03 01:33:32 +02:00
Jens Luedicke
80d22e05c4 Fix DB migration/enum handling. 2025-07-02 23:11:27 +02:00
Jens Luedicke
8e100f101a Add Freelancer registration model. 2025-07-02 23:05:30 +02:00
8f49958dfa Add company feature. 2025-07-02 12:42:18 +02:00
Jens Luedicke
85847b5d39 Add setting to disable user email verification. 2025-07-01 23:45:03 +02:00
Jens Luedicke
be111a4bed Implement comprehensive project time logging feature
Add complete project management system with role-based access control:

**Core Features:**
- Project creation and management for Admins/Supervisors
- Time tracking with optional project selection and notes
- Project-based filtering and reporting in history
- Enhanced export functionality with project data
- Team-specific project assignments

**Database Changes:**
- New Project model with full relationships
- Enhanced TimeEntry model with project_id and notes
- Updated migration scripts with rollback support
- Sample project creation for testing

**User Interface:**
- Project management templates (create, edit, list)
- Enhanced time tracking with project dropdown
- Project filtering in history page
- Updated navigation for role-based access
- Modern styling with hover effects and responsive design

**API Enhancements:**
- Project validation and access control
- Updated arrive endpoint with project support
- Enhanced export functions with project data
- Role-based route protection

**Migration Support:**
- Comprehensive migration scripts (migrate_projects.py)
- Updated main migration script (migrate_db.py)
- Detailed migration documentation
- Rollback functionality for safe deployment

**Role-Based Access:**
- Admins: Full project CRUD operations
- Supervisors: Project creation and management
- Team Leaders: View team hours with projects
- Team Members: Select projects when tracking time

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-29 17:18:10 +02:00
Jens Luedicke
0964a2177a Add 2FA authentification. 2025-06-29 15:41:55 +02:00
Jens Luedicke
e7593dc840 Add System Settings. Enable/Disable User registration. 2025-06-28 11:30:34 +02:00
Jens Luedicke
99765d5728 Enable blocking and unblocking of users. 2025-06-28 11:10:22 +02:00
Jens Luedicke
44809e34f0 Require registration by mail link. 2025-06-28 10:33:18 +02:00
Jens Luedicke
452f3abd80 Initial user management. 2025-06-28 09:33:39 +02:00
a8d1f33874 Initial commit. 2025-06-27 15:14:57 +02:00