Commit Graph

248 Commits

Author SHA1 Message Date
7bbefd8a4a 添加自动检测最新版本功能,更新应用信息时支持检测参数 2026-02-05 01:07:44 +08:00
db5c5a89b3 clear 2026-02-04 19:48:02 +08:00
86d4c7f75b 移除不再支持的文件扩展名 '.mjs' 从文本内容类型列表中 2026-02-04 19:45:01 +08:00
cbc9b54284 update 2026-02-04 03:08:53 +08:00
b1d3ca241c 优化 token 处理逻辑,统一过期时间字段命名 2026-02-03 17:09:09 +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
82e3392b36 优化 token 处理逻辑,统一 createCookie 调用格式,返回 token 过期时间 2026-02-02 17:02:20 +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
82c9b834e9 更新依赖项,添加 flowme 插入触发器和监听器;重构数据库连接管理;优化用户路由和 SSE 处理 2026-02-01 03:58:40 +08:00
7c61bd3ac5 添加 flowme 和 flowme-channel 路由,支持增删改查功能;更新 schema 以包含相关字段 2026-01-31 18:27:21 +08:00
eab14b9fe3 更新依赖项 commander 到版本 14.0.3;调整导入路径以使用 S3 模块;添加成功移动和备份用户的日志输出 2026-01-31 14:16:54 +08:00
296286bdaf Refactor code structure for improved readability and maintainability 2026-01-31 05:15:25 +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
c3624a59de 优化 auth 中间件的日志输出;注释掉未使用的路由定义;更新 page-proxy-app 路由的描述和中间件 2026-01-26 20:53:51 +08:00
c4e5668b29 update 2026-01-26 18:52:41 +08:00
27f170ae2b 更新 package.json 版本号至 0.0.12;优化 isLocalhost 函数以处理空主机名;修复 handleRequest 中对 dns.hostName 的访问;在轻代码列表中添加 code 字段;更新示例路由描述 2026-01-26 04:24:00 +08:00
3464bd240b 更新数据库配置,添加默认时间戳,优化轻代码路由处理,新增示例代码文件 2026-01-26 03:46:32 +08:00
0e350b1bca clear old code 2026-01-26 03:02:55 +08:00
4bc58460b4 remove old apps 2026-01-26 03:01:29 +08:00
a9d725eb29 add convex 2026-01-26 02:44:17 +08:00
9ff4057166 update 2026-01-25 03:23:42 +08:00
bafd02452b update 2026-01-22 23:29:20 +08:00
3618d18915 fix: remove unused external dependency '@kevisual/router' 2026-01-18 20:57:22 +08:00
7b0b00feff test 2026-01-17 23:11:08 +08:00
d6da542989 temp 2026-01-17 21:17:50 +08:00
dec540d055 update 2026-01-17 12:07:59 +08:00
e12908f54f add stat fix 2026-01-17 00:41:14 +08:00
94d7d6e8a2 fix: fix pipe types 2026-01-15 23:43:41 +08:00
07b4b0618a update use-config 2026-01-15 18:02:49 +08:00
59c7eb57fa update 2026-01-09 13:04:48 +08:00
25a98886d2 update 2026-01-08 13:08:54 +08:00
93879b532b update 2026-01-05 02:02:51 +08:00
c6715c2e35 feat: enhance router views functionality and permissions
- Added new router views schema and types for better structure and type safety.
- Implemented CRUD operations for router views including listing, updating, retrieving, and deleting views.
- Introduced permission checks to ensure users can only access and modify their own views.
- Updated prompts route to include additional permission checks for updating and retrieving prompts.
- Refactored common query tests to align with new configurations.
- Organized route imports for better maintainability.
2025-12-31 17:55:13 +08:00
8731801b52 feat(container): add CRUD operations for container management
- Implemented routes for listing, retrieving, updating, and deleting containers.
- Added ContainerModel with necessary fields and methods for data handling.
- Created utility functions for fetching container data by ID.

feat(page): enhance page management with CRUD and publish functionality

- Developed routes for managing pages, including listing, updating, and deleting.
- Integrated caching and zip file generation for page exports.
- Added publish functionality to manage app versions and file uploads.

feat(prompts): implement prompt management with CRUD operations

- Created routes for listing, updating, and deleting prompts.
- Added pagination and search capabilities for prompt listing.

test: add common query utilities and prompt tests

- Implemented common query utilities for API interactions.
- Added tests for prompt listing functionality.
2025-12-30 13:28:50 +08:00
27e5fb5e82 remove 2025-12-30 00:46:07 +08:00
7370f649c4 update 2025-12-29 23:09:06 +08:00
df6db9d88b remove sync 2025-12-28 16:16:23 +08:00
9f51d27398 fix: 解决问题 2025-12-28 10:52:04 +08:00
868979a423 update 2025-12-25 16:59:45 +08:00
18a7c15a76 优化文件流处理,添加对 Bun 环境的支持,重构管道传输函数,改进内容类型获取逻辑 2025-12-21 14:53:22 +08:00
d1e619d04c add off 2025-12-21 13:52:31 +08:00
5e43c5fc4c 使用 busboy 解析 multipart/form-data,添加 preservePath 选项以保留文件路径 2025-12-21 13:48:21 +08:00
8a633feb4f 更新依赖项,使用 Busboy 替代 formidable 处理文件上传,优化上传逻辑,改进权限检查 2025-12-21 06:41:27 +08:00
15fcfdad18 更新依赖项,优化 WebSocket 处理,添加文件流管道功能,改进用户认证逻辑 2025-12-21 02:06:38 +08:00
d22be3a840 更新依赖项,优化 WebSocket 处理,添加系统版本路由 2025-12-20 05:13:17 +08:00
76924b008c update packages 2025-12-19 16:13:15 +08:00
1f11013ae0 更新依赖项和上传接口,添加描述字段 2025-12-17 11:22:46 +08:00