Commit Graph

5379 Commits

Author SHA1 Message Date
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
NaturalHG
c7884614a6
add link to mirai-sponsor 2021-03-02 03:07:01 +08:00
NaturalHG
491f623bf2
Add sponsor entry 2021-03-02 02:43:41 +08:00
Him188
7867294f4d Remove maven local and kotlinx jcenter repositories 2021-03-01 10:23:20 +08:00
HelloWorld
1012ec1824
Merge pull request #1059 from purofle/patch-1
增加MiraiForum
2021-02-27 23:01:48 +08:00
purofle
0e745586af
Update README.md 2021-02-27 22:30:21 +08:00
purofle
db917567a3
增加MiraiForum 2021-02-27 21:05:01 +08:00
Him188
df4e5caf30 Update ConfiguringProjects.md versions 2021-02-27 15:28:45 +08:00
Him188
0183981b63 Release version 2.5-M1 2021-02-27 14:46:36 +08:00
Him188
1d68c6ab68 Don't checkout submodules remotely in CI builds 2021-02-27 14:44:46 +08:00
Him188
cafd13478f Fix member permission detection in OnlinePushPbPushGroupMsg, fix #1050 2021-02-27 14:36:18 +08:00
Him188
ec140a0df2
Merge pull request #989 from mamoe/android_target
Android target
2021-02-27 14:07:11 +08:00
Karlatemp
64a5273872
Add Maven Central badge 2021-02-26 22:47:35 +08:00
Karlatemp
23f71b9b1c
Update Messages.md 2021-02-26 20:10:18 +08:00
Karlatemp
d5e6483dc1
apiDump for Android 2021-02-26 18:36:35 +08:00
Karlatemp
7b7730601f
Include api-versions.xml in repo 2021-02-26 18:32:44 +08:00
Him188
947e3e3458 Add issue navigator 2021-02-26 15:59:49 +08:00
Him188
b7c0f40d7e Revert "Implement multiplatform EventChannel for android specially"
This reverts commit dd7aed88
2021-02-26 15:34:51 +08:00
Him188
8c5727800c Release 2.5.0-dev-android-1 2021-02-25 13:11:21 +08:00
Him188
cad9bd2479 apiDump for Android 2021-02-25 11:22:11 +08:00
Him188
7fd281c496 Remove reflection API calls which are unsupported by Android 2021-02-25 11:19:18 +08:00
Him188
d6bb8fa844 Target Android API 24 2021-02-25 11:11:37 +08:00
Him188
22ab149024 Fix configureJvmTarget 2021-02-25 11:11:28 +08:00
Him188
aaab3ae109 Merge branch 'dev' into android_target
# Conflicts:
#	build.gradle.kts
2021-02-25 10:39:51 +08:00
Him188
cdf2235b7a Fix typo 2021-02-25 09:43:10 +08:00
Him188
f010b1150c Fix platform declarations in mirai-core-utils 2021-02-25 09:41:05 +08:00
Him188
2c14f0016f Disable atomicFU compiler plugin 2021-02-25 09:35:51 +08:00
Him188
6cf3d6b190 Fix tests package name 2021-02-25 09:31:30 +08:00
Him188
4d3f8ad56b Remove mistakenly added kotlin-test dependencies in main source sets 2021-02-25 09:26:57 +08:00
Him188
abf9baefc1 Remove @file:JvmName on PlatformLogger actual declarations, fix potential compiling issue 2021-02-25 07:54:36 +08:00