Commit Graph

662 Commits

Author SHA1 Message Date
yanyongyu
86c859fec2 📝 add create matcher doc 2021-12-28 11:51:14 +08:00
yanyongyu
db826caff4 📝 add load plugin and config doc 2021-12-28 01:02:04 +08:00
yanyongyu
c1e06c2ec0 🐛 fix aiohttp config trierule bugs 2021-12-27 02:26:02 +08:00
Jigsaw
fd9ec5e6fa
Compatible with cross-platform superusers (#642) 2021-12-26 18:46:54 +08:00
yanyongyu
8093c5d154 add websocket close exception 2021-12-26 14:20:09 +08:00
yanyongyu
e64f399370 change websocket client to context manager 2021-12-26 13:45:26 +08:00
yanyongyu
7b204d72e6 change websocket client to context manager 2021-12-26 13:42:13 +08:00
yanyongyu
00c2ee8490 🐛 fix command rule type annotation error 2021-12-25 20:17:12 +08:00
yanyongyu
d773fea709 🐛 fix echo message error 2021-12-25 18:46:44 +08:00
yanyongyu
7ebae277d1 🔥 remove unused import 2021-12-25 17:44:53 +08:00
yanyongyu
9b9941e6c5 💡 write config docs 2021-12-25 14:57:29 +08:00
yanyongyu
188eb110c5 ⚗️ add proxy support 2021-12-25 14:04:53 +08:00
yanyongyu
80258fe2d4 ⚗️ add support for data json file 2021-12-24 23:15:28 +08:00
yanyongyu
6ed87f1910 🔊 add trace logs 2021-12-24 15:04:18 +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
e3aba26080 ♻️ rewrite builtin rule and permission 2021-12-23 17:50:59 +08:00
yanyongyu
8fb394e4c3 ⚗️ new driver combine expr support 2021-12-23 17:20:26 +08:00
yanyongyu
b9f1890d80 🐛 fix command parse error 2021-12-23 16:01:09 +08:00
yanyongyu
0839d6d062 🐛 fix import error for extra dependencies 2021-12-23 14:29:21 +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
9b2fa46921 ✏️ add typing 2021-12-21 18:22:14 +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
883ea18224 improve echo matcher 2021-12-20 15:53:05 +08:00
yanyongyu
ea8f7717b9 ♻️ rewrite quart driver 2021-12-20 15:46:23 +08:00
yanyongyu
44e5182322 🐛 fix parent plugin detect error 2021-12-20 00:31:00 +08:00
yanyongyu
c2c3d5ef4b add test cases 2021-12-20 00:28:02 +08:00
yanyongyu
ca045b2f73 🚧 rewrite fastapi driver implementation 2021-12-18 23:19:37 +08:00
yanyongyu
ec9e159ef6 ♻️ rewrite driver request and response class 2021-12-17 23:20:19 +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
de7c51a518 ⚗️ add regex and shell command di function 2021-12-14 22:40:47 +08:00
yanyongyu
329a1fd226 add di functions 2021-12-14 01:08:48 +08:00
yanyongyu
e942f4076c 🐛 fix builtin bug 2021-12-13 00:37:07 +08:00
yanyongyu
66ba25494a ♻️ rewrite dependency injection system 2021-12-12 18:19:08 +08:00
yanyongyu
6b5a5e53eb 🔥 remove state factory 2021-12-11 17:35:12 +08:00
yanyongyu
5aedc52537 add pytest 2021-12-10 17:02:16 +08:00
yanyongyu
a0d13822c0 ♻️ change matcher run function 2021-12-10 15:46:06 +08:00
yanyongyu
61e17d0de7 🏷️ fix missing type 2021-12-08 16:46:10 +08:00
yanyongyu
b64b02bb45 ✏️ add missing annotationo 2021-12-07 02:16:18 +08:00
yanyongyu
d80c02ae46 ♻️ rewrite adapter abc class 2021-12-06 22:19:05 +08:00
yanyongyu
180aaadda9 🐛 fix coroutine check error 2021-12-06 20:34:14 +08:00
yanyongyu
a85ee6555f 🐛 fix error on python 3.9+ 2021-12-06 11:27:25 +08:00
yanyongyu
5b75b72720 ♻️ use class rule and permission 2021-12-06 10:10:51 +08:00
yanyongyu
ca4d7397f8 🐛 add skip handle for process 2021-12-06 00:17:52 +08:00
yanyongyu
c25ee1cb56 check param first then dependencies 2021-12-05 17:29:38 +08:00
yanyongyu
59e139724b 💩 find errors need to fix 2021-12-04 22:57:44 +08:00
Ju4tCode
b52954a240
Merge pull request #615 from nonebot/fix/httpx-http2
Fix: http2 for fastapi driver
2021-12-04 15:03:17 +08:00
Ju4tCode
aea961b346
Update nonebot/drivers/fastapi.py 2021-12-04 14:15:00 +08:00
yanyongyu
3c428d98c4 📝 add di docs 2021-12-03 23:30:15 +08:00
yanyongyu
226fc0feb3 🐛 fix http2 for fastapi 2021-12-02 20:52:39 +08:00
yanyongyu
7d8a60b033 👷 update doc ci 2021-12-02 03:17:10 +08:00
yanyongyu
0236746e65 🐛 fix rule and permission not handle skip 2021-12-01 19:21:31 +08:00
yanyongyu
b92c1a0b33 ⚗️ add option for ws reconnect 2021-11-30 12:24:09 +08:00
yanyongyu
a6112fdf64 support for mock api result (resolve #605) 2021-11-28 02:34:01 +08:00
yanyongyu
37f55652d9 ♻️ separate fastapi driver 2021-11-27 12:16:31 +08:00
yanyongyu
030237fe22 🐛 fix receive reject 2021-11-25 20:42:48 +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
Ju4tCode
602185a34e
🔀 Merge pull request #588
Feature: `Handler` Dependency Injection
2021-11-22 21:16:36 +08:00
yanyongyu
3120abacb3 allow extra param with default value 2021-11-22 11:38:42 +08:00
yanyongyu
23c237cb2a 💡 add depends example 2021-11-21 17:09:31 +08:00
yanyongyu
760ac693c0 🔥 remove dependency override provider 2021-11-21 16:12:36 +08:00
yanyongyu
75d4cd9565 🐛 fix cache concurrency 2021-11-21 15:46:48 +08:00
yanyongyu
b4d12d905d ⚗️ change permission to use handler 2021-11-21 12:36:44 +08:00
yanyongyu
471d306e13 ⚗️ change rule to use handler 2021-11-19 18:18:53 +08:00
yanyongyu
dc31afbd18 improve command rule types 2021-11-17 00:27:58 +08:00
yanyongyu
4cbdd726e5 🏗️ change code structure 2021-11-16 18:30:16 +08:00
yanyongyu
ea502c1fff 🔊 add deprecation warning for toml load 2021-11-15 23:05:05 +08:00
yanyongyu
d1c6eeb6c2 ♻️ allow dynamic param types 2021-11-15 21:44:24 +08:00
yanyongyu
cafe5c9af0 🚧 add generator dependency support 2021-11-15 01:28:47 +08:00
yanyongyu
0a1ae75b70 finish matcher process 2021-11-14 21:01:28 +08:00
yanyongyu
7495fee2a2 add bot event type check 2021-11-14 01:34:25 +08:00
yanyongyu
9d708a6723 🚧 process handler call 2021-11-13 19:38:01 +08:00
yanyongyu
f7eadb48b5 🚧 create processor 2021-11-12 20:55:59 +08:00
yanyongyu
c454cf0874 🚧 process handler dependency 2021-11-12 18:10:40 +08:00
yanyongyu
fdffaf4e85 💡 add docstring 2021-11-11 18:10:39 +08:00
yanyongyu
2ccbc93e48 ♻️ remove plugin namespace 2021-11-11 17:33:30 +08:00
yanyongyu
08f56db385 🚧 process matcher module 2021-11-09 00:57:59 +08:00
yanyongyu
72f5aeea54 🚧 refactor plugin loading 2021-11-08 01:02:35 +08:00
yanyongyu
d10f557212 ⬆️ upgrade dependencies 2021-10-21 00:37:09 +08:00
yanyongyu
32e3c17552 🚨 remove linter warning 2021-10-21 00:08:37 +08:00
yanyongyu
c81c0578e3 🐛 fix fastapi forward header duplicate (fix #560) 2021-10-11 17:53:49 +08:00
yanyongyu
e12e18022b ⚗️ template support raw string 2021-10-04 22:00:32 +08:00
Mix
b9c91dc5c3 💡 add document for extended format spec 2021-10-03 16:39:43 +08:00
Mix
6b79106cd1 support use MessageSegment method as template format spec 2021-10-03 16:26:55 +08:00
yanyongyu
94b98b74b9 ⚗️ add fastapi/quart uvicorn configs 2021-10-02 15:35:15 +08:00
Mix
c8a8ff28ec support use Message object as message template 2021-10-02 14:05:54 +08:00
yanyongyu
3452880b16 ⚗️ add fastapi reload include/exclude 2021-09-30 01:22:12 +08:00
yanyongyu
161cfbe1b8 ⚗️ add more uvicorn config 2021-09-28 21:20:29 +08:00
yanyongyu
041b59011b 🔥 remove return value in event handle 2021-09-27 12:52:21 +08:00
yanyongyu
92a411e3b4 🎨 isort format code 2021-09-27 00:19:30 +08:00
yanyongyu
cfdebb30b7 🐛 fix log not escaped in forward driver 2021-09-25 19:14:16 +08:00
StarHeartHunt
5cd61c09a8 🚨 re-export base adapter init
according to pep484
2021-09-18 20:22:38 +08:00
yanyongyu
463ff260c4 🐛 fix doc build error 2021-09-18 18:04:19 +08:00
yanyongyu
4f8771acbd 🚨 re-export according to pep484 2021-09-18 16:11:03 +08:00