Commit Graph

18 Commits (3696c298f817037ab0ae9a68f409032b11160f78)

Author SHA1 Message Date
墨梓柒 3696c298f8
feat:新增获取本地已安装插件 README 文件的 API 2025-12-27 21:00:07 +08:00
墨梓柒 e46e93e0b6
feat: 添加插件原始配置的获取和更新接口,支持配置文件备份 2025-12-18 14:02:16 +08:00
墨梓柒 74a2f4346a
Ruff Format 2025-12-14 21:39:09 +08:00
墨梓柒 6055b087f0
添加 WebSocket 认证模块,支持临时 token 认证机制,增强安全性并解决 Cookie 不可用问题 2025-12-14 20:08:49 +08:00
墨梓柒 0b87b32480
更新插件系统文档和配置类型定义 2025-12-14 01:06:38 +08:00
墨梓柒 e680a4d1f5
Ruff format 2025-12-13 17:14:09 +08:00
晴空 3e555dd66c
Remove unused _deep_merge function
Removed the _deep_merge function from plugin_routes.py.
2025-12-06 23:20:20 +08:00
晴空 f7ac70fa1e
Add deep_merge function and improve key handling
Add a function to deep merge two dictionaries, allowing src values to overwrite or merge into dst. Update key handling in normalize_dotted_keys to improve logging and handling of empty keys.
2025-12-06 23:12:32 +08:00
晴空 a14e5b84c1
Implement utility functions for plugin config handling
Added utility functions for normalizing dotted keys and coercing types in plugin configuration.
2025-12-06 22:45:38 +08:00
Ronifue dd73030919 fix: 简化逻辑 2025-12-02 16:20:44 +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
Ronifue f68b9aa109 feat: 对自动化处理的toml进行格式化,以及修复通知消息导致的报错 2025-11-29 15:53:33 +08:00
墨梓柒 3935ce817e
Ruff Fix & format 2025-11-29 14:38:42 +08:00
墨梓柒 d7932595e8
feat: 使用 tomlkit 替换 toml,增强配置文件的读取和写入功能,保留注释和格式 2025-11-29 14:24:10 +08:00
墨梓柒 321c784434
feat: 增强插件配置管理,添加配置 Schema 和更新接口 2025-11-29 00:01:25 +08:00
墨梓柒 513182067d
feat: 优化任务调度和插件管理,支持路径规范化及插件 ID 自动生成 2025-11-24 21:29:04 +08:00
墨梓柒 44f427dc64
Ruff fix 2025-11-19 23:35:14 +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