Him188
ab6269b3ae
(internal) Extendable Image.originUrl
2020-05-28 12:53:54 +08:00
Him188
b0e00179a9
Fix build
2020-05-24 15:48:36 +08:00
Him188
4ac4607902
Remove BotJoinGroupEvent.Invite.invitorName as not provided by the server
2020-05-24 14:46:35 +08:00
Him188
b2b8e1206a
Optimize internal event logs
2020-05-24 14:29:59 +08:00
Him188
5485ffe801
Support Bot.isOnline, close #342
2020-05-24 14:09:16 +08:00
Him188
ab464388c1
Support BotJoinGroupEvent.Invite, close #344
2020-05-24 13:50:36 +08:00
Him188
9d0b30618c
Merge remote-tracking branch 'origin/master'
2020-05-24 13:11:35 +08:00
Him188
503592de11
Support IPv6, close #334
2020-05-24 13:10:31 +08:00
ryoii
250497dcad
Close #338
2020-05-24 10:55:36 +08:00
Him188
e98cd8685b
Improve logs
2020-05-22 12:31:21 +08:00
Him188
ec485a8b6f
Cleanup
2020-05-22 00:16:10 +08:00
Him188
2bfffa7b29
Fix network UnknownHostException handling
2020-05-21 21:12:05 +08:00
Him188
ae8d6e0cd2
Fix doc and DefaultLogger usage
2020-05-21 20:35:18 +08:00
Him188
f848473289
Improve loggers:
...
Make SimpleLogger open;
Simplify PlatformLogger;
PlatformLogger on JVM now has `isColored` param and prints exception canonically;
Unify log format;
2020-05-21 20:32:49 +08:00
Him188
b7f6330ed9
Cancel Member when leaved from group
2020-05-21 16:54:33 +08:00
Him188
b75f90d541
Fix duplicated BotJoinGroupEvent,
...
Improve toString of Active, Kick events,
Cancel Group when kicked,
Fix #319
2020-05-21 16:49:57 +08:00
Him188
12c38b94fe
Fix IllegalStateException when losing packet
2020-05-21 10:38:46 +08:00
Him188
7172ef628c
Fix NPE on initialization of Bot
2020-05-21 10:38:21 +08:00
Him188
61284f1d9b
Improve docs
2020-05-16 14:35:14 +08:00
Him188
ae32536ed5
Move BotImpl
and BotNetworkHandler
to mirai-core-qqandroid.
2020-05-16 14:29:03 +08:00
Him188
46598d686c
Cleanup;
...
Use interface for JavaFriendly APIs;
Deprecate event responder in Bot in the favor of their member functions;
Deprecate `Bot.queryUrl(image: Image)`` in the favor of the extension `Image.queryUrl`
2020-05-16 14:14:21 +08:00
Him188
4cc814cda5
Annotate Bot.selfQQ
with @MiraiExperimentalAPI
2020-05-14 19:24:38 +08:00
Him188
f7533e3cd6
Fix #318
2020-05-11 14:32:52 +08:00
Him188
ba2213d5ae
Update error reporter
2020-05-11 12:13:20 +08:00
Him188
8f65a416cd
Extract events to separate files
2020-05-11 10:04:18 +08:00
Him188
1db7bba837
Make FriendEvent.bot final
2020-05-11 09:53:03 +08:00
Him188
5be7f2bb2d
Fix #315
2020-05-11 09:50:18 +08:00
Him188
06205cb69b
Improve Bot life cycle management, close #317
2020-05-10 15:41:08 +08:00
Him188
90c0c5c549
Optimize experimental API usages
2020-05-10 02:22:16 +08:00
Him188
346aecd68b
Enable progressiveMode
2020-05-09 22:23:02 +08:00
Him188
0f0ca8e2cc
Deprecate Bot.subscribe*
for better Coroutine life cycle management; Add docs
2020-05-09 20:11:25 +08:00
Him188
157bd3740c
Fix #298
2020-05-09 18:26:24 +08:00
Him188
bba66f3952
Fix 288
2020-05-09 18:05:08 +08:00
Him188
c299ed8986
Fix compilation, ignore VIP join notice
2020-05-09 17:19:40 +08:00
Him188
d16a699810
Fix BotFaceChangedEvent
, Add FriendFaceChangedEvent
2020-05-09 17:19:02 +08:00
Him188
51ced7b677
Ignore empty lines
2020-05-09 17:14:34 +08:00
Him188
40dd786f99
Ignore empty string and arrays and 0s in _miraiContentToString
2020-05-09 16:54:28 +08:00
Him188
786c9f3b23
Ignore 732
2020-05-09 16:18:56 +08:00
Him188
f795eeb782
Fix commandName
2020-05-09 16:14:23 +08:00
Him188
1e885dbf7a
Rearrange MessageSvc and OnlinePush
2020-05-09 16:11:29 +08:00
Him188
1c1a37a103
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/MessageSource.kt
2020-05-09 15:38:20 +08:00
Him188
e75888a6e9
Add binary-validator
2020-05-09 15:37:02 +08:00
ryoii
2f3c1b5d8f
BotFaceChangedEvent, closed #271
2020-05-07 22:09:37 +08:00
ryoii
869d2fafd6
Fix #309
2020-05-07 21:44:01 +08:00
Him188
a1322076fc
Improve network availability check
2020-05-07 10:45:19 +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