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
Him188
f6faf19ad8
Improve docs
2021-01-05 20:29:24 +08:00
Him188
95e6ca4c7a
Add BotOfflineEvent.reconnect
, support auto-reconnect control.
...
AbstractBot.offlineListener is now MONITOR
2021-01-05 20:23:00 +08:00
Him188
44053ae85f
Extract network logic to separate classes to speed up inspections
2021-01-05 18:16:20 +08:00
sandtechnology
7d43ab20f8
Syncing when joined group by other client & Add missed invitor in invite event ( #804 )
...
* Introduce UserInfo and change uin to id
* Stranger api: List and asStranger
* Stranger api: Events
* Stranger api: MessageDSL and MessageSource
* Update docs
* Improve LoginSolver
fix project-mirai/mirai-login-solver-selenium#4
* Improve SeleniumLoginSolver loading
* Fix MessageChain.fragmented
* 2.0-M2-1
* Stranger api change: StrangerRelationChangeEvent
* Stranger impl: list and asStranger
* Stranger impl: get stranger list and del stranger protocol
* Stranger impl: add stranger protocol
* Stranger impl: MessageSource refactor and sending&receiving message
* Stranger impl: Dropping long message support (server rejected)
* Stranger impl: sending stranger message when member is stranger
* Fix wrong key
Co-authored-by: Him188 <Him188@mamoe.net>
* Add @LowLevelApi
Co-authored-by: Him188 <Him188@mamoe.net>
* Remove redundant val modifier
* Replace nudge if statement to when statement
* Move list seq to QQAndroidClient
* Replace id with uin in UserInfo and fix build error
* Using by lazy in asStranger
* Fix wrong wordings
* Fix wrong wordings in uploading image
* Fix nudge
* Fix #478 , sync other client join group
* Change to NormalMember and update toString method
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
* Launch on bot network scope
Co-authored-by: Him188 <Him188@mamoe.net>
* Fix TarsDecoder
fix #762
* Fix TarsInput.skipField
Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-01-05 17:27:40 +08:00
Him188
d0fd05d4d5
2.0-RC-dev-1
2021-01-05 12:58:06 +08:00
sandtechnology
24a95201a0
Fix wrong mute packet decoding ( #811 )
2021-01-05 12:43:21 +08:00
Karlatemp
7edcf987ce
Fix TarsInput.skipField again
2021-01-05 00:18:08 +08:00