DrSmoothl
|
6378bb2052
|
fix Ruff
|
2026-02-21 16:29:30 +08:00 |
|
DrSmoothl
|
eaef7f0e98
|
Ruff Format
|
2026-02-21 16:24:24 +08:00 |
|
DrSmoothl
|
f66e25b1a7
|
fix(webui): fix missing imports and create toml_utils module
- Create src/common/toml_utils.py with TOML utility functions
- Fix APIAdapterConfig → ModelConfig in config.py (4 locations)
- Fix git_mirror_service import path in plugin.py
- Fix emoji.py type annotations and unused imports
- Fix jargon.py comment (ChatStreams → ChatSession)
- All routers now import successfully
- Zero Peewee remnants verified across src/webui/
|
2026-02-17 20:19:37 +08:00 |
|
DrSmoothl
|
7255cc5602
|
fix(webui): remove references to deleted Expression fields
- 移除 ExpressionUpdateRequest 中的 checked/rejected/require_unchecked 字段
- 移除更新逻辑中的 setattr
- 添加 chat_id → session_id 映射
|
2026-02-17 19:58:29 +08:00 |
|
DrSmoothl
|
390d1daefd
|
refactor(webui): migrate jargon routes from Peewee to SQLModel
- 完全迁移到 SQLModel
- chat_id → session_id 映射
- ChatStreams → ChatSession 替代
- 移除 is_global 字段
- 使用 group_id 替代 group_name
|
2026-02-17 19:58:21 +08:00 |
|
DrSmoothl
|
7da0811b5c
|
refactor(webui): migrate emoji routes from Peewee to SQLModel
- 完全迁移到 SQLModel,所有 DB 操作使用 get_db_session()
- 字段映射:image_hash → emoji_hash
- datetime 时间戳转换
- 移除 format/usage_count 字段
|
2026-02-17 19:58:14 +08:00 |
|
DrSmoothl
|
16b16d2ca6
|
重构绝大部分模块以适配新版本的数据库和数据模型,修复缺少依赖问题,更新 pyproject
|
2026-02-13 20:39:11 +08:00 |
|
DrSmoothl
|
60f76e4d4e
|
添加对 peewee 的旧数据库的兼容层,初步重构插件的 database API
|
2026-02-09 22:44:56 +08:00 |
|
UnCLAS-Prommer
|
77725ba9d8
|
逐步适配新的config
|
2026-01-15 23:51:19 +08:00 |
|
墨梓柒
|
ffafbf0a26
|
WebUI后端整体重构
|
2026-01-13 07:24:27 +08:00 |
|
墨梓柒
|
ea420f9f59
|
添加认证依赖和请求频率限制模块,增强安全性和防止API滥用
|
2025-12-14 19:39:56 +08:00 |
|
SengokuCola
|
34129bafad
|
fix:ruff
|
2025-12-02 16:04:18 +08:00 |
|
Ronifue
|
2db6399910
|
fix: 修正logger
|
2025-11-29 20:40:07 +08:00 |
|
Ronifue
|
11aeb906ac
|
fix: 修复WebUI重启后无法使用Ctrl+C停止Maibot的问题
|
2025-11-29 19:59:23 +08:00 |
|
墨梓柒
|
3935ce817e
|
Ruff Fix & format
|
2025-11-29 14:38:42 +08:00 |
|
墨梓柒
|
d134c85072
|
优化重启功能,添加延迟重启任务以确保响应已发送
|
2025-11-22 21:16:18 +08:00 |
|
墨梓柒
|
44f427dc64
|
Ruff fix
|
2025-11-19 23:35:14 +08:00 |
|
墨梓柒
|
9eb893e831
|
feat: 添加系统控制路由,支持重启和状态查询功能
|
2025-11-19 22:58:53 +08:00 |
|