Commit Graph

462 Commits

Author SHA1 Message Date
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
yanyongyu
247456df56 📝 update docs 2021-02-19 15:24:52 +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
yanyongyu
31b8a5ff77 🏗️ change nonebot project structure 2021-02-11 17:29:16 +08:00
yanyongyu
2b67b0f12e 🔇 remove unused type hint 2021-02-07 23:36:04 +08:00
Mix
0761a60443 🩹 fix reply process in mirai adapter 2021-02-07 21:28:58 +08:00
yanyongyu
217b1a5fac revert command change 2021-02-07 20:57:08 +08:00
yanyongyu
ef98a6f23c 🔖 bump version 2.0.0a10 2021-02-07 20:51:09 +08:00
Mix
f3b77a7f60 ✏️ fix typo in docs 2021-02-07 17:16:12 +08:00
Ju4tCode
a3fe3a1ad8
🔀 Merge pull request #199
Fix mirai adapter command process
2021-02-07 12:55:49 +08:00
Mix
382a9b6e12 🔊 improve message logging 2021-02-07 12:40:31 +08:00
Mix
85aba9e36f 🐛 fix bug founded during test in mirai adapter 2021-02-07 12:17:21 +08:00
Mix
49010bf5b7 ⚗️ trying to change mirai adapter message processing behavior 2021-02-07 11:52:50 +08:00
Ju4tCode
458ddaa167
🔀 Merge pull request #196
New: Quart driver
2021-02-07 11:02:23 +08:00
Mix
b59ff03abf revert changes to change implement method
This reverts commit bf7b2a8cbe.
2021-02-07 10:15:18 +08:00
Mix
bdd9f5ae30 🐛 fix bad type hinting 2021-02-07 02:27:09 +08:00
Mix
abcdbc4de9 💥 🐛 add support for non-plaintext start message 2021-02-07 02:21:31 +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
bf7b2a8cbe matcher.send will return bot.send 2021-02-05 23:13:35 +08:00
Mix
ad8429e7fa 🐛 fix log escape in mirai adapter 2021-02-05 20:09:19 +08:00
yanyongyu
c268e0105d 🐛 fix escape comma 2021-02-05 14:26:03 +08:00
yanyongyu
ff9f0bc74a 📝 update doc 2021-02-05 13:31:33 +08:00
yanyongyu
59bdd03b1e 🐛 fix rule override bug 2021-02-05 11:49:12 +08:00
yanyongyu
e6a68feb0c 🚑 hotfix missing return when rule check failed 2021-02-03 11:23:13 +08:00
yanyongyu
d913be5c0d 🐛 fix matcher 2021-02-02 12:48:16 +08:00
yanyongyu
98b67ad829 📝 update docstring 2021-02-02 12:39:23 +08:00
yanyongyu
a54fd2f235 💡 update docstring 2021-02-02 12:15:20 +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
AkiraXie
f8fb36a1f7 Support shell-like command 2021-02-02 01:20:36 +08:00
Ju4tCode
bbeeb11502
🔀 Merge pull request #179
New mah adapter
2021-02-01 21:16:20 +08:00
yanyongyu
00858416f9 🎨 format code and bump dependency 2021-02-01 20:58:12 +08:00
Mix
d6ae1ca01c 📄 add agpl v3 license for mirai adapter 2021-02-01 19:28:56 +08:00
Mix
ad3a08f514 💡 🗑️ remove some invalid comments in mirai adapter 2021-02-01 16:53:06 +08:00
Mix
c0fa137fed 🚸 add support of rule to_me in mirai adapter 2021-02-01 16:38:15 +08:00
Mix
5a63827f22 💬 💡 rename MiraiBot to Bot, fix a comment style 2021-02-01 16:38:15 +08:00
Mix
d2a62ebd3d 📝 💡 fix some typo and style in mirai adapter 2021-02-01 13:50:25 +08:00
Mix
8fe562e864 💡 🚸 complete comments and optimize usage in mirai adapter 2021-02-01 13:19:37 +08:00
yanyongyu
f6c24ec92f 🐛 change matcher check-run 2021-02-01 11:42:05 +08:00
Mix
56592fc413 🚧 💡 add comments for message etc. in mirai adapter 2021-02-01 01:04:41 +08:00
Mix
7c9cbe7b58 💬 💡 rename some dataclass, add comments for events in mirai adapter 2021-02-01 00:01:31 +08:00
Mix
858639bebe 💡 📝 add some comments in code, add document build struct for mirai adapter 2021-01-31 22:43:43 +08:00
Mix
a39785d6d9 💡 add some comments in mirai adapter 2021-01-31 18:00:40 +08:00
Mix
20b299c758 🚸 add .approve and .reject method for request event in mirai adapter 2021-01-31 17:01:04 +08:00
Mix
3f56da9245 🚧 add support of reverse post and forward ws for mirai adapter 2021-01-31 16:03:15 +08:00
Mix
73be9151b0 🚸 add factory classmethods in MessageSegment at mirai adapter 2021-01-30 21:51:51 +08:00
Mix
95f27824ee 🚧 add api methods define 2021-01-30 20:40:00 +08:00
Mix
c82ceefc8b revert call method to http post, add api handle 2021-01-30 19:11:17 +08:00
Mix
5b3ef53301 🎨 add support for on_bot_* event handler 2021-01-30 13:45:55 +08:00
Mix
8b3eb4e076 add retry for mirai adapter when websocket connection down 2021-01-30 13:36:31 +08:00
yanyongyu
b140ebd149 🐛 fix wrong data in CQ:share #170 2021-01-30 10:56:58 +08:00
Mix
5de41a18f9 🎨 sort imports in file 2021-01-30 06:10:04 +08:00
Mix
02af1c1227 🚧 finish forward websocket receive 2021-01-30 05:58:30 +08:00
Mix
0bb0d16d93 🚧 basically completed event serialize 2021-01-29 21:19:13 +08:00
Mix
5a9798121c 🚧 add some support for mirai basic events 2021-01-29 17:38:39 +08:00
Mix
8574b2ec72 🚧 start working on mirai-api-http adapter 2021-01-29 17:37:44 +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
2e75671d56 ⚗️ add processor to ensure single matcher 2021-01-26 15:03:37 +08:00
yanyongyu
f8304406c5 ⚗️ add new builtin plugin 2021-01-25 18:15:25 +08:00
yanyongyu
853b797cd9 🐛 change USER perm and temp matcher type 2021-01-24 18:16:18 +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
7c3b2b514a add request event approve reject 2021-01-16 11:47:48 +08:00
yanyongyu
fcac6f8a0f improve session id support 2021-01-16 11:10:54 +08:00
yanyongyu
a1d801ba14 ⚗️ new fastapi config settings 2021-01-12 18:02:05 +08:00
yanyongyu
9d047daef5 🚧 move cqhttp config into adapter 2021-01-12 17:55:27 +08:00
yanyongyu
01fa2ece6e 🐛 fix wrong space strip 2021-01-12 15:48:31 +08:00
yanyongyu
e7993a4485 🐛 fix plain text escaped 2021-01-08 18:14:18 +08:00
yanyongyu
b6bf477551 ⚗️ add got receive overload #142 2021-01-06 18:29:41 +08:00
Ju4tCode
a211f09a99
🔀 Merge pull request #143
fix config typo
2021-01-05 23:11:35 +08:00
yanyongyu
0c517acee2 ✏️ fix config typo 2021-01-05 23:06:36 +08:00
yanyongyu
60fd092410 🐛 fix none message 2021-01-05 12:12:41 +08:00
Artin
877fa1a75a 🐛 Fix cqhttp Message null parameter 2021-01-04 22:24:43 +08:00
yanyongyu
2218fa2b33 🐛 fix missing return after close ws 2021-01-04 18:09:42 +08:00