Commit Graph

541 Commits

Author SHA1 Message Date
yanyongyu
3564228183 🐛 fix message segment mapping error 2021-08-04 19:11:59 +08:00
yanyongyu
cda1ad093f 💥 change forward setup api 2021-07-31 12:24:11 +08:00
yanyongyu
f48c61c2e0 🐛 improve sub plugin detect 2021-07-29 17:31:28 +08:00
yanyongyu
571cdef826 📝 fix sphinx build errors 2021-07-28 16:32:50 +08:00
yanyongyu
0ce3ee6c20 💡 support sphinx 4.0 2021-07-26 12:14:29 +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
midori
b9de8baac4
New: get_bot function (#419)
Co-authored-by: nonebot <nonebot@users.noreply.github.com>
Co-authored-by: Ju4tCode <42488585+yanyongyu@users.noreply.github.com>
2021-06-27 14:03:54 +08:00
yanyongyu
b3718c3042 ⚗️ add forward driver aiohttp 2021-06-21 01:25:58 +08:00
yanyongyu
69cee3844e support dot notation for driver config 2021-06-21 01:25:58 +08:00
StarHeart
e0bd7e11d5
🔥 remove unnecessary print 2021-06-20 09:25:55 +08:00
yanyongyu
0c5bbdaabe 🎨 remove linter error 2021-06-19 15:18:57 +08:00
yanyongyu
d8e29a81aa support absolute plugin import 2021-06-19 15:15:00 +08:00
yanyongyu
9f15b69724 allow change handlers list when running 2021-06-18 16:27:41 +08:00
yanyongyu
cd12718dcb 🐛 update mirai adapter 2021-06-18 01:23:13 +08:00
Muchan
f87c23c9a7 🐛 fix duplicated help 2021-06-17 10:14:36 +08:00
yanyongyu
b2f21ab974 🎨 fix message typing error 2021-06-17 01:07:19 +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
yanyongyu
8e6f8fada8 🐛 fix import recursion when same plugin and file name (fix #401) 2021-06-15 01:13:05 +08:00
yanyongyu
ddd96271b0 🎨 improve typing 2021-06-14 19:52:35 +08:00
StarHeartHunt
c0d78449be support custom response 2021-06-14 02:06:37 +08:00
yanyongyu
b2f5f93603 🐛 fix error inherit state in session when using state_factory 2021-05-31 21:54:17 +08:00
yanyongyu
830276d110 🐛 fix state error when matcher update(fix #397) 2021-05-31 21:49:25 +08:00
yanyongyu
accbf57776 🚨 remove some linter warning 2021-05-31 01:06:56 +08:00
yanyongyu
62c0dd6e74 💡 add docstring 2021-05-31 00:27:31 +08:00
yanyongyu
916bb5b0e6 💡 update docstring 2021-05-30 11:07:27 +08:00
yanyongyu
45e1126f37 🐛 fix missing update when reject or pause (fix #394) 2021-05-30 10:55:34 +08:00
yanyongyu
c4b83a60f1 🚧 add http request and response class 2021-05-27 01:01:58 +08:00
StarHeart
e659b4b2b6
🐛 typo 2021-05-25 20:46:27 +08:00
yanyongyu
918b375ece 💥 drop self_id call_api support 2021-05-24 16:49:27 +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
61512ff01f 🏷️ add type hint for logger 2021-05-21 15:15:04 +08:00
yanyongyu
faf7a3b500 📝 update doc 2021-05-10 18:42:32 +08:00
yanyongyu
41c5ac0ac7 improve plugin matcher system 2021-05-10 18:39:59 +08:00
yanyongyu
f8ad9ef278 ⚗️ support segment typing for message 2021-05-10 00:54:15 +08:00
yanyongyu
9052214e6d raise ImportError when exec_module 2021-04-21 18:26:58 +08:00
Ju4tCode
4ba6ff106c
Merge pull request #334 from nonebot/yanyongyu/issue332
Fix: log module name error
2021-04-19 21:50:11 +08:00
yanyongyu
64d51448b8 🐛 fix log module name error 2021-04-19 21:43:28 +08:00
yanyongyu
79d3bbcdfe 🔊 change log level add level config 2021-04-19 21:15:10 +08:00
Ju4tCode
92b035bea8
🔀 Merge pull request #322
New: `handle_event` will return excecption
2021-04-09 12:50:47 +08:00
yanyongyu
9801a8cebd 🎨 format code 2021-04-09 12:26:27 +08:00
Mix
f5a22b3d4b
🥅 return event handling exception 2021-04-08 23:35:08 +08:00
yanyongyu
d1a438a287 ⚗️ support tuple prefix in startswith 2021-04-04 12:28:10 +08:00
yanyongyu
0d467d9275 add startswith endswith ignorecase option #312 2021-04-04 12:19:03 +08:00
yanyongyu
c402b7599f 🐛 fix missing matcher when load external plugin with dot 2021-04-03 17:32:01 +08:00
yanyongyu
e425571b08 🐛 fix protocol not found in py37 2021-04-02 01:17:33 +08:00
yanyongyu
85f0023350 🔥 improve matcher store 2021-04-02 01:09:40 +08:00
yanyongyu
0eadf5f4e9 🐛 fix load error 2021-04-02 00:05:27 +08:00
yanyongyu
f0a6ff4627 ⚗️ add called api hook 2021-04-01 20:23:55 +08:00
yanyongyu
fcb1c5d316 🚑 fix matcher got recursion 2021-04-01 20:05:31 +08:00
yanyongyu
59ec5bacde 📝 update changelog 2021-03-31 21:20:07 +08:00
yanyongyu
ca08c56df7 🐛 fix import hook export 2021-03-31 20:38:00 +08:00
yanyongyu
8f99b01fb5 ⚗️ add call_api hook 2021-03-31 16:53:10 +08:00
yanyongyu
43b185a3b8 🔊 add log for event handle 2021-03-27 14:42:43 +08:00
yanyongyu
1f585d8bcb store message in ParserExit exception 2021-03-26 11:25:13 +08:00
yanyongyu
b861149e0b add argparse help message 2021-03-25 18:22:56 +08:00
yanyongyu
f00ce8b4f6 🐛 matcher.send returned none 2021-03-24 00:28:37 +08:00
yanyongyu
45199a247b 🐛 fix plugin matcher data 2021-03-22 16:41:29 +08:00
yanyongyu
f0a8b47c06 💩 remove __manager__ 2021-03-22 01:23:09 +08:00
yanyongyu
6371cd6bfe 🐛 fix error matcher module when import 2021-03-22 01:15:15 +08:00
yanyongyu
1527fb55f5 💡 update handler docstring 2021-03-20 16:33:16 +08:00
yanyongyu
2166595e50 🐛 fix cqhttp secret checking #289 2021-03-20 14:49:58 +08:00
yanyongyu
22033e1cfb 🐛 fix typing 2021-03-19 15:02:01 +08:00
yanyongyu
fc334ec7b9 add logger id 2021-03-19 00:24:38 +08:00
yanyongyu
e7dc4e1eec ⚗️ finish handler class 2021-03-18 21:30:52 +08:00
yanyongyu
6bd12b7f2c ⚗️ add handler class 2021-03-18 19:16:18 +08:00
yanyongyu
62135dc117 🔊 fix logger color tag 2021-03-16 16:20:58 +08:00
yanyongyu
211c571508 🐛 fix reimport by require 2021-03-13 18:21:56 +08:00
yanyongyu
785eac1345 🏷️ fix regex rule typing error 2021-03-13 15:35:13 +08:00
yanyongyu
bb64c6fb71 🐛 fix type and permission updater 2021-03-12 16:28:56 +08:00
StarHeart
efacff698d
🐛 typo 2021-03-11 10:55:18 +08:00
yanyongyu
ac613b5839 🐛 fix subplugin detect bug 2021-03-06 22:25:50 +08:00
yanyongyu
33412f9bd2 ⚗️ add reload dir config for fastapi 2021-03-06 11:56:58 +08:00
yanyongyu
9e04e497b7 ⚗️ add type and permission updater hook 2021-03-03 16:06:19 +08:00
yanyongyu
f6289ff1b3 🐛 fix prompt error 2021-03-02 14:35:02 +08:00
yanyongyu
b23e845726 ⬆️ fit pydantic 1.8 2021-03-01 00:30:06 +08:00
yanyongyu
dc38a98180 ⬆️ bump and fit pydantic 1.8 2021-02-28 00:35:40 +08:00
yanyongyu
8c9e096a84 🐛 ignore adapter register with same name 2021-02-26 17:22:39 +08:00
Ju4tCode
19a780eabb
🔀 Merge pull request #242
Docs: update how-to-work doc
2021-02-26 17:06:26 +08:00
yanyongyu
3c312d9759 📝 update how to work doc
Co-authored-by: AkiraXie <l997460364@outlook.com>
2021-02-26 17:00:38 +08:00
yanyongyu
bb37d757da 💡 remove comment 2021-02-26 12:03:48 +08:00
Ju4tCode
9ea80abf8c
🔀 Merge pull request #238
fix builtin plugin single session
2021-02-25 10:56:20 +08:00
AkiraXie
da290dad07 🥅 fix ValueError to Exception 2021-02-24 23:56:52 +08:00
AkiraXie
6f2b9a1d13 🐛 fix single_session bug 2021-02-24 22:21:47 +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
yanyongyu
507000b63b 🐛 fix command match #235 2021-02-23 22:50:25 +08:00
yanyongyu
f31318b7f4 🚸 wrap version with try 2021-02-22 10:44:42 +08:00
yanyongyu
f9d4bcba3d ⚗️ change allowed types for cqhttp #222
Co-authored-by: synodriver <624805065@qq.com>
2021-02-21 11:00:45 +08:00
yanyongyu
9bbadddfa9 🐛 fix sub plugin relative import 2021-02-20 11:09:16 +08:00