Commit Graph

2353 Commits

Author SHA1 Message Date
Him188
c572a7e434 Add fallback strategy to generate OfflineFriendImage.imageId on AbstractUser.uploadImage #933 2021-01-31 14:10:41 +08:00
Him188
f326e9ad6f Add issue track link in contextualBugReportException 2021-01-31 14:06:18 +08:00
Him188
0ef0e44c73 Add fallback strategy to generate OnlineFriendImageImpl.imageId #933 2021-01-31 14:05:38 +08:00
Him188
edb6a1d0c2 Add fallback strategy to upload friend image #939 2021-01-31 13:22:37 +08:00
Him188
e8dc06ebad Add utils for send packet 2021-01-31 13:10:18 +08:00
Him188
4f17780ac5 - Fix publishing
- Remove root module publication
2021-01-30 20:32:21 +08:00
Him188
df3cc8457d Fix image extension "null" received from some official clients 2021-01-29 11:38:43 +08:00
Him188
22ac89207a Fix friend message sequence sync with multiple bots 2021-01-29 11:21:40 +08:00
Him188
245d08051b Fix build 2021-01-29 10:52:40 +08:00
Him188
49522fb5d3 Make UserProfile impl data class 2021-01-29 10:43:54 +08:00
Him188
559d6a7039 Merge remote-tracking branch 'mirai/dev' into dev 2021-01-29 10:23:42 +08:00
Him188
f8d8ffb782 Improve inspection performance 2021-01-29 10:23:18 +08:00
Him188
b3e77119fb Shuffle server list when RequireReconnect 2021-01-29 09:05:47 +08:00
Him188
17de501f04 Update default server list 2021-01-29 09:05:21 +08:00
Karlatemp
1f5f0e269c
Fix MessageSource.ensureSequenceIdAvailable()
fix #930
2021-01-28 21:06:54 +08:00
Him188
60190d373c Fix ForceAsLongMessage 2021-01-28 18:55:31 +08:00
Him188
fb3b4425ed Fix long message internal and forward message uploading 2021-01-28 18:45:38 +08:00
Him188
74c4369931 Implement long message for private session and unify message send as SendMessageHandler, fix send failure with quoted image fix #892 2021-01-28 18:04:17 +08:00
Karlatemp
ca694e217b
StrangerList.GetStrangerList.Response 2021-01-27 23:19:40 +08:00
Karlatemp
073666e9f7
Correct package of StrangerList 2021-01-27 23:06:34 +08:00
Him188
ba7a3e0889 Unified exception message for setEssenceMessage 2021-01-26 23:09:13 +08:00
Karlatemp
3dea0f7dd7
Use Group.id for sending MusicShare
fix #918
2021-01-26 22:45:19 +08:00
HelloWorld
1df5479c0b
Merge pull request #921 from sandtechnology/showImage
Support detect show image, also update pb
2021-01-26 22:26:59 +08:00
mzdluo123
eec2e9f2c1
Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	mirai-core/src/commonMain/kotlin/contact/GroupImpl.kt
2021-01-26 22:11:08 +08:00
mzdluo123
19829b75f1
add: set group essence message #837 2021-01-26 22:10:05 +08:00
sandtechnology
dd9439d507 Support detect show image, also update pb 2021-01-26 21:22:46 +08:00
Him188
7a6e930fc7
Support key refresh (#901)
* Add skey tests

* t106

* Fix some protocol errors. skey refresh

* login extra

* Support Key refresh, close #833

* apiDump

* Merge with dev
2021-01-26 19:32:27 +08:00
Him188
d8b1505181
Highway big data channel (#917)
- Fix retryWithServers exception suppress
- ConfigPush BDH session
- ConfigPush SSO change server
- Upload group PTT silk, #577
- Support upload private image through highway, close #194;
- Add fallback strategies for uploading group voice #577 and private image #916
- Upload all resources through highway BDH
- Support concurrent uploading
- Add BotConfiguration.highwayUploadCoroutineCount

close #916, close #577, close #194
2021-01-26 19:08:01 +08:00
Him188
8ad0b91974 Fix blocking calls in suspend contexts 2021-01-26 13:38:23 +08:00
Him188
63860f9ab7 Improve logs 2021-01-26 13:25:13 +08:00
Him188
544006b0e7 Improve OtherClients load messages 2021-01-26 12:42:11 +08:00
Him188
fed003e491 async reconnect 2021-01-25 23:26:18 +08:00
Him188
d3b9741bdb Renew QQAndroidClient on reconnection 2021-01-25 22:53:04 +08:00
Him188
af9eadf34e Fix endless reconnection on LoginFailedException, close #895 2021-01-25 12:41:07 +08:00
Him188
ff9cc6a74e Improve logs on reconnection 2021-01-25 12:36:16 +08:00
Him188
336cc6a8f9 Add OutgoingPacketWithRespType for developing convenience 2021-01-24 04:39:59 +08:00
Him188
8e2e259618 Move queryProfile from Bot to IMirai and add User.queryProfile 2021-01-24 01:15:12 +08:00
Him188
8da048af63 Serialization support for MusicShare;
Rename MusicShare.type to kind;
Rename MusicType to MusicKind;
2021-01-24 00:39:05 +08:00
Him188
9d77382b6d Remove delay on BotOfflineEvent.Force 2021-01-24 00:20:21 +08:00
Him188
44d96fe36b Speed up reloadGroupList: use Semaphore with 30 initial permits 2021-01-24 00:15:46 +08:00
Him188
80b00f9910 Fix reloadGroup retry 2021-01-24 00:13:52 +08:00
Him188
ab2a8539e0 Fix reconnect, #894 2021-01-24 00:09:19 +08:00
Him188
e605c293f5 Revert "Fix reconnect. Fix #894"
This reverts commit 65eff19f
2021-01-23 23:48:38 +08:00
Him188
65eff19f32 Fix reconnect. Fix #894 2021-01-23 23:29:09 +08:00
Him188
2e5b223b6a
支持使用QQ互联通道发送音乐分享 (#889)
* Add new MessageContent MusicShare and its protocol internals. #690, #682

* MusicShare sending

* MusicShare: MessageSource integration fundamentals

* - MessageReceipt integration for MusicShare
- Support MusicShare in QuoteReply: transform as PlainText
- Support LightApp refining, support decoding MusicShare

* Dump api for MusicShare

* Remove debugging code

* 2.1.0-dev-3

* Remove confusing providedSequenceIds in OnlineMessageSourceToGroupImpl

* fix build

Co-authored-by: wdvxdr <wdvxdr@foxmail.com>
2021-01-23 22:09:27 +08:00
Karlatemp
5a468a0177
Delete debugging println 2021-01-23 14:44:32 +08:00
Karlatemp
4e2ba2f7e3
Improve group message sending (#892) 2021-01-23 14:31:26 +08:00
Karlatemp
c762ecd0a2
Fix recall error message 2021-01-23 14:30:43 +08:00
Him188
162bc9113c Improve message event logs:
- Do not include MessageSource
- Treat MessageSyncEvent as a message sent by others
2021-01-23 03:09:04 +08:00
Him188
e2554f0ea6 Fix message results in internal impl 2021-01-23 02:58:22 +08:00