Commit Graph

117 Commits

Author SHA1 Message Date
Jens Luedicke
115972c918 Add missing DB migration step. 2025-07-02 23:15:47 +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
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
0db0531fea Allow manual time entry. 2025-07-02 15:57:51 +02:00
5099b7a419 Update About page and routing (when not logged in). 2025-07-02 13:34:07 +02:00
6a06b8e8b1 Fix merge oversight. 2025-07-02 13:26:15 +02:00
Jens Luedicke
6e6f1c4529 Merge pull request #8 from nullmedium/improve-history-views
Improve history views
2025-07-02 13:17:49 +02:00
Jens Luedicke
81b7a46f9e Merge branch 'master' into improve-history-views 2025-07-02 13:07:20 +02:00
Jens Luedicke
ad560faeda Merge pull request #7 from nullmedium/company-feature
Add company feature.
2025-07-02 12:43:08 +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
c9ee69712d Fix for DB initialization. 2025-07-01 15:03:03 +02:00
6c27bdeea7 Run DB migrations on app start. 2025-07-01 14:47:50 +02:00
66273561d8 Set permissions on /data 2025-07-01 14:35:10 +02:00
57c7a05709 Fix path to sqlite db. 2025-07-01 14:30:27 +02:00
09ff3e59cf Configure /data as a volume. 2025-07-01 14:11:20 +02:00
807ebbd4fe Remove db init from Dockerfile. 2025-07-01 13:15:51 +02:00
74c232f227 Set proper permissions for data volume. 2025-07-01 13:10:50 +02:00
ae0ca14b6f Create /data folder in Dockerfile. 2025-07-01 13:02:45 +02:00
3cf2f381c1 Store sqlite db on data volume. 2025-07-01 12:57:29 +02:00
Jens Luedicke
7e4093a770 Merge pull request #6 from nullmedium/initial-user-setup
Make first user the admin.
2025-07-01 12:44:50 +02:00
0693169839 Make first user the admin. 2025-07-01 12:44:10 +02:00
042a44bead Format fixes. 2025-07-01 12:28:56 +02:00
2352d8ffd0 Add environment variables. 2025-07-01 12:20:47 +02:00
Jens Luedicke
18738eed34 Merge pull request #5 from nullmedium/flyio-new-files
Fly.io Launch config files
2025-07-01 11:41:47 +02:00
Fly.io
f375e3a732 New files from Fly.io Launch 2025-07-01 09:30:31 +00:00
264144ebca Prepare for fly.io 2025-07-01 11:22:56 +02:00
1bf0d01c3d Implement PDF export. 2025-07-01 11:05:45 +02:00
63de80f752 Move data export and data formatting functions into own modules. 2025-07-01 11:00:25 +02:00
141c7d4ee4 Remove old /history route. 2025-07-01 10:41:37 +02:00
ad10c1fa7d Consolitated History views. 2025-07-01 10:41:05 +02:00
Jens Luedicke
de510baac1 Improve Layout and Routing. 2025-07-01 08:11:22 +02:00
Jens Luedicke
db1b209563 Merge branch 'sidebar-navigation' 2025-06-30 21:32:24 +02:00
8ac9041860 Move navigation to a sidebar. 2025-06-30 15:33:03 +02:00
f6b69b64f8 Add .gitignore file. 2025-06-30 11:58:20 +02:00
Jens Luedicke
da9a807f2d Merge pull request #4 from nullmedium/css-style-cleanup
Fix some CSS mis-alignments. Remove obsolete template file.
2025-06-29 21:26:50 +02:00
Jens Luedicke
26028aae73 Fix some CSS mis-alignments. Remove obsolete template file. 2025-06-29 21:25:59 +02:00
Jens Luedicke
668e7c85e0 Update README.md and add a LICENSE file. 2025-06-29 17:26:31 +02:00
Jens Luedicke
5bdade0376 Merge pull request #3 from nullmedium/feature-project-time-logging
Implement comprehensive project time logging feature
2025-06-29 17:19:21 +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
77d26a6063 Merge pull request #2 from nullmedium/refactor-export-feature
Refactor and enhance export functionality with Team Hours support
2025-06-29 16:26:23 +02:00
Jens Luedicke
38a51c3eed Refactor and enhance export functionality with Team Hours support
- Fix missing import statements for CSV/Excel export functionality
- Refactor export code into modular helper functions for better maintainability
- Add comprehensive Team Hours export feature with CSV and Excel support
- Enhance export UI styling with modern gradients and hover effects
- Add role-based access control for team export functionality
- Include date range filtering and team leader inclusion options
- Add proper error handling and user feedback for export operations
- Update dependencies to include pandas and xlsxwriter
- Fix JavaScript scope issues for export button functionality

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-29 16:24:55 +02:00
Jens Luedicke
be2abbc008 Merge pull request #1 from nullmedium/feature-user-management
Feature user management
2025-06-29 15:53:13 +02:00
Jens Luedicke
24d52e795c Merge branch 'master' into feature-user-management 2025-06-29 15:52:56 +02:00
Jens Luedicke
68db551041 Update Profile page. 2025-06-29 15:47:07 +02:00
Jens Luedicke
0964a2177a Add 2FA authentification. 2025-06-29 15:41:55 +02:00
Jens Luedicke
6ebe575c4c Update About page. 2025-06-29 15:25:18 +02:00