Commit Graph

16 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
3eeae1f411 Fix for DB Migration. #3 2025-07-03 08:49:05 +02:00
Jens Luedicke
03455374e5 Add SYSTEM_ADMINISTRATOR role. 2025-07-03 01:33:32 +02:00
Jens Luedicke
8e100f101a Add Freelancer registration model. 2025-07-02 23:05:30 +02:00
ff6d2da523 Move break time settings into admin area. 2025-07-02 17:00:35 +02:00
f641be6026 Add date/time formatting options. 2025-07-02 16:36:23 +02:00
197ffde545 Add time rounding option. 2025-07-02 16:15:35 +02:00
8f49958dfa Add company feature. 2025-07-02 12:42:18 +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
d8ec7d636e Add Team Roles feature. 2025-06-28 22:39:28 +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