Commit Graph

68 Commits

Author SHA1 Message Date
HibiKier
27d4630874 修改版本 2024-10-20 19:24:47 +08:00
HibiKier
2f459719e8
🐛 修改禁用module (#1688)
* 🐛 修改禁用module

* chore(version): Update version to v0.2.3-4cde662

---------

Co-authored-by: HibiKier <HibiKier@users.noreply.github.com>
2024-10-09 17:45:53 +08:00
HibiKier
5f92efa658
🐛 webui 添加bot详情参数 (#1686)
* 🐛 webui 添加bot详情参数

* chore(version): Update version to v0.2.3-ba3a9f1

---------

Co-authored-by: HibiKier <HibiKier@users.noreply.github.com>
2024-10-07 15:37:55 +08:00
HibiKier
fd90e1ab82
🎨 notice响应期添加rule (#1682)
* 🎨 notice响应期添加rule

* chore(version): Update version to v0.2.3-f3e5c9e

---------

Co-authored-by: HibiKier <HibiKier@users.noreply.github.com>
2024-10-05 22:37:30 +08:00
HibiKier
a28a60d9c8
🎨 功能开关代码优化 (#1680)
* 🎨 功能开关代码优化

* chore(version): Update version to v0.2.3-5f361ff

---------

Co-authored-by: HibiKier <HibiKier@users.noreply.github.com>
2024-10-05 18:02:53 +08:00
HibiKier
f0063283e7
🐛 优化功能开关管理 (#1679) 2024-10-05 16:45:02 +08:00
moelanp
42b6e94564
更新插件商店功能,支持通过模块名操作插件(#1670)
* 更新插件商店功能,支持通过模块名操作插件

- 扩展插件添加、移除和更新功能,支持使用插件ID或模块名
- 增加更新全部插件的功能
- 优化插件商店的命令使用说明
- 修复了一些与插件模块名相关的逻辑问题

* 优化插件更新和加载机制,提供测试函数

- 修复了插件更新函数中的条件判断逻辑

* 优化插件更新通知的格式

调整了插件更新通知的文本格式,去掉了多余的换行符,使消息内容更加紧凑和清晰。

* 更新测试用例中的消息格式,将插件更新通知中的空格改为换行符

* 移除版本号更新

* 重构插件管理器的数据源解析逻辑

- 将插件ID和模块名的检查逻辑移至单独的私有方法 _resolve_plugin_key
- 简化了 get_info 和 update_plugin 方法中的逻辑
- 提高了代码的可读性和可维护性

* 优化插件商店数据源类的插件查询逻辑

简化了ShopManage类中查询插件信息的逻辑。通过新增的_resolve_plugin_key类方法来解析插件ID或模块名,如果解析失败则捕获ValueError异常并返回错误信息。这样可以更清晰地处理插件查询逻辑,并避免冗余代码。

* 移除更新全部插件日志中的f-string

更新全部插件功能中,移除了日志记录中的f-string,简化了日志消息的格式。这个更改可能是为了统一日志记录的风格或者减少不必要的字符串格式化操作。

* Revert "移除版本号更新"

This reverts commit 2bcaa6f12e.

---------

Co-authored-by: molanp <molanp@users.noreply.github.com>
Co-authored-by: HibiKier <45528451+HibiKier@users.noreply.github.com>
Co-authored-by: AkashiCoin <l1040186796@gmail.com>
2024-10-02 18:32:21 +08:00
AkashiCoin
d3a4a5bbf7
🐛 fix(github_utils): 修复路径解析问题 (#1668)
* 🐛 fix(github_utils): 修复路径解析问题

* chore(version): Update version to v0.2.3-a39d7a3

---------

Co-authored-by: AkashiCoin <AkashiCoin@users.noreply.github.com>
2024-10-02 12:54:12 +08:00
HibiKier
94e05944fd
🎨 修改版本号 (#1664) 2024-10-01 00:24:45 +08:00
HibiKier
d68a4099ba
新增插件商店api (#1659)
*  新增插件商店api

* chore(version): Update version to v0.2.2-7e15f20

---------

Co-authored-by: HibiKier <HibiKier@users.noreply.github.com>
2024-09-29 20:47:58 +08:00
HibiKier
7890cc577f
安装/移除插件提供插件安装/卸载方法用于插件初始化 (#1654) 2024-09-27 10:29:59 +08:00
HibiKier
7ec1bc9fac
🐛 修复webui下载后首次启动错误 (#1652)
* 🐛 修复webui下载后首次启动错误

* chore(version): Update version to v0.2.2-4a8ef85

---------

Co-authored-by: HibiKier <HibiKier@users.noreply.github.com>
2024-09-25 19:41:45 +08:00
AkashiCoin
207f947a1c
🐛 fix(http_utils): 流式下载Content-Length错误 (#1647) 2024-09-22 17:12:21 +08:00
AkashiCoin
f2c20b84bf
🎈 perf: 使用commit号下载插件 (#1641)
* 🎈 perf: 使用commit号下载插件

* chore(version): Update version to v0.2.2-f9c7360

---------

Co-authored-by: AkashiCoin <AkashiCoin@users.noreply.github.com>
2024-09-21 17:38:37 +08:00
AkashiCoin
51c010daa8
🎈 perf(github_utils): 支持github url下载遍历 (#1632)
* 🎈 perf(github_utils): 支持github url下载遍历

* 🐞 fix(http_utils): 修复一些下载问题

* 🦄 refactor(http_utils): 部分重构

* chore(version): Update version to v0.2.2-e6f17c4

---------

Co-authored-by: AkashiCoin <AkashiCoin@users.noreply.github.com>
2024-09-16 20:08:42 +08:00
HibiKier
4882546c66 🎨 更新版本号 2024-08-29 23:21:37 +08:00
HibiKier
f5d86525d9 🎨 修改版本号 2024-08-11 20:39:36 +08:00
HibiKier
33d5cd6b5c fix bug 2023-03-12 21:53:15 +08:00
HibiKier
32e420efbb UPDATE README.md 2022-12-27 11:32:40 +08:00
HibiKier
11c1d0b827
Update __version__ 2022-11-21 20:51:17 +08:00
HibiKier
8d9e81827b 修改版本 2022-10-16 22:38:12 +08:00
HibiKier
0ea740aa7c
Update __version__ 2022-09-16 19:35:33 +08:00
HibiKier
64d8543af9 UPDATE __version__ 2022-08-21 18:42:16 +08:00
HibiKier
d695c30988
Update __version__ 2022-07-26 18:30:09 +08:00
HibiKier
28fdd9de95
Update __version__ 2022-07-04 12:29:33 +08:00
HibiKier
248fae4fe6
Update __version__ 2022-06-19 23:15:40 +08:00
HibiKier
74e9c55a09 update v0.1.5.8 2022-06-05 19:51:23 +08:00
HibiKier
558f362919 update v0.1.5.8 2022-05-29 20:47:18 +08:00
HibiKier
1040bd0d58 update v0.1.5.6 2022-05-23 22:01:56 +08:00
HibiKier
41642589ae
Update __version__ 2022-05-22 20:56:03 +08:00
HibiKier
b3b09ed666 update v0.1.5.3 2022-05-09 21:42:24 +08:00
HibiKier
901a90ff13 update v0.1.5.1 2022-05-03 02:03:06 +08:00
HibiKier
93539be492 update v0.1.5.0 2022-04-26 14:45:04 +08:00
HibiKier
c551e21766
Update __version__ 2022-04-12 00:51:37 +08:00
HibiKier
0215abac30 update v0.1.4.7 2022-04-10 22:19:50 +08:00
HibiKier
a72f126d8f fix web_ui api 2022-04-05 13:14:29 +08:00
HibiKier
0f59895c3b update v0.1.4.5 2022-04-04 20:33:37 +08:00
HibiKier
14d1512b1e update v0.1.4.4 2022-03-18 20:55:05 +08:00
HibiKier
067da9dc57 update 0.1.4.3 2022-03-03 00:18:59 +08:00
HibiKier
a72a9bd8cb
Update __version__ 2022-03-01 21:01:52 +08:00
HibiKier
7250410653
Update __version__ 2022-03-01 20:59:52 +08:00
HibiKier
12f55800b0 x 2022-03-01 20:26:11 +08:00
HibiKier
b5098be08e
Update __version__ 2022-02-27 17:32:40 +08:00
HibiKier
1fe41dd823
Update __version__ 2022-02-25 23:21:03 +08:00
HibiKier
0d3bd8a89c fix bug 2022-02-21 15:59:17 +08:00
HibiKier
f038763041 fix bug 2022-02-20 11:06:04 +08:00
HibiKier
6e0b91531e
Update __version__ 2022-02-19 20:05:36 +08:00
HibiKier
7dd68cf1ef fit nonebot.beta2 2022-02-19 18:20:19 +08:00
HibiKier
a1435e2fc4
Merge branch 'main' into main 2022-02-19 15:53:47 +08:00
HibiKier
f32d8b4eff
Update __version__ 2022-02-10 11:58:22 +08:00