Commit Graph

159 Commits

Author SHA1 Message Date
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
ea8f7717b9 ♻️ rewrite quart driver 2021-12-20 15:46:23 +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
d80c02ae46 ♻️ rewrite adapter abc class 2021-12-06 22:19:05 +08:00
Ju4tCode
aea961b346
Update nonebot/drivers/fastapi.py 2021-12-04 14:15:00 +08:00
yanyongyu
226fc0feb3 🐛 fix http2 for fastapi 2021-12-02 20:52:39 +08:00
yanyongyu
b92c1a0b33 ⚗️ add option for ws reconnect 2021-11-30 12:24:09 +08:00
yanyongyu
37f55652d9 ♻️ separate fastapi driver 2021-11-27 12:16:31 +08:00
yanyongyu
a98d98cd12 🎨 format code using black and isort 2021-11-22 23:21:26 +08:00
yanyongyu
760ac693c0 🔥 remove dependency override provider 2021-11-21 16:12:36 +08:00
yanyongyu
471d306e13 ⚗️ change rule to use handler 2021-11-19 18:18:53 +08:00
yanyongyu
cafe5c9af0 🚧 add generator dependency support 2021-11-15 01:28:47 +08:00
yanyongyu
d10f557212 ⬆️ upgrade dependencies 2021-10-21 00:37:09 +08:00
yanyongyu
c81c0578e3 🐛 fix fastapi forward header duplicate (fix #560) 2021-10-11 17:53:49 +08:00
yanyongyu
94b98b74b9 ⚗️ add fastapi/quart uvicorn configs 2021-10-02 15:35:15 +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
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
yanyongyu
4f8771acbd 🚨 re-export according to pep484 2021-09-18 16:11:03 +08:00
yanyongyu
b5f2b1a76d 🐛 fix fastapi driver ws missing header 2021-08-25 23:04:48 +08:00
yanyongyu
57a60ae45b 🏷️ add missing type hint 2021-08-13 00:20:41 +08:00
Mix
5791018af1 🥅 catch exception raised in setup factory 2021-08-12 22:26:41 +08:00
yanyongyu
f2b23f1b44 🎨 escape message before colorful log 2021-08-12 16:45:22 +08:00
yanyongyu
3a0265b0f6 🐛 fix fastapi forward reconnect error 2021-08-12 13:59:01 +08:00
yanyongyu
cda1ad093f 💥 change forward setup api 2021-07-31 12:24:11 +08:00
yanyongyu
571cdef826 📝 fix sphinx build errors 2021-07-28 16:32:50 +08:00
Mix
c1b10a0e48 👽 🐛 fix quart.exception removal caused import error 2021-07-26 10:41:38 +08:00
yanyongyu
cf747f954c fastapi driver support forward connect 2021-07-23 00:51:19 +08:00
yanyongyu
1f0be1e1e3 improve aiohttp main loop performance 2021-07-21 23:47:18 +08:00
yanyongyu
ecc613f6c5 add cqhttp forward support 2021-07-20 15:36:20 +08:00
yanyongyu
04b3fda40c cqhttp support forward websocket 2021-07-19 23:46:29 +08:00
yanyongyu
32787fdc1e ⚗️ experimenting aiohttp driver 2021-07-19 14:51:28 +08:00
yanyongyu
637c48aea7 🚧 update aiohttp driver 2021-07-19 01:20:17 +08:00
yanyongyu
8e915f808b 🎨 fix linter error 2021-07-03 11:50:56 +08:00
yanyongyu
b3718c3042 ⚗️ add forward driver aiohttp 2021-06-21 01:25:58 +08:00
yanyongyu
6749afe75e 🚨 remove linter error 2021-06-16 00:58:47 +08:00
yanyongyu
c76dae584e 🐛 fix quart implement 2021-06-15 10:16:17 +08:00
StarHeart
edb7c79acf
📝 typo 2021-06-15 09:53:25 +08:00
yanyongyu
76c830739c 🎨 change reverse driver abstract methods 2021-06-15 01:23:12 +08:00
StarHeartHunt
c0d78449be support custom response 2021-06-14 02:06:37 +08:00
yanyongyu
62c0dd6e74 💡 add docstring 2021-05-31 00:27:31 +08:00
yanyongyu
c4b83a60f1 🚧 add http request and response class 2021-05-27 01:01:58 +08:00
StarHeartHunt
3939dfa024 🙈 ignore .DS_Store 2021-05-22 11:27:16 +08:00
yanyongyu
8680a954f8 ♻️ separate driver 2021-05-21 17:06:20 +08:00
yanyongyu
2166595e50 🐛 fix cqhttp secret checking #289 2021-03-20 14:49:58 +08:00
yanyongyu
62135dc117 🔊 fix logger color tag 2021-03-16 16:20:58 +08:00
yanyongyu
33412f9bd2 ⚗️ add reload dir config for fastapi 2021-03-06 11:56:58 +08:00
yanyongyu
8c9e096a84 🐛 ignore adapter register with same name 2021-02-26 17:22:39 +08:00
yanyongyu
04e11c3b3e 💡 update docstring 2021-02-24 17:56:43 +08:00
yanyongyu
eb8e5aa39d add plugin loading using json/toml 2021-02-24 17:48:08 +08:00
Mix
6cb9fda53a 🎨 remove unused imports 2021-02-06 11:43:01 +08:00
Mix
4f7a033b9c use dynamic routing in quart driver 2021-02-06 11:38:21 +08:00
Mix
86965ee06d 💡 add comments in quart driver 2021-02-06 11:15:30 +08:00
Mix
496f64f103 🐛 fix bugs in quart driver 2021-02-06 10:34:52 +08:00
Mix
9e0862bc97 finish quart driver implement 2021-02-06 09:41:17 +08:00
yanyongyu
ff9f0bc74a 📝 update doc 2021-02-05 13:31:33 +08:00
yanyongyu
109125b583 🐛 remove args in creating bot 2021-01-21 12:41:52 +08:00
yanyongyu
9685a4b1bf ⚗️ seperate configs 2021-01-17 13:46:29 +08:00
yanyongyu
a1d801ba14 ⚗️ new fastapi config settings 2021-01-12 18:02:05 +08:00
yanyongyu
2218fa2b33 🐛 fix missing return after close ws 2021-01-04 18:09:42 +08:00
yanyongyu
1c9df5ac02 🎨 change method into private 2020-12-28 13:59:54 +08:00
yanyongyu
299c259d50 🐛 fix hook block event receiving bug 2020-12-28 13:53:24 +08:00
yanyongyu
c993f15bca ⚗️ add ws connection hook 2020-12-28 13:36:00 +08:00
yanyongyu
a539fd0062 🔊 improve adapter not found log 2020-12-19 11:20:41 +08:00
yanyongyu
799144e64d finish typing change 2020-12-17 21:09:30 +08:00
yanyongyu
6b3f6a46e6 🎨 impove typing 2020-12-07 00:06:09 +08:00
yanyongyu
629eed08b6 🎨 update typing support 2020-12-06 02:30:19 +08:00
yanyongyu
064ed81758 📝 update adapter connection guide 2020-12-02 15:14:24 +08:00
yanyongyu
8601c61cd8 💄 update log style 2020-12-02 13:25:57 +08:00
yanyongyu
0738b275a5 💥 remove builtin adapter auto register 2020-12-02 13:17:27 +08:00
yanyongyu
e5463cc564 🎨 format docstring 2020-11-30 11:08:00 +08:00
yanyongyu
28e3177e60 💡 update source docstring #46 #49 2020-11-13 01:46:26 +08:00
yanyongyu
b2a2234d5c 🎨 change permission check from driver into adapter #46 2020-11-11 15:14:29 +08:00
yanyongyu
5d08d53c27 👽 update auth header 2020-10-25 14:42:46 +08:00
yanyongyu
24141b1a4b 🎨 remove shebang line #31 2020-10-20 22:40:16 +08:00
yanyongyu
0a64959973 💡 add driver docstring 2020-10-16 01:10:46 +08:00
yanyongyu
b4e0034876 💡 add driver docstring 2020-10-10 23:40:01 +08:00
yanyongyu
2e87c40434 🐛 fix error ws closing 2020-09-27 12:37:15 +08:00
yanyongyu
44722a11d3 🔒 fix wrong auth check 2020-09-15 14:48:15 +08:00
yanyongyu
6d37417d21 🏗️ make event handling in background 2020-09-08 15:55:53 +08:00
yanyongyu
43bd9d0a96 🔊 add more logs 2020-08-27 16:43:58 +08:00
yanyongyu
858098b946 🔊 change log types 2020-08-27 13:27:42 +08:00
yanyongyu
cef3a8236e add more logs 2020-08-25 18:02:18 +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
e86362572b add check for self_id 2020-08-21 16:59:41 +08:00
yanyongyu
b99c9688e2 fix ws reverse 2020-08-21 15:42:33 +08:00
yanyongyu
26c697f5e4 add auth check and config docs 2020-08-20 16:34:07 +08:00
yanyongyu
e523aa8d89 add doc for __init__.py 2020-08-18 17:25:00 +08:00
yanyongyu
1dcc43161a change rule 2020-08-14 17:41:24 +08:00
yanyongyu
0eb5f51d2c add driver type prop 2020-08-13 15:56:09 +08:00
yanyongyu
e7f9b2c229 websocket api 2020-08-13 15:23:04 +08:00
yanyongyu
b32d4a24d1 add startup shutdown deco 2020-08-11 10:44:05 +08:00
yanyongyu
9e33a605a6 add types 2020-08-10 13:06:02 +08:00
yanyongyu
332aac6497 change typing 2020-08-07 17:51:57 +08:00
yanyongyu
f2b6f08599 change typing manage 2020-08-07 17:05:08 +08:00