Fedor
269c7ea216
feat: OnlyOffice Standalone integration with S3 direct URLs
...
✅ ЧТО СДЕЛАНО:
- Поднят новый standalone OnlyOffice Document Server (порт 8083)
- Настроен Nginx для доступа через office.clientright.ru:9443
- Создан open_file_v3_standalone.php для работы с новым OnlyOffice
- Реализована поддержка прямых S3 URL (bucket публичный)
- Добавлен s3_proxy.php с поддержкой Range requests
- Создан onlyoffice_callback.php для сохранения (базовая версия)
- Файлы успешно открываются и загружаются!
⚠️ TODO (на завтра):
- Доработать onlyoffice_callback.php для сохранения обратно в ОРИГИНАЛЬНЫЙ путь в S3
- Добавить Redis маппинг documentKey → S3 path
- Обновить CRM JS для использования open_file_v3_standalone.php
- Протестировать сохранение файлов
- Удалить тестовые файлы
📊 РЕЗУЛЬТАТ:
- OnlyOffice Standalone РАБОТАЕТ! ✅
- Файлы открываются напрямую из S3 ✅
- Редактор загружается БЫСТРО ✅
- Автосохранение настроено ✅ (но нужна доработка callback)
2025-11-01 01:02:03 +03:00
Fedor
9245768987
🚀 CRM Files Migration & Real-time Features
...
✨ Features:
- Migrated ALL files to new S3 structure (Projects, Contacts, Accounts, HelpDesk, Invoice, etc.)
- Added Nextcloud folder buttons to ALL modules
- Fixed Nextcloud editor integration
- WebSocket server for real-time updates
- Redis Pub/Sub integration
- File path manager for organized storage
- Redis caching for performance (Functions.php)
📁 New Structure:
Documents/Project/ProjectName_ID/file_docID.ext
Documents/Contacts/FirstName_LastName_ID/file_docID.ext
Documents/Accounts/AccountName_ID/file_docID.ext
🔧 Technical:
- FilePathManager for standardized paths
- S3StorageService integration
- WebSocket server (Node.js + Docker)
- Redis cache for getBasicModuleInfo()
- Predis library for Redis connectivity
📝 Scripts:
- Migration scripts for all modules
- Test pages for WebSocket/SSE/Polling
- Documentation (MIGRATION_*.md, REDIS_*.md)
🎯 Result: 15,000+ files migrated successfully!
2025-10-24 19:59:28 +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
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