Commit Graph

10 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 e85390be84 Use base.js CSRF auto-injection for AJAX requests
- Remove manual CSRF handling from JavaScript
- base.js already intercepts fetch() and adds X-CSRF-TOKEN automatically
- Simplify JavaScript code for subtasks operations
2026-02-08 15:51:06 +00:00
Vladimir Tomashevskiy 1c98327de3 Add csrf_token and csrf_hash Twig functions
- Add csrf_token() function to return CSRF token name
- Add csrf_hash() function to return CSRF hash value
2026-02-08 15:43:48 +00:00
root 308c684aa2 fix CRM contacts 2026-01-18 19:19:03 +03:00
root 77f76c8c28 Many fixes 2026-01-16 21:58:12 +03:00
root edb4df7e37 add superadmin dashboard. subscriptions 2026-01-13 20:03:16 +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 d27f66953c dynamic table 2026-01-10 19:43:04 +03:00
root 5f5a28e292 first commit 2026-01-10 16:16:39 +03:00