Him188
|
c8fb354d13
|
Add LongMessageProtocolTest and various improvements:
Change attributes carrying helper objects to components
Make ClockHolder open
Use originalMessage for MessageReceipt
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
112ce644b4
|
Add preprocessAndSendOutgoingImpl for tests only
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
d5ef2aae64
|
Add MessageProtocolStrategy.sendPacket
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
c510a49adc
|
Generalize ImagePatcher
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
52968b172f
|
Rename buildChecks to buildCodingChecks
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
3270192715
|
Remove SendMessageHandler and introduce OutgoingMessagePipeline .
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
e6b094031c
|
Re-categorize MessageProtocol packages
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
9d03260067
|
Add CustomMessageProtocolTest
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
4b79c197e7
|
Filter out customElem without MIRAI_CUSTOM_ELEM_TYPE
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
617b32aa14
|
Use constant value for MIRAI_CUSTOM_ELEM_TYPE
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
1407bcf251
|
Fix VipFace and add VipFaceProtocolTest
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
2dac3b5d92
|
Add FileMessage tests
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
24243e917e
|
Make FileMessage.toString more clear
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
50c5ec0456
|
NoticeProcessorPipeline: desensitize debug logs
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
8b6b06ea3b
|
Adapt desensitize in StructureToStringTransformer
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
796df9b79f
|
Change Image.toString format to contain more information
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
149b77c05b
|
Desensitize LightAppElem.data
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
94e49520d7
|
Move StructureToStringTransformerNew and its relevant files from jvmTest to commonTest
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
08d1fc1f38
|
Add more MessageProtocolTest
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
b4f042ae1b
|
Add ImagePatcher for AbstractMockNetworkHandlerTest.components
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
67f3b8dee8
|
Image.equals: compare all properties rather than imageId only
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
90deacb692
|
Fix imageType sent from macOS client, fix #1111
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
05aa3c8026
|
Add ContactOrBot.inferMessageSourceKind
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
573473735c
|
Rename RunRecorder to RunNoticeRecorder
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
7e87376930
|
Move toMessageChain and toRichTextElems to MessageProtocolFacade
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
a89f6aeaef
|
Integrate new MessageProtocol with existing code
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
c47779c726
|
MessageProtocol implementations
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
d6343870b8
|
MessageProtocol pipeline infrastructure
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
0b52c2bb5a
|
Generalize NoticeProcessorPipeline as ProcessorPipeline
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
0cef98dec0
|
Fix OfflineAudioFactory configuration
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
287769799a
|
Enable kotlin-dynamic-delegation in mirai-core and mirai-core-api
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
7251d87621
|
Optimize processForwardMessage
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
0c708c8197
|
Redesign MessageChain hierarchy: Add LinearMessageChainImpl and CombinedMessage
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
c118180b54
|
Move messages implementations other than InternalFlagOnlyMessage from .message to .message.data
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
255bfafeed
|
Move InternalFlagOnlyMessage implementations from .message to .message.flags
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
68c36669fc
|
Rearrange Image implementations into multiple files
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
27daf62ba5
|
Move Image implementations from .message to .message.image
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
c30b3a285a
|
Move MessageSource implementations from .message to .message.source
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
a9516b401b
|
Generalize chineseLength to mirai-core-utils
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
3955546868
|
Add MessageVisitor , MessageVisitorEx , Message.accept and Message.acceptChildren as internal API
|
2022-05-25 22:39:53 +01:00 |
|
Him188
|
c3f94a66d6
|
Remove legacy sendAndExpect to reduce code complexity to avoid compiler bugs, fix #2049
|
2022-05-25 20:36:58 +01:00 |
|
Him188
|
753342d99e
|
Add timeout for logout on close
|
2022-05-21 15:21:07 +01:00 |
|
Him188
|
4495e36e7c
|
Fix event broadcast directly without checks. Add notes for broadcasting an event.
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
f83d20bed9
|
Enable EventLaunchUndispatchedTest
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
e0140c6272
|
Remove useless sub test in NettyHandlerEventTest
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
c7ff26ab19
|
Assign different bot ids for each test bot instance
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
5deee909a9
|
StateObserver: Make beforeStateResume and afterStateResume suspend
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
bdf125e26d
|
Broadcast BotOfflineEvent async and ensure joinBroadcast works for it
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
da65f4d86d
|
Run login recovery in EventDispatcher's scope
|
2022-05-16 19:14:14 +01:00 |
|
Him188
|
baf6c35e46
|
Wait async connector in SelectorRecoveryTest
|
2022-05-16 19:14:14 +01:00 |
|