Commit Graph

802 Commits

Author SHA1 Message Date
Him188
9bb11dba0e Rename to SilentLogger 2019-11-25 20:42:39 +08:00
Him188
0382d3e471 Add all values set for LoginResult 2019-11-25 20:37:32 +08:00
Him188
163bbf9491 Fix random device name 2019-11-25 20:37:19 +08:00
Him188
1c1a053b68 Split Messages in separate files 2019-11-25 18:18:00 +08:00
Him188
dcdee6b847 At supported 2019-11-25 18:00:07 +08:00
Him188
bf8e65e98b Disable GroupFileUploadEventFactory 2019-11-25 17:23:12 +08:00
Him188
50ae6f2680 Add comments 2019-11-25 17:22:46 +08:00
Him188
33b97c21ec Mark Contacts as data class 2019-11-25 15:14:58 +08:00
Him188
aeeb3a26e2 Use inline instead of enum to be in conformity with Android's requirement 2019-11-25 15:14:38 +08:00
Him188
7e55c6f342 Simplify code 2019-11-25 14:15:30 +08:00
Him188
aab1f8fb11 alter version to 0.1.6 2019-11-25 14:15:08 +08:00
Him188
828a47941c Add easier shortcuts 2019-11-25 14:05:09 +08:00
Him188
00f33120ec Add easier shortcuts 2019-11-25 14:03:19 +08:00
Him188
89f2f93cea Add MemberKickEvent 2019-11-25 13:59:48 +08:00
Him188
9db9be4fd4 Specify class name output 2019-11-25 13:59:21 +08:00
Him188
ef7dd73dc0 Add debug functions 2019-11-25 13:59:01 +08:00
Him188
9145eeb4b3 Add BeingKickEvent 2019-11-25 13:58:41 +08:00
Him188
61a70f1d77 Add RequestFriendListPacket 2019-11-25 13:58:25 +08:00
Him188
361c0d4f03 Inline ListenerBuilder 2019-11-25 13:57:55 +08:00
Him188
b797ef3cc1 Redesign Contacts: Use interfaces and hide internal implementations 2019-11-24 17:29:05 +08:00
Him188
1a56235cb0 Remove redundant function override 2019-11-24 16:57:01 +08:00
Him188
5b488bae36 Add message to MiraiExperimentalAPI 2019-11-24 16:56:26 +08:00
Him188
af8e954577 Add comments 2019-11-24 16:56:11 +08:00
Him188
825da14f15 Replace object IgnoredPacket with inline class IgnoredPacket to identify each packet 2019-11-24 16:29:34 +08:00
Him188
bab2fce71b Replace object IgnoredEventPacket with inline class IgnoredEventPacket to identify each packet 2019-11-23 23:38:54 +08:00
Him188
0662dc839f Enhance performance 2019-11-23 23:34:30 +08:00
Him188
0152a9333b Add JvmMultifileClass 2019-11-23 23:14:17 +08:00
Him188
f45b469131 Move AddFriend to another file, 0.1.5 2019-11-23 23:10:28 +08:00
Him188
ae37546dd5 Move AddFriend to another file, 0.1.5 2019-11-23 23:09:58 +08:00
Him188
1d17876f5e Remove PacketFactoryList 2019-11-23 23:05:40 +08:00
Him188
93068d256d Add alsoLogin() 2019-11-23 22:58:21 +08:00
Him188
41a5ce885d Explicit implement CoroutineScope 2019-11-23 22:35:50 +08:00
Him188
35dd858ffd Remove Mirai 2019-11-23 22:35:13 +08:00
Him188
951563d65f Publish to jcenter 2019-11-23 22:34:57 +08:00
Him188
9a1826a5d8 Change packet version 2019-11-22 19:23:04 +08:00
Him188
933b9f3948 Rename file 2019-11-22 19:19:17 +08:00
Him188
33d9e4c362 Small improvements 2019-11-22 19:17:23 +08:00
Him188
e1c4ff9cbd Small improvements 2019-11-22 19:10:10 +08:00
Him188
0ea95c33e6 Add @JvmStatic 2019-11-22 19:09:23 +08:00
Him188
d261cd7b7e Add http api basics 2019-11-21 21:31:05 +08:00
Him188
5ca07d3749 Add instance getters 2019-11-21 21:30:36 +08:00
Him188
d71bac77f9 Fix unused param 2019-11-21 21:30:20 +08:00
Him188
691de78cd6 Ignore meaningless event packets 2019-11-21 12:28:00 +08:00
Him188
5e56144c61 Support for approving friend add request 2019-11-20 22:03:04 +08:00
Him188
6cd7fb2411 Remove debugging comments 2019-11-20 19:43:52 +08:00
Him188
1294441716 GroupImageDownload supports 2019-11-20 19:40:50 +08:00
Him188
44a6ba160e Explict image declaration 2019-11-20 19:40:22 +08:00
Him188
2b1725b7f4 Add e.printStackTrace() 2019-11-20 19:39:15 +08:00
Him188
f0702a7ea9 Add more utilities 2019-11-20 19:15:11 +08:00
Him188
7ea0495f62 Add comments 2019-11-20 19:14:38 +08:00
Him188
1dd1be8514 Add function for protobuf 2019-11-20 19:13:52 +08:00
Him188
67c70d52eb Add element NETWORK_UNAVAILABLE 2019-11-20 19:13:22 +08:00
Him188
82e993957b ProtoBuf tools 2019-11-20 19:12:47 +08:00
Him188
29506668a8 Increase ByteArrayPool size 2019-11-20 19:12:24 +08:00
Him188
c09a60d3d2 Add debugging functions 2019-11-20 19:12:02 +08:00
Him188
4ea98e1a8a Add SupervisorJob 2019-11-20 19:11:04 +08:00
Him188
0898a2a8ca Add timeout 2019-11-19 21:51:22 +08:00
Him188
1419116a7f Fix captcha resolver 2019-11-19 12:27:03 +08:00
Him188
ffcb48b8b7 Add contract 2019-11-19 11:26:51 +08:00
Him188
598b290713 Simplify packet 2019-11-19 11:22:52 +08:00
Him188
d87c7f629a ProtoBuf implementation 2019-11-17 16:36:29 +08:00
Him188
d4bb6f1581 Add conversions 2019-11-17 15:07:20 +08:00
Him188
87ad509f70 Fix typo 2019-11-17 14:09:33 +08:00
Him188
bdc95d1280 Update dependencies 2019-11-17 12:52:48 +08:00
Him188
15901086d1 Fix company name 2019-11-16 23:33:04 +08:00
Him188
750e54472b Avoid using enum class 2019-11-16 23:21:33 +08:00
Him188
8139a4df2b Avoid using enum 2019-11-16 23:20:38 +08:00
Him188
0b93f1266f Add more debugging identities 2019-11-16 23:07:53 +08:00
Him188
54a0967efa Avoid using enum 2019-11-16 23:07:31 +08:00
Him188
fd2edcbd3b Add docs 2019-11-16 23:06:51 +08:00
Him188
c5318362a4 Avoid using enum 2019-11-16 23:06:29 +08:00
Him188
1c9994e87d Rename responses 2019-11-16 20:47:10 +08:00
Him188
ff0a3d43f5 Add Unreachable 2019-11-16 20:45:54 +08:00
Him188
0a286061d0 Make MiraiInternalAPI public 2019-11-16 20:45:39 +08:00
Him188
9caed32b17 Add contract 2019-11-16 18:47:17 +08:00
Him188
a49e97d2e6 Add contracts 2019-11-16 18:46:47 +08:00
Him188
ae86e67f9e Rename InternalAPI as MiraiInternalAPI 2019-11-16 18:46:34 +08:00
Him188
c3603832b0 Add SinceMirai and MiraiExperimentalAPI annotations 2019-11-16 18:45:40 +08:00
Him188
a9a0e62130 Add contracts 2019-11-16 13:27:29 +08:00
Him188
2697ac8fdb Add contacts 2019-11-16 13:24:35 +08:00
Him188
98e39ea463 Make removePrefix defaults true 2019-11-16 13:17:01 +08:00
Him188
558ece3ae2 Add comments 2019-11-16 13:05:56 +08:00
Him188
0978d2846d Cleanup 2019-11-16 02:33:10 +08:00
Him188
377e72332d Cleanup 2019-11-16 02:30:15 +08:00
Him188
4d0ac137ee Fix unresolved functions 2019-11-16 02:21:54 +08:00
Him188
5983ba4b24 Remove debug clauses 2019-11-16 01:33:16 +08:00
Him188
49c80c8eaf Fix bugs 2019-11-16 01:30:30 +08:00
Him188
83e68a3e1c Specify return type 2019-11-16 00:59:42 +08:00
Him188
108bd48b46 Platform specific APIs 2019-11-16 00:58:48 +08:00
Him188
c839253e18 Platform specific APIs 2019-11-16 00:48:18 +08:00
Him188
6576b1c217 Mark val Http @PublishedApi 2019-11-16 00:48:04 +08:00
Him188
bf511b0322 Add InternalAPI annotation 2019-11-16 00:47:25 +08:00
Him188
b418f2c256 Rename FriendImageIdRequestPacket as FriendImagePacket since this factory is capable with 2 packets 2019-11-16 00:46:32 +08:00
Him188
9b7b38f3f9 Clarify docs 2019-11-16 00:45:36 +08:00
Him188
7ad8f4e3b3 Rename delegate as value 2019-11-16 00:44:58 +08:00
Him188
f26b274fef Platform specific extensions for BotSession 2019-11-16 00:44:25 +08:00
Him188
867c0d62fd Downloading image is now available 2019-11-16 00:37:00 +08:00
Him188
8b3d710ede Add docs 2019-11-15 22:56:47 +08:00
Him188
eb1da6a326 Add qAge and personalStatement for Profile 2019-11-15 18:22:29 +08:00
Him188
e8d9167097 Remove publishing 2019-11-15 16:47:39 +08:00
Him188
f0c75277c2 Fix RequestFriendImageId 2019-11-15 12:30:23 +08:00
Him188
046d8968a4 Cleanup 2019-11-15 12:14:15 +08:00
Him188
0717ff77a9 Adjust Retention 2019-11-15 10:48:22 +08:00
Him188
07f6570470 Remove unnecessary list creation 2019-11-15 10:45:28 +08:00
Him188
d10b1a9e3d Remove HexCache 2019-11-15 10:43:07 +08:00
Him188
2e7af71329 Adjust PacketVersion 2019-11-15 10:42:43 +08:00
Him188
20ea49b090 Fix unresolved KDoc reference 2019-11-15 10:41:26 +08:00
Him188
773718409e Fix HexComparator 2019-11-15 10:39:52 +08:00
Him188
bda54781e6 Adjust build.gradle 2019-11-15 10:39:00 +08:00
Him188
7adacdbc6a Add JvmSynthetic 2019-11-15 10:38:03 +08:00
Him188
d3ccb56658 Alter AnnotationTarget of CorrespondingEvent to SOURCE 2019-11-15 10:32:16 +08:00
Him188
ccfb4f085d Make AnnotatedId deprecated 2019-11-15 10:30:01 +08:00
Him188
2953188f20 Fix unrecognizable identity 2019-11-15 10:27:54 +08:00
Him188
1db6618e35 Add ImageLink 2019-11-15 10:04:14 +08:00
Him188
c655c0fe33 Make Profile data class 2019-11-13 20:28:48 +08:00
Him188
cc2343e220 Simplify logical process 2019-11-13 19:54:13 +08:00
Him188
c15651b9f7 Adjust property name and visibility 2019-11-13 19:49:21 +08:00
Him188
a42fbe47a4 Adjust function name 2019-11-12 14:51:01 +08:00
Him188
5684064385 AddContact preview 2019-11-11 22:26:47 +08:00
Him188
1415281569 Add more details for Profile 2019-11-11 21:17:03 +08:00
Him188
ba4f16a27a Add Profile.toString 2019-11-11 20:23:00 +08:00
Him188
6f9579d51b Update docs 2019-11-11 19:48:25 +08:00
Him188
e4353e47f9 Cleanup 2019-11-11 19:38:08 +08:00
Him188
368abbe130 Add unknown statuses 2019-11-11 19:37:33 +08:00
Him188
19ca01b427 BroadcastControllable 2019-11-09 22:03:07 +08:00
Him188
1eb31031de More extensions 2019-11-09 21:27:22 +08:00
Him188
d95a547347 Adjustments 2019-11-08 23:20:11 +08:00
Him188
1e4893c70f Rename to handlePacket 2019-11-08 22:03:01 +08:00
Him188
34627b67e6 Fix Heartbeat 2019-11-08 21:31:35 +08:00
Him188
16a487129a Fix debugger 2019-11-08 21:17:25 +08:00
Him188
f3278c8afe Update dependencies for mirai-debug 2019-11-08 20:51:40 +08:00
Him188
3eca212bf6 Public TEA 2019-11-08 20:50:56 +08:00
Him188
41b2948832 NoLog for object Response 2019-11-08 20:16:30 +08:00
Him188
a45470a0b9 Straightforward toString 2019-11-08 20:15:11 +08:00
Him188
553283ef7d Add NoLog to EventPacketFactory 2019-11-08 20:11:27 +08:00
Him188
a4ea0772e6 Migrate to data class 2019-11-08 20:10:45 +08:00
Him188
70ae02f83e Fix switch 2019-11-08 20:10:23 +08:00
Him188
552d596c11 Override toString 2019-11-08 20:01:56 +08:00
Him188
ad04b0ae48 Unmodifiable properties 2019-11-08 19:59:08 +08:00
Him188
c6eef97c98 Override toString 2019-11-08 19:55:57 +08:00
Him188
13e8443012 Rename isPrevious to previous 2019-11-08 19:55:34 +08:00
Him188
c1e0ba721f Inline val 2019-11-08 19:53:31 +08:00
Him188
2f416a5dc1 Rename MessageEventPacket to MessagePacket 2019-11-08 19:53:16 +08:00
Him188
7b8ddd2c27 data class SessionKeyResponse 2019-11-08 19:52:37 +08:00
Him188
7771856a4a Add MiraiLogger.withSwitch 2019-11-08 19:32:21 +08:00
Him188
2b477b3be7 Redesign events 2019-11-08 19:21:29 +08:00
Him188
745200f6e1 Fix group image 2019-11-07 22:02:58 +08:00
Him188
1f521e96df Platform adjustment 2019-11-07 15:08:19 +08:00
Him188
8bab12854b Platform adjustment 2019-11-07 15:06:38 +08:00
Him188
6dca4419a4 Add platform details 2019-11-06 21:40:18 +08:00
Him188
770b137a13 Remove useless functions 2019-11-06 21:23:41 +08:00
Him188
9ea86c13e2 Android support 2019-11-06 21:22:23 +08:00
Him188
bd9cf3bfd1 Redesign packets 2019-11-06 19:49:37 +08:00
Him188
6f498554b7 update README.md 2019-11-02 18:49:48 +08:00
Him188
61b10db854 Profile suppport 2019-11-02 18:31:01 +08:00
Him188
8c86b934e8 Clearer function name 2019-11-02 18:29:33 +08:00
Him188
f72d73b1ce Add SuspendLazy 2019-11-02 18:27:35 +08:00
Him188
7842ce31e3 Update image API 2019-11-02 12:42:20 +08:00
Him188
4ddfc0b509 Add corresponding events 2019-11-02 12:30:59 +08:00
Him188
8bc59820bc Ignore event 0x0079u 2019-11-02 01:42:25 +08:00
Him188
37ac7d8cbe Fix adjustImageId 2019-11-02 01:29:04 +08:00
Him188
83432a9e03 Docs update 2019-11-02 01:27:43 +08:00
Him188
a56862fa63 Docs update 2019-11-02 01:18:30 +08:00
Him188
e58665f93e Docs update 2019-11-02 01:17:48 +08:00
Him188
e2d04f7113 Add EmptyMessageChain and more extensions 2019-11-02 01:12:03 +08:00
Him188
a28a90ec3d Group member permission determination and change 2019-11-02 00:17:56 +08:00
Him188
e3c3c71290 Fix events 2019-11-01 22:17:24 +08:00
Him188
8178a8c81a Improve performance 2019-11-01 20:03:43 +08:00
Him188
efb3213371 Fix solveCaptcha on Jvm 2019-11-01 18:00:04 +08:00
Him188
f78c47348e Add suspend shortcuts for toExternalImage 2019-11-01 10:23:18 +08:00
Him188
34f10fe2cf adjust login result 2019-11-01 09:44:12 +08:00
Him188
e2171fd158 adjust logger colors 2019-10-31 23:11:55 +08:00
Him188
dd0501521c Restore ip resolver 2019-10-31 22:30:52 +08:00
Him188
048fe647f0 Reduce multiplatform functions 2019-10-31 22:19:26 +08:00
Him188
71d5dda297 ByteArrayPool 2019-10-30 23:00:29 +08:00
Him188
9854000492 add comments 2019-10-28 22:02:42 +08:00
Him188
28149dfed2 Combine image packets into the same file 2019-10-28 22:01:49 +08:00
Him188
8308e68467 rename UninitializedByteReadPacket as Uninitialized 2019-10-28 21:40:11 +08:00
Him188
d8e1c87515 add comments 2019-10-28 21:37:46 +08:00
Him188
f695c9f792 Fix a logical mistake 2019-10-28 21:32:33 +08:00
Him188
d4dd720e4e update demo 2019-10-28 21:24:35 +08:00
Him188
d3270bb36f Adjust running coroutineContext 2019-10-28 21:24:03 +08:00
Him188
ead17724b6 update docs 2019-10-28 20:12:39 +08:00
Him188
e7725bdcaa Update DOCs 2019-10-28 14:27:29 +08:00
Him188
c1351f48b6 Add more extensions for MessageChain 2019-10-28 14:03:39 +08:00
Him188
b6f54dbb7b Fixed image 2019-10-27 23:20:53 +08:00
Him188
3f56faae75 Fixed image 2019-10-27 21:49:50 +08:00
Him188
c973fbd0d1 Fixed image 2019-10-27 21:26:20 +08:00
Him188
eb02449431 More clear subject declaretion 2019-10-27 18:28:54 +08:00
Him188
c63f54bc8c Fix bugs 2019-10-27 18:28:36 +08:00
Him188
4e27ad3262 Improve concurrency 2019-10-27 17:27:57 +08:00
Him188
fa0f4e49df Adjust subject declaration 2019-10-27 14:11:40 +08:00
Him188
82707d5ec6 Update docs 2019-10-27 13:10:38 +08:00
Him188
5bf1ecb409 Remove useless functions 2019-10-27 03:50:41 +08:00
Him188
141b5a4e2f Adjust function visibility and enhance efficiency 2019-10-27 03:48:45 +08:00
Him188
ff160c20c8 Graceful ImageUploading 2019-10-27 03:37:00 +08:00
Him188
de86041d44 Powerful subscribers 2019-10-27 03:36:26 +08:00
Him188
0a471e9b31 Add extensions for images 2019-10-26 18:43:53 +08:00
Him188
47ece90d60 Update docs 2019-10-26 17:17:46 +08:00
Him188
490255bcd5 Update docs 2019-10-26 17:06:40 +08:00
Him188
28859056a1 Improve image uploading 2019-10-26 15:54:02 +08:00
Him188
a2f35f5d2d ExternalImage 2019-10-26 15:52:31 +08:00
Him188
d786f59f5c Fix 2019-10-25 21:21:38 +08:00
Him188
354321dedc cleanup 2019-10-25 00:55:29 +08:00
Him188
3dfaa4ee00 Powerful MessageChains 2019-10-25 00:51:55 +08:00
Him188
ffe8339c9c Ensure that ResponsePacket will be sent 2019-10-24 23:26:55 +08:00
Him188
d5bf51a357 Adjust class names 2019-10-24 22:55:33 +08:00
Him188
6c6f0a48c7 update docs 2019-10-24 22:25:12 +08:00
Him188
550b4e86de inline MessageChain 2019-10-24 22:22:57 +08:00
Him188
7892333c27 Cleanup 2019-10-24 20:51:37 +08:00
Him188
3ab540d5f2 Rename BufferedImage as ExternalImage 2019-10-24 15:03:42 +08:00
Him188
0334d33d7e Extensions of subscribers for Bot 2019-10-24 15:02:57 +08:00
Him188
cb320dd988 Inline messages, improved contacts 2019-10-24 15:01:56 +08:00
Him188
1f9b003c55 Inlined message classes 2019-10-24 14:33:08 +08:00
Him188
eed9c8f160 Let BotNetworkHandler implements CoroutineScope 2019-10-24 10:59:13 +08:00
Him188
b7628cd3d6 Adjust package names and file names 2019-10-22 20:08:08 +08:00
Him188
3f30bb4d54 Image uploading is now available 2019-10-22 15:28:48 +08:00
Him188
cfd5b2e845 Image uploading is now available 2019-10-21 01:41:33 +08:00
Him188
d6201a14ba Image uploading is now available 2019-10-21 01:21:24 +08:00
Him188
0e5f6d4787 Remove typing events 2019-10-20 22:06:29 +08:00
Him188
0494b374ba Image sending is now available 2019-10-20 22:01:50 +08:00
Him188
bc57001e36 Image uploading 2019-10-20 21:37:34 +08:00
Him188
28b47f9603 Image uploading 2019-10-20 21:27:59 +08:00
Him188
14722eb838 Image uploading 2019-10-20 20:27:35 +08:00
Him188
d06197d346 Image uploading 2019-10-20 19:30:17 +08:00
Him188
3474c87faa Image uploading 2019-10-20 16:50:24 +08:00
Him188
fdf50e4d1d Image uploading 2019-10-19 23:19:45 +08:00
Him188
4d346a2c3d Fix SendFriendMessage due to TIM update 2019-10-19 14:21:52 +08:00
Him188
05e590c93f Convert to expression fun 2019-10-19 13:51:16 +08:00
Him188
cf052614f5 Use Klock 2019-10-19 13:41:36 +08:00
Him188
244996ac28 Fail-fast decryption and encryption 2019-10-19 13:18:57 +08:00
Him188
8353a6ae8d Improve performance 2019-10-19 11:59:08 +08:00
Him188
735b0934b6 Name and permission analyzing is now available 2019-10-18 19:33:51 +08:00
Him188
d5587bb3d8 Name and permission analyzing is now available 2019-10-18 19:32:03 +08:00
Him188
7e90737c68 Merge remote-tracking branch 'origin/master' 2019-10-18 18:43:06 +08:00
Him188
fdb3be9453 Improve performance 2019-10-18 18:42:45 +08:00
PeratX
f54db4981f core: remove PluginManager 2019-10-18 09:37:28 +08:00
Him188
24404f9af4 Rename qqNumber as account 2019-10-17 10:01:20 +08:00
Him188
09046ae686 Rewrite packets 2019-10-16 22:33:02 +08:00
Him188
61895b5c8e Update message 2019-10-16 18:31:08 +08:00
Him188
4d870b2434 Rename Image.imageId to Image.id 2019-10-16 12:59:49 +08:00
Him188
2b6a8f1da8 MessageChain is now overriding MutableList<Message> 2019-10-16 12:39:21 +08:00
Him188
ac9a445abf Update doc 2019-10-16 12:38:37 +08:00
Him188
10aa950b63 Update README 2019-10-15 21:37:16 +08:00
Him188
2f65e0f5ed Use CompletableJob instead of CompletableDeffered<Unit> 2019-10-15 19:15:54 +08:00
Him188
fb8829a035 Add lock for TemporaryPacketHandlers 2019-10-15 19:04:29 +08:00
Him188
f9daee0379 Update docs 2019-10-15 19:02:57 +08:00
Him188
fdd9db65b9 Update docs 2019-10-14 20:40:30 +08:00
Him188
93607e4999 Platform specified Contact 2019-10-14 14:19:45 +08:00
Him188
ad43a92be4 Use PacketHandler.Key 2019-10-13 22:21:26 +08:00