Commit Graph

7513 Commits

Author SHA1 Message Date
Him188
55281ed228 PluginData: do not add supertype ConcurrentMap for shadowed maps even though original map implements it 2021-05-09 00:16:28 +08:00
Him188
2014c34102 Fix docs ref 2021-05-06 23:43:09 +08:00
Him188
cb2b0f4423 Release version 2.6.4 2021-05-06 23:41:28 +08:00
sandtechnology
028bfa483c
Introduce MemberNick class and correct nameCard decoding, Fix #1151 (#1231)
* Introduce MemberNick class and correct nameCard decoding, Fix #1151

* Update comment for better understanding

Co-authored-by: Him188 <Him188@mamoe.net>

* Change var name in method for better understanding

Co-authored-by: Him188 <Him188@mamoe.net>

* Fix build

Co-authored-by: Him188 <Him188@mamoe.net>
2021-05-06 17:54:52 +08:00
Him188
0a3bb2b5c3
Create config.yml 2021-05-06 14:10:00 +08:00
Him188
048a0bbdd6
LoginCommand: Send login results also to ConsoleCommandSender (#348) 2021-05-06 12:53:41 +08:00
sandtechnology
e459c76f92
OnlinePush.SidTicketExpired: Refresh token and register online (#1242)
* OnlinePush.SidTicketExpired: Refresh token and register online

* Also update key map

* Update package name to internal

Co-authored-by: Him188 <Him188@mamoe.net>

* Fix build

Co-authored-by: Him188 <Him188@mamoe.net>
2021-05-05 00:26:10 +08:00
Him188
6854252c77 Old network: re-init client on BotOfflineEvent.Force. #1205 for 2.7-M1 2021-05-04 12:47:27 +08:00
Him188
84d444843d Old network: delete account secrets on BotOfflineEvent.Force. #1205 for 2.7-M1 2021-05-04 12:47:22 +08:00
Him188
41eeedf932 Optimize suppresses 2021-05-03 17:09:53 +08:00
Him188
03df2d8bb7 Update docs about example for commands for Java 2021-05-03 17:09:42 +08:00
Him188
57eb716e31
Add inline BotFactory.newBot for Kotlin DSL. fix #1233 (#1234) 2021-05-02 13:51:32 +08:00
sandtechnology
0baaf9d587
Correct the seq logic, fix #1094 (#1232) 2021-05-02 13:51:21 +08:00
sandtechnology
db4c41f84a
Rework seq system (#1230)
* Rework seq system, should help #1209

* Use non-blocking (CAS) implement

* Making next seq code more clear for reading

* Fix mistake
2021-05-02 13:50:24 +08:00
Him188
0dbb448cad Fix doc on BotConfiguration.inheritCoroutineContext 2021-05-01 10:54:21 +08:00
Him188
3321cdeac3 Fix ambiguous doc on KotlinPlugin 2021-04-30 23:19:34 +08:00
Him188
a8a448272d Add BotConfiguration.heartbeatStrategy
(cherry-picked from #1229)
2021-04-30 22:56:00 +08:00
Him188
104f7b4292 Fix statHeartbeatPeriodMillis not copied in BotConfiguration.copy 2021-04-30 22:06:15 +08:00
wdvxdr1123
758eca55cd
feat: support kugou,kuwo music share (#1228)
* feat: support kugou,kuwo music share

* fix: api check

* fix: api check again

* Update MusicShare.kt

Co-authored-by: Him188 <Him188@mamoe.net>
2021-04-30 22:03:36 +08:00
ZingerBurger
00491b86fe 修复错误 2021-04-30 14:00:01 +08:00
Him188
c7dfef9ad5 Improve logs on event exception 2021-04-29 12:31:09 +08:00
Him188
70dc0a4da6
Remove kotlin.time.Duration usages (#1215)
* Remove kotlin.Duration usages

* Fix build

* update submodule console ref
2021-04-27 11:49:30 +08:00
jerrita
11b62b9e23
Update README.md (#1218)
* Update README.md

新增一个python接口

* Update README.md

Co-authored-by: Him188 <Him188@mamoe.net>
2021-04-27 10:41:27 +08:00
Him188
94f54b7c6d Replace usages of unstable API 2021-04-25 19:26:20 +08:00
Him188
2dc96999f1 2.7-M1-dev-2 2021-04-25 11:42:29 +08:00
sandtechnology
4e070baf34
Fix duplicate register packet (#1214) 2021-04-25 11:37:12 +08:00
Him188
c3b6342d34 Fix EventChannelKotlinExtensions resolution ambiguity 2021-04-25 11:35:56 +08:00
Karlatemp
d3dc756a50
Drop empty UnsupportedMessage; fix #1210 2021-04-24 10:18:06 +08:00
Him188
1088b12621 Release version 2.6.2 2021-04-21 20:36:28 +08:00
Him188
b25ea78c6f Fix build 2021-04-21 18:28:16 +08:00
Him188
17e616d544 Fix false positive ILLEGAL_COMMAND_NAME and potential other mistakes, fix #340 2021-04-21 18:26:18 +08:00
Him188
706daec4ac Fix potential error due to plugin not up to date when resolving ResolveContext 2021-04-21 18:26:18 +08:00
Him188
a71d465887 Release version 2.6.2 2021-04-21 16:41:12 +08:00
Him188
e4398f8454 Revert "Release version 2.6.1"
This reverts commit d8f5615c
2021-04-21 16:40:12 +08:00
Him188
d8f5615c4d Release version 2.6.1 2021-04-21 16:38:27 +08:00
Him188
5dcccd1402 Introduce base class for tests AbstractTest 2021-04-20 12:47:57 +08:00
Eritque arcus
63ae9b276f
补充mirai-hello-world (#1202)
* Update ConfiguringProjects.md

* Update ConfiguringProjects.md

Co-authored-by: Him188 <Him188@mamoe.net>
2021-04-19 19:13:24 +08:00
Him188
30a81738b9 2.7-M1-dev-1 2021-04-18 14:39:22 +08:00
Him188
6d58fb5514 Ensure fast login succeed, fix #1199 2021-04-18 14:37:16 +08:00
Him188
835f0b262d Fix docs 2021-04-17 19:56:37 +08:00
AdoptOSS
09475efbda
fix: serialization plugin should not be put into runtime classpath (#1197) 2021-04-17 19:56:19 +08:00
Him188
9debb850b7 Release version 2.6.1 2021-04-17 19:09:26 +08:00
Karlatemp
28a8b8303a
Support receive nested ForwardMessages (#1196)
* Support receive nested ForwardMessages

* Tests
2021-04-17 16:09:32 +08:00
Him188
d3bfd4df04
docs: add more info about device info
https://mirai.mamoe.net/topic/149/mirai%E5%9C%A8%E6%97%A0%E6%A1%8C%E9%9D%A2%E7%8E%AF%E5%A2%83%E4%B8%8B%E8%BF%90%E8%A1%8C
2021-04-17 15:29:25 +08:00
Karlatemp
0c93aeb425
Add RefineContext for refining (#1195)
* Add RefineContext for refining

* Add RefineContext argument

* Fix build
2021-04-17 11:45:02 +08:00
Karlatemp
83fa78b50d
Find nick from source; fix #1137 2021-04-17 09:28:11 +08:00
Him188
1fc52e69d3 Fix build 2021-04-17 02:18:32 +08:00
Him188
9cf459ec89 Fix compatibility problem with 2020.3 2021-04-17 00:42:10 +08:00
Him188
5e95cdd5b0 Disable TestCoroutineUtils tests 2021-04-16 17:45:37 +08:00
Him188
76ab9f220e TestCoroutineUtils: add more cases 2021-04-16 16:56:37 +08:00