Commit Graph

4598 Commits

Author SHA1 Message Date
Him188
b17c269b62 [Review] Add FlashImage.from(Image), remove deprecated FriendImage.flash and GroupImage.flash 2021-01-08 08:33:47 +08:00
Him188
cbbb6f27af Update docs 2021-01-08 08:26:38 +08:00
Him188
348b4ff89e Fix build 2021-01-07 21:50:45 +08:00
Him188
ca6dbd2740 [Review] Improve Message.isContentEmpty, add Message.isContentBlank 2021-01-07 21:45:09 +08:00
Him188
3cda506c46 [Review] Deprecate:
- Message.isContentNotEmpty
- Message.isPlain
- Message.isNotPlain
2021-01-07 21:39:37 +08:00
Him188
f7a6289d34 [Review] Rearrange Message extensions 2021-01-07 21:36:37 +08:00
Him188
c50324b931 [Review] Add DeprecationLevel.ERROR to deprecated 'flatten' 2021-01-07 21:31:33 +08:00
Him188
64e155a08d [Review] Make MessageChainBuilder final 2021-01-07 21:30:09 +08:00
Him188
da356c2a30 Fix docs 2021-01-07 21:29:44 +08:00
Him188
3cf6080d81 Update readme 2021-01-07 21:22:27 +08:00
Him188
668398c597 Fix build 2021-01-07 21:11:30 +08:00
Him188
986ebd3c5c [Review] Mirai code: rename CodableMessage.appendAsMiraiCode to appendMiraiCodeTo 2021-01-07 21:05:36 +08:00
Him188
d4852ceb6f [Review] Add missing @MiraiExperimentalApi to appendMiraiCode 2021-01-07 20:53:29 +08:00
Him188
43b422b540 [Review] MessageChain: rename asMessageChain to toMessageChain, remove flatten 2021-01-07 20:49:37 +08:00
Him188
46e0cda7a7 2.0-RC-dev-5 2021-01-06 16:10:00 +08:00
Him188
faece77942 [Review] Rearrange utilities 2021-01-06 16:09:44 +08:00
Him188
41a34bdf65 [Review] Extract MessageSerializersImpl to separate file 2021-01-06 15:55:26 +08:00
Him188
9e631111d4 [Review] Message serialization: ignoreUnknownKeys by default 2021-01-06 15:45:10 +08:00
Him188
9dfe6298a6 2.0-RC-dev-4 2021-01-06 15:29:12 +08:00
Him188
3b7be90a84 [Review] Move File.loadAsDeviceInfo to DeviceInfo companion 2021-01-06 15:26:35 +08:00
Him188
a511bfc3b4 [Review] Rename subscriber.kt to Listener.kt 2021-01-06 15:25:50 +08:00
Him188
3d5159f9e5 [Review] Rename linear.kt to syncFromEvent.kt 2021-01-06 15:25:36 +08:00
Him188
3da76125a6 [Review] Stable Stranger.nudge 2021-01-06 15:17:14 +08:00
Him188
1783a69be2 [Review] Remove LockFreeLinkedList 2021-01-06 15:16:47 +08:00
Him188
24fdf056c2 [Review] Move LazyProperty to Annotations.kt 2021-01-06 15:14:00 +08:00
Him188
382d3d08d4 [Review] Move WeakRef to mirai-core-utils 2021-01-06 15:13:15 +08:00
Him188
3c0bc21816 [Review] Remove Channels.kt 2021-01-06 15:09:21 +08:00
Him188
1059ab44bc [Review] Rename lowLevelApi.kt to LowLevelApiAccessor.kt 2021-01-06 15:04:24 +08:00
Him188
5b74f2a64e [Review] Move JavaFriendlyApi to Annotations.kt 2021-01-06 15:02:49 +08:00
Him188
58c2a2edb8 Add Message.plus(Array<out Message> 2021-01-06 15:00:05 +08:00
Him188
dc449bdca9 [Review] Code cleanup 2021-01-06 14:59:20 +08:00
Him188
1215a56775 [Review] LowLevelApiAccessor:
- Rename method names, remove "_lowLevel"
- Add blocking bridges
2021-01-06 14:58:06 +08:00
Him188
1f0d8363f6 Cover all message types in tests 2021-01-06 14:45:00 +08:00
Him188
1fc7698b9b Fix MessageSerializationTest.kt 2021-01-06 14:42:04 +08:00
Him188
bca15cd09f Fix RichMessage.key generics 2021-01-06 14:38:09 +08:00
Him188
cab8e2f674 Implement ConstrainSingle for ForwardMessage 2021-01-06 14:37:52 +08:00
Him188
c086fa2cc5 2.0-RC-dev-3 2021-01-06 13:15:16 +08:00
Him188
ebc7d655e3 Message serialization, fix #767 2021-01-06 13:14:57 +08:00
Him188
bfd21cbb92 Make properties in MessageKey with @JvmField to allow @JvmField in inherited classes 2021-01-06 08:13:22 +08:00
Him188
c307da1225 Merge remote-tracking branch 'origin/dev' into dev 2021-01-06 00:12:51 +08:00
Him188
cc563752a3 2.0-RC-dev-2 2021-01-06 00:12:06 +08:00
sandtechnology
866df1b2e1
Fix empty marketFace name and failed to decode on PC (#817)
* Fix empty marketFace name and failing decoding on PC

* Fix build

Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-01-06 00:08:36 +08:00
Him188
1d24a810fe Unify image id 2021-01-05 23:28:34 +08:00
Him188
b7232182ae Ignore OnlinePush.PbPushTransMsg msgType=529, subtype=9. Fix #743 2021-01-05 23:00:26 +08:00
Him188
f00bb216b6 Support sending friend image to group, #307 2021-01-05 22:31:08 +08:00
Him188
ac03d405f9 Support sending group image to friend, #307 2021-01-05 22:31:08 +08:00
Him188
54add6df78 Add BotConfiguration.workingDir 2021-01-05 21:04:04 +08:00
Him188
767eb75d4e Move Http client from MiraiPlatformUtils to IMirai.Http
Delete MiraiPlatformUtils

Add timeout configuration for ktor HttpClient, fix #673
2021-01-05 20:43:04 +08:00
Him188
d99fc810f9 Improve docs 2021-01-05 20:35:23 +08:00
Him188
d5cdd9e161 Improve file type detecting 2021-01-05 20:35:10 +08:00