Commit Graph

657 Commits

Author SHA1 Message Date
Him188
3e3a792c6c Suppress warnings 2020-02-19 14:24:23 +08:00
Him188
9aa79e69b0 Add doc 2020-02-19 14:22:55 +08:00
Him188
171929d938 Add warning log 2020-02-19 14:21:30 +08:00
Him188
d1153e3c02 Remove redundant log 2020-02-19 14:16:51 +08:00
Him188
8f94935e08 Remove redundant log 2020-02-19 14:16:22 +08:00
Him188
9de13ca6fd Fix ECDH 2020-02-19 14:15:38 +08:00
Him188
0508e8d894 Add details in exception 2020-02-19 13:32:43 +08:00
Him188
985f368f7d Fix friend message syncing 2020-02-19 13:09:05 +08:00
Him188
41a12089e3 Improve performance: use object 2020-02-19 13:08:44 +08:00
Him188
64a02f1ea6 Unwrap inline class 2020-02-19 13:08:10 +08:00
Him188
9488ea2634 Make generic type TPacket nullable 2020-02-19 13:07:11 +08:00
Him188
f6ab87f1ef Unified bot.logger and network.logger 2020-02-19 12:23:09 +08:00
Him188
b2e0114e4f Adjust job cancelling hence fix #65 2020-02-19 11:28:23 +08:00
Him188
0ce0b336a1 Fix #62 2020-02-19 10:59:29 +08:00
Him188
866a5ac6c8 F**k kotlin compiler 2020-02-18 13:45:21 +08:00
Him188
fc4fb4f297 Retry fetch group on fail 2020-02-18 13:35:28 +08:00
Him188
4bec7d753b Make java user happier 2020-02-18 13:18:30 +08:00
Him188
29091e817f Fix gradle dependency 2020-02-18 13:03:51 +08:00
Him188
7d283808f7 Rename awaitDisconnection to join 2020-02-17 09:26:32 +08:00
Him188
b59ae076ec Add context getter 2020-02-17 00:16:50 +08:00
Him188
ef4588832b Fix publish 2020-02-16 13:54:42 +08:00
Him188
7f82767c40 Remove unused file 2020-02-16 00:56:55 +08:00
Him188
a402e3a5da
Update README.md 2020-02-16 00:31:37 +08:00
Him188
7e96aa5a12 Add retry for queryGroupInfo 2020-02-15 23:02:54 +08:00
Him188
a555180493 Fuck bintray publish 2020-02-15 22:54:17 +08:00
Him188
a40dbaa443 Broadcast BotOnlineEvent 2020-02-15 21:29:32 +08:00
Him188
ecfcc183e1 Fix no such member when kick 2020-02-15 19:02:33 +08:00
Him188
751d653545 Fix build 2020-02-15 18:23:21 +08:00
Him188
45d5131e32 Unified exception throw 2020-02-15 13:08:27 +08:00
Him188
5eb731e975 Adjust property names 2020-02-15 12:12:10 +08:00
Him188
c434b59fb0 Add cache, close #46 2020-02-15 11:37:55 +08:00
Him188
698c8b1c76 Format 2020-02-14 22:34:04 +08:00
Him188
04bed22ea2 Fix awaitDisconnection() 2020-02-14 22:27:45 +08:00
Him188
f8cbdf1c9b Fix log reference 2020-02-14 22:15:05 +08:00
Him188
32c15a47de Remove debugPrintln 2020-02-14 22:06:52 +08:00
Him188
4738de3375 Add timeout message 2020-02-14 21:58:42 +08:00
Him188
67bf197148 Cancel packet receiver job before reconnecting 2020-02-14 21:56:04 +08:00
Him188
61973170f9 Cancel heartbeat job if network is dead 2020-02-14 20:20:51 +08:00
Him188
a7055ed92d Try register only if possible. Close #47 2020-02-14 18:46:34 +08:00
Him188
1993047221 Redesign reconnecting logic 2020-02-14 18:41:24 +08:00
Him188
1f6d81314a Fix captcha read 2020-02-14 18:19:55 +08:00
Him188
4218cdb7bb Ignore redundant if 2020-02-14 13:40:11 +08:00
Him188
227a22d311 Ignore receipt events 2020-02-13 16:30:18 +08:00
Him188
33c75c824e Make OnlinePushPack internal 2020-02-13 13:38:19 +08:00
Him188
7c69bd038d Replace println with network.logger.debug 2020-02-13 13:34:22 +08:00
Him188
539a726c70 Don't disable network log for default 2020-02-13 13:20:28 +08:00
Him188
2deebbe3c4 Correct class name 2020-02-13 13:19:52 +08:00
Him188
325a84a47f More detail if fail 2020-02-13 10:15:04 +08:00
Him188
7567a09a39 Print details about unknown captcha question 2020-02-13 09:51:39 +08:00
Him188
d365ec5b4e New feature: AtAll 2020-02-13 09:36:47 +08:00
Him188
e5ff383666 Use network.logger over bot.logger 2020-02-13 08:59:40 +08:00
Him188
cc42069196 Add BotUnmuteEvent 2020-02-12 23:54:27 +08:00
Him188
3ab0e67516 Introduce logger supplier, close #43 2020-02-12 23:24:37 +08:00
Him188
348d13a4c1 Handle event of new member joining 2020-02-12 23:09:23 +08:00
Him188
3e0e6f837f fix typo 2020-02-12 21:38:00 +08:00
Him188
fda644d248 Ensure info accessibility 2020-02-12 20:48:06 +08:00
Him188
f784e85dbd Structured contact list syncing 2020-02-12 20:03:48 +08:00
Him188
51ee123a1e Introduce information descriptors for contacts 2020-02-12 20:03:19 +08:00
Him188
b55909969c Set proper property type 2020-02-12 20:01:59 +08:00
Him188
7183439444 Process string properly 2020-02-12 20:00:29 +08:00
Him188
fbe5f14a9c Merge remote-tracking branch 'origin/master' 2020-02-12 19:09:29 +08:00
jiahua.liu
e072c5b10e Get Kicker 2020-02-12 17:10:32 +08:00
jiahua.liu
5edeb86924 Get Kicker 2020-02-12 16:23:56 +08:00
Him188
eaf3782b5c Add getGroupByUinOrNull (internal) 2020-02-12 16:10:58 +08:00
Him188
32b526b0b1 Simplify log 2020-02-12 14:17:26 +08:00
Him188
905d4ede9a Fix build 2020-02-12 13:52:07 +08:00
Him188
e33fea8a3f Remove override 2020-02-12 09:07:40 +08:00
Him188
5bd96876d9 Add event broadcast 2020-02-11 22:06:03 +08:00
Him188
dfa3af5643 Fix build 2020-02-11 21:33:03 +08:00
Him188
bc71475f35 Add event broadcasting 2020-02-11 21:29:28 +08:00
Him188
049cf30659 New event design 2020-02-11 20:40:35 +08:00
Him188
4d77951ae4 Redesign event structure 2020-02-11 13:14:40 +08:00
Him188
a322ce735b Make CancellableEvent an interface, introduce AbstractCancellableEvent 2020-02-11 12:30:49 +08:00
Him188
7891ffc136 Make interface Event the base type of a event, remove interface Subscribable 2020-02-11 11:56:42 +08:00
Him188
bfc516f350 senderId, sourceMessage, groupId are now accessible from MessageSource 2020-02-11 09:16:43 +08:00
Him188
0d8e481efc Fix build 2020-02-11 09:15:53 +08:00
Him188
bf91d3780b Move "Received commandName" log 2020-02-10 16:53:29 +08:00
Him188
f82f0ed96a Add toString 2020-02-10 16:53:10 +08:00
Him188
24fe8e848e Add toString 2020-02-10 16:44:08 +08:00
Him188
fda2040de9 Update docs 2020-02-10 16:01:59 +08:00
Him188
ec82232aa3 Cleanup 2020-02-10 13:54:21 +08:00
Him188
2d9be2542b Remove unnecessary object 2020-02-10 13:14:11 +08:00
Him188
b479a213bc Add heartbeat 2020-02-10 13:12:59 +08:00
Him188
7a47f58429 Rename LoginPacket to WtLogin.Login 2020-02-10 13:11:41 +08:00
Him188
94570ec447 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/MessageSvc.kt
2020-02-09 23:22:10 +08:00
Him188
e116224180 Move DeviceInfo 2020-02-09 23:20:29 +08:00
Him188
23adcf6d4a Quote reply support 2020-02-09 23:20:12 +08:00
jiahua.liu
3ce04ddd67 Merge remote-tracking branch 'origin/master' 2020-02-09 16:00:24 +08:00
jiahua.liu
f4810e1f23 MemberList change 2020-02-09 15:59:58 +08:00
Him188
cf7e325259 Add copyright 2020-02-09 01:01:36 +08:00
jiahua.liu
f0de474aaa MemberList change 2020-02-09 00:11:50 +08:00
jiahua.liu
23954c475d online push 2020-02-08 23:49:57 +08:00
jiahua.liu
571b4c4162 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/receive/OnlinePush.kt
2020-02-08 21:44:24 +08:00
jiahua.liu
2061683d72 online push 2020-02-08 21:43:29 +08:00
jiahua.liu
6e6c1d813d OnlinePushPack JCEs 2020-02-08 20:57:31 +08:00
Him188
96554f2c95 Remove bad heartbeat 2020-02-08 16:59:24 +08:00
Him188
02b4f10e0a Merge remote-tracking branch 'origin/master' 2020-02-08 16:04:20 +08:00
Him188
ee3f08f722 Move MessageQQA.kt to message 2020-02-08 16:04:06 +08:00
Him188
ad2e1e243e Less log 2020-02-08 16:03:43 +08:00
jiahua.liu
f18007f650 OnlinePushPack JCEs 2020-02-08 15:04:05 +08:00
jiahua.liu
b99725853f Merge remote-tracking branch 'origin/master' 2020-02-08 14:51:57 +08:00
jiahua.liu
b4dc91f21b Group Listener 2020-02-08 14:51:45 +08:00
Him188
ce3ba66d34 Faster init: saved 200ms for each load 2020-02-08 01:17:44 +08:00
Him188
44cdbf8a94 Simplify structure, improve performance 2020-02-08 01:17:14 +08:00
Him188
f891ff02f7 Merge remote-tracking branch 'origin/master' 2020-02-08 00:37:21 +08:00
Him188
6d2a360780 Add heartbeat 2020-02-08 00:36:58 +08:00
jiahua.liu
96c3e775b3 Merge remote-tracking branch 'origin/master' 2020-02-08 00:14:50 +08:00
jiahua.liu
9d9089dd98 Group Listener 2020-02-08 00:14:11 +08:00
Him188
13d6bd29d4 Fix build 2020-02-07 23:35:07 +08:00
Him188
68d86a924f Introduce _ vars 2020-02-07 23:18:32 +08:00
Him188
ca43cf689c Remove data modifier 2020-02-07 23:18:12 +08:00
Him188
2e3e7bee2b Fix ambiguous function name 2020-02-07 23:18:01 +08:00
Him188
b3eabcdcbb Merge remote-tracking branch 'origin/master' 2020-02-07 21:55:00 +08:00
jiahua.liu
1302951b58 to get mute all 2020-02-07 21:53:36 +08:00
Him188
a8aded9bf9 Fix error message 2020-02-07 21:41:08 +08:00
jiahua.liu
13aa04e685 to get mute all 2020-02-07 21:33:35 +08:00
jiahua.liu
a058323e4d to get mute all 2020-02-07 21:32:32 +08:00
jiahua.liu
009f11ea0b Merge remote-tracking branch 'origin/master' 2020-02-07 21:25:51 +08:00
jiahua.liu
5e0048bfe2 Kick 2020-02-07 21:25:35 +08:00
Him188
a66c71dd8d Friend image upload done 2020-02-07 21:09:35 +08:00
Him188
867b2c8911 Merge remote-tracking branch 'origin/master' 2020-02-07 20:35:28 +08:00
Him188
e7bff90536 Add OnlinePush.ReqPush 2020-02-07 20:35:10 +08:00
jiahua.liu
8de1fe9150 Merge remote-tracking branch 'origin/master' 2020-02-07 20:32:09 +08:00
jiahua.liu
c92e385839 Kick Member.kt 2020-02-07 20:31:50 +08:00
Him188
13b72b312c Friend image upload 2020-02-07 18:43:24 +08:00
Him188
96d6268adb Explicit expect function 2020-02-07 16:59:30 +08:00
Him188
4b162c546c Small fixes 2020-02-07 16:57:00 +08:00
Him188
98669ca121 Add tips 2020-02-07 14:20:37 +08:00
Him188
abfa13c29b Add permission check 2020-02-07 14:18:25 +08:00
Him188
fa515ed3b9 Specify classname for toString 2020-02-07 14:11:09 +08:00
Him188
6c0694c732 Fix coroutineScope 2020-02-07 14:10:37 +08:00
jiahua.liu
ba352a9869 fix launch issue 2020-02-07 13:51:55 +08:00
Him188
c50c4365ac Override equals, hashcode and toString 2020-02-07 13:13:05 +08:00
Him188
4ae0eecd4d Add fast-fail check 2020-02-07 12:46:34 +08:00
Him188
4b9795da38 Add comment 2020-02-07 12:46:22 +08:00
Him188
80078ab25e Print imports 2020-02-07 12:32:27 +08:00
Him188
0f57613319 Friend image query support 2020-02-07 12:32:04 +08:00
Him188
8dddf2a24c Move ImageRequest 2020-02-07 12:31:43 +08:00
Him188
f7092976f1 Ignore offline messages 2020-02-07 12:31:20 +08:00
Him188
f634a5282f Add HighwayHelper 2020-02-07 12:30:59 +08:00
Him188
abfc40096a Adjust class package 2020-02-07 11:04:40 +08:00
Him188
b53bbdf513 Fix JceStruct read 2020-02-07 11:04:16 +08:00
Him188
f75116a246 Fix #28 2020-02-07 10:46:09 +08:00
Him188
4d2510d0e7 Replace "\r" with "" 2020-02-07 10:18:33 +08:00
Him188
802ab47b19 Fix #40 2020-02-07 10:15:48 +08:00
Him188
10c377e891 Fix build.gradle 2020-02-07 10:11:47 +08:00
Him188
5f4c3882cf Group image support 2020-02-07 10:11:39 +08:00
Him188
1b3065a44c Replace "\n" as """\n""" for log 2020-02-07 09:01:28 +08:00
Him188
6d0972dd54 Fix compilation dependency 2020-02-07 08:44:47 +08:00
Him188
d2b6f11993 Specify lambda param 2020-02-06 16:04:23 +08:00