Fedor
76abcbc70b
fix: ПРАВИЛЬНАЯ миграция путей Nextcloud /crm2/ → /crm/crm2/
...
ИСПРАВЛЕНИЕ: На новом Nextcloud S3 примонтирован как /crm, но внутри папка crm2
Правильный путь: /crm/crm2/CRM_Active_Files/
Выполнено в БД (rollback_and_fix.sql):
- Откат предыдущей неправильной миграции из backup
- s3_key: crm2/ → crm/crm2/ (17386 записей)
- nc_path: /crm2/crm2/ → /crm/crm2/ (72 записи)
- nc_path: /crm2/ → /crm/crm2/ (все остальные)
Обновлены файлы кода:
- crm_extensions/file_storage/config.php: active_folder = /crm/crm2/CRM_Active_Files/
- crm_extensions/nextcloud_editor/js/nextcloud-editor.js (5 путей)
- crm_extensions/file_storage/api/get_edit_urls.php (6 путей)
- modules/Documents/actions/NcPrepareEdit.php (2 пути)
- crm_extensions/file_storage/api/prepare_edit.php (1 путь)
- crm_extensions/file_storage/NextcloudClient.php (1 путь)
Документ 395695:
- s3_key: crm/crm2/CRM_Active_Files/Documents/395695/zayavlenie_proekt.docx ✓
- nc_path: /crm/crm2/CRM_Active_Files/Documents/395695/zayavlenie_proekt.docx ✓
2025-10-20 18:54:33 +03:00
Fedor
f582cf9c0f
fix: Обновлены пути Nextcloud с /crm2/ на /crm/ для нового сервера
...
Обновленные файлы:
- crm_extensions/nextcloud_editor/js/nextcloud-editor.js (5 путей)
- crm_extensions/file_storage/api/get_edit_urls.php (6 путей)
- modules/Documents/actions/NcPrepareEdit.php (2 пути)
- crm_extensions/file_storage/api/prepare_edit.php (1 путь)
- crm_extensions/file_storage/NextcloudClient.php (1 путь)
- data/CRMEntity.php (nc_path для новых файлов)
Все пути теперь используют /crm/ вместо /crm2/ для соответствия новому External Storage на office.clientright.ru
2025-10-20 17:23:20 +03:00
Fedor
75d3f7942b
feat: Обновлены все URL Nextcloud с office.klientprav.tech на office.clientright.ru
...
Обновленные файлы:
- crm_extensions/nextcloud_api.php (2 места)
- modules/Documents/actions/NcPrepareEdit.php
- crm_extensions/nextcloud_editor/js/nextcloud-editor.js
- crm_extensions/file_storage/api/get_edit_urls.php
- crm_extensions/file_storage/api/simple_edit.php
- crm_extensions/README.md
- NEXTCLOUD_EDIT_BUTTON_IMPLEMENTATION.md
- crm_extensions/docs/NEXTCLOUD_EDITOR.md
- test_syntax_check.html
- crm_extensions/tests/test_edit_button.html
Все ссылки теперь указывают на новый сервер office.clientright.ru
Backup файлы и тестовые директории не изменены
2025-10-20 17:17:34 +03:00
Fedor
7b8a18b680
Добавлена система уведомлений для новых заявок (HelpDesk)
...
- Реализована функция createTicketNotification() в HelpDeskHandler
- Автоматическое создание уведомлений при создании новой заявки
- Уведомления отправляются ответственному за заявку
- Умная дедупликация - обновление существующих непрочитанных уведомлений
- Формат заголовка: 'Новая заявка ЗАЯВКА_XXX - [название]'
- Ссылка ведет на заявку в CRM
- Протестировано и работает корректно
2025-10-16 17:44:48 +03:00
Fedor
ac7467f0b4
Major CRM updates: AI Assistant, Court Status API, S3 integration improvements, and extensive file storage system
...
- Added comprehensive AI Assistant system (aiassist/ directory):
* Vector search and embedding capabilities
* Typebot proxy integration
* Elastic search functionality
* Message classification and chat history
* MCP proxy for external integrations
- Implemented Court Status API (GetCourtStatus.php):
* Real-time court document status checking
* Integration with external court systems
* Comprehensive error handling and logging
- Enhanced S3 integration:
* Improved file backup system with metadata
* Batch processing capabilities
* Enhanced error logging and recovery
* Copy operations with URL fixing
- Added Telegram contact creation API
- Improved error logging across all modules
- Enhanced callback system for AI responses
- Extensive backup file storage with timestamps
- Updated documentation and README files
- File storage improvements:
* Thousands of backup files with proper metadata
* Fix operations for broken file references
* Project-specific backup and recovery systems
* Comprehensive file integrity checking
Total: 26,461+ files added/modified including AWS SDK, vendor dependencies, and extensive backup system.
2025-10-16 11:17:21 +03:00
Fedor
cf520a7db5
Initial commit: CRM project with S3 integration and advanced APIs
2025-09-26 10:43:05 +03:00