Files
crm.clientright.ru/crm_extensions/file_storage/node_modules/redis-parser/package.json
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

54 lines
1.3 KiB
JSON

{
"name": "redis-parser",
"version": "3.0.0",
"description": "Javascript Redis protocol (RESP) parser",
"main": "index.js",
"scripts": {
"test": "npm run coverage",
"benchmark": "node ./benchmark",
"lint": "standard --fix",
"posttest": "npm run lint && npm run coverage:check",
"coverage": "node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec",
"coverage:check": "node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"
},
"repository": {
"type": "git",
"url": "git+https://github.com/NodeRedis/node-redis-parser.git"
},
"keywords": [
"redis",
"protocol",
"parser",
"database",
"javascript",
"node",
"nodejs",
"resp",
"hiredis"
],
"engines": {
"node": ">=4"
},
"dependencies": {
"redis-errors": "^1.0.0"
},
"devDependencies": {
"benchmark": "^2.1.0",
"codeclimate-test-reporter": "^0.4.0",
"hiredis": "^0.5.0",
"istanbul": "^0.4.0",
"mocha": "^3.1.2",
"standard": "^10.0.0"
},
"author": "Ruben Bridgewater",
"license": "MIT",
"bugs": {
"url": "https://github.com/NodeRedis/node-redis-parser/issues"
},
"homepage": "https://github.com/NodeRedis/node-redis-parser#readme",
"directories": {
"test": "test",
"lib": "lib"
}
}