Commit Graph

65 Commits

Author SHA1 Message Date
7dfa96d165 Refactor app management to use Drizzle ORM
- Replaced Sequelize models with Drizzle ORM for app and app list management.
- Updated routes in app-manager to utilize new database queries.
- Removed obsolete Sequelize model files for app, app list, and app domain.
- Introduced new helper functions for app and app domain management.
- Enhanced user app management with improved file handling and user migration.
- Adjusted public API routes to align with new database structure.
- Implemented caching mechanisms for domain management.
2026-02-07 01:26:16 +08:00
d62a75842f Refactor: Remove unused Convex HTTP routes and schema definitions
- Deleted `http.ts` which contained custom HTTP routes for authentication and JWKS.
- Removed `schema.ts` that defined database schemas for `github_starred`, `users`, and `sessions`.
- Updated `package.json` to remove the Convex dependency and updated other dependencies.
- Deleted SQL script `clear.sql` for removing constraints from tables.
- Removed `update.sh` script for updating dependencies.
- Deleted demo application routes and models in `app-demo` directory.
- Cleaned up unused modules and imports across various files.
- Removed Redis and common utility scripts that were not in use.
- Deleted test scripts related to user and bucket management.
2026-02-07 00:16:00 +08:00
32f4e9c40f 优化 S3 客户端配置,动态设置 forcePathStyle 属性以支持 Minio, 暂时只发现minio需要frocePathSylte,tos不需要 2026-02-06 19:45:17 +08:00
5200cf4c38 修复用户应用键的分隔符,从 '-' 更改为 '--',以保持一致性并优化 WebSocket 连接管理 2026-02-05 14:08:45 +08:00
bf436f05e3 优化 WebSocket 连接管理,确保在注册新连接时关闭旧连接 2026-02-05 13:38:55 +08:00
bd7525efb0 添加心跳机制以保持 WebSocket 连接,优化连接关闭时的资源清理 2026-02-05 04:58:28 +08:00
f616045625 优化用户代理逻辑,移除非管理员用户的敏感数据 2026-02-05 04:50:54 +08:00
a51d04341e 添加 @kevisual/api 依赖,更新 WebSocket 消息发送逻辑,支持上下文参数 2026-02-05 04:06:34 +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
82c9b834e9 更新依赖项,添加 flowme 插入触发器和监听器;重构数据库连接管理;优化用户路由和 SSE 处理 2026-02-01 03:58:40 +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
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
bafd02452b update 2026-01-22 23:29:20 +08:00
7b0b00feff test 2026-01-17 23:11:08 +08:00
d6da542989 temp 2026-01-17 21:17:50 +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
9f51d27398 fix: 解决问题 2025-12-28 10:52:04 +08:00
18a7c15a76 优化文件流处理,添加对 Bun 环境的支持,重构管道传输函数,改进内容类型获取逻辑 2025-12-21 14:53:22 +08:00
d1e619d04c add off 2025-12-21 13:52:31 +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
fe7863fbb8 update 2025-12-06 18:48:46 +08:00
d614cf12d1 remove: root/login 2025-12-05 01:13:51 +08:00
3aadf6dee1 fix: redirectory 修改为 home页面 2025-12-04 15:29:58 +08:00
46aa293cce fix 2025-12-03 18:17:04 +08:00
53df135696 add check wxmsg 2025-11-30 01:02:42 +08:00
2838d6163e update 2025-11-27 19:20:46 +08:00
b3993f654c update 2025-07-04 00:02:18 +08:00
41783728c8 fix selef-start 2025-05-26 23:48:30 +08:00
1f4404fa5c feat: 修改为bun,优化代码 2025-05-20 00:36:32 +08:00
9e5340066f fix: update sequelize check fail 2025-04-10 00:46:38 +08:00
466ac1bcf0 fix: fix chunk 2025-03-31 21:22:13 +08:00
d8d78d184b fix: fix mark bugs 2025-03-29 18:24:00 +08:00
530f594433 clear 2025-03-27 11:52:16 +08:00
7d93f0eef3 feat: clear app.config.json5 2025-03-26 00:55:03 +08:00
409067f13f feat: cookie和domain优化 2025-02-27 18:21:47 +08:00
3477d098b7 fix: fix错误 2025-02-26 01:59:46 +08:00
4e080a0b93 feat: 初始化应用修改 2025-02-23 10:22:06 +08:00