Commit Graph

5135 Commits

Author SHA1 Message Date
Him188
de170325c9 Merge branch 'fix_1118_empty_listFiles' into dev 2021-03-28 19:32:44 +08:00
Him188
4efb21da05
Update CONTRIBUTING.md 2021-03-28 00:29:38 +08:00
Him188
3fbbba9cfa Revert ".gitignore: Change build/ to /build/"
This reverts commit 7ce4696d
2021-03-27 20:23:32 +08:00
Him188
7ce4696de6 .gitignore: Change build/ to /build/ 2021-03-27 19:30:17 +08:00
Him188
c8e0eccf67 2.5.1-dev-1 2021-03-27 15:41:09 +08:00
Him188
174ca300d6 Fix empty listFiles for child directories, fix #1118 2021-03-27 15:39:46 +08:00
Him188
430c2c59ad
Support UnsupportedMessage (#1112)
* Support UnsupportedMessage

* Fix serialize

* `UnsupportedMessage.contentToString`: use `struct.contentHashCode()`

Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-03-26 23:54:17 +08:00
Him188
24587503a3 Merge remote-tracking branch 'mirai/dev' into dev 2021-03-26 20:44:07 +08:00
Him188
0f41c225f9 Move SerialDescriptor.copy to mirai-core-utils 2021-03-26 20:42:51 +08:00
Him188
c47535289a
Merge pull request #1115 from mamoe/transform_special_messages
Move Dice to MarketFace conversion from `SendMessageHandler.transformSpecialMessages`...
2021-03-26 20:36:21 +08:00
Him188
8d25025d24 Support decode Dice sent by TIM PC clients 2021-03-26 20:34:32 +08:00
Him188
efc6eda312 Move Dice to MarketFace conversion from SendMessageHandler.transformSpecialMessages to MessageChain.toRichTextElems to enable conversions for ForwardMessage 2021-03-26 19:54:11 +08:00
Him188
0723c5c568 Release version 2.5.0 2021-03-26 11:48:20 +08:00
Him188
faebbde94c Do not publish on release created 2021-03-26 10:46:01 +08:00
Him188
eccb92a78d Publish on tagged v* 2021-03-26 10:40:08 +08:00
Him188
3ae44a3b8e Add docs for FileMessage 2021-03-26 10:24:50 +08:00
Him188
aa1aaf1ada Update serialization version to 1.1.0
Fix unresolved reference on Maven sync due to kotlin-stdlib:1.4.30-370
2021-03-26 10:19:54 +08:00
Him188
fef0b4220a Merge remote-tracking branch 'mirai/dev' into dev 2021-03-26 10:07:13 +08:00
Him188
7ed8502e68 Fix docs on IMirai.FileCacheStrategy 2021-03-26 10:06:48 +08:00
Karlatemp
a5e85f443e
Try fix forward message display (#1052)
fix https://github.com/mamoe/mirai/issues/1052#issuecomment-805600071
2021-03-25 00:01:04 +08:00
Him188
c071ac5773
Update docs of Nudge, clearification 2021-03-23 23:57:20 +08:00
Him188
f8da762d2f Merge remote-tracking branch 'mirai/dev' into dev 2021-03-22 12:52:39 +08:00
Him188
c006a48de5 Update docs about FileCacheStrategy, close #1046 2021-03-22 12:52:18 +08:00
Him188
bf47ab4f58
Merge pull request #1089 from mamoe/him188/forward_builder
Make ForwardMessageBuilder easier to use for Java, close #1087
2021-03-22 12:12:35 +08:00
Him188
ee1ea33898 Remove inappropriate use of DSL marker on ForwardMessageBuilder.add 2021-03-22 11:24:26 +08:00
Him188
0c3c85f61c Add members to make ForwardMessageBuilder easier to use from Java, close #1087 2021-03-22 11:24:26 +08:00
Him188
f42747f6ac Make buildMessageChain not @JvmSynthetic 2021-03-22 11:21:22 +08:00
Him188
daa7453d73 Add UserOrBot.nameCardOrNick 2021-03-22 11:16:34 +08:00
Him188
146433d56f Add common UserOrBot.nick 2021-03-22 11:16:34 +08:00
Him188
896b9ac56c
Merge pull request #1110 from Nambers/patch-1
增加社区SDK?
2021-03-22 11:13:51 +08:00
Eritque arcus
a5d920146b
增加社区SDK?
稍后应该会增加MiraiCP的英文文档,如果可以收录的话
2021-03-22 09:06:01 +08:00
Him188
71880ac521
Update mirai-ecology.md
fix references
2021-03-21 21:23:31 +08:00
Him188
39015d6b85 Update docs 2021-03-21 11:36:09 +08:00
Him188
95d879c3e2 apiDump 2021-03-20 22:51:13 +08:00
Him188
af7a4f7094 Merge remote-tracking branch 'mirai/dev' into dev
# Conflicts:
#	buildSrc/src/main/kotlin/Versions.kt
2021-03-20 22:40:47 +08:00
Him188
748fc0b883 Update docs version 2021-03-20 22:40:05 +08:00
Him188
474de03e19 Release version 2.5-RC 2021-03-20 22:35:28 +08:00
Him188
9f52a26fbd Fix FileMessage mirai code 2021-03-20 22:31:12 +08:00
Him188
f5e1206673 Update docs for mirai code 2021-03-20 22:18:35 +08:00
Him188
545094671f 2.5-RC-dev-2 2021-03-20 20:37:28 +08:00
Him188
0112d4622e Rename ExternalResource.Companion.uploadAsFileTo to uploadAsFile to keep consistency 2021-03-20 16:49:02 +08:00
Him188
09cbc55ef6 RemoteFile.FileInfo.resolveToFile: use FileSupport than Group 2021-03-20 16:45:01 +08:00
Him188
7f6812727a Update RemoteFile docs and mark RemoteFile as stable 2021-03-20 16:45:00 +08:00
Him188
74d59982ae Add more extensions for RemoteFile and ExternalResource 2021-03-20 15:59:58 +08:00
Him188
b328328ddd Add docs for RemoteFile and mark some API as stable 2021-03-20 15:59:58 +08:00
Him188
b5d8306902 Add RemoteFile.listFilesCollection()
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-03-20 15:59:58 +08:00
Him188
5f02c35e66 Merge remote-tracking branch 'mirai/dev' into dev 2021-03-20 15:33:48 +08:00
Him188
af58c163d2 - Add FileMessage.internalId hence support serialization
- Add FileMessage.Serializer
- Add FileMessage.create and IMirai.createFileMessage to construct manually
- Mark FileMessage as stable
- Move TestMiraiCode from mirai-core-api to mirai-core

fix #1082
2021-03-20 15:33:08 +08:00
Karlatemp
f9353b6aef
Compiled code verify (#1080)
* Compiled code verify

* Run `verifyCompiledClasses` in `check` task

* Redesign verification

Co-authored-by: Bo Zhang <bo@gradle.com>

* Disable console verify

* Decoupling

Co-authored-by: Bo Zhang <bo@gradle.com>
2021-03-20 13:34:04 +08:00
Him188
77122dd445
Update CONTRIBUTING.md 2021-03-20 00:08:56 +08:00