Commit Graph

13 Commits (052560c9b404060e61c3f9db4d3eb2b855093eb0)

Author SHA1 Message Date
Vladimir Tomashevskiy 052560c9b4 Refactor: Create shared AttachmentService and AttachmentModel
- Created common AttachmentService for all modules (app/Services/)
- Created common AttachmentModel (app/Models/)
- Created common migration (app/Database/Migrations/)
- Updated Tasks module to use shared AttachmentService
- Added Twig functions: format_filesize(), get_file_icon()
- Removed duplicate TaskAttachmentModel and task_attachments migration
- AttachmentService can be used by any module: task, deal, contact, etc.
2026-02-08 20:34:11 +00:00
Vladimir Tomashevskiy a9976a5d85 Tasks Module Stage 3: Attachments
- Add migration for task_attachments table
- Create TaskAttachmentModel with file handling methods
- Add TaskService methods for upload/delete attachments
- Add API routes for attachments (upload, delete, download)
- Add controller methods for attachment operations
- Add UI section in task view with file upload form
- Add JavaScript handlers for AJAX file operations
2026-02-08 19:43:39 +00:00
Vladimir Tomashevskiy 7ebca3c762 Remove duplicate checklists functionality
Checklists were duplicating subtasks functionality. Removed:
- Migration for task_checklists table
- TaskChecklistModel
- Checklist methods from TaskService
- Checklist routes from Routes.php
- Checklist controller methods
- Checklist UI section from show.twig
- Checklist JavaScript functions

Updated TASKS_MODULE_ROADMAP.md
2026-02-08 19:18:19 +00:00
Vladimir Tomashevskiy 4a67f00aa7 Tasks Module Stage 3: Checklists
- Add migration for task_checklists table
- Create TaskChecklistModel with CRUD methods
- Add TaskService methods for checklist operations
- Add API routes for checklist endpoints
- Add controller methods for checklist CRUD
- Add UI section in task view with AJAX handlers
2026-02-08 18:40:41 +00:00
Vladimir Tomashevskiy cee6c636ad Tasks Module Stage 2: Subtasks
- Create task_subtasks table migration
- Create TaskSubtaskModel with CRUD operations
- Add subtask API methods: addSubtask, toggleSubtask, deleteSubtask
- Update TaskService to include subtasks in getTask()
- Add Routes for subtasks API
- Update show.twig with subtasks UI and JavaScript
2026-02-08 14:55:45 +00:00
root 725c62a179 start tasks module 2026-01-23 08:48:06 +03:00
root 77f76c8c28 Many fixes 2026-01-16 21:58:12 +03:00
root b810a17649 add CRM module start 2026-01-15 07:09:36 +03:00
root edb4df7e37 add superadmin dashboard. subscriptions 2026-01-13 20:03:16 +03:00
root 3c24c250e5 add EventManager and Subscription 2026-01-13 12:08:40 +03:00
root 3d39c1ba07 user profile 2026-01-13 07:11:21 +03:00
root 246ca93307 dashboard for org 2026-01-12 11:58:12 +03:00
root 5f5a28e292 first commit 2026-01-10 16:16:39 +03:00