Commit Graph

2029 Commits

Author SHA1 Message Date
HibiKier
76cafea7d4 🩹 优化webapi返回数据 2025-02-06 11:03:49 +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
HibiKier
f80e541047 数据库添加semaphore锁 2025-02-03 13:56:12 +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
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
4929162dcd 新增数据库Model方法监控 2025-01-10 11:14:02 +08:00
HibiKier
23ef00d01f
🐛 移除神秘药水2道具 (#1828) 2025-01-09 00:11:38 +08:00
HibiKier
521bcaceeb 构建缓存,hook使用缓存 2025-01-08 15:23:10 +08:00
HibiKier
45649bb29d 添加全局cache 2025-01-07 18:29:35 +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
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
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
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
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
HibiKier
e363d29b3b
🐛 优化Bot管理插件,更新使用说明及代码结构 (#1767) 2024-12-13 15:31:18 +08:00
BalconyJH
b010eac041
chore/cleanup-dependencies (#1763)
*  移除opencv-python, aiohttp依赖,更新poetry.source配置格式

* 💚 更新pre-commit配置文件

* 🚨 移除无用导入
2024-12-13 15:00:56 +08:00
BalconyJH
b6964a92fa
分阶段构建Docker镜像,精简生成镜像体积 (#1752) (#1764)
* 🚀 更新Dockerfile (#1752)

* 🙈 忽略文件夹

* 👷 更新 Dockerfile

---------

Co-authored-by: fanyinrumeng <42991257+fanyinrumeng@users.noreply.github.com>
2024-12-13 02:07:29 +08:00
HibiKier
9afb9d343b
Bugfix/fix create user a (#1766)
* 🐛 群组用户信息批量报错时使用逐个创建

* 💬 添加报错用户信息
2024-12-12 16:42:10 +08:00