Commit Graph

230 Commits

Author SHA1 Message Date
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
yanyongyu
4cbdd726e5 🏗️ change code structure 2021-11-16 18:30:16 +08:00
yanyongyu
0a1ae75b70 finish matcher process 2021-11-14 21:01:28 +08:00
yanyongyu
9d708a6723 🚧 process handler call 2021-11-13 19:38:01 +08:00
yanyongyu
2ccbc93e48 ♻️ remove plugin namespace 2021-11-11 17:33:30 +08:00
yanyongyu
66b2153493 🔖 bump version 2.0.0a16 2021-10-02 17:35:10 +08:00
yanyongyu
0b08d23e34 ⬆️ upgrade uvicorn 2021-09-28 20:56:05 +08:00
StarHeartHunt
b31d04dc5d 🎨 improve code style 2021-09-24 20:26:50 +08:00
yanyongyu
a273d75b07 add send pause reject finish template 2021-09-17 23:28:08 +08:00
yanyongyu
cf747f954c fastapi driver support forward connect 2021-07-23 00:51:19 +08:00
yanyongyu
ecc613f6c5 add cqhttp forward support 2021-07-20 15:36:20 +08:00
StarHeartHunt
0436c1b7b8 update test env 2021-07-14 09:26:53 +08:00
StarHeartHunt
c6921c731c update test file 2021-07-09 16:15:24 +08:00
StarHeartHunt
0ec7cdc3aa update testcase 2021-07-06 14:58:00 +08:00
StarHeartHunt
866149902c update testcase 2021-07-05 11:10:49 +08:00
StarHeartHunt
20c3c24a6d 👷 implement testcase 2021-07-05 11:10:49 +08:00
StarHeartHunt
d669fed5e9 add testcase for feishu adapter 2021-07-03 13:53:01 +08:00
yanyongyu
6749afe75e 🚨 remove linter error 2021-06-16 00:58:47 +08:00
yanyongyu
5abc0d9614 📝 update changelog 2021-04-19 21:51:36 +08:00
yanyongyu
79d3bbcdfe 🔊 change log level add level config 2021-04-19 21:15:10 +08:00
yanyongyu
59ec5bacde 📝 update changelog 2021-03-31 21:20:07 +08:00
yanyongyu
b861149e0b add argparse help message 2021-03-25 18:22:56 +08:00
Artin
0fec9915de
ding: send by webhook
close: #189

Feature: 钉钉添加 `send_by_webhook` 方法 #189
2021-03-11 13:26:16 +08:00
yanyongyu
5ee6beb4b8 🚑 fix test reload 2021-03-10 17:32:14 +08:00
yanyongyu
eb8e5aa39d add plugin loading using json/toml 2021-02-24 17:48:08 +08:00
yanyongyu
be674c0efc ⚗️ add load all plugin function 2021-02-19 15:15:46 +08:00
yanyongyu
f26fb9d6fb ⚗️ change import hook 2021-02-19 14:58:26 +08:00
Ju4tCode
27b9b413df
Restore .env.dev 2021-02-07 23:36:56 +08:00
Ju4tCode
a3fe3a1ad8
🔀 Merge pull request #199
Fix mirai adapter command process
2021-02-07 12:55:49 +08:00
Mix
24349953e3 update test case 2021-02-07 12:17:34 +08:00
Mix
496f64f103 🐛 fix bugs in quart driver 2021-02-06 10:34:52 +08:00
yanyongyu
98b67ad829 📝 update docstring 2021-02-02 12:39:23 +08:00
Ju4tCode
c9a8e7ff0d
Merge branch 'dev' into master 2021-02-02 12:04:01 +08:00
yanyongyu
9e4e9f29d1 rewrite shell command 2021-02-02 11:59:14 +08:00
Ju4tCode
bbeeb11502
🔀 Merge pull request #179
New mah adapter
2021-02-01 21:16:20 +08:00
Mix
da1218221c add specified test for mirai adapter 2021-02-01 16:38:15 +08:00
Artin
27e06dd4e8 🐛 fix ding adapter
1. fix send `at_sender`
2. fix event parse error
3. `MessageSegment` add `atDingtalkIds`/`code`
2021-01-29 14:31:36 +08:00
yanyongyu
5e3f1b5435 new common config loading from .env 2021-01-27 11:39:34 +08:00
yanyongyu
b6bf477551 ⚗️ add got receive overload #142 2021-01-06 18:29:41 +08:00
Ju4tCode
1bd223eab2
Restore test_permission.py 2020-12-30 20:19:24 +08:00
Artin
086a998b20 improve ding adapter
add tests/test_ding.py
add some log
2020-12-30 18:33:54 +08:00
yanyongyu
299c259d50 🐛 fix hook block event receiving bug 2020-12-28 13:53:24 +08:00
yanyongyu
e44cde0600 add test case 2020-12-20 12:09:30 +08:00
yanyongyu
799144e64d finish typing change 2020-12-17 21:09:30 +08:00
yanyongyu
784bc7b0cf ⚗️ new dynamic handler args 2020-12-16 23:13:00 +08:00
yanyongyu
6b3f6a46e6 🎨 impove typing 2020-12-07 00:06:09 +08:00
yanyongyu
5ebe7ff1cb 🔖 PreRelease 2.0.0a7 2020-12-05 01:22:28 +08:00
yanyongyu
f6806c1d55 test matchergroup 2020-12-04 01:55:03 +08:00
Artin
be244f4538 🐛 Fix Message._construct error 2020-12-03 18:47:58 +08:00
Artin
edb4458031 Add ding adapter 2020-12-03 01:02:09 +08:00
yanyongyu
0738b275a5 💥 remove builtin adapter auto register 2020-12-02 13:17:27 +08:00
yanyongyu
9373bd09ed ⚗️ add export require option 2020-11-21 20:40:09 +08:00
yanyongyu
bde256608b ✏️ fix doc typo 2020-11-15 13:26:20 +08:00
yanyongyu
7ce69fb6f8 add processor test 2020-11-07 18:15:09 +08:00
yanyongyu
24141b1a4b 🎨 remove shebang line #31 2020-10-20 22:40:16 +08:00
yanyongyu
927a963d4f 🐛 fix nickname 2020-10-06 22:29:05 +08:00
yanyongyu
781d0cf654 ⚗️ rewrite echo and say builtin plugin 2020-10-04 18:10:01 +08:00
yanyongyu
2921ba0120 add command alias/group test 2020-09-27 23:52:03 +08:00
yanyongyu
e53599dc17 🔖 pre release 2.0.0a1 2020-09-23 23:01:06 +08:00
yanyongyu
2add5d3887 📝 add config guide 2020-09-17 18:23:41 +08:00
yanyongyu
caa170bc33 ⬆️ bump version as pre-release 2020-09-12 21:44:59 +08:00
yanyongyu
bd7aaa94c6 🐛 fix: strip after at bot 2020-09-10 18:31:53 +08:00
yanyongyu
f5b655ef71 🔧 change command and add builtin plugin 2020-08-29 21:59:36 +08:00
yanyongyu
777343ac1a 🏷️ Add typing for cqhttp api 2020-08-26 17:47:36 +08:00
yanyongyu
c5ea8bc1c3 add contextvars and fix mutable default args 2020-08-25 15:23:10 +08:00
yanyongyu
eaa9b98bd9 fix several bugs 2020-08-24 17:59:36 +08:00
yanyongyu
a895089a8b fix some bug 2020-08-23 10:45:26 +08:00
yanyongyu
5871330492 fix fastapi run bug 2020-08-22 14:11:04 +08:00
yanyongyu
02ca49f6d0 add log and config docs 2020-08-20 15:07:05 +08:00
yanyongyu
e523aa8d89 add doc for __init__.py 2020-08-18 17:25:00 +08:00
yanyongyu
6435e29e8b add permission and command 2020-08-17 16:09:41 +08:00
yanyongyu
c4a5cfb513 change plugin load 2020-08-15 17:22:10 +08:00
yanyongyu
1dcc43161a change rule 2020-08-14 17:41:24 +08:00
yanyongyu
e7f9b2c229 websocket api 2020-08-13 15:23:04 +08:00
yanyongyu
10221520d9 add matcher expire support 2020-08-06 17:54:55 +08:00
yanyongyu
a39c2e223a change rule and event handle 2020-07-25 12:28:30 +08:00
yanyongyu
9355ed4baf add message segment for coolq 2020-07-18 18:18:43 +08:00
yanyongyu
d616290626 connect driver-adapter-matcher 2020-07-11 17:32:03 +08:00
yanyongyu
4d242875d2 add fastapi driver, config 2020-07-04 22:51:10 +08:00
yanyongyu
7529559d24 plugin load 2020-06-30 10:13:58 +08:00