Commit Graph

229 Commits

Author SHA1 Message Date
Ju4tCode
a8a76393a5
Feature: 重构驱动器 lifespan 方法 (#1860) 2023-03-29 15:59:54 +08:00
Ju4tCode
2a2f7b6dce
🐛 detect runtime plugin (#1857) 2023-03-29 12:22:50 +08:00
Ju4tCode
1213e89bf5
add coverage condition annotation (#1858) 2023-03-29 11:57:33 +08:00
Johnny Hsieh
3e92fccd4e
Feature: 为子依赖添加 PEP593 Annotated 支持 (#1832)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-03-22 20:54:46 +08:00
Ju4tCode
78bbf9e623
🐛 Fix: 修复 bot hook 缺少依赖缓存和上下文管理 (#1826) 2023-03-20 22:37:57 +08:00
Ju4tCode
36e99bc3ea
Feature: 移除内置响应规则事件类型限制 (#1824) 2023-03-19 15:45:32 +08:00
Ju4tCode
d0f832c4cd
Feature: 添加 get_adapter 类型 overload (#1755)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-28 14:46:09 +08:00
Ju4tCode
433c672130
Feature: 命令匹配支持强制指定空白符 (#1748) 2023-02-27 00:11:24 +08:00
Ju4tCode
04a7c3bc13
add get adapter (#1747) 2023-02-26 14:15:10 +08:00
Ju4tCode
74743e6176
Develop: 升级 NoneBug 版本 (#1725) 2023-02-22 23:32:48 +08:00
Ju4tCode
73126535ef
⬆️ upgrade pre-commit config (#1674)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-05 12:57:31 +08:00
uy/sun
69edb98835
Feature: 将 block driver 转正为 none 驱动器 (#1522) 2023-01-01 15:08:00 +08:00
Ju4tCode
5c4ef8fc00
🐛 Fix: 修复客户端请求未处理 cookies (#1491) 2022-12-21 14:39:05 +08:00
Ju4tCode
a5d26b7747
add pycln to auto remove unused imports (#1481) 2022-12-17 17:04:38 +08:00
Akirami
36d7b44741
Feature: 添加正则匹配文本注入 (#1457)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-09 14:42:54 +08:00
Akirami
06c33ad6ea
Feature: 支持主动销毁事件响应器 (#1444)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-06 14:19:48 +08:00
Ju4tCode
e8ffa63b78
🐛 fix argument parser message (#1426) 2022-11-29 12:00:09 +08:00
Ju4tCode
2922da7b2f
Feature: 支持自定义 matchers 存储管理 (#1395) 2022-11-21 18:44:55 +08:00
Ju4tCode
db534b8824
Feature: 新增 dotenv 嵌套配置项支持 (#1324)
Co-authored-by: hemengyang <hmy0119@hotmail.com>
2022-10-14 09:58:44 +08:00
Akirami
8377680fd7
Feature: 添加 State 响应器触发消息注入 (#1315) 2022-10-12 13:41:28 +08:00
Ju4tCode
71aad502d1
🐛 Fix: 内置规则和权限没有捕获错误 (#1291) 2022-09-29 16:56:06 +08:00
AkiraXie
31022a653d
Feature: SUPERUSER 权限匹配任意超管事件 (#1275)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-18 22:33:36 +08:00
Ju4tCode
8c42490a7e
🔇 Feature: 调整日志输出格式与等级 (#1233) 2022-09-09 11:52:57 +08:00
Ju4tCode
cd30be21ba
🐛 fix nested user permission update (#1208) 2022-09-01 10:41:43 +08:00
Lan
1cfdee2645
Featue: load_plugin 支持 pathlib.Path (#1194)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2022-08-31 10:07:14 +08:00
Ju4tCode
3fda978064
Feature: 新增事件类型过滤 rule (#1183) 2022-08-30 09:54:09 +08:00
Ju4tCode
3f8af04803
add rich text support for shell command (#1171) 2022-08-24 09:54:08 +08:00
Mix
92ff1df419
🐛 修复当消息与不支持的类型相加时抛出的异常类型错误 (#1166) 2022-08-22 14:39:00 +08:00
Ju4tCode
898c29d7ee
💥 remove deprecated nonebot.plugins toml table (#1151)
Feature: 移除过时的 `nonebot.plugins` toml 配置
2022-08-16 10:03:37 +08:00
Ju4tCode
4974c596ec
💥 remove Python 3.7 support (#1148) 2022-08-14 19:41:00 +08:00
Ju4tCode
1766d4da69
💥 remove deprecated export (#1125) 2022-08-08 21:07:36 +08:00
Ju4tCode
2192e8cb6d
🐛 fix parent detect error after require (#1121) 2022-08-04 13:39:20 +08:00
Dobiichi-Origami
c03b0c73cb
Feature: on_x 支持 expire_time 参数 (#1106)
Co-authored-by: Dobiichi-Origami <454470535@qq.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: yanyongyu <42488585+yanyongyu@users.noreply.github.com>
2022-07-20 10:21:31 +08:00
Ju4tCode
f11970132c
Fix: 修复 MessageSegment 在有额外数据时报错 (#1055) 2022-06-20 15:52:12 +08:00
Ju4tCode
06ee47edcd
Feature: 添加插件元信息定义 (#1046) 2022-06-20 15:49:53 +08:00
Ju4tCode
7b06469a30
🐛 fix env var not override dotenv file (#1052) 2022-06-18 14:47:42 +08:00
Ju4tCode
ae21bfdd0e
👷 fix python ci cache path error (#1012)
* 👷 fix python ci cache path error

* 🐛 fix path error

* ✏️ fix typo
2022-05-27 11:25:51 +08:00
Ju4tCode
fa3ed2b58c
improve plugin system (#1011) 2022-05-26 16:35:47 +08:00
Ju4tCode
6feed0610b
🐛 fix union validation error (#1001) 2022-05-22 19:42:30 +08:00
Ju4tCode
56f99b7f0b
Feat: 支持 WebSocket 连接同时获取 str 或 bytes (#962) 2022-05-14 21:06:57 +08:00
MingxuanGame
11b6e1ba98
📝 Docs: 添加 nonebug 单元测试文档 (#929)
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: StarHeart <starheart233@gmail.com>
2022-04-30 16:04:41 +08:00
Mix
95331bbb22
🐛 Fix MessageTemplate improper behavior when no format spec (#947)
* 🧪 Add a test to figure out bug in #938

* ♻️ 🐛 Refactor rich message template formatting, fix #938
2022-04-30 09:59:23 +08:00
MeetWq
533e99418c
Feat: 添加 CommandStart 依赖注入参数 (#915)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: yanyongyu <42488585+yanyongyu@users.noreply.github.com>
2022-04-20 14:43:29 +08:00
Ju4tCode
45e2e6c280
🐛 fix event maybe converted when checking type (#876)
Fix: 修复 event 类型检查会对类型进行自动转换
2022-03-20 19:40:43 +08:00
Ju4tCode
02de6fd266
add rule permission reflected operation support (#872)
Feature: 添加 Rule, Permission 反向位运算支持
2022-03-17 21:11:37 +08:00
Ju4tCode
192c8da09c
🔀 Merge pull request #797
Feature: 新增文本完整匹配规则
2022-02-18 11:04:49 +08:00
Mix
1fba27d9b8 Fix failed full match test 2022-02-17 23:50:00 +08:00
yanyongyu
1d6a333b49
update dataclass encoder tests 2022-02-17 15:35:39 +08:00
pre-commit-ci[bot]
9c0e05c615 🚨 auto fix by pre-commit hooks 2022-02-17 07:12:29 +00:00
AkiraXie
c48ddaf0a2 🐛 fix DataclassEncoder bug and add test case 2022-02-17 15:06:26 +08:00
Akirami
9f12404338
add full match Matcher 2022-02-15 08:20:29 +08:00
Mix
04fe654d74
📝 Add document for message template (#789)
* 📝 Add document for message template

* 📝 🎨 Optimize example reading experience for message template

* 🚨 auto fix by pre-commit hooks

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-02-12 16:15:06 +08:00
Mix
dc982fe5eb Fix update cause failed test 2022-02-10 15:12:27 +08:00
Mix
455c599b06 🧪 Add a fail test to reproduce #781 2022-02-10 13:15:59 +08:00
yanyongyu
460efe436d
📝 add message document 2022-02-07 17:40:26 +08:00
Mix
f4395d77d7 Add test to prove the fix is valid 2022-02-06 18:55:19 +08:00
yanyongyu
2cd6867bd1
add more tests 2022-01-30 11:04:02 +08:00
yanyongyu
f3cc93c699
add more tests 2022-01-30 00:05:01 +08:00
yanyongyu
5abf55d095
add message tests 2022-01-29 23:39:13 +08:00
pre-commit-ci[bot]
fd8fd233b6 🚨 auto fix by pre-commit hooks 2022-01-28 06:04:57 +00:00
yanyongyu
770e808f1d add require tests 2022-01-26 15:37:35 +08:00
yanyongyu
5c73c80c65 🐛 fix require error 2022-01-26 15:06:53 +08:00
AkiraXie
f6308916ad 🐛 fix bug and improve test coverage 2022-01-20 03:16:04 +08:00
AkiraXie
67f5b87492 🐛 fix single_session bug 2022-01-20 02:05:57 +08:00
Mix
b037be4485 add unit test for message slice 2022-01-17 00:29:09 +08:00
yanyongyu
93aec6d3f6 🏷️ add pre-commit flow 2022-01-15 21:27:43 +08:00
yanyongyu
2ccdc218e0 improve state detect #677 2022-01-10 11:21:01 +08:00
yanyongyu
d6f5216d29 🐛 fix plugin load fail 2022-01-09 23:15:33 +08:00
yanyongyu
d13ca9aee6 📝 update doc message 2022-01-07 21:03:03 +08:00
yanyongyu
0a10a3c18b 📝 add examples 2022-01-07 18:38:04 +08:00
yanyongyu
1030b73555 add test cases 2022-01-05 20:32:00 +08:00
yanyongyu
e39539a3be add rule test cases 2022-01-05 18:29:11 +08:00
yanyongyu
96749bde83 add matcher updater tests 2022-01-04 15:19:59 +08:00
yanyongyu
479952777b ⬆️ upgrade dependency 2022-01-02 18:18:37 +08:00
Mix
be1915381e add tests for message template 2022-01-02 14:29:04 +08:00
yanyongyu
ec35f292bd 🐛 fix matcher got receive type error 2021-12-31 22:43:29 +08:00
yanyongyu
6643f951ef 🐛 fix cannot reject preset arg 2021-12-24 14:09:43 +08:00
yanyongyu
17f3c8fd09 🐛 fix arg message store 2021-12-23 22:16:55 +08:00
yanyongyu
76104d3237 🐛 fix rule checker not parsed 2021-12-23 19:36:29 +08:00
yanyongyu
8fb394e4c3 ⚗️ new driver combine expr support 2021-12-23 17:20:26 +08:00
yanyongyu
cda49551a8 ⬆️ upgrade asgi test client 2021-12-23 01:34:20 +08:00
yanyongyu
b984f99643 🐛 fix missing endpoint name for routing 2021-12-22 18:50:16 +08:00
yanyongyu
fecdb5367a ⬆️ upgrade dependencies 2021-12-22 16:53:55 +08:00
yanyongyu
b900133ab4 🐛 fix duplicate plugin check 2021-12-21 11:18:34 +08:00
yanyongyu
cf8670c167 ⚗️ add more reject case 2021-12-21 10:57:47 +08:00
yanyongyu
e9b8515cf1 add got receive tests 2021-12-21 00:39:12 +08:00
yanyongyu
c49059f9d3 add more depend test case 2021-12-20 14:50:11 +08:00
yanyongyu
0d24a79840 add param tests 2021-12-20 14:31:48 +08:00
yanyongyu
c2c3d5ef4b add test cases 2021-12-20 00:28:02 +08:00
yanyongyu
3d762fcbab improve dependency cache 2021-12-16 23:22:25 +08:00
yanyongyu
fe69735ca0 add test cases 2021-12-16 17:28:57 +08:00
yanyongyu
acbb886942 ⬆️ update dependency 2021-12-16 16:20:33 +08:00
yanyongyu
66ba25494a ♻️ rewrite dependency injection system 2021-12-12 18:19:08 +08:00
yanyongyu
5efdc71d9f 🔧 add config file 2021-12-10 17:13:07 +08:00
yanyongyu
5aedc52537 add pytest 2021-12-10 17:02:16 +08:00
yanyongyu
47d4909b31 ⬆️ update dependencies 2021-12-06 23:00:10 +08:00
yanyongyu
37f55652d9 ♻️ separate fastapi driver 2021-11-27 12:16:31 +08:00
yanyongyu
286729f703 🔥 remove cqhttp files 2021-11-23 16:21:21 +08:00
yanyongyu
a98d98cd12 🎨 format code using black and isort 2021-11-22 23:21:26 +08:00
yanyongyu
75d4cd9565 🐛 fix cache concurrency 2021-11-21 15:46:48 +08:00