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
赵怡然
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
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
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
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
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
StageGuard
4acd66711a
[core] avoid potential null cast when refining OnlineShortVideoMsgInternal
2023-08-25 22:16: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
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
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
赵怡然
6e7dcadcf9
[core] Fix qimei request payload ( #2749 )
...
Fix error decoder
2023-07-24 22:53:20 +08:00
Karlatemp
405f52d3ad
[core] protocol properties public view
2023-07-11 02:27:37 +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
sandtechnology
b77a4573d1
[core] Add missed KEY_DEVICE_INFO context for qSecurityGetSign
2023-07-02 21:21:00 +08:00
sandtechnology
644eddd4d9
[core] Add qimei36 key for EncryptServiceContext
2023-07-02 21:20:59 +08:00
sandtechnology
390726ff4d
[core] Update phone and pad protocol
2023-07-02 21:20:58 +08:00
Karlatemp
7750284e53
[core] Push device to sso service & little change
2023-07-02 21:20:57 +08:00
Karlatemp
1877c95783
[core] Fix qimei holding
2023-07-02 21:20:55 +08:00
Karlatemp
bf992f877e
[core] Packet sso frame parsing debug log
2023-07-02 21:20:53 +08:00
Karlatemp
92948a484c
[core] Handle all sso packet
2023-07-02 21:20:52 +08:00
Karlatemp
5fd091eaad
[core] Fix sso packet struct
2023-07-02 21:20:31 +08:00
StageGuard
1fde79d7ad
[core] decode SsoSecureA2Access
2023-07-02 21:20:29 +08:00
StageGuard
1dacce61cd
[core] decode SsoEstablishShareKey
2023-07-02 21:20:28 +08:00
StageGuard
ff96dce35d
[core] sso reserve field and encrypt spi
2023-07-02 21:20:26 +08:00
Karlatemp
67dd471fdb
[core] change bodyType to encryptMethod
2023-07-02 21:19:24 +08:00
Him188
2eb313ba69
[core] 默认关闭进行登录验证时的内部日志; 可使用 system prop mirai.network.auth.logging=true
启用
2023-06-28 17:26:13 +01:00