Commit Graph

156 Commits

Author SHA1 Message Date
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
Jens Luedicke
ac40415a11 Add missing styles. 2025-06-29 15:20:29 +02:00
Jens Luedicke
33d5948e00 Only show today's logged work entries in Home screen. 2025-06-29 15:19:27 +02:00
Jens Luedicke
ecc6c1f5ac Add Dashboard for users with specific role. 2025-06-29 15:17:38 +02:00
Jens Luedicke
d8ec7d636e Add Team Roles feature. 2025-06-28 22:39:28 +02:00
Jens Luedicke
b9aa7ad413 Add Export to CSV or Excel. 2025-06-28 12:54:48 +02:00
Jens Luedicke
e7593dc840 Add System Settings. Enable/Disable User registration. 2025-06-28 11:30:34 +02:00
Jens Luedicke
ff80964956 Remove duplicate Flash message block. 2025-06-28 11:19:59 +02:00
Jens Luedicke
99765d5728 Enable blocking and unblocking of users. 2025-06-28 11:10:22 +02:00
Jens Luedicke
b2861686ea Show Time Tracking only for logged in users. 2025-06-28 11:00:17 +02:00
Jens Luedicke
44809e34f0 Require registration by mail link. 2025-06-28 10:33:18 +02:00
Jens Luedicke
5fa044e69c Change navigation. 2025-06-28 09:48:29 +02:00