Commit Graph

124 Commits

Author SHA1 Message Date
46dae22a71 update 2026-03-26 14:50:45 +01:00
890f3a32c5 update 2026-03-22 23:55:14 +01:00
33504f6013 update 2026-03-17 19:14:37 +01:00
39fc58a962 update 2026-03-15 20:22:01 +01:00
4ca7f035c0 update 2026-03-15 01:07:21 +01:00
e92c9fe522 feat(01-sonarqube-baseline): SonarQube configuration and quality baseline
Phase 1 complete:
- sonar-project.properties configured for crmPRO
- First scan: 88 files, 9356 LoC, 58 bugs, 1649 code smells, 0% coverage
- Baseline documented with prioritized recommendations for Phase 2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 00:56:09 +01:00
f35b561d07 feat: Enhance task management with client and parent ID prefill in task edit and popup, and improve UI for subtask actions 2026-03-06 01:06:39 +01:00
7c2a42a66f feat: Add wiki integration to task management
- Implemented a multi-select dropdown for associating tasks with wiki entries in the task edit form.
- Enhanced task popup to display related wiki entries with visibility controls based on user permissions.
- Updated the wiki main view to support bulk actions for categories, including deletion and search functionality.
- Created a new database migration for establishing many-to-many relationships between tasks and wiki entries.
- Improved styling for wiki components to enhance user experience.
- Added a new AGENTS.md file to outline communication and change management protocols.
2026-03-03 11:52:04 +01:00
447b75bf3e feat: Update task popup to enhance description editing with CKEditor integration and improved UI 2026-03-01 22:08:11 +01:00
fc97a990fb feat: Refactor task management to support recursive parent-child relationships and update database schema 2026-03-01 11:39:28 +01:00
f6ba7ebc36 update 2026-02-28 14:48:24 +01:00
20f502543a docs: design for multi-device remember-me tokens 2026-02-28 11:13:22 +01:00
66d04faaa5 feat: Enhance user logout and remember me functionality with secure cookie handling 2026-02-26 22:36:56 +01:00
a4a35c8d62 feat: Implement module permissions system with database-driven access control
- Added `users_permissions` table for managing user permissions.
- Created `PermissionRepository` for handling permission logic.
- Refactored `controls\Users::permissions()` to utilize the new database structure.
- Introduced AJAX endpoint for saving user permissions.
- Enhanced user management UI with permission checkboxes.
- Added vacation management template for handling employee absences.
- Implemented tests for `PermissionRepository`.
2026-02-26 20:17:03 +01:00
76d3ac33a8 Enhance task description rendering and security
- Added sanitization and filtering for task descriptions in task_popup.php to prevent XSS attacks.
- Implemented regex patterns to remove potentially harmful HTML tags and attributes.
- Improved link and image handling to ensure only safe URLs and sources are rendered.
- Updated CSS for task popup to allow better text wrapping and overflow handling.
2026-02-23 14:12:06 +01:00
1300f32690 Merge branch 'main' of https://git.project-pro.pl/Project-Pro/crmPRO 2026-02-22 17:26:12 +01:00
86d96f1d39 feat: Remove tasks auto-start timer setting and related logic from task popup 2026-02-22 17:26:10 +01:00
8d4d539283 Add inline task title editing in popup 2026-02-22 17:23:54 +01:00
ba8ef63e95 feat: Add task edit message notifications with success and error handling 2026-02-19 12:32:53 +01:00
a115d881de Merge branch 'main' of https://git.project-pro.pl/Project-Pro/crmPRO 2026-02-19 11:14:41 +01:00
64843df97b feat: Add task attachments management to task edit interface; implement attachment upload, delete, and rename functionalities 2026-02-19 11:14:39 +01:00
8f2e332069 Add unit tests for MailToTaskImporter attachment name normalization
- Implemented tests for various scenarios of attachment name normalization in MailToTaskImporter.
- Covered cases for technical names, named files, missing extensions, and content-based detection.
- Added tests for extracting names from MIME headers, including handling of Content-Description.
2026-02-18 23:30:11 +01:00
203a45e199 feat: Update MailToTaskImporter to handle attachment MIME types and improve filename handling; add CLAUDE.md for project guidance; create TODO.md for PDF attachment issue 2026-02-18 21:50:42 +01:00
c165a94016 feat: Add status change notification option in task popup and update task status handling 2026-02-17 17:57:02 +01:00
28fb121c76 feat: Enhance task popup with user checkbox styling and selection handling 2026-02-17 10:55:57 +01:00
9a33d8d6f4 feat: Remove redundant close_task_popup call before reloading tasks 2026-02-17 08:40:30 +01:00
5f676cf162 feat: Add user management to task popup and implement task user assignment 2026-02-16 15:55:47 +01:00
b4370076a3 feat: Add recursive task handling and lightbox for task images 2026-02-16 11:34:38 +01:00
6e7f452c08 feat: Update finance operation description handling in API 2026-02-14 21:31:53 +01:00
f3be8e1025 feat: Refactor CRM and Finances modules
- Updated client-edit template to change 'Firma' to 'Nazwa' and added 'Nazwa firmy' input field.
- Modified main-view template to reflect the new naming conventions for clients.
- Enhanced finances main-view to display a list of clients with revenue details.
- Added client selection dropdown in operation-edit template.
- Improved work-time template by adding keyboard shortcut for task confirmation.
- Introduced CrmController for handling client-related actions.
- Created FinancesController to manage finance operations and categories.
- Implemented ClientRepository for client data management.
- Developed FinanceRepository for finance operations and data handling.
2026-02-14 21:30:02 +01:00
c9795ca866 feat: Refactor task handling to improve status change and enable boolean checks for task properties 2026-02-13 00:11:54 +01:00
dfa83b57a6 feat: Update task popup with tab navigation for description, checklist, comments, and attachments 2026-02-12 13:53:36 +01:00
a4a8f6882b update 2026-02-11 15:28:33 +01:00
67ed085b38 feat: Enhance MailToTaskImporter with inline image support and update task content handling 2026-02-10 15:37:27 +01:00
3adc50618d feat: Update task popup styles and integrate Bootstrap 5 theme for client selection 2026-02-10 09:21:29 +01:00
482ca312aa feat: Enhance MailToTaskImporter with AI error handling and update OpenAI model to gpt-4o-mini
feat: Add Gantt task normalization and filter selection in main_view.php
2026-02-09 23:34:50 +01:00
304c87f933 feat: Implement user management functionality with impersonation support 2026-02-09 17:22:52 +01:00
63268e35dc feat: Integrate OpenAI API for email task parsing and update configuration 2026-02-08 22:48:57 +01:00
0c5a133aa7 feat: Add auto-start timer configuration for task popup 2026-02-08 21:48:23 +01:00
ba84cdab3d feat: Implement email task import functionality
- Added `import_tasks_from_email` method in `Cron` class to handle task imports from email.
- Created `MailToTaskImporter` class for processing emails and creating tasks based on their content.
- Updated configuration to include IMAP settings for email import.
- Enhanced `Tasks` class with a method to change the client associated with a task.
- Modified task details view to include a dropdown for selecting clients.
- Improved task timer functionality with separate start and stop functions.
- Added logic to handle task work duration validation.
- Updated JavaScript to manage task timers and client changes more effectively.
2026-02-07 00:53:48 +01:00
47ffc19a23 Refactor task management and add attachment functionality
- Updated task editing template to handle default status for new tasks and corrected variable names.
- Enhanced work time reporting by rounding time to the nearest quarter hour and adjusting amount formatting.
- Introduced TasksController to manage task-related operations, including status resolution and email notifications.
- Added TaskAttachmentRepository for handling task attachments, including upload, rename, and delete functionalities.
- Implemented WorkTimeRepository to fetch clients with unsettled tasks and calculate total work time.
- Created unit tests for TasksController and TaskAttachmentRepository to ensure functionality and correctness.
2026-02-06 23:11:48 +01:00
1722f171bc tasks: improve attachments UX and update refactoring docs 2026-02-06 23:11:14 +01:00
5161d0f979 Refactor work time management and billing summary
- Introduced a new `TasksController` to handle work time logic, moving it from the factory layer to the domain layer.
- Created `WorkTimeRepository` to encapsulate data access for work time tasks, including methods to retrieve clients with unsettled tasks and calculate task times.
- Updated the work time view to display a consolidated billing summary with improved UI elements and AJAX functionality for closing tasks.
- Added new styles for the billing summary section in `style.scss`.
- Implemented tests for the `TasksController` and `WorkTimeRepository` to ensure functionality and correctness.
- Established a refactoring plan for future improvements and migrations within the CRM system.
2026-02-06 21:32:11 +01:00
76db1c5875 Usuń zbędny kod wyjściowy w funkcji get_finances_categories 2026-01-28 22:08:09 +01:00
dc8c428f5a Dodaj nowe akcje API do zarządzania kategoriami finansów i operacjami finansowymi 2026-01-21 01:07:02 +01:00
ac04805906 Merge branch 'main' of http://91.189.216.43:3000/jacek.pyziak/crmPRO 2025-12-29 00:27:43 +01:00
4992c3e7b6 Zaktualizuj zapytania w klasie Tasks, aby filtrować zadania według statusu 3 zamiast 2 2025-12-29 00:27:23 +01:00
8879b273f5 Merge branch 'main' of http://91.189.216.43:3000/jacek.pyziak/crmPRO 2025-12-17 14:00:31 +01:00
09a1025abd Update file sizes and last modified timestamps in sync cache and add 'ttc' extension to allowed file types 2025-12-17 14:00:11 +01:00
adab4009ea Refactor font-size values in style.scss to use relative units (em) for better scalability 2025-12-09 23:26:47 +01:00