Commit Graph

1137 Commits

Author SHA1 Message Date
Him188
2d83b69d06 Update copyright 2020-08-16 01:31:14 +08:00
Him188
3dcf28592c Update licences and README 2020-08-16 00:15:46 +08:00
Him188
43407aa427 Fix #470: Network Protocol: java.lang.IllegalStateException: returnCode = -10008 2020-07-31 22:49:07 +08:00
Him188
928c91a05e
Merge pull request #477 from Mrs4s/dev
fix mamoe/mirai#472: group.quit() not working
2020-07-31 20:28:52 +08:00
Him188
30e20da40f Merge remote-tracking branch 'origin/dev' into dev 2020-07-31 20:22:54 +08:00
Him188
1d0b42df73 Cleanup 2020-07-31 16:33:12 +08:00
Him188
741d8f9eca Fix friend message history syncing 2020-07-31 16:31:37 +08:00
Him188
87e76d4890 Update Kotlin version to 1.4 and relevant libraries 2020-07-31 16:29:25 +08:00
Mrs4s
97d335bc55 fix mamoe/mirai#472 2020-07-31 12:28:40 +08:00
Him188
6abc8c17e4
Merge pull request #471 from Mrs4s/dev
fix issue of multi msg cannot view on phone.
2020-07-31 00:07:54 +08:00
CHMing
fe306c4aaa
修复成员进群后第一次发言触发改名事件 (#475)
* 解决最后一个mirai码之后的消息无法解析的问题

* 修复成员进群后第一次发言触发改名事件

Co-authored-by: caihongming <caihongming@iboxpay.com>
2020-07-30 14:15:03 +08:00
Him188
6e7c20856c Merge remote-tracking branch 'origin/dev' into dev 2020-07-30 01:58:26 +08:00
Him188
d51678fa29 Misc improvements 2020-07-30 00:53:03 +08:00
Him188
1a81fbd794 Merge remote-tracking branch 'origin/explicit-api' into dev
# Conflicts:
#	gradle.properties
2020-07-29 23:59:19 +08:00
mzdluo123
3d773342a6
Revert "try to fix #249 again"
This reverts commit b320d2ca
2020-07-29 14:26:25 +08:00
mzdluo123
3eef29af80
fix #389 2020-07-28 14:59:55 +08:00
mzdluo123
b320d2caed
try to fix #249 again 2020-07-28 14:55:14 +08:00
Mrs4s
65b8d4e808 fix issue of multi msg cannot view on phone. 2020-07-28 03:18:22 +08:00
mzdluo123
2ec431489e
try to fix #249 2020-07-25 19:37:39 +08:00
Him188
719b5ac7b5 Explicit api mode 2020-07-20 15:06:30 +08:00
Him188
0a7ebffd95 Fix #428 2020-07-16 22:07:35 +08:00
ryoii
c95306c12e Fix BotJoinGroupEvent.Invite 2020-07-15 17:42:25 +08:00
ryoii
2f0ff513a2 Close #435, support FriendRecallEvent 2020-07-15 15:15:49 +08:00
ryoii
42716ab62d Fix #375, broadcast BotJoinGroupEvent when create new group from other client 2020-07-12 12:02:32 +08:00
ryoii
de484ecb9a Remove debug log 2020-07-12 11:42:21 +08:00
mzdluo123
2ae91bb216
show ptt upload speed 2020-07-11 00:24:12 +08:00
mzdluo123
4b26d4d2c2
Merge remote-tracking branch 'origin/dev' into dev 2020-07-09 21:04:41 +08:00
mzdluo123
fab0378078
fix #360 2020-07-09 12:36:51 +08:00
Him188
486a0dc5cb Merge remote-tracking branch 'origin/fixGroup' into dev 2020-07-09 01:08:54 +08:00
Him188
2a91a229a3 Fix #417 2020-07-09 01:01:30 +08:00
mzdluo123
83ee69ccc6
fix some issue 2020-07-08 23:08:35 +08:00
ryoii
aa69f570d2 Close #370, ignore messages before group is initialized 2020-07-08 16:59:51 +08:00
ryoii
becc54dd42 Close #402 2020-07-08 16:51:16 +08:00
ryoii
a74e895c41 Fix #404, #410: Bot join group from other client 2020-07-08 15:48:17 +08:00
mzdluo123
5b80ccf49a
fix can't receive voice sent from tim pc 2020-07-08 12:21:47 +08:00
mzdluo123
a174f17493
finish fix tim pc 2020-07-07 23:56:21 +08:00
mzdluo123
90a7306822
try fix tim pc 2020-07-07 20:46:41 +08:00
mzdluo123
82faf7732c
try fix tim pc 2020-07-07 11:28:39 +08:00
mzdluo123
9494472cee
add: uploadPttTosServer to HighwayHelper.kt 2020-07-07 09:45:49 +08:00
mzdluo123
038c9d1db1
add: voice upload 2020-07-06 23:47:40 +08:00
mzdluo123
07d9365d70
fix: crash when get GroupActiveData 2020-07-04 14:18:18 +08:00
Him188
2e7a326916 Suppress DEPRECATION for internal usage 2020-07-02 01:27:48 +08:00
Him188
dcfe934a83 Fix missed BotOfflineEvent.Dropped. Close #376 2020-07-02 00:34:37 +08:00
Him188
0741d484c9 Fix #372 2020-07-01 23:36:28 +08:00
Him188
6c4f00a5f8 Fix #405 2020-06-29 13:55:42 +08:00
Him188
e973079337 Merge remote-tracking branch 'origin/dev' into dev 2020-06-29 13:42:45 +08:00
ryoii
49924ea35e Close #398 2020-06-29 10:07:00 +08:00
Him188
23dd54b300 Merge remote-tracking branch 'origin/dev' into dev 2020-06-28 01:05:39 +08:00
ryoii
510a041f0c Close #393 2020-06-26 19:51:10 +08:00
ryoii
0cf9b1b975 Magic number for image type 2020-06-23 23:25:04 +08:00
Karlatemp
89386904b1
Fix #383 2020-06-23 13:22:15 +08:00
Him188
4cb5d654b2 Delegate json serialization strategy to BotConfiguration 2020-06-17 14:19:59 +08:00
Him188
877a8efed3 Ignore old Group settings. Fix #373 2020-06-16 15:20:33 +08:00
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