Him188
c36d1b15f4
Remove more verbose default values in ConstructorCallCodegen
2021-09-01 13:55:39 +08:00
Him188
ec9ad7f0f1
Support nested structures in desensitizer
2021-09-01 13:55:39 +08:00
Him188
82719d6018
Ignore NewContact.SystemMsgNewGroup, subType=5, groupMsgType=16
, fix #1467
2021-09-01 13:55:39 +08:00
Him188
f38089be78
Ignore NewContact.SystemMsgNewGroup, subType=0, groupMsgType=8
, fix #1388
2021-09-01 13:55:39 +08:00
Him188
0ccb9c94e7
Handle possible MemberLeaveEvent.Kick
for NewContact.SystemMsgNewGroup, subType=5, groupMsgType=6
, fix #1171
2021-09-01 13:55:39 +08:00
Him188
cd8665b440
Add comments for kick event
2021-09-01 13:55:39 +08:00
Him188
1f2ff04c45
Get group by uin in OnlineMessageSourceFromTempImpl
, fix the problem that some temp messages could not be received, fix #1410
2021-09-01 13:55:39 +08:00
Him188
9247c8b0fd
Fix RecordingNoticeProcessorTest
2021-09-01 13:55:39 +08:00
Him188
86b3bbf3fb
Add test for message events
2021-09-01 13:55:39 +08:00
Him188
4b4e7e1dcc
Fix MemberJoinEvent
processing and add MemberJoinTest
2021-09-01 13:55:39 +08:00
Him188
2cc6e0bbd8
Use yamlkt 0.10.2
2021-09-01 13:55:39 +08:00
Him188
f51e721649
Fix group transfer and retrieve, add tests for notice events:
...
- GroupRetrieveTest
- GroupTransferTest
- MemberAdminChangeTest
- MemberQuitTest
- MuteTest
2021-09-01 13:55:39 +08:00
Him188
76e2b6c64c
Redesign packet recording
2021-09-01 13:55:39 +08:00
Him188
c4939a7446
Add ConstructorCallCodegen
2021-09-01 13:55:39 +08:00
Him188
f31f525343
Add util Array<Byte>.toUHexString
2021-09-01 13:55:39 +08:00
Him188
a1dba40f80
Add util CollectionDiff
2021-09-01 13:55:39 +08:00
Him188
f1c2393434
Add util readResource
2021-09-01 13:55:39 +08:00
Him188
f40659b1c7
Make TypeSafeMap()
returns TypeSafeMap.EMPTY
2021-09-01 13:55:39 +08:00
Him188
1ffa9eb957
Add toString
for TypeSafeMap implementations
2021-09-01 13:55:39 +08:00
Him188
49c6734722
Fix ParseErrorPacket
not logged
2021-09-01 13:55:39 +08:00
Him188
da9dd1e353
Add gradle configuration "use.maven.local"
2021-09-01 13:55:39 +08:00
Him188
8663978d65
Add RecordingNoticeProcessor
2021-09-01 13:55:39 +08:00
Him188
a86c0384d4
Add AbstractPipelineContext
2021-09-01 13:55:39 +08:00
Him188
93ae89500a
Fix EventBroadcasterPacketHandler.impl
2021-09-01 13:55:39 +08:00
Him188
4efbec6570
Make UnconsumedNoticesAlerter
disabled by default
2021-09-01 13:55:39 +08:00
Him188
edb1713f91
Add TraceLoggingNoticeProcessor
2021-09-01 13:55:39 +08:00
Him188
f5fe442cc8
Add simple constructor for TypeSafeMap
2021-09-01 13:55:39 +08:00
Him188
f5b2dbc65d
Avoid boxing in TypeSafeMap
and support serialization
2021-09-01 13:55:39 +08:00
Him188
2696f0b95e
Remove .debug
in mirai.network.debug.notice.pipeline.log.full
2021-09-01 13:55:39 +08:00
Him188
61c764bfe0
Ensure all items in MultiPacket
are visited
2021-09-01 13:55:39 +08:00
Him188
9c272ebf1e
Migrate more transformers to NoticeProcessorPipeline
2021-09-01 13:55:39 +08:00
Him188
edf1bc9a2e
Migrate more transformers to NoticeProcessorPipeline
2021-09-01 13:55:39 +08:00
Him188
e097c5ab9d
Add MutableProcessResult
; remove locks
2021-09-01 13:55:39 +08:00
Him188
d15767fa9b
Remove outdated todo in FriendNoticeProcessor
2021-09-01 13:55:39 +08:00
Him188
39773cd763
Move bkn
from QQAndroidBot
to WLoginSigInfo
2021-09-01 13:55:39 +08:00
Him188
8e947cd4e0
Delete empty ProtoBuf.kt
2021-09-01 13:55:39 +08:00
Him188
d7d693ae6a
apiDump
2021-09-01 13:55:39 +08:00
Him188
41733e23ef
Extract utils into multiple files
2021-09-01 13:55:39 +08:00
Him188
1b80fbc1e6
Redesign notice handling and introduce NoticeProcessorPipeline
part 3:
...
- Extract `SyncController`;
- Add super type `ProtocolStruct` to `ProtoBuf` and `JceStruct` to standardize `NoticeProcessorPipeline.process`
- and other implementations for pipeline
2021-09-01 13:55:39 +08:00
Him188
be4423c993
Fix ByteArray.loadAs
2021-09-01 13:55:39 +08:00
Him188
d6b4bb9fb5
Remove Group.newAnonymousMember
2021-09-01 13:55:39 +08:00
Him188
089d0eed8c
Improve performance
2021-09-01 13:55:39 +08:00
Him188
09265190e9
Add UnconsumedNoticesAlerter
and cleanup
...
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-09-01 13:55:39 +08:00
Him188
56cbe2d8a2
Redesign notice handling and introduce NoticeProcessorPipeline
part 2
...
Do not broadcast StrangerAddedEvent if added twice, fix stranger scope not closed
Do not add new instance if there is already one
Close and remove corresponding stranger instance if there is new friend.
2021-09-01 13:55:39 +08:00
Him188
e1ffaa5410
Fix incorrect coroutine scope created for contacts in IMirai.newFriend
and IMirai.newStranger
2021-09-01 13:55:39 +08:00
Him188
dc54679acb
Redesign notice handling and introduce NoticeProcessorPipeline
2021-09-01 13:55:39 +08:00
Him188
497a458be4
Add TypeSafeMap
2021-09-01 13:55:39 +08:00
Him188
d7b493cd34
Use internal types in implementations of properties in Bot
2021-09-01 13:55:39 +08:00
Him188
975dd8e50b
Use NormalMemberImpl
for properties of GroupImpl
2021-09-01 13:55:39 +08:00
Him188
03a18724fe
Add out
variance to generic type of ContactList
2021-09-01 13:55:39 +08:00