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 |
|
yanyongyu
|
a273d75b07
|
✨ add send pause reject finish template
|
2021-09-17 23:28:08 +08:00 |
|
artin
|
9931563d80
|
🐛 fix ding adapter issues
1. cannot send complicate message, such as actionCard
2. fix judge current connection mode
|
2021-09-13 01:19:14 +08:00 |
|
yanyongyu
|
44d13acc81
|
♻️ rename message formatter into template
|
2021-09-11 19:48:46 +08:00 |
|
yanyongyu
|
b635d01519
|
💥 matcher prompt support message formatter
|
2021-09-11 13:45:03 +08:00 |
|
synodriver
|
12c1f6d764
|
🐛 fix USER bug
|
2021-09-09 23:17:54 +08:00 |
|
ishkong
|
ed1f1c27e2
|
🐛 Fix endswith match bug
|
2021-08-29 19:18:36 +08:00 |
|
yanyongyu
|
3fa75b1c78
|
♻️ separate adapter abstract classes
|
2021-08-29 00:24:28 +08:00 |
|
yanyongyu
|
5cf665fa21
|
🐛 fix format field error
|
2021-08-28 19:42:32 +08:00 |
|
yanyongyu
|
116f16b470
|
🐛 fix stringify when formatting
|
2021-08-28 19:39:54 +08:00 |
|
Mix
|
1c73a9adfa
|
💡 add comment to describe template formatter usage
|
2021-08-27 19:13:08 +08:00 |
|
yanyongyu
|
7cfdc2dd37
|
🔥 use Any for format type
|
2021-08-27 15:08:26 +08:00 |
|
yanyongyu
|
58d10abd32
|
🎨 change typing for formatter
|
2021-08-27 14:46:15 +08:00 |
|
Mix
|
f0bc47ec5e
|
✨ Add message template formatter
ref: https://github.com/nonebot/discussions/discussions/27
|
2021-08-27 02:52:24 +08:00 |
|
yanyongyu
|
b5f2b1a76d
|
🐛 fix fastapi driver ws missing header
|
2021-08-25 23:04:48 +08:00 |
|
yanyongyu
|
3d4d3b0f24
|
🐛 fix got handler running more than once
|
2021-08-16 16:47:57 +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
|
ceebe0e95d
|
🐛 fix absolute import
|
2021-08-06 15:13:36 +08:00 |
|
yanyongyu
|
8e97a84ad8
|
💥 correct message segment mapping funcs
|
2021-08-04 19:35:03 +08:00 |
|
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 |
|