YuSaki丶Kanade
283f8840d4
修复QQNT图片下载链接错误 ( #2860 )
...
* 修复QQNT图片下载链接错误
* 修复字段名错误
* 直接用HTTP也没问题
2024-09-23 12:25:50 +01:00
赵怡然
f7649d225d
修复戳一戳 ,机器人误以为有人戳自己 ( #2844 )
...
* 修复戳一戳 ,机器人误以为有人戳自己
* Update GroupNotificationProcessor.kt
* 呃,我简单粗暴写成bot了,应该是group.botAsMemebr
* 代码格式fix
* Apply suggestions from code review
---------
Co-authored-by: Him188 <Him188@mamoe.net>
2024-03-30 13:54:51 +00:00
赵怡然
876805895b
[core] Fix: 缓存可能因为计算机硬碟或程式不稳定造成损毁。 ( #2841 )
...
* Fix: 缓存可能因为计算机硬碟或程式不稳定造成损毁。
* Apply suggestions from code review
---------
Co-authored-by: Him188 <Him188@mamoe.net>
2024-03-03 00:01:12 +00:00
Eritque arcus
eeb32177f6
fix: nudge doc and add to mock ( #2790 )
2024-02-22 07:56:09 +00:00
赵怡然
b7eb6eb88d
修复 Timeout waiting for ConfigPush. 掉线问题 ( #2834 )
2024-02-22 07:51:07 +00:00
汤意工坊
76696ee941
[core] Add NewTechImage: AbstractImage()
. ( #2836 )
2024-02-22 07:49:28 +00:00
RainSpark
12533859ec
[console] fix: 修复跨年时日志文件名日期错乱问题 ( #2830 )
...
fix: 修复日期混淆问题
修正 DailySplitLogRecorder 中日期格式化模式中使用错误的模式字符串的问题。将大写的 "YYYY" 更正为小写的 "yyyy",以确保在跨年时生成的日志文件显示正确的年份。
2024-01-25 21:07:01 +00:00
微莹·纤绫
78446ab367
Update JVMPlugin-Debug.md
2023-12-09 01:07:30 +08:00
Him188
e645c1ea4e
Set version to 2.17.0
2023-10-10 10:32:24 +01:00
cssxsh
d62c613b5f
[core] feat: more info at handlePipelineException ( #2796 )
...
* feat: more info at handlePipelineException
* fix: info style for reviewed
2023-09-29 11:12:41 +08:00
Numendacil
0dfbaf77a7
docs: Add new SDK for C++ based on mirai-api-http ( #2806 )
...
Update README.md
2023-09-29 11:11:54 +08:00
StageGuard
d33160311a
fix: ShortVideo
doc
2023-09-11 14:48:34 +08:00
cssxsh
323f6b363c
fix: JvmPluginDescription check ( #2791 )
2023-09-11 10:13:24 +08:00
Him188
b500830a51
[build] Add dummy compileJava
and testClasses
to allow IntelliJ IDEA to run main functions from jvmTest
2023-09-09 15:45:39 +08:00
Him188
24a783de4a
[core] Add @since
for uploadShortVideo
2023-09-09 15:44:50 +08:00
StageGuard
b238d13a32
[core] dont pass groupUin to RefineContextKey.GroupIdOrZero ( #2794 )
2023-09-09 00:05:14 +08:00
StageGuard
3937bca234
[core] fix OnlineShortVideoInternal refine log
2023-09-08 00:43:46 +08:00
StageGuard
82483f0f13
[core] avoid potential endless login on receiving login result 180
2023-09-06 16:04:53 +08:00
StageGuard
cfbb880b73
[core] try to refresh keys on receiving login result 180
2023-09-06 15:54:34 +08:00
StageGuard
60f1e79e49
[core] handle login result 180
2023-09-06 10:51:11 +08:00
cssxsh
93ccce16d8
add: SuperFaceProtocol ( #2722 )
...
* add: protocol
* fix: MsgElemInfoServtype37
* add: AnimatedStickerProtocolTest
* add: ...
* rename: SuperFace
* add: face impl
* add: SuperFace toCommData
* fix: stickerId
* fix: SuperFace constructor
* add: api dump
* add: CodableMessage
* add: api dump
* fix: names size
* fix: type
* add: MessageVisitorTest
* add: TestMiraiCode
* add: MessageVisitorTest
* add: TestMiraiCode
* fix: no data class
* feat: try from
* add: api dump
* add: hashCode, equals
* [core] 优化 SuperFace API
* fix tests
---------
Co-authored-by: Him188 <Him188@mamoe.net>
2023-09-03 22:21:16 +08:00
StageGuard
5a450e850d
v2.16.0-RC
2023-09-03 13:38:39 +08:00
Him188
f0fa6a7979
[core] Remove legacy Kotlin Native annotations
2023-09-02 11:24:43 +08:00
StageGuard
ab5d08afb1
[core] nudge support for ANDROID_PAD, close #2771
2023-08-30 10:46:03 +08:00
Him188
684b003764
[core] 移除 Sub8AMsgInfo 中未使用的字段, 以修复序列化问题, close #2784
2023-08-27 12:31:09 +08:00
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