Commit Graph

11 Commits

Author SHA1 Message Date
0be7627bd1 优化用户查找逻辑,新增根据微信 UnionId 查找用户的方法,简化数据库查询 2026-02-07 02:36:29 +08:00
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
82c9b834e9 更新依赖项,添加 flowme 插入触发器和监听器;重构数据库连接管理;优化用户路由和 SSE 处理 2026-02-01 03:58:40 +08:00
7c61bd3ac5 添加 flowme 和 flowme-channel 路由,支持增删改查功能;更新 schema 以包含相关字段 2026-01-31 18:27:21 +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
3464bd240b 更新数据库配置,添加默认时间戳,优化轻代码路由处理,新增示例代码文件 2026-01-26 03:46:32 +08:00
4bc58460b4 remove old apps 2026-01-26 03:01:29 +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
9f51d27398 fix: 解决问题 2025-12-28 10:52:04 +08:00