Commit Graph
1983 Commits
Author SHA1 Message Date
HibiKier f1d32bff89 ✨ 提供qq协议端判断方法,广播添加to_me规则以及延迟 (#1858)
* ✨ 提供qq协议端判断方法

* 🩹 API重试添加额外错误捕获

* 🩹 广播添加延迟,添加to_me规则
2025-02-24 09:33:06 +08:00
a6ddb726d3 新增插件智能模式适配 (#1850)
* 新增插件智能模式适配

* 🚨 auto fix by pre-commit hooks

* 更改类名,命名更清晰

* 🎨 添加模块化参数

* 🎨  AI模块化修改

* 🩹  道具调用修复

* 🩹 修复商品使用前检测

* ✨ retry增加参数适配

* ✨  修改道具使用函数参数传递

* ✨ 捕获道具无法使用异常

* 🐛 添加依赖require

* 🐛  修复插件使用问题

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: HibiKier <45528451+HibiKier@users.noreply.github.com>
2025-02-24 09:28:53 +08:00
Komorebi 78df9ed086 📝 添加 Badge (#1859) 2025-02-23 15:13:16 +08:00
BalconyJH 39b39e3fdb 📝 Update bug report and feature request templates (#1857) 2025-02-22 22:25:51 +08:00
BalconyJH 2323ec1bf6 👷 Add CodeQL workflow for code security analysis 2025-02-19 09:08:12 +08:00
AkashiCoin 0e5a79ce2c 🐛 fix(plugin-store): 优先获取commit号在进行插件下载 (#1853)
* 🐛  fix(plugin-store): 优先获取commit号在进行插件下载

* ✅  perf(github-utils): 使用sourcery建议,封装更新commit方法
2025-02-18 15:32:26 +08:00
HibiKierandBalconyJH 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
BalconyJH ee55078b56 ⬆️ Upgrade nonebot-plugin-htmlrender to version 0.6.0 (#1844) 2025-02-07 13:16:24 +08:00
HibiKier 5fd746a52a 🚑 修复field在pyd1下报错 (#1842)
* 🚑 修复field在pyd1下报错

* 🐛 修正字段
2025-02-04 02:15:21 +08:00
HibiKierandpre-commit-ci[bot] 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
molanpandmolanp 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 dc143c0682 🔧 Update SESSION_EXPIRE_TIMEOUT configuration 2025-01-10 12:19:11 +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
BalconyJH e2111278d2 ⬆️ Upgrade nonebot-plugin-apscheduler to version 0.5.0, pytest-asyncio to version 0.25.1 and adjust dependencies 2025-01-10 12:19:11 +08:00
BalconyJH 73c4b327df 🔧 Refactor dev dependencies section in pyproject.toml 2025-01-10 12:19:11 +08:00
BalconyJH 2afda7b284 ➖ Unlock pydantic version 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 2c798a6cd8 ✨ 使用env中的日志等级记录日志 (#1821) 2025-01-07 10:11:57 +08:00
AkashiCoin d274b18adb 🎉 chore(version): Update version to v0.2.4-2c97eea (#1797) 2025-01-07 09:28:23 +08:00
HibiKierandFlern 2c97eeac79 🐛 移除resources,图标不存在时不会显示图片 (#1820)
Co-authored-by: Flern <cb56ec362bbbfb5272eb941281299d8d-qq_connect@git.osc>
2025-01-07 09:26:05 +08:00
HibiKierandFlern 2f939ff52b 🐛 修复商品图标显示问题,移除测试道具 (#1817)
Co-authored-by: Flern <cb56ec362bbbfb5272eb941281299d8d-qq_connect@git.osc>
2025-01-06 21:23:15 +08:00
HibiKierandFlern 2a5c06702a ✨ 新增全新商店界面 (#1816)
* 🎉 新增商店模板及样式配置

* 🎨 移除webui注释

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

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

---------

Co-authored-by: Flern <cb56ec362bbbfb5272eb941281299d8d-qq_connect@git.osc>
2025-01-06 19:21:35 +08:00
HibiKierandFlern 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
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
HibiKier 108cdd45b1 🐛 修复自检测试 (#1795) 2024-12-24 11:15:42 +08:00
AkashiCoin 012a23008b 🎉 chore(version): Update version to v0.2.4-4291cda (#1776) 2024-12-23 10:09:52 +08:00
AkashiCoin c84e99d084 🐛 fix(github_utils): 适配插件仓库根目录语法 (#1784) 2024-12-23 10:09:38 +08:00
HibiKierandBalconyJH 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
HibiKierandpre-commit-ci[bot] 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
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
ThelevenFDandpre-commit-ci[bot] 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
molanp 91352e4f3a 修复bot-check工作流 (#1777) 2024-12-17 01:29:11 +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
AkashiCoin b47c4be25d 🎉 chore(version): Update version to v0.2.4-e363d29 (#1759) 2024-12-15 16:18:11 +08:00