Him188
790ad7f035
[docs] 增加 "获取 dev 分支的最新版本号"
2023-08-27 12:31:09 +08:00
Stone
101e473c02
docs: 更新 AliceBot 仓库地址 ( #2783 )
2023-08-27 02:15:59 +08:00
StageGuard
4acd66711a
[core] avoid potential null cast when refining OnlineShortVideoMsgInternal
2023-08-25 22:16:27 +08:00
StageGuard
5651d642fa
[doc] add ShortVideo to message protocol list
2023-08-25 17:38:58 +08:00
Him188
f6b5a23734
[core] 更新 ANDROID_WATCH 注释, 标注当群被设置为不提醒的的时候, 服务器不会推送消息, close #2546
2023-08-24 10:31:27 +08:00
StageGuard
5b3e508b75
feature: add ShortVideo
message support ( #2739 )
...
* initial support for ShortVideo message
* dump api
* [core] upload protocol
* [core] short video upload event
* [core] doc
* [core] protocol
* [core] fix mp4 file check
* [core] extract fileName from `OnlineShortVideo` to `ShortVideo`
* [core] ShortVideo.Builder
* [core] mirai code support for `ShortVideo`
* [core] add doc for OnlineShortVideo and OfflineShortVideo
* [core] fix text
* dump api
* update `Contact.uploadShortVideo`·` doc
* [core] remove mirai code support for ShortVideo
* [core] ensure Mirai service is loaded before load other services
* [core] introduce `CombinedExternalResource` to reference multiple external resources for combined calculation.
* [core] move refine context key defined in `OnlineShortVideoMsgInternal` to `RefineContext`
* [core] remove data class
* [core] broadcast `ShortVideoUploadEvent.Failed` event
* [core] warn when cannot determine fromId
* [core] add `contentToString` and `toString` for `OnlineShortVideoMsgInternal`
* [core] optimize imports
* [core] import
* [core] revert
* [core] doc
* [core] auto close resource
* dump api
* keep consistence of param name
* update doc
* move Builder to OfflineShortVideo
* optimize RefineContext
* RefineContext.merge
* dump api
* fix test
* show more video info
* optimize constructor and builder of offline short video
* optimize thumbnail
* move thumbnail to main constructor arg
* dump api
* avoid null cast exception.
* combine format transition
* cleanup
2023-08-20 18:41:05 +08:00
Him188
c4815c9a7f
[build] 更新 dev 分支版本号到 2.16.0
2023-08-20 15:36:00 +08:00
Samarium
167ea338f8
[idea] feat: support IDEA 2023.2 ( #2775 )
...
feat: support IDEA 2023.2
close #2769
2023-08-20 15:21:57 +08:00
cat.Y
1c7bba8305
[core] 修复 NormalMember.specialTitle
注释中 @see
的错误关联显示,并完善注释 ( #2777 )
...
* 修复NormalMember.specialTitle注释中@see的错误关联显示,并完善注释
* 修改NormalMember.specialTitle注释中@suppress的语句表述
2023-08-20 15:20:22 +08:00
Him188
5ef291f648
[core] Remove jvmBase target ( #2772 )
...
* [core] Remove jvmBase: Contact, FileSupported, ExternalResource, FileCacheStrategy, RemoteFile
* [core] Remove jvmBase: AbsoluteFolder
* [core] Remove jvmBase: RoamingMessages
* [core] Remove jvmBase: EventChannel
* [core] Remove jvmBase: message
* [core] Remove jvmBase: logging
* [core] Remove jvmBase: Streamable
* [core] Remove jvmBase: AbstractBotConfiguration
* [core] Remove jvmBase: test and cleanup module
2023-08-14 10:42:42 +08:00
Him188
42763fd15c
[core] Move DeviceInfo from jvmBase to common
2023-08-12 16:10:29 +08:00
Him188
af89f4d66d
[build] Use Gradle distribution gradle-8.0-bin.zip
2023-08-12 14:42:38 +08:00
cssxsh
a7d9039901
在 CI 构建时上传 Maven 本地仓库作为构建产物 ( #2725 )
...
fix: ci
2023-08-12 14:08:24 +08:00
Hamusuta0320
e61b058153
[core] 修复从可确定图片类型的字符串组成的 mirai code 构造的图片 type 为 UNKNOW 或与期望类型不一致 ( #2761 )
...
* [core]修复从可确定图片类型的字符串组成的mirai code构造的图片type为UNKNOW或与期望类型不一致
* [core]修复从可确定图片类型的字符串组成的mirai code构造的图片type为UNKNOW或与期望类型不一致
* [core]修复从可确定图片类型的字符串组成的mirai code构造的图片type为UNKNOW或与期望类型不一致
* Update mirai-core-api/src/commonMain/kotlin/message/data/Image.kt
---------
Co-authored-by: Him188 <Him188@mamoe.net>
2023-08-12 14:05:38 +08:00
cssxsh
0aad162cad
[console] Deprecate PermitteeId.hasChild and replace with PermitteeId.isChildOf ( #2762 )
...
* fix: hasChild
* fix: docs
* feat: contains
* add: api dump
* fix: isChildOf
2023-08-12 14:00:53 +08:00
StageGuard
fca4a3cfb4
[api] check device info file permission before upgrade
2023-07-28 10:39:43 +08:00
Karlatemp
575bac4a1e
[core] Fix MiraiInternalFile annotation
2023-07-26 17:00:44 +08:00
cssxsh
d93b55f57a
[console] Add AutoLoginEvent.toString()
( #2750 )
...
* feat: AutoLoginEvent.toString
* add: api dump
* fix: AutoLoginEvent.toString
* fix: cause info
2023-07-26 16:27:59 +08:00
cssxsh
7daf2d56bc
[console] Pre check plugin duplication & console requirement ( #2703 )
...
* feat: check in load plugin
* feat: console requirement
* feat: dependsOn mirai
* feat: dependsOn docs
* fix: docs
* use: net.mamoe.mirai-console
* revert
* [console] Wrap mirai-console as a plugin
* [console] Fix plugin dependencies checking skipped already loaded plugins
* [console/tests] Check plugin can depends on mirai-console
---------
Co-authored-by: Karlatemp <kar@kasukusakura.com>
2023-07-26 16:27:29 +08:00
cssxsh
5ace423f2a
[console] Refactor org.slf4j.spi.SLF4JServiceProvider
service file ( #2701 )
...
* move spi
* add: mirai-console self test source
2023-07-26 16:27:05 +08:00
赵怡然
d1295c4e39
default encodeBase64
/decodeBase64
mode to NO_WRAP
on Android ( #2753 )
2023-07-26 13:25:22 +08:00
Karlatemp
7859767b56
[console] Fix exception not caught when closing bot while auto login; fix #2740
2023-07-25 19:28:32 +08:00
Karlatemp
61e8501c66
[core] Fix network initialize order; Ensure bot components when network handler allocated; fix #2740
2023-07-25 19:28:30 +08:00
Karlatemp
eab15f9125
[core/test] Disable AuthorizationReasonTest.force offline
2023-07-25 16:39:22 +08:00
Karlatemp
8a8689eb82
[core] Tried to fix AuthorizationReasonTest.force offline
2023-07-25 15:29:32 +08:00
Karlatemp
061bd28798
[build/testing] Add jupiter-api back to testing
2023-07-25 15:29:05 +08:00
微莹·纤绫
861fd8d3c3
[console] Load plugins with plugin.yml ( #2735 )
...
* [console] Load plugins with plugin.yml
* api dump
* kdocs; keep old internal constructor
2023-07-25 14:51:47 +08:00
Karlatemp
dd2a9e38e8
[gradle] Skip EUR in runConsole
2023-07-25 14:46:34 +08:00
Karlatemp
d9e3045d65
[console] EndUserReadme
2023-07-25 14:46:33 +08:00
Karlatemp
3763996590
[console/terminal] Fix input queue blocked when previous request was cancelled
2023-07-25 14:46:29 +08:00
赵怡然
6e7dcadcf9
[core] Fix qimei request payload ( #2749 )
...
Fix error decoder
2023-07-24 22:53:20 +08:00
ParaN3xus
ee30203e3a
[console] Optimize comments of AutoLogin.yml ( #2742 )
2023-07-23 09:06:32 +08:00
Karlatemp
bd3f50f848
Bump netty & bcprov version
2023-07-15 09:44:00 +08:00
Karlatemp
405f52d3ad
[core] protocol properties public view
2023-07-11 02:27:37 +08:00
Karlatemp
64f4f8c208
[build] Fix android binary validator
2023-07-11 02:22:54 +08:00
Karlatemp
1903d10333
[build] Fix android source set not depends on jvmBaseMain when using jvm android target
2023-07-11 01:35:19 +08:00
cssxsh
eecff3bc4e
update: Questions.md 23-07-03 ( #2721 )
...
* update: Questions.md
* update: Questions.md
* update: Questions.md
* add: tips
2023-07-05 22:51:32 +08:00
Karlatemp
685fb2d3d9
[core] Handle UnsupportedOperationException on EncryptService initialize & add special signals
2023-07-03 20:37:30 +08:00
Karlatemp
96e93e670e
[core] Drop qua holding
2023-07-02 21:50:04 +08:00
Karlatemp
fa389f40bb
Refactor attachToBot to Factory
2023-07-02 21:27:03 +08:00
sandtechnology
787ee833cc
Fix extradata not passed for simple packet
2023-07-02 21:27:03 +08:00
sandtechnology
8af6c3fcf6
Remove unused EncryptServiceContext value and pass QUA
...
All final value only need to passed to initialize method
2023-07-02 21:27:03 +08:00
Karlatemp
19132b359b
[core] Provide CoroutineScope to service
2023-07-02 21:27:03 +08:00
Karlatemp
c080cd19f2
Merge remote-tracking branch 'origin/dev' into core/pkgsso
2023-07-02 21:27:02 +08:00
Karlatemp
ed7eca7f6b
[core] Push bot working directories to service
2023-07-02 21:27:02 +08:00
Karlatemp
804cb8b12d
[core] Service alert
2023-07-02 21:27:02 +08:00
Karlatemp
897e59123f
[core] EncryptService per bot
2023-07-02 21:27:02 +08:00
sandtechnology
006f2d1177
[core] Support simple packet signing
2023-07-02 21:21:04 +08:00
sandtechnology
8570987c34
[core] Add extraData decoding for future debugging
2023-07-02 21:21:03 +08:00
sandtechnology
760075e914
[core] Fix wrong SSOReserveField proto and packet codec
...
1.Body is a lambda function, so invoke it by only once
2.Fix wrong protoBuf serializer, use protocol one
3.Pass all packets to EncryptService (which packet should be sign should judge by service itself)
4.Fix wrong proto number and add missed default value, also fix proto naming
2023-07-02 21:21:02 +08:00