feat: enhance audit logging, add MCP settings, and production docker setup
continuous-integration/drone/push Build is passing

- Implemented comprehensive audit logging for Tasks, Users, Settings, Goals, Labels, AI Chat, and Rewards.
- Added Admin UI for MCP Server settings and Audit Logs.
- Created docker-compose-production.yml with Traefik configuration.
- Fixed backend bugs (missing storage methods, route closure).
- Added Audit Logging Guidelines.
This commit is contained in:
2025-12-15 15:53:31 +01:00
parent fdf321cde9
commit d1736c5991
35 changed files with 5165 additions and 499 deletions
+48 -1
View File
@@ -64,6 +64,9 @@ This document outlines the strategic plan for evolving TaskFlow into a multi-use
- **Profile Updates**: Show Email instead of ID, allow Email changes.
- [ ] **Infrastructure**:
- [x] Reverse Proxy Compatibility: Ensure app functions correctly behind Nginx/Traefik (Headers, WebSockets, Base URL).
- [x] **Audit Logging**:
- [x] Track all task modifications per user.
- [x] Explicitly distinguish between changes made by a human User vs. the AI Agent.
## 🛠️ Phase 6: UI/UX & Quality Assurance (Current)
- [x] **Localization Audit**:
@@ -85,7 +88,51 @@ This document outlines the strategic plan for evolving TaskFlow into a multi-use
- [x] "What should I do next?" / "Break down this project" (Interactive).
- [x] Natural language task operations.
- [x] **AI Agents**: Autonomous sub-agents handling email sorting and scheduling (via AI Chat context).
- [ ] **AI Knowledge Base**:
- Enable AI to read closed/completed tasks to learn from history.
- Analyze notes and past items to provide context-aware suggestions (Knowledge Platform).
- [ ] **Advanced Task Planning**:
- **Time Estimation**: Optional "rough" time estimates per task (e.g., "2 hours", "half a day").
- **Multi-day / Subtasks**:
- Support for tasks spanning multiple days.
- Ability to break down tasks into subtasks directly via Chat Agent.
- **AI Integration**: AI can read/set estimates and handle multi-day scheduling.
- **Localization**: Full translation support for time units and planning interface.
## 📱 Phase 8: Long-term Platform Vision
## 🔔 Phase 8: Notifications & Task Hygiene (New - User Requested)
### Smart Notifications
- [x] **Browser Notifications**:
- [x] Upcoming tasks for the day.
- [x] Overdue tasks (iOS + Browser).
- [x] Unscheduled tasks (iOS + Browser).
- [x] **iOS Integration (PWA/Native)**:
- [x] Push notifications for upcoming tasks (when installed).
- [x] Push notifications for overdue tasks.
- [x] Support for "not scheduled" task alerts.
### Task Cleanup
- [x] **Unscheduled Tasks List**: Dedicated view for tasks without due dates.
- [x] **Scheduling Reminder**:
- [x] Notification or In-App Popup preventing user from leaving items unscheduled indefinitely.
## 📱 Phase 9: Long-term Platform Vision
- [ ] **Mobile Native App** (React Native/Expo).
- [ ] **Desktop App** (Electron/Tauri).
## 🤖 Phase 10: AI Workflows & Task Hygiene (New - User Requested)
### Follow-up Task System
- [ ] **AI Analysis**: Automatically detect completed tasks requiring follow-up (e.g., "Email sent" -> "Check for reply").
- [ ] **Smart Prompts**: Pop-up on completion asking if a follow-up is needed.
- [ ] **Manual Action**: "Create Follow-up" option in Task Card menu (Three dots).
### Morning/Evening Routine Mode
- [ ] **Configuration**:
- [ ] Settings to enable/disable.
- [ ] Set Timezone, Morning start time (e.g., 9am), Evening start time (e.g., 10pm).
- [ ] **Morning Overview**:
- [ ] Restricted view showing only early morning tasks.
- [ ] "Plan the Day" button to unlock full functionality.
- [ ] **Evening Reflection**:
- [ ] Read-only view of completed tasks (Mood booster).
- [ ] Simple actions: "Mark as Done" for remaining items or "Move to Tomorrow".
- [ ] Blocking: Prevent adding new distractions after hours.