Commit Graph

266 Commits

Author SHA1 Message Date
AkashiCoin
0e5a79ce2c
🐛 fix(plugin-store): 优先获取commit号在进行插件下载 (#1853)
* 🐛  fix(plugin-store): 优先获取commit号在进行插件下载

*   perf(github-utils): 使用sourcery建议,封装更新commit方法
2025-02-18 15:32:26 +08:00
HibiKier
aef2597b46
添加自动同意群组请求 (#1848)
*  添加自动同意群组请求

*  Add nonebot-plugin-waiter

---------

Co-authored-by: BalconyJH <balconyjh@gmail.com>
2025-02-12 23:32:46 +08:00
HibiKier
41613c09a9
提供一个插件好感度限制 (#1846)
*  提供一个插件好感度限制

* 💬 在提示中显示需要的好感度
2025-02-10 15:39:18 +08:00
HibiKier
5fd746a52a
🚑 修复field在pyd1下报错 (#1842)
* 🚑 修复field在pyd1下报错

* 🐛 修正字段
2025-02-04 02:15:21 +08:00
HibiKier
4ed1791b30
🐛 修复添加插件依赖更新 (#1837)
* 🐛 修复添加插件依赖更新

* 🔧 修改插件依赖安装命令为使用poetry运行pip

* 🐛 修复群组入群与退群提示

* 🐛 修复群组踢出用户提醒

* 🎨 代码优化

* 🎨 群欢迎迁移优化

* 🩹 精确webui调用统计

* 🚨 auto fix by pre-commit hooks

* 🐛 修复测试

* 🎨 fix pre-commit.ci

* 🎨  fix pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-03 21:23:14 +08:00
BalconyJH
d6fd5f170a
🚨 Make pyright happy (#1840) 2025-01-27 03:40:50 +08:00
molanp
40779e05e8
修复文本错误 (#1839)
Co-authored-by: molanp <molanp>
2025-01-25 18:29:14 +08:00
HibiKier
d0b1024566
🐛 修复Config add配置时显示问题 (#1835) 2025-01-16 09:13:28 +08:00
HibiKier
63145ffee0
🐛 修复商店购买 (#1834)
*  优化商店模块查询与修复购买逻辑

*  修复商店购买逻辑及优化商品展示
2025-01-13 14:33:38 +08:00
HibiKier
264929e5cb
新增好感度/金币设置和详细帮助 (#1831)
*  新增好感度/金币设置和详细帮助

* 🔧 修复html帮助
2025-01-10 18:39:23 +08:00
HibiKier
0462703b13 Repair self-test 2025-01-10 12:19:11 +08:00
HibiKier
73d2ed444e Add fastapi dependency and remove nonebot-plugin-userinfo 2025-01-10 12:19:11 +08:00
HibiKier
ccee16bed2 🚨 Add specific ignore items in pyright ignore
🚨 Make pyright happy
♻️ Remove unused adapter
2025-01-10 12:19:11 +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
HibiKier
23ef00d01f
🐛 移除神秘药水2道具 (#1828) 2025-01-09 00:11:38 +08:00
HibiKier
893611def0
🚑 修复插件配置项显示 (#1824) 2025-01-07 16:41:42 +08:00
HibiKier
e124c1dbdb
🚑 修复商品图标显示 (#1823) 2025-01-07 14:50:47 +08:00
HibiKier
2c97eeac79
🐛 移除resources,图标不存在时不会显示图片 (#1820)
Co-authored-by: Flern <cb56ec362bbbfb5272eb941281299d8d-qq_connect@git.osc>
2025-01-07 09:26:05 +08:00
HibiKier
2f939ff52b
🐛 修复商品图标显示问题,移除测试道具 (#1817)
Co-authored-by: Flern <cb56ec362bbbfb5272eb941281299d8d-qq_connect@git.osc>
2025-01-06 21:23:15 +08:00
HibiKier
2a5c06702a
新增全新商店界面 (#1816)
* 🎉 新增商店模板及样式配置

* 🎨 移除webui注释

* 🎨 新增神秘药水道具及商店样式调整

* 🎨 添加商店样式底部边距调整

---------

Co-authored-by: Flern <cb56ec362bbbfb5272eb941281299d8d-qq_connect@git.osc>
2025-01-06 19:21:35 +08:00
HibiKier
ec70144d7e
资源下载分离 (#1814)
* 🚀 资源文件单独下载,分离被动任务初始化

* 🔥 移除resources文件夹

* 🚀 优化版本更新逻辑,增加资源下载异常处理

* 🚀 增加资源下载失败异常处理及提示信息

* 🚀 增加资源下载选项及异常处理优化

* 🚀 移除空ID检查及资源更新条件处理

*  简易配置中未加载的配置将被移除

* 🐛 测试更新

*  修复更新完成消息格式

---------

Co-authored-by: Flern <cb56ec362bbbfb5272eb941281299d8d-qq_connect@git.osc>
2025-01-06 11:32:56 +08:00
HibiKier
91dce56bf8
🐛 修复群组中插件默认状态 (#1810) 2024-12-30 16:44:13 +08:00
HibiKier
35014e4048
重构webui适配 (#1801)
* ♻️ 使用Uninfo重构PlatformUtils基础方法

* 🩹 优化插件加载与模块格式转换逻辑

* 🚑 修复商店道具无法使用

* 🚑 修复道具无法正常使用

* 🔧 增加Bot状态管理及模块禁用功能

* 🎨  优化Web UI代码结构,修改target方法

* 🚨 auto fix by pre-commit hooks

* 🎨 添加菜单API及优化异常处理

* 🐛 优化菜单API及模型结构,修复WebUi插件列表Api

* 📝 更新仓库readme

* 🚨 add mdlint file

* 📝 Add help chapter.

* 🐛 修复优化AuthChecker逻辑

* 🐛 优化数据库API,移除冗余导入及修正SQL_DICT引用

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: BalconyJH <balconyjh@gmail.com>
2024-12-25 12:03:49 +08:00
HibiKier
ebf05fd884
🚑 修复道具购买限制检查 (#1796) 2024-12-24 11:26:52 +08:00
AkashiCoin
c84e99d084
🐛 fix(github_utils): 适配插件仓库根目录语法 (#1784) 2024-12-23 10:09:38 +08:00
HibiKier
4291cda244
️ 优化自检插件逻辑,增加规则判断,添加nonebug配置 (#1792)
* ⬆️ Expand the range of nonebug version restrictions and update nonebot-plugin-alconna.

*  Update pytest configuration.

*  Add pytest hook to tag async tests with session-scoped event loop.

* ️ 优化自检插件逻辑,增加规则判断

---------

Co-authored-by: BalconyJH <balconyjh@gmail.com>
2024-12-23 10:09:06 +08:00
HibiKier
3a197c0c1d
🐛 修复使用道具错误 (#1790) 2024-12-21 23:52:17 +08:00
BalconyJH
a34e433ebf
🐛 Fix help_type in create_help_img may be none and cause AttributeError. (#1791) 2024-12-21 20:46:00 +08:00
梦璃雨落
176b5c9afd
🐞 fix(web_ui): 修复webui导入路径错误 (#1785) 2024-12-20 10:28:36 +08:00
HibiKier
a8e4d29031
🐛 修改webui导入路径 (#1783)
* 🐛 修改webui导入路径

* 🚨 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-19 09:51:31 +08:00
molanp
a15303a891
重构插件商店更新逻辑&彻底修复工作流 (#1782)
* 修复bot-check工作流

* Update bot_check.yml

* 修复依赖问题

* 修复戳一戳自检鉴权

* 🚨 auto fix by pre-commit hooks

* 优化工作流执行顺序

* 更新插件测试

* 更新插件商店

* 🚨 auto fix by pre-commit hooks

* Update bot_check.yml

* Update bot_check.yml

* Update bot_check.yml

* 请求 @ThelevenFD 修复测试

* 🚨 auto fix by pre-commit hooks

* Update zhenxun/builtin_plugins/plugin_store/data_source.py

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* 修复代码过长的问题

* 🚨 auto fix by pre-commit hooks

* 同步check.py

* Update test_check.py

* 🚨 auto fix by pre-commit hooks

---------

Co-authored-by: ThelevenFD <104363913+ThelevenFD@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2024-12-19 09:15:39 +08:00
ThelevenFD
ccf043d670
修复戳一戳自检鉴权 (#1780)
* 修复戳一戳自检鉴权

* 🚨 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-18 08:49:16 +08:00
HibiKier
5956ec1148
♻️ 重构群欢迎消息插件,支持多条消息随机发送 (#1768) (#1774) 2024-12-16 22:56:17 +08:00
ThelevenFD
cf29fbcf74
新增戳一戳自检 (#1773)
* Update Check

增加戳一戳获取自检

* 新增获取自检状态方法

* 可和戳一戳同时触发

* 增加配置项
2024-12-16 22:55:12 +08:00
HibiKier
e363d29b3b
🐛 优化Bot管理插件,更新使用说明及代码结构 (#1767) 2024-12-13 15:31:18 +08:00
HibiKier
9afb9d343b
Bugfix/fix create user a (#1766)
* 🐛 群组用户信息批量报错时使用逐个创建

* 💬 添加报错用户信息
2024-12-12 16:42:10 +08:00
HibiKier
bd363a576b 🐛 修复webui-api路径导入 2024-12-11 17:20:25 +08:00
BalconyJH
64b5316570
🐛 fix bot console init (#1760) 2024-12-11 09:31:51 +08:00
HibiKier
5590445679
添加Bot管理插件 (#1758)
Co-authored-by: BalconyJH <73932916+BalconyJH@users.noreply.github.com>
2024-12-10 20:16:14 +08:00
BalconyJH
bc5a9c4fcc
Develop: 完全使用 ruff 替代 isort 与 black (#1757)
* 🚨 完全使用 ruff 替代 isort 与 black

* 🚨 ruff lint&format
2024-12-10 19:49:11 +08:00
HibiKier
c7c759f2b1
插件配置新增is_show控制是否显示在菜单中 (#1749) 2024-11-29 10:01:50 +08:00
HibiKier
900cf6fa53
🎨 对zhenxun版本帮助进行排序优化页面效果 (#1748) 2024-11-28 23:02:12 +08:00
HibiKier
584026c23c
⬆️ 提高pil依赖版本 (#1746) 2024-11-28 20:20:23 +08:00
HibiKier
6e740657b6
️ 减少插件限制查询次数 (#1743) 2024-11-26 19:29:32 +08:00
HibiKier
dd39a2ac2e 🔊 添加更多debug日志 2024-11-24 18:00:51 +08:00
HibiKier
3b1a399d5f
添加小真寻的口癖配置 (#1738) 2024-11-23 21:37:00 +08:00
HibiKier
5c0171767c 🐛 修复插件限制加载显示 2024-11-23 14:49:53 +08:00
HibiKier
857999db07
🎨 重启代码结构优化 (#1737) 2024-11-22 10:27:10 +08:00
HibiKier
4e4b4590c4 🎨 排行榜代码优化与修改版本 2024-11-22 10:05:54 +08:00
HibiKier
03d8b3aafd 🐛 允许超级用户撤回任意消息 2024-11-20 09:17:57 +08:00