Rumio
|
07be73c1b7
|
✨ feat(avatar): 引入头像缓存服务并优化头像获取 (#2055)
检查bot是否运行正常 / bot check (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
Sequential Lint and Type Check / ruff-call (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Force Sync to Aliyun / sync (push) Has been cancelled
Update Version / update-version (push) Has been cancelled
Sequential Lint and Type Check / pyright-call (push) Has been cancelled
Co-authored-by: webjoin111 <455457521@qq.com>
|
2025-09-28 08:53:10 +08:00 |
|
Rumio
|
6124e217d0
|
♻️ refactor(UI): 重构UI渲染服务为组件化分层架构 (#2025)
检查bot是否运行正常 / bot check (push) Waiting to run
Sequential Lint and Type Check / ruff-call (push) Waiting to run
Sequential Lint and Type Check / pyright-call (push) Blocked by required conditions
Release Drafter / Update Release Draft (push) Waiting to run
Force Sync to Aliyun / sync (push) Waiting to run
Update Version / update-version (push) Waiting to run
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
* ♻️ refactor(UI): 重构UI渲染服务为组件化分层架构
♻️ **架构重构**
- UI渲染服务重构为组件化分层架构
- 解耦主题管理、HTML生成、截图功能
✨ **新增功能**
- `zhenxun.ui` 统一入口,提供 `render`、`markdown`、`vstack` 等API
- `RenderableComponent` 基类和渲染协议抽象
- 新增主题管理器和截图引擎模块
⚙️ **配置优化**
- UI配置迁移至 `superuser/ui_manager.py`
- 新增"重载UI主题"管理指令
🔧 **性能改进**
- 优化渲染缓存,支持组件级透明缓存
- 所有UI组件适配新渲染流程
* 🚨 auto fix by pre-commit hooks
---------
Co-authored-by: webjoin111 <455457521@qq.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2025-08-18 23:08:22 +08:00 |
|
Rumio
|
11524bcb04
|
♻️ refactor: 统一图片渲染架构并引入通用UI组件系统 (#2019)
检查bot是否运行正常 / bot check (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, python) (push) Has been cancelled
Sequential Lint and Type Check / ruff-call (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Force Sync to Aliyun / sync (push) Has been cancelled
Update Version / update-version (push) Has been cancelled
Sequential Lint and Type Check / pyright-call (push) Has been cancelled
* ♻️ refactor: 统一图片渲染架构并引入通用UI组件系统
🎨 **渲染服务重构**
- 统一图片渲染入口,引入主题系统支持
- 优化Jinja2环境管理,支持主题覆盖和插件命名空间
- 新增UI缓存机制和主题重载功能
✨ **通用UI组件系统**
- 新增 zhenxun.ui 模块,提供数据模型和构建器
- 引入BaseBuilder基类,支持链式调用
- 新增多种UI构建器:InfoCard, Markdown, Table, Chart, Layout等
- 新增通用组件:Divider, Badge, ProgressBar, UserInfoBlock
🔄 **插件迁移**
- 迁移9个内置插件至新渲染系统
- 移除各插件中分散的图片生成工具
- 优化数据处理和渲染逻辑
💥 **Breaking Changes**
- 移除旧的图片渲染接口和模板路径
- TEMPLATE_PATH 更名为 THEMES_PATH
- 插件需适配新的RendererService和zhenxun.ui模块
* ✅ test(check): 更新自检插件测试中的渲染服务模拟
* ♻️ refactor(renderer): 将缓存文件名哈希算法切换到 SHA256
* ♻️ refactor(shop): 移除商店HTML图片生成模块
* 🚨 auto fix by pre-commit hooks
---------
Co-authored-by: webjoin111 <455457521@qq.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2025-08-15 16:34:37 +08:00 |
|
HibiKier
|
8649aaaa54
|
✨ 引入缓存机制 (#1889)
* 添加全局cache
* ✨ 构建缓存,hook使用缓存
* ✨ 新增数据库Model方法监控
* ✨ 数据库添加semaphore锁
* 🩹 优化webapi返回数据
* ✨ 添加增量缓存与缓存过期
* 🎨 优化检测代码结构
* ⚡ 优化hook权限检测性能
* 🐛 添加新异常判断跳过权限检测
* ✨ 添加插件limit缓存
* 🎨 代码格式优化
* 🐛 修复代码导入
* 🐛 修复刷新时检查
* 👽 Rename exception for missing database URL in initialization
* ♿ Update default database URL to SQLite in configuration
* 🔧 Update tortoise-orm and aiocache dependencies restrictions; add optional redis and asyncpg support
* 🐛 修复ban检测
* 🐛 修复所有插件关闭时缓存更新
* 🐛 尝试迁移至aiocache
* 🐛 完善aiocache缓存
* ⚡ 代码性能优化
* 🐛 移除获取封禁缓存时的日志记录
* 🐛 修复缓存类型声明,优化封禁用户处理逻辑
* 🐛 优化LevelUser权限更新逻辑及数据库迁移
* ✨ cache支持redis连接
* 🚨 auto fix by pre-commit hooks
* ⚡ :增强获取群组的安全性和准确性。同时,优化了缓存管理中的相关逻辑,确保缓存操作的一致性。
* ✨ feat(auth_limit): 将插件初始化逻辑的启动装饰器更改为优先级管理器
* 🔧 修复日志记录级别
* 🔧 更新数据库连接字符串
* 🔧 更新数据库连接字符串为内存数据库,并优化权限检查逻辑
* ✨ feat(cache): 增加缓存功能配置项,并新增数据访问层以支持缓存逻辑
* ♻️ 重构cache
* ✨ feat(cache): 增强缓存管理,新增缓存字典和缓存列表功能,支持过期时间管理
* 🔧 修复Notebook类中的viewport高度设置,将其从1000调整为10
* ✨ 更新插件管理逻辑,替换缓存服务为CacheRoot并优化缓存失效处理
* ✨ 更新RegisterConfig类中的type字段
* ✨ 修复清理重复记录逻辑,确保检查记录的id属性有效性
* ⚡ 超级无敌大优化,解决延迟与卡死问题
* ✨ 更新封禁功能,增加封禁时长参数和描述,优化插件信息返回结构
* ✨ 更新zhenxun_help.py中的viewport高度,将其从453调整为10,以优化页面显示效果
* ✨ 优化插件分类逻辑,增加插件ID排序,并更新插件信息返回结构
---------
Co-authored-by: BalconyJH <balconyjh@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2025-07-14 22:35:29 +08:00 |
|
mio
|
8c0a600525
|
✨ 增强消息统计功能
- 新增用户头像显示
- 添加是否显示已退群用户的配置选项
- 优化移除退群用户后的排行数量显示
- 新增季消息排行选项
- 更新插件版本至0.2
|
2025-05-16 14:30:48 +08:00 |
|
BalconyJH
|
b548ea522b
|
🐛 Refactor chat message handling to improve message storage and error logging
|
2025-04-04 20:41:17 +08:00 |
|
HibiKier
|
264929e5cb
|
✨ 新增好感度/金币设置和详细帮助 (#1831)
* ✨ 新增好感度/金币设置和详细帮助
* 🔧 修复html帮助
|
2025-01-10 18:39:23 +08:00 |
|
HibiKier
|
e814469b75
|
✨ Compatible with pydantic 2.0 using the pydantic compatibility layer provided by nonebot
|
2025-01-10 12:19:11 +08:00 |
|
BalconyJH
|
bc5a9c4fcc
|
Develop: 完全使用 ruff 替代 isort 与 black (#1757)
* 🚨 完全使用 ruff 替代 isort 与 black
* 🚨 ruff lint&format
|
2024-12-10 19:49:11 +08:00 |
|
HibiKier
|
e0a3fe526e
|
🎨 统一发送格式
|
2024-08-10 02:25:04 +08:00 |
|
HibiKier
|
fb171e2d4b
|
✨ 两日内未发送消息的群组将被关闭所有被动
|
2024-08-08 04:41:35 +08:00 |
|
HibiKier
|
21b73b085e
|
🎨 删除多余包引入
|
2024-08-04 19:34:02 +08:00 |
|
HibiKier
|
1526611413
|
⚡️ 消息排行添加shortcut
|
2024-08-04 19:31:21 +08:00 |
|
HibiKier
|
714f5564d0
|
feat✨: 新增消息统计功能及修复相关错误
|
2024-07-31 17:35:08 +08:00 |
|
HibiKier
|
aa68553539
|
fix🐛: 修改图片bytes发送
|
2024-02-28 00:38:54 +08:00 |
|
HibiKier
|
993ff81130
|
feat✨: 添加shortcut和usage
|
2024-02-27 16:12:56 +08:00 |
|
HibiKier
|
499e51e996
|
perf👌: 添加shortcut
|
2024-02-27 02:30:01 +08:00 |
|
HibiKier
|
eb0572ea77
|
feat✨: 更新内置插件
|
2024-02-25 03:18:34 +08:00 |
|