Commit Graph

14 Commits

Author SHA1 Message Date
墨梓柒
ea420f9f59 添加认证依赖和请求频率限制模块,增强安全性和防止API滥用 2025-12-14 19:39:56 +08:00
墨梓柒
e680a4d1f5 Ruff format 2025-12-13 17:14:09 +08:00
墨梓柒
6680afaa4a feat: 更新 token 处理逻辑,清除 Cookie 并要求用户重新登录;保留 first_setup_completed 状态 2025-12-03 11:31:13 +08:00
墨梓柒
b79ee9855c feat: 添加黑话管理路由,支持黑话的增删改查功能 2025-12-02 13:46:16 +08:00
墨梓柒
c790dcb705 feat: Enhance authentication mechanism to support token retrieval from both Cookie and Header
- Added a new auth module to manage authentication-related functions.
- Updated existing routes in expression_routes, person_routes, plugin_routes, and routes to utilize the new authentication methods.
- Implemented CORS middleware in webui_server for development environment support.
- Introduced functions to set and clear authentication cookies.
- Enhanced token verification to prioritize Cookie over Header for improved security and flexibility.
2025-11-30 15:53:39 +08:00
墨梓柒
0a0fb8ee55 feat:添加模型列表获取API路由 2025-11-26 22:42:46 +08:00
墨梓柒
44f427dc64 Ruff fix 2025-11-19 23:35:14 +08:00
墨梓柒
9eb893e831 feat: 添加系统控制路由,支持重启和状态查询功能 2025-11-19 22:58:53 +08:00
墨梓柒
74f9beb231 feat: 添加首次配置状态管理功能,支持获取、标记完成和重置配置状态 2025-11-19 14:59:31 +08:00
墨梓柒
4141c25fdd feat: add WebSocket plugin progress notification module and integrate with plugin management routes
- Implemented a WebSocket endpoint for broadcasting plugin loading progress.
- Created functions to update and broadcast progress status to connected clients.
- Integrated progress updates into plugin management routes for operations like fetching, cloning, installing, uninstalling, and updating plugins.
- Added error handling and logging for progress updates and WebSocket connections.
2025-11-18 22:54:25 +08:00
墨梓柒
4e03cfac2a feat: 添加人物信息、表达方式和表情包管理 API 路由 2025-11-17 21:04:29 +08:00
墨梓柒
6307d92acc feat: 添加统计数据API路由以支持统计信息的获取 2025-11-17 15:43:11 +08:00
墨梓柒
1c1d8fd3af feat: 添加配置管理API路由和配置架构 2025-11-17 00:09:17 +08:00
墨梓柒
cae61281a0 feat: 添加 WebUI 模块及相关 API 路由和 Token 管理功能 2025-11-14 23:31:53 +08:00