Him188
1963b3768d
Improve PlatformSocket:
...
- Close channels on close
- Interrupitable `connect`
- Cancel `raed` on continuation cancellation
2021-01-22 13:01:40 +08:00
Him188
bdfbe43271
Enable explicitApi for mirai-core, add notes for BotFactoryImpl
2021-01-22 11:25:01 +08:00
sandtechnology
209b2b7616
Support decode the join request by member invite ( #882 )
...
* Support detect official bot, fix #439
* Fix wrong command name and add missed value
* Adapt to changed invite event
* Internal MessageData
* Fix build
* Fix wording
* Support decode the join request by member invite
* Fix shadow warning
* Fix build
* Adapt to MemberJoinEvent broadcast logic when accepted
* Downgrade blockingBridge version to 1.7.2 for passing build
* Fix binary compatibility
* Reformat code
* Update api
Co-authored-by: Him188 <Him188@mamoe.net>
2021-01-22 07:48:10 +08:00
Karlatemp
c77f94cd52
UserProfile query ( #866 )
...
* UserProfile query
* zip vReq0x5ebFieldId
* Move UserProfile to `net.mamoe.mirai.data`
* Move `queryProfile` to high-level api
* Add doc
* Update UserProfile.kt
* Make UserProfile experimental
* Convert UserProfile.sex to enum
* Remove debugging code
* Dump apis
Co-authored-by: Him188 <Him188@mamoe.net>
2021-01-22 07:47:57 +08:00
Him188
988794343b
Improve buildscript, fix publication
2021-01-21 10:08:21 +08:00
sandtechnology
3a5d707417
Support detect official bot, fix #439 ( #810 )
...
* Support detect official bot, fix #439
* Fix wrong command name and add missed value
* Adapt to changed invite event
* Internal MessageData
* Fix build
* Fix wording
2021-01-20 19:20:24 +08:00
Him188
73eb4813e5
Support joinTimestamp and lastSpeakTimestamp, fix #865 , fix #394
2021-01-17 19:35:04 +08:00
Him188
4467f69110
Improve member impls
2021-01-17 19:34:40 +08:00
Him188
08badca2af
Merge remote-tracking branch 'origin/dev' into dev
2021-01-17 18:44:44 +08:00
Him188
4b1e7be524
Ignore SystemMsgNewGroup subType=3 groupMsgType=5, fix #651
2021-01-17 18:43:54 +08:00
Him188
bb348930d8
Extract login subcommands to simplify WtLogin, add exchange_emp, #833
2021-01-17 18:32:43 +08:00
Karlatemp
cbae09bf4a
JceRequestSBufferBuilder
2021-01-17 17:42:02 +08:00
Him188
3098a7d953
Broadcast FriendAddEvent on acceptNewFriendRequest
2021-01-17 17:18:11 +08:00
Him188
45072c92d3
Broadcast MemberJoinEvent on acceptMemberJoinRequest, fix #641
2021-01-17 17:16:20 +08:00
Karlatemp
57463fddd8
mirai-login-solver-selenium 1.0-dev-14
2021-01-15 00:47:47 +08:00
Him188
1e55d15047
Fix potential SvcReqMSFLoginNotify (OtherClient online) decode failure
2021-01-14 18:11:53 +08:00
Him188
b49894a4f1
Merge remote-tracking branch 'origin/dev' into dev
2021-01-14 18:00:25 +08:00
Him188
10ef21dd91
Simplify internal implementation
2021-01-14 12:38:13 +08:00
Him188
067ab7c765
Replace deprecation calls internally
2021-01-14 12:28:00 +08:00
Karlatemp
d48ccee708
Splicing fragmented plain text
2021-01-14 11:48:11 +08:00
sandtechnology
3cc3f52e69
Fix #856 , also fix wrong comment in PbPushTransMsg.kt ( #859 )
2021-01-13 21:46:16 +08:00
sandtechnology
72ca12a347
Fix long message error again ( #858 )
...
* Fix #195 again, also fix #539
* Let AtAll consistent with At
Co-authored-by: Him188 <Him188@mamoe.net>
* Change Member to NormalMember for capable events
* Make StrangerRelationChangeEvent sealed
* 2.0-RC
* Fix dokka
* Fix #195 again
* Revert Image length to 260 and increase limit to 15000
* Add fallback measure to group message
* Remove unnecessary log
Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Him188 <Him188@mamoe.net>
2021-01-13 21:45:35 +08:00
sandtechnology
837bae41fc
Fix Long message error ( #857 )
...
* Fix #195 again, also fix #539
* Let AtAll consistent with At
Co-authored-by: Him188 <Him188@mamoe.net>
* Change Member to NormalMember for capable events
* Make StrangerRelationChangeEvent sealed
* 2.0-RC
* Fix dokka
* Fix #195 again
Co-authored-by: Him188 <Him188@mamoe.net>
2021-01-13 18:53:00 +08:00
sandtechnology
72f870a3df
Fix inconsistent message length ( #855 )
...
* Fix #195 again, also fix #539
* Let AtAll consistent with At
Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Him188 <Him188@mamoe.net>
2021-01-13 17:25:07 +08:00
Him188
0b2bb82d10
Change Member to NormalMember for capable events
2021-01-12 18:11:47 +08:00
sandtechnology
b9f78be0d5
Support C2C sync and fragmented message decoding of friend ( #841 )
...
* Support C2C sync and fragmented message in friend
* Update mirai-core-api/src/commonMain/kotlin/event/events/MessageSyncEvent.kt
* Update mirai-core-api/src/commonMain/kotlin/event/events/MessageSyncEvent.kt
* Update mirai-core-api/src/commonMain/kotlin/event/events/MessageSyncEvent.kt
* Update mirai-core-api/src/commonMain/kotlin/event/events/MessageSyncEvent.kt
Co-authored-by: Him188 <Him188@mamoe.net>
2021-01-11 23:32:32 +08:00
Him188
219ecde909
Merge pull request #842 from sandtechnology/FixPCClientMsg
...
Fix missed PC client message
2021-01-11 23:27:34 +08:00
sandtechnology
ee906d85f3
Fix missed PC client message
2021-01-11 21:44:58 +08:00
Him188
d1c9acf7f4
Migrate to new GroupTempMessageEvent
2021-01-11 19:26:15 +08:00
Him188
564c961d3f
Add low level APIs for recalling message
2021-01-11 19:11:46 +08:00
Him188
a7dabd63aa
Allow modifying IMirai.Http
2021-01-11 18:57:01 +08:00
Him188
190a098227
Do not kill bot on offline. Fix #838
2021-01-11 17:59:07 +08:00
Him188
1d4867d9b6
Merge remote-tracking branch 'origin/dev' into dev
2021-01-11 17:39:28 +08:00
Him188
25ad97766c
Fix potential memory leak. #556
2021-01-11 17:39:10 +08:00
Him188
7f8003478c
Make OtherClientInfo.platform nullable.
2021-01-11 17:14:24 +08:00
Him188
c074bef9c6
Deprecate TempMessageEvent and add GroupTempMessageEvent for #429
2021-01-11 17:09:01 +08:00
Karlatemp
01c050d0b6
FragmentedMsgParsingCache
2021-01-10 23:20:15 +08:00
sandtechnology
268dcc7039
Support PushStatus and add new ClientKind, Fix #787 ( #836 )
...
* Support PushStatus and improve ClientKind
* Revert NotNull changes
2021-01-10 23:18:14 +08:00
Him188
c8298b1cac
Filter redundant At around QuoteReply sent by Android clients
2021-01-10 04:38:20 +08:00
Him188
ad6e951be8
Fix MessageSource.originalMessage: now offline sources does not have MessageSource in their originalMessage
2021-01-10 03:44:58 +08:00
Him188
b65afd8533
Fix messageSourceKind for OfflineMessageSource in QuoteReply
2021-01-10 03:12:30 +08:00
Him188
1a1eb0e2a4
[Review] MessageSourceBuilder
2021-01-09 21:36:27 +08:00
Him188
989cd3292e
Merge remote-tracking branch 'origin/dev' into dev
2021-01-09 14:54:02 +08:00
Karlatemp
bca98c72d5
Fix StackOverflowError in QuoteReply
...
fix #829
2021-01-09 13:11:07 +08:00
Him188
619dafa1ae
[Review] Move Listener.ConcurrencyKind and Listener.EventPriority to top-level
2021-01-08 12:41:42 +08:00
Him188
4e2108d841
[Review] NudgeEvent: Simplify and stabilize NudgeEvent, remove all XXXNudgeEvent, add single NudgeEvent
2021-01-08 12:28:12 +08:00
Him188
8f998320ca
Fix sendAndExpect retry
2021-01-08 12:04:15 +08:00
Him188
7dd7f48994
Don't catch Error while reconnecting and sending packet, fix #824
2021-01-08 12:03:42 +08:00
Him188
b32090bf2a
[Review] OtherClient:
...
- Change Bot.otherClients to ContactList<OtherClient>
- Change OtherClient.id to delegate info.appId
- Stabilize OtherClientInfo
2021-01-08 11:42:44 +08:00
Him188
1885db5523
Code cleanup
2021-01-08 11:37:09 +08:00