ryoii
869d2fafd6
Fix #309
2020-05-07 21:44:01 +08:00
Him188
5cd3178c3f
Make Message.get
returns M?
instead of M
;
...
Deprecate `Message.getOrNull` in favor of `Message.get`;
Add `Message.getOrFail`
2020-05-06 12:38:30 +08:00
Him188
8ca4357eb8
Merge pull request #304 from mamoe/1.0.0
...
1.0.0
2020-05-05 16:10:32 +08:00
Him188
2d9db234d7
Introduce FileCacheStrategy
;
...
Rework `ExternalImage`, introduce `ReusableInput` for multiple attempts when uploading images;
Add `BotConfiguration.fileCacheStrategy`, defaults use cache system from host OS;
Introduce `DeferredReusableInput` for `*.toExternalImage` on JVM.
Deprecate `*.suspendToExternalImage` as no longer need to be suspend.
Open input only when required, close input after uploading files, fix #302
2020-05-05 16:09:32 +08:00
Him188
84cfe2626f
Remove all @SinceMirai("0.x.x")
2020-05-05 13:56:17 +08:00
Him188
4ee27f2069
Fix ambiguous message event names. Fix #299 .
...
Binary compatibility until 1.2.0.
Migrations:
- `MessagePacket` deprecated in favor of `MessageEvent`
- `MessagePacketBase` deprecated in favor of `MessageEvent`
- `ContactMessage` -> `MessageEvent`
- `FriendMessage` -> `FriendMessageEvent`
- `GroupMessage` -> `GroupMessageEvent`
- `TempMessage` -> `TempMessageEvent`
2020-05-05 13:55:01 +08:00
ryoii
01d1625302
Fix a possible bug
2020-05-05 13:45:25 +08:00
ryoii
5635509cbd
Calculate groupCode, fixes #301
2020-05-05 13:25:04 +08:00
Him188
1305709d3e
Extract JCE serialization to him188/jcekt. close #300
2020-05-04 14:48:01 +08:00
Him188
e5404b397b
Simplify MemberPermission comparing
2020-05-03 22:25:57 +08:00
ryoii
f61f3bd331
f88k receive file
2020-05-02 18:45:37 +08:00
Him188
73c700b4b7
Support protocol selecting
2020-05-02 18:42:51 +08:00
Him188
fbf4dd6bb2
Adjust filenames
2020-05-02 18:12:40 +08:00
Him188
6b5cbc3dd7
Implement new ExternalImage and image chunk strategy
2020-05-02 17:58:22 +08:00
Him188
2be325d781
Remove all deprecated APIs
2020-05-02 16:56:18 +08:00
ryoii
107a760d5e
Correct comment
2020-05-02 05:00:53 +08:00
ryoii
1dbeb44f5b
Support Group VoiceMessage receiving
2020-05-02 04:46:51 +08:00
Him188
9924d37e54
Misc improvements
2020-05-01 23:04:24 +08:00
Him188
1a4c3ba602
Simplify Image structure: deprecate online and offline classification.
2020-05-01 21:51:09 +08:00
Him188
15c50c1554
Add note
2020-05-01 16:04:44 +08:00
Him188
659cfa2288
Improve numbers in log
2020-05-01 15:40:01 +08:00
Him188
16c440433f
Introduce AbstractEvent
acting as all events' super class
2020-05-01 14:44:12 +08:00
Him188
4b62d64330
Fix boom
2020-04-29 18:47:35 +08:00
Him188
9fdc8cd929
Fix build
2020-04-29 18:20:41 +08:00
Him188
2501cbb59a
Ensure binary compatibility
2020-04-29 15:49:01 +08:00
Him188
50934f9b7d
Ensure binary compatibility until 1.1.0
2020-04-29 15:33:25 +08:00
Him188
e3084c5f7d
Deprecate XmlMessage
and JsonMessage
in favour of ServiceMessage
2020-04-29 12:14:40 +08:00
Him188
4840a57b4a
Transform VipFace as PlainText
2020-04-28 16:48:59 +08:00
Him188
9b4006222f
Rework re-init, fix #282
2020-04-28 16:35:03 +08:00
Him188
40b8cabd5f
Cleanup
2020-04-28 15:31:23 +08:00
Him188
20acc3c459
Support parsing VipFace
2020-04-28 15:25:43 +08:00
Him188
128125eec7
Support more poke messages
2020-04-28 14:59:57 +08:00
Him188
5be39d392a
Fix warning
2020-04-27 19:11:28 +08:00
ryoii
7fee308b11
Fix anonymous bug
2020-04-26 17:01:18 +08:00
ryoii
73923d46f6
Parse anonymous chat, close #277
2020-04-26 16:51:28 +08:00
ryoii
f77169b7eb
Merge remote-tracking branch 'origin/master'
2020-04-25 18:53:07 +08:00
ryoii
fb28435501
Fix: group code parse error for recall
2020-04-25 18:45:30 +08:00
Him188
c2388b101a
Merge remote-tracking branch 'origin/master'
2020-04-25 18:44:48 +08:00
Him188
cbfb0191a2
Fix member name on parsing group message
2020-04-25 18:44:35 +08:00
ryoii
227d4e51d4
Fix: group code parse error, close #246
2020-04-25 18:29:47 +08:00
Him188
56fc3aa88b
Add checks for empty message being sent
2020-04-25 13:14:57 +08:00
ryoii
15683a2661
Support query offline image url
2020-04-25 01:59:30 +08:00
ryoii
b3ea2faaae
Fix onlineImage url parse on long message, close #250
2020-04-25 01:36:15 +08:00
ryoii
a03848da30
Improve delete notify
2020-04-25 00:40:20 +08:00
ryoii
bb3944d5ae
Support handle bot invited into a group, close #259
2020-04-25 00:24:16 +08:00
ryoii
78b46ceabe
Fix: PacketFactory for MessageSvc.Del
2020-04-24 21:34:07 +08:00
ryoii
769b6ce207
Delete notify uniformly
2020-04-24 21:24:56 +08:00
ryoii
f5112aaac5
Fix: delete notify sent from tx server
2020-04-24 21:17:35 +08:00
Him188
c8e20800a0
Fix #263
2020-04-24 16:45:45 +08:00
Him188
09524da1e9
Add docs, rearrange implementations
2020-04-24 16:41:21 +08:00