Commit Graph

5208 Commits

Author SHA1 Message Date
Karlatemp
2bfc20048e
[MessageSubscribersBuilder] Ignore null execution result. close #1011 2021-02-16 20:56:26 +08:00
Karlatemp
addee38c70
Don't add new friend when reject new friend request 2021-02-15 13:43:03 +08:00
Karlatemp
e7e8d8ca6a
Fix MessageChain.cleanupRubbishMessageElements() 2021-02-15 11:38:42 +08:00
Karlatemp
6e2ae6b3af
Update caller-finder version 2021-02-15 10:42:37 +08:00
Noire
4555962049
Fix document of BotConfiguration.botLoggerSupplier (#1021) 2021-02-14 21:41:57 +08:00
Him188
9d20d28148 Merge remote-tracking branch 'mirai/dev' into dev 2021-02-13 17:45:52 +08:00
Him188
16e7af43ba Release v2.5.0-dev-1 2021-02-13 17:44:31 +08:00
sandtechnology
9699218601
Fix wrong decoding on ConfigPushSvc and update default server list (#1015)
* Fix wrong decoding on ConfigPushSvc and update default server list

* Fix a bug which won't update server list

* Improve wording

* Fix an encoding error

* Fix wording

* Naming consistently

* Improve ServerListPush message

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

Co-authored-by: Him188 <Him188@mamoe.net>
2021-02-13 11:34:48 +08:00
Him188
4ac7d3fa9a
Support Dice (#1018)
* Add Dice public API #1012, close #1017

* Extract MarketFaceImpl to separate file

* Dice protocol impl #1012

* Dice refinement

* Add serialization support for Dice

* Add mirai code support for Dice

* Update docs/Messages.md

Co-authored-by: Karlatemp <karlatemp@vip.qq.com>

* Update mirai-core-api/src/commonMain/kotlin/message/data/Dice.kt

Co-authored-by: Karlatemp <karlatemp@vip.qq.com>

* Add dice mirai code test

Co-authored-by: sandtechnology <a1294790523@hotmail.com>
Co-authored-by: lc6a <1952511149@qq.com>
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-02-13 11:34:23 +08:00
Karlatemp
d09d810b6f
Fix bot nick not initialized; Fix #1019 2021-02-12 17:22:14 +08:00
Him188
d0cbe087b1 Add jetbrains-annotations dependency to mirai-core-api 2021-02-12 14:38:22 +08:00
Him188
c82efff696 Release v2.4-RC 2021-02-11 19:18:11 +08:00
Him188
9922aa48ba Run 'Release Publish' on tagging '*-release' 2021-02-11 19:09:08 +08:00
Bo Zhang
ba06ce6db3 Simplify release.yml task 'check keys'
from https://github.com/mamoe/mirai/pull/981#discussion_r574175859
2021-02-11 17:02:54 +08:00
Him188
c51eea6268 - Simplify ContactListCache configuration
- Add kotlin.Duration support
- Disable contact list cache by default for stability
2021-02-11 16:58:43 +08:00
Him188
e219fb3a95 Fix typo in doc 2021-02-11 16:42:02 +08:00
Karlatemp
0d58e6e3ab
Convert CRLF(\r\n), CR(\r) to LF(\n); fix #1010 2021-02-11 08:48:01 +08:00
Karlatemp
791e43819c
Fix logic of BdhSessionSyncer.hasSession 2021-02-11 07:47:14 +08:00
Karlatemp
3e3be23397
Fix build 2021-02-10 22:25:22 +08:00
Him188
ce22a0c3ab Fix kotlin.UninitializedPropertyAccessException on ConfigPushSvc.PushReq.handle, fix #1003 2021-02-10 15:31:19 +08:00
Him188
915e096cc2 Switch server when neither new bdh session nor cached one found, fix #1001 2021-02-10 15:27:50 +08:00
Him188
cda6aaa79b Simplify cache configuration.
Improve cache saving:
- Use ProtoBuf to serialize BdhSession
- More readable servers.json
2021-02-10 15:20:39 +08:00
Him188
4668a2d91b Update profiles_settings.xml, change license settings 2021-02-10 15:04:13 +08:00
Karlatemp
8b0694c7e3
Merge pull request #981 from mamoe/maven-central
Maven central publish
2021-02-10 10:11:45 +08:00
Karlatemp
b3e9e2a91b
Remote repositories name 2021-02-10 10:06:41 +08:00
Karlatemp
32ef89add1
Merge remote-tracking branch 'origin/dev' into maven-central
# Conflicts:
#	.github/workflows/bintray.yml
#	.github/workflows/release.yml
2021-02-10 10:01:07 +08:00
Bo Zhang
d998b655e5
Use build scan instead of --info --stacktrace (#1008)
So we can have much neater build logs
2021-02-09 21:58:27 +08:00
Him188
01374b1d32 Merge remote-tracking branch 'mirai/dev' into dev 2021-02-09 18:40:51 +08:00
Him188
9a32b2690e RichMessageOrigin support for MusicShare. fix #950 2021-02-09 18:40:30 +08:00
Karlatemp
17c2069c82
Handle ConfigPushSvc.PushReq.PushReqResponse.ChangeServer in ConfigPushSvc 2021-02-09 15:08:50 +08:00
Karlatemp
0780756bd4
Typo 2021-02-09 14:44:34 +08:00
Karlatemp
c9f56175af
Cache BdhSession and ServerList for next login 2021-02-09 13:51:08 +08:00
Him188
7d108d3222 Reorder community-supported SDKs 2021-02-08 13:08:22 +08:00
Karlatemp
ff23709ae3
Merge remote-tracking branch 'origin/dev' into maven-central
# Conflicts:
# .github/workflows/bintray.yml
# .github/workflows/release.yml
# buildSrc/src/main/kotlin/Versions.kt
2021-02-08 12:24:15 +08:00
Him188
aaa655f167 Move @JvmBlockingBridge on member functions to containing classes 2021-02-08 12:15:58 +08:00
Him188
bdcc92f0e9 Update blocking bridge version 2021-02-08 12:05:38 +08:00
Him188
ad6d95cee5 Require password length to be at most 16 on BotAccount init. #993 2021-02-07 19:00:21 +08:00
Him188
f2d9c0e5d2 Fix publishing workflow 2021-02-07 15:53:46 +08:00
Karlatemp
a0666635d5
Keep JCenter package; Re-enable gradle plugin publish 2021-02-07 15:28:29 +08:00
Him188
2d1c66135e Fix Voice.contentToString to be the same as official clients 2021-02-07 14:59:07 +08:00
Him188
bf4502fa3e 2.4-M1 2021-02-07 14:37:03 +08:00
Him188
c4c0bce381 Merge remote-tracking branch 'mirai/dev' into dev 2021-02-07 14:18:35 +08:00
Him188
d0ea9ceaae Upload all voices as silk format to avoid compression, #940 2021-02-07 14:18:19 +08:00
Him188
80b9986f22
Merge pull request #991 from mamoe/contact_list_cache
Contact list cache
2021-02-07 14:17:43 +08:00
Him188
31839b76a3 Enable cache by default, change default cache dir, change enableXXXCache to disableXXXCache in BotConfiguration 2021-02-07 13:55:08 +08:00
Him188
f27e42d225 Fix BotConfiguration.copy 2021-02-07 13:43:03 +08:00
Him188
cbf151b24d Rearrange BotConfiguration members 2021-02-07 13:43:03 +08:00
Him188
0a36170411 Fix docs 2021-02-07 13:43:03 +08:00
Him188
4f3ced5407 apiDump 2021-02-07 13:43:03 +08:00
Him188
7fac83702a Support group list cache, close #987 2021-02-07 13:43:03 +08:00