Commit Graph

1034 Commits

Author SHA1 Message Date
Him188
c7ab173a5d Add bug report hints 2020-06-14 19:54:04 +08:00
Him188
d7ab2c1bae Fix potential NoSuchElementException when member is kicked 2020-06-14 19:53:50 +08:00
Him188
e829939154 Arise deprecation level, fix #353 2020-06-14 19:13:31 +08:00
Him188
6f0853e6e4 Implement MessagePreSendEvent and MessagePostSendEvent.
Deprecate `MessageSendEvent`
Fix #339
2020-06-14 18:43:21 +08:00
Him188
4961b60494 Merge branch 'master' into dev 2020-06-12 14:43:12 +08:00
ryoii
f99981baa9 SystemMsgNewGroup type 3 2020-06-02 10:25:31 +08:00
Him188
2e8df632cd Fix #361 2020-06-01 20:38:31 +08:00
Him188
c088e423b2 (internal) _miraiContentToString: Ignore transient properties 2020-05-30 01:31:16 +08:00
Him188
480d947ac8 Fix imports 2020-05-29 17:12:01 +08:00
Him188
d2132a66ca Fix imports 2020-05-29 17:11:54 +08:00
Him188
c7b915390a Fix imports 2020-05-29 17:11:23 +08:00
Him188
0af6639e9d Fix build 2020-05-29 16:13:03 +08:00
Him188
2e119f4eeb (internal) Extendable Image.originUrl 2020-05-28 14:25:10 +08:00
Him188
c71cc53d2d Improve performance when log is disabled 2020-05-28 14:10:18 +08:00
Him188
f653f33a6f Improve stability, returns -1 for sequenceId when failed to fetch from server 2020-05-28 14:10:18 +08:00
Him188
5fd1ba86eb (internal) Extendable Image.originUrl 2020-05-28 14:10:18 +08:00
Him188
a974507101 Fix typo on filename 2020-05-27 22:41:43 +08:00
ryoii
7fd5cfe3bb Low level api for request event again 2020-05-25 22:40:10 +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