Karlatemp
8de404a69a
Fix shadowing libraries that another used; fix #2070
2022-06-08 00:28:42 +08:00
Karlatemp
75fea25e38
Disable parallel when running testing
2022-06-07 10:40:13 +08:00
微莹·纤绫
d0c1848c94
Improve console shutdown ( #2016 )
...
* Try to improve console shutdown
* Resetting & Better java calling
* Dump crash report when timed out to shutdown
* Ensure `CoroutineScope.cancel()` working; rename to `shutdown`
* Signal handlers
* Force halt system to avoid some magic errors
2022-06-07 00:10:51 +08:00
微莹·纤绫
0b67a6783a
PluginCustomCommandSender ( #1964 )
...
* PluginCustomCommandSender
* Update doc & remove lazy
* Update CommandSender.kt
2022-06-07 00:10:28 +08:00
微莹·纤绫
b2c895bc2b
Support launch dev console in idea ( #2058 )
...
* Support launch dev console in idea
* Update idea project creator templates
* document update
2022-06-07 00:09:58 +08:00
水纹霖霖
d9c1da275b
fix protocol guideline & update docs ( #2067 )
...
* Update Bots.md
* Update AutoLoginConfig.kt
2022-06-06 16:57:27 +01:00
xtyuns
361f7f0cf1
doc(JVMPlugin.md): fix the wrong description
2022-06-06 16:42:40 +01:00
Him188
ca009fdd18
Bots.md: Add reference to solve slider catch
2022-05-31 10:26:52 +01:00
Him188
297592b9f2
Do not throw exception when failed to locate desensitization rules, for tests on CI
2022-05-25 22:39:53 +01:00
Him188
c4a2f19db6
Use empty internalIds for all OnlineMessageSourceToGroupImpl to speed up tests.
2022-05-25 22:39:53 +01:00
Him188
ab3280f6b7
Add more MessageProtocolTest:
...
Add fragmented test
Fix MusicShareProtocol and implement sending tests for MusicShareProtocolTest
OutgoingMessagePipelineImpl: set stopWhenConsumed
Fix `currentMessageChain` not updated in `processAlso`, add strong message packets checks, add tests for converting messages failed to send at FIRST step to LongMessageInternal
Add notes for receiving ForwardMessage
Add facade parameters to `download ForwardMessage*`
Add ForwardMessageProtocolTest
Add QuoteReplyProtocolTest
Add CONTAINING_MSG for MessageDecoderContext.attributes, for information-use only
Fix MessageReceiptTest
Fix QuoteReplyProtocolTest
2022-05-25 22:39:53 +01:00
Him188
38465972ba
Add more details in QuoteReply.toString
2022-05-25 22:39:53 +01:00
Him188
c75d1f7074
Add MessageSource.isOriginalMessageInitialized
2022-05-25 22:39:53 +01:00
Him188
7687749030
Add more details in MessageSource.toString
2022-05-25 22:39:53 +01:00
Him188
3e38f359ba
Add ForwardMessage.BuilderNode.toString
2022-05-25 22:39:53 +01:00
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
3b7eb40529
Add implementation notes for MessageSource.originalMessage
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
c1a7dd9843
Add some capability for delegation for TypeSafeMap
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
54b3bf405f
Add notes for Dice.name
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
e826c94546
Change default workingDir of RunRecoder to test/run
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
089b403a06
Allow nulls in TypeSafeMap
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
a8c231485c
SilentLogger: return false for all isEnabled checks
2022-05-25 22:39:53 +01:00
Him188
0b52c2bb5a
Generalize NoticeProcessorPipeline as ProcessorPipeline
2022-05-25 22:39:53 +01:00