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
Him188
5521bb2eec
Add swing dependency to buildSrc for mirai-console-intellij
2021-03-19 23:12:02 +08:00
Him188
eca12954b5
2.5-RC-dev-1
2021-03-19 09:11:37 +08:00
Him188
841b94e9a7
Merge remote-tracking branch 'mirai/dev' into dev
2021-03-18 12:37:13 +08:00
Him188
9d28540073
Update blocking bridge version to 1.10.3, fix NoClassDefFoundError, fix #1078
2021-03-18 12:36:53 +08:00
Karlatemp
3152e24523
Fix operations of RemoteFile ( #1104 )
...
* Fix operations of RemoteFile
* apiDump
* Remove duplicate method
* Don't setup fileId
2021-03-18 12:30:06 +08:00
Him188
90a1fdbb89
Update docs
2021-03-18 09:53:08 +08:00
Him188
8532837d78
Update docs
2021-03-18 09:38:34 +08:00
Him188
1a85219b33
Update docs
2021-03-18 09:29:07 +08:00
Karlatemp
5cd62319b7
Update docs of RemoteFile
2021-03-17 23:41:49 +08:00
Karlatemp
d4532f948c
Fix duplicated MemberJoinEvent broadcast; fix #1090
2021-03-11 22:32:22 +08:00
Karlatemp
27e0f572d3
Record unlogged events
2021-03-11 18:21:21 +08:00
Him188
7a4d1f2763
Release version 2.5-M2
2021-03-09 09:07:30 +08:00
Him188
29fb83e1f6
Add VCS root $PROJECT_DIR$/mirai-console
2021-03-09 09:07:03 +08:00
Him188
e256ec06d3
Support file operations ( #1069 )
...
* Proto structs for group file
* RemoteFile fundamental abstraction and proto structs
* Configure JVM target for mirai-console-intellij
* Add Group.filesRoot
* Fix build
* Implement a FileSystem for RemoteFile resolution
* Fix RemoteFile FileSystem and implement resolve and listFiles
* Implement file info query and file download
* Support uploading group file
* Support file feeds
* 2.5-M2-dev-1
* Fix tests
* 2.5-M2-dev-2
* Add uuid-based resolving, support getting file details
* Support FileMessage receive
* Support sending FileMessage
* 2.5-M2-dev-3
* Add DownloadInfo.id
* Improve RemoteFile.delete
* Support move, delete, rename, mkdir. Simplify listFiles
* - Rename RemoteFile.write to .upload.
- Prefer id matching
- Improve move
* Add permission checks
* Improve permission checks
* Rearrange functions and add constant ROOT_PATH
* Introduce FileSupported, add extensions
* Introduce ProgressionCallback
* Fix docs and uploadFileAndSend
* Remove empty FileHighway.kt
* Add test testNormalize
* Add RemoteFile.contact, change RemoteFile.uploadAndSend return type to MessageReceipt
* Move @JvmBlockingBridge to file
* Change FileMessage.toRemoteFile parameter type Group to FileSupported
* Add impl notes #1082
2021-03-08 18:34:45 +08:00
Karlatemp
716b8c6129
Reinitialize network before connect server
2021-03-06 21:58:57 +08:00
Karlatemp
038ea831ac
Improve logging
...
- replace magic codes in sender nick and other components
2021-03-06 18:43:02 +08:00
sandtechnology
fa59459041
Correct group syncing and add friend syncing logic, Fix #1058 ( #1060 )
...
* Correct group syncing and add friend syncing logic, Fix #1058
* Simple method naming
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
* Replace with runBlocking
* Return events instead of broadcasting it
* Use suspend instead of runBlocking
* Make transformers suspend
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-03-05 14:12:17 +08:00
Him188
17a5d3821f
Fix error message when sending message
2021-03-04 14:50:44 +08:00
Him188
44b9fd2d6a
Merge remote-tracking branch 'mirai/dev' into dev
2021-03-04 14:50:16 +08:00
Him188
ad04cd35a4
Throw BotIsBeingMutedException on errorCode 120 when sending message
2021-03-04 14:49:53 +08:00
NaturalHG
dfa5d12440
Update README.md
2021-03-04 09:32:02 +08:00
Him188
a06189d835
Update versions in doc
2021-03-03 09:27:57 +08:00
Him188
2b6eddd0d7
Revert "Avoid using kotlin.time.Duration API in a binary-sensitive way, fix #1066 "
...
...since 2.5 targets Kotlin 1.4.30
This reverts commit cedb239f
2021-03-03 09:27:37 +08:00
Him188
a8f3bc876d
Merge remote-tracking branch 'mirai/dev' into dev
2021-03-03 08:06:00 +08:00
Him188
cedb239fc3
Avoid using kotlin.time.Duration API in a binary-sensitive way, fix #1066
2021-03-03 08:04:57 +08:00
Karlatemp
047a3b344e
Try fix display of ForwardMessage on iOS; #1052
2021-03-02 23:10:38 +08:00
NaturalHG
1b136b268a
Update README.md
2021-03-02 03:07:43 +08:00