Commit Graph

20 Commits

Author SHA1 Message Date
75ab160509 refactor: 优化getFileList函数,移除不必要的newObjectName变量 2026-03-03 02:48:05 +08:00
a48cc48589 fix: decode URI components in object path handling
- Added decodeURIComponent to the objectName in getObjectByPathname and getObjectName functions to ensure proper handling of encoded paths.
- Updated newNamePath in renameProxy to decode the pathname before processing.
- Removed redundant comment regarding file renaming in renameProxy.
2026-03-02 01:48:15 +08:00
32f4e9c40f 优化 S3 客户端配置,动态设置 forcePathStyle 属性以支持 Minio, 暂时只发现minio需要frocePathSylte,tos不需要 2026-02-06 19:45:17 +08:00
86d4c7f75b 移除不再支持的文件扩展名 '.mjs' 从文本内容类型列表中 2026-02-04 19:45:01 +08:00
158dd9e85c Refactor AI proxy error handling and remove deprecated upload and event routes
- Updated `getAiProxy` function to return a JSON response for missing objects when the user is the owner.
- Removed the `upload.ts`, `event.ts`, and related middleware files to streamline the codebase.
- Cleaned up `handle-request.ts` and `index.ts` by removing unused imports and routes.
- Deleted chunk upload handling and related utility functions to simplify resource management.
- Enhanced app manager list functionality to support app creation if not found.
2026-02-02 18:06:31 +08:00
a0f0f65d20 update 2026-02-01 19:26:44 +08:00
337abd2bc3 temp 2026-02-01 16:04:03 +08:00
32167faf67 重构 postProxy 函数,移动到新文件 ai-proxy-chunk/post-proxy.ts,优化文件上传处理逻辑 2026-02-01 14:33:26 +08:00
6100e9833d Refactor storage integration from MinIO to S3
- Removed MinIO client and related imports from various modules.
- Introduced S3 client and OSS integration for object storage.
- Updated all references to MinIO methods with corresponding S3 methods.
- Added new flowme table schema to the database.
- Adjusted upload and download routes to utilize S3 for file operations.
- Removed obsolete MinIO-related files and routes.
- Ensured compatibility with existing application logic while transitioning to S3.
2026-01-31 05:12:56 +08:00
08023d6878 优化 postProxy 函数以支持从请求头获取文件大小;添加 renameProxy 函数以处理文件重命名;修复 isLocalhost 函数的格式问题 2026-01-30 17:26:35 +08:00
27f170ae2b 更新 package.json 版本号至 0.0.12;优化 isLocalhost 函数以处理空主机名;修复 handleRequest 中对 dns.hostName 的访问;在轻代码列表中添加 code 字段;更新示例路由描述 2026-01-26 04:24:00 +08:00
bafd02452b update 2026-01-22 23:29:20 +08:00
7b0b00feff test 2026-01-17 23:11:08 +08:00
94d7d6e8a2 fix: fix pipe types 2026-01-15 23:43:41 +08:00
59c7eb57fa update 2026-01-09 13:04:48 +08:00
18a7c15a76 优化文件流处理,添加对 Bun 环境的支持,重构管道传输函数,改进内容类型获取逻辑 2025-12-21 14:53:22 +08:00
8a633feb4f 更新依赖项,使用 Busboy 替代 formidable 处理文件上传,优化上传逻辑,改进权限检查 2025-12-21 06:41:27 +08:00
15fcfdad18 更新依赖项,优化 WebSocket 处理,添加文件流管道功能,改进用户认证逻辑 2025-12-21 02:06:38 +08:00
46aa293cce fix 2025-12-03 18:17:04 +08:00
2838d6163e update 2025-11-27 19:20:46 +08:00