Commit Graph

1226 Commits

Author SHA1 Message Date
Him188
57479e0db6 Replace all 登陆s with 登录 2020-02-19 13:25:41 +08:00
Him188
c20040f1ac Add common property isEnabled to all loggers 2020-02-19 12:20:21 +08:00
Him188
c937511412 Fix login retry 2020-02-19 12:16:28 +08:00
Him188
4f7b266e03 Add tryCount param to lambda 2020-02-19 12:16:17 +08:00
Him188
3b7a9b6d42 Fix logger 2020-02-19 12:16:05 +08:00
Him188
67c31ed0cb Add logs before and after logging in 2020-02-19 11:41:14 +08:00
Him188
016be17049 Fix #70 2020-02-19 11:36:24 +08:00
Him188
b2e0114e4f Adjust job cancelling hence fix #65 2020-02-19 11:28:23 +08:00
Him188
9b58606366 Fix initialization error 2020-02-18 21:46:09 +08:00
Him188
9989894802 Fix test 2020-02-18 21:10:18 +08:00
Him188
35b8cfeb2a Fix test 2020-02-18 21:09:45 +08:00
Him188
7ad3bfbf8f Add MiraiAtomicBoolean, fuck atomicfu 2020-02-18 21:05:51 +08:00
Him188
eafa943e5f Remove redundant apply 2020-02-18 20:35:44 +08:00
Him188
29a5ab53a9 Use default shareKey if ECDH is not available 2020-02-18 20:02:13 +08:00
Him188
757bedc657 Suppress EXTENSION_SHADOWED_BY_MEMBER 2020-02-18 13:38:11 +08:00
Him188
2b4d9a8e79 Add tryNTimes 2020-02-18 13:35:14 +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
efa404d0d3 Try fix compilation bug 2020-02-17 18:36:08 +08:00
Him188
69ff377654 Add references 2020-02-17 14:14:16 +08:00
Him188
0be36f71b8 More useful .incoming 2020-02-17 14:13:18 +08:00
Him188
9b3bc88b3d Add Bot.closeAndJoin 2020-02-17 09:39:02 +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
jiahua.liu
a2ae001fe1 Console Terminal Chinese Supported 2020-02-16 22:44:56 +08:00
jiahua.liu
47c26e43db Merge remote-tracking branch 'origin/master' 2020-02-16 20:10:24 +08:00
jiahua.liu
e971fd769d Mirai Console (Terminal)V0.01 2020-02-16 20:10:12 +08:00
Him188
eb8660667e Merge remote-tracking branch 'origin/master' 2020-02-16 18:28:31 +08:00
Him188
dcddcc9229 Change lambda parameter of onEvent for matching(Regex) and finding(Regex) to MatchResult 2020-02-16 18:25:37 +08:00
jiahua.liu
33d5cf566e Mirai Console (Terminal)V0.01 2020-02-16 18:04:42 +08:00
jiahua.liu
d0fb1383a0 Mirai Console V0.01 2020-02-16 17:25:30 +08:00
Him188
ef4588832b Fix publish 2020-02-16 13:54:42 +08:00
Him188
a30b9bc76a Remove redundant permission 2020-02-16 02:42:09 +08:00
Him188
4b345fd3b6
Merge pull request #57 from HoshinoTented/master
Add incoming channel for Bot
2020-02-15 11:25:54 -06:00
Him188
cde551625a Fix ecdh availability detect 2020-02-16 01:21:02 +08:00
Him188
b3c97c1678 Simplify 2020-02-16 01:19:22 +08:00
HoshinoTented
cebdd40e76 add incoming channel 2020-02-16 00:59:56 +08:00
Him188
606879cba1 Test ECDH keyPair before success 2020-02-16 00:19:53 +08:00
Him188
b7e4dc0772 Add default values 2020-02-15 23:24:43 +08:00
Him188
a555180493 Fuck bintray publish 2020-02-15 22:54:17 +08:00
ryoii
f8282e7d4d correct default At display name 2020-02-15 18:03:48 +08:00
Him188
04da180071 Fix has 2020-02-15 17:21:41 +08:00
Him188
25b3b2b2be Japt 2020-02-15 15:03:52 +08:00
Him188
7ddf93988b Remove @JvmStatic for JDK1.6 compatibility 2020-02-15 14:15:35 +08:00
Him188
98de5893d7 Add @JvmStatic and @JvmOverloads 2020-02-15 14:13:07 +08:00
Him188
dd9e59aabe Implement Event explicitly 2020-02-15 14:12:51 +08:00
Him188
ba212d2b7a Generate equals and hashCode for BotAccount 2020-02-15 13:10:12 +08:00
Him188
45d5131e32 Unified exception throw 2020-02-15 13:08:27 +08:00
Him188
f989cd9391 Multiplatform Exceptions to deal with kotlin bug 2020-02-15 12:12:30 +08:00
Him188
5eb731e975 Adjust property names 2020-02-15 12:12:10 +08:00
Him188
5d629fe644 Close #55 2020-02-15 11:10:37 +08:00
Him188
2e614f65f9 EventListeners: use atomic lock to avoid redundant object creation 2020-02-15 11:04:33 +08:00
Him188
2b464a287e Add MessageSource.quote 2020-02-14 22:26:40 +08:00
Him188
066ad39561 Remove ambiguous functions on Android 2020-02-14 22:16:01 +08:00
Him188
8eda95659c Fix multiplatform BotConfiguration 2020-02-14 22:15:29 +08:00
Him188
32c15a47de Remove debugPrintln 2020-02-14 22:06:52 +08:00
Him188
8a4750badb Fix platform implementations 2020-02-14 22:05:59 +08:00
Him188
797cef15e2 Logger: Accept String over Any; Introduce common optional log functions 2020-02-14 22:04:32 +08:00
Him188
2ae7c75a16 Add default values 2020-02-14 21:55:28 +08:00
Him188
ace1174678 Fix configuration 2020-02-14 21:54:03 +08:00
Him188
32e854db29 Improve DeviceInfo 2020-02-14 21:09:36 +08:00
Him188
bf7189fdd5 Slow down heartbeat 2020-02-14 20:31:22 +08:00
Him188
617b231865 japt Events 2020-02-14 20:21:05 +08:00
Him188
843643a78d Add internal functions for japt 2020-02-14 20:20:28 +08:00
Him188
7451991973 Catch missing exceptions thrown under Bot CoroutineScope 2020-02-14 20:19:38 +08:00
Him188
5b4e99c52d Override close explicitly 2020-02-14 20:13:40 +08:00
Him188
afb74ec652 Annotate subscribeInternal with @MiraiInternalAPI 2020-02-14 19:21:43 +08:00
Him188
f37434c663 Remove @MiraiInternalAPI from NetworkHandler 2020-02-14 19:12:50 +08:00
Him188
1993047221 Redesign reconnecting logic 2020-02-14 18:41:24 +08:00
Him188
c03fb41fd0 Add LoginFailedException 2020-02-14 18:40:04 +08:00
Him188
ba946eb249 Add ForceOfflineException for clearer close reason 2020-02-14 18:37:20 +08:00
Him188
2bbc324245 Make @MessageDsl public 2020-02-14 18:33:35 +08:00
Him188
98b0073f81 Add BotOfflineEvent.Dropped and BotReloginEvent 2020-02-14 18:20:31 +08:00
Him188
8bf302d386 Annotate readTlvMap with @MiraiInternalIp 2020-02-14 13:45:46 +08:00
Him188
1058377663 Support AtAll in message.first() 2020-02-14 10:21:33 +08:00
Him188
8f03d44df1 Add shortcut 2020-02-13 16:09:10 +08:00
Him188
a3945924a4 Add docs 2020-02-13 13:42:32 +08:00
Him188
184e595896 Fix gradle dependency 2020-02-13 13:18:51 +08:00
Him188
e2136b5c40 Make easier 2020-02-13 09:53:32 +08:00
Him188
8e05595bac Add return values to MessageDsl subscribers 2020-02-13 09:47:45 +08:00
Him188
631ca4f639 Fix duplicated function name 2020-02-13 09:41:32 +08:00
Him188
d365ec5b4e New feature: AtAll 2020-02-13 09:36:47 +08:00
Him188
46fc012fa3 Add AtAll 2020-02-13 09:36:17 +08:00
Him188
fe8ed44ef2 Fix At.followedBy 2020-02-13 09:36:02 +08:00
Him188
397861500f Message DSL: add String.reply(Message) 2020-02-13 09:35:43 +08:00
Him188
21c2fb5766 Set defaultLogger initially disabled 2020-02-13 09:21:25 +08:00
Him188
0221767aa8 Remove unused configurations 2020-02-13 09:11:19 +08:00
Him188
fbe973f3a1 Fix false positive mute state 2020-02-13 09:06:39 +08:00
Him188
9a8a992977 Add note 2020-02-13 01:11:03 +08:00
Him188
3be82bb53d Fix doc 2020-02-13 01:07:50 +08:00
Him188
7ff9783daa Add docs 2020-02-13 01:06:54 +08:00
Him188
7cd65f92af Fix build 2020-02-13 00:27:07 +08:00
jiahua.liu
aca459f60d Merge remote-tracking branch 'origin/master' 2020-02-13 00:11:31 +08:00
jiahua.liu
55e70bd3c3 smart config 2020-02-13 00:10:59 +08:00
Him188
cc42069196 Add BotUnmuteEvent 2020-02-12 23:54:27 +08:00
Him188
9694991592 Make EventLogger public so as to be able to enable 2020-02-12 23:47:26 +08:00
Him188
da32f5190f Add event log 2020-02-12 23:30:58 +08:00
Him188
d36727718b Remove get() 2020-02-12 23:30:52 +08:00
Him188
3ab0e67516 Introduce logger supplier, close #43 2020-02-12 23:24:37 +08:00
Him188
defaf83a07 Make var EventDisabled visible 2020-02-12 23:24:14 +08:00