Commit Graph

8133 Commits

Author SHA1 Message Date
cssxsh
9818c08054
[core] Add sign event (#2217)
* add: SignEvent

* add: SignEvent

* add: hasRank

* add: api dump

* add: toString

* add: toString

* fix: sign for review
2022-10-29 11:11:20 +01:00
Nekoer
17361c745a
Try to permit PR running 2022-10-29 18:08:15 +08:00
cssxsh
c9d1d386b1
fix: ANDROID_PHONE and ANDROID_WATCH (#2312)
* fix: ANDROID_PHONE and ANDROID_WATCH

* fix: ANDROID_PHONE
2022-10-28 22:49:09 +01:00
Him188
9c3514dc89
[core] Remove necessary inlining in MessageSvcPbSendMsg to improve debugging experience 2022-10-28 14:46:24 +01:00
Him188
36cd688382
[core] Improve documentation for Group files 2022-10-28 14:42:28 +01:00
Him188
a8995d63a6
[build] Set version to 2.14.0 2022-10-28 14:40:00 +01:00
cssxsh
03fc3a3445
[console] Unwrap InvocationTargetException when executing commands (#2258) 2022-10-28 14:07:40 +01:00
cssxsh
5bf9fdf5b6
[console] feat: load SPI Service in jvm plugin (#2247)
* feat: load SPI Service in jvm plugin

* add: api dump

* fix: docs
2022-10-28 14:06:41 +01:00
cssxsh
1b5f45cd70
feat: more login info (#2304) 2022-10-26 18:46:43 +01:00
Karlatemp
48143d7b3c
[console] Process signals later if console not yet initialized; Ignore window resized signal 2022-10-23 12:55:25 +08:00
Him188
1f8524fb04
Fix all compiler warnings throughout the project 2022-10-21 17:00:37 +01:00
Him188
c1f7149aa7
[mock] Add OtherClient parameter to broadcastMsgSyncEvent 2022-10-21 16:26:58 +01:00
Him188
25e66d19c7
[core] Filter out relocated ktor dependencies in runtime except for mirai-core-utils and mirai-core-all. Fix #2291 2022-10-21 16:09:27 +01:00
Him188
a9da3a10e2
[docs] Add release note for 2.13.0-RC2 2022-10-21 15:46:15 +01:00
Him188
e503371ad5
[docs] Update docs for configuring projects. Helps #2275 2022-10-20 13:16:14 +01:00
Karlatemp
ddfd22e541
[core] [Network] Handle non ipaddress converting caused by some unknown 2022-10-20 12:58:09 +08:00
Karlatemp
58ab562322
[core - JVM] [Network] Wrap exception from connecting to NettyChannelException to allow selector to reconnect 2022-10-20 12:56:39 +08:00
Him188
1d6e6ea67d
[core] Ensure MPP metadata with all available platforms is uploaded before uploading platform artifacts. Fix #2270 2022-10-19 16:30:20 +01:00
Him188
eab14647e1
[core] Fix ArrayIndexOutOfBoundsException when loading device infos generated by < 2.9.0. Fix #2280 2022-10-19 16:19:34 +01:00
Chlorie
7ebbff9f50
Fix BuildingCore.md wording (#2285)
[skip ci]
2022-10-18 23:13:44 +08:00
Karlatemp
5fb1d714f7
[core] Improve exception message of Outdated Version 2022-10-15 22:39:27 +08:00
Him188
9042b1298d
Update bug.yml 2022-10-15 10:22:28 +01:00
Him188
4595f937e4
[core] Add MessageChain.deserializeFromMiraiCode without redundant receiver MessageChain. 2022-10-14 16:00:31 +01:00
Him188
4276b67b2b
[core] Fix internal comments in estimateLength 2022-10-13 15:39:00 +01:00
Him188
73293251d1
[core] Improve docs for messages 2022-10-13 15:35:34 +01:00
Him188
3b5ced4328
[core] Improve exception thrown by MessageChain.recall and .recallIn: add tips 2022-10-13 15:35:24 +01:00
Karlatemp
dc6f590581
[mock] Fix building
- caused by 5ed9dc7e
2022-10-13 00:27:55 +08:00
Him188
5ed9dc7e89
[core] Check service configuration when loading MessageProtocols. Helps #2268 2022-10-12 14:54:47 +01:00
Him188
4d80e0e6d3
[core] Improve documentation on processor pipeline system. 2022-10-12 14:38:17 +01:00
Him188
7c1e468b85
[core] Load FriendGroups separately from Friends. Fix #2274. 2022-10-12 12:05:31 +01:00
Him188
7fd3234ff3
[core] Fix bot.close, ensure network is also closed, fix recursion problems. Fix #2266 2022-10-10 22:51:02 +01:00
Karlatemp
eb9143d520
[core] Use ptt codec 2022-10-10 00:34:06 +08:00
Karlatemp
9eef7d3787
[core] Fix group audio url fetching. fix #2269 2022-10-10 00:10:25 +08:00
Him188
faa7ebeaba
[build] Add notes to configureRelocationForCore 2022-10-03 12:44:41 +01:00
Him188
394c0a5b4e
[core] Relocate com.squareup.okhttp3 and com.squareup.okio. Fix #2263 2022-10-03 12:38:55 +01:00
Karlatemp
cae7b1161c
[mock] Unified contacts data 2022-10-03 12:40:56 +08:00
Karlatemp
495542d2a2
[mock] Fix modules plus-ing 2022-10-03 12:40:56 +08:00
微莹·纤绫
52c0e40552
Update Mocking.md [skip-ci] 2022-10-03 10:19:56 +08:00
Him188
16609fb1e0
[core] Introduce Streamable for simplified multiplatform asFlow a… (#2256)
* [core] Introduce `Streamable` for simplified multiplatform `asFlow` and `asStream`. Make `Announcements.asFlow` not suspend.

* Remove `@JvmBlockingBridge` in native
2022-09-25 23:44:18 +08:00
Him188
2da0a2d6d3
[core] Fix relevant uses of Closeable 2022-09-23 23:01:39 +08:00
Him188
d4f4ea30d4
[build] Update idea plugin version to 221-2.13.0-171-2 2022-09-23 22:09:10 +08:00
Him188
ead98b192d
[docs] Add release note for 2.13.0-RC 2022-09-23 22:09:02 +08:00
ヒューマンワーキング
8cb8a71f16
[intellij] 从 Maven Central 获取 kotlin jvm 版本 (#2244)
* get kotlin version from Gradle Plugins

* add `kotlinVersion` to project module

* add kotlin version cell to wizard initial step

* get dependency `kotlin-stlib-*` version from maven

* rename `KotlinJvmVersion` to `KotlinStdlibVersion`

* `KotlinJvmVersion.kt` -> `KotlinStdlibVersion.kt`
2022-09-23 22:02:43 +08:00
Him188
d1273401f6
[core] Remove dependency kotlinx-coroutines-jdk8 from mirai-core-api 2022-09-23 21:38:07 +08:00
Him188
9122dddfb7
[core] Add net.mamoe.mirai.utils.Closeable for MPP use 2022-09-23 21:38:06 +08:00
Him188
b360f58c2b
[core] Make ExternalResource.input an internal API. helps #2254 2022-09-23 21:38:06 +08:00
cssxsh
d000f2ea0f
[core] add group level api (#2115)
* add: api dump

* feat: Member.level

* add: api dump

* rename: level to rank

* feat: rank show

* feat: honor flag

* fix: honor flag index

* feat: record and chart

* feat: flag and docs

* add: api dump

* fix: active

* fix: honor

* fix: active

* fix: rebase

* fix: docs

* feat: MemberActive

* fix: for review

* feat: other notification

* remove: low level api

* add: since and api dump

* add: since

* for: review

* add: event sync

* fix: name and docs

* fix: api dump

* fix: for review

* add: ActiveRank, MemberMedal close #2233

* fix: active for review

* improve public API for inlined GroupHonorType

* Change `@since 2.13.0` to `@since 2.13`

* dump api changes

* implement mock framework for Active

* change `GroupActive.flush` to `GroupActive.refresh`

* improve docs for GroupActive

* remove unnecessary expect/actual for MemberActive

* change property names in GroupInfo

* check permission in MockGroupActiveImpl

* optimize member names in  CommonGroupActiveImpl

* fix error checking

* dump api

Co-authored-by: Him188 <Him188@mamoe.net>
2022-09-21 23:18:50 +08:00
Him188
aa40f3f3d7
[core] fix since version of ExternalResource.input 2022-09-21 12:01:47 +08:00
Him188
00db1fe187
[build] Use modified shadow plugin to fix ASM mapping issues. Close #2230. 2022-09-20 18:50:04 +08:00
Karlatemp
bf362f9d75
[console] Add version bar before logo 2022-09-20 12:38:41 +08:00