Commit Graph

926 Commits

Author SHA1 Message Date
Him188
51a95da5db Fix build 2020-04-13 18:56:25 +08:00
Him188
f5a8420231 Speed up image uploading 2020-04-13 11:13:27 +08:00
Him188
fe764d1fa8 Increase buffer size for uploading image 2020-04-13 10:50:58 +08:00
Him188
2b95bea8da Unified logMessageReceived 2020-04-13 10:27:22 +08:00
Him188
67084129cd Ignore ClearCountMsg 2020-04-13 10:18:31 +08:00
Him188
c433360d87 Add exception logger 2020-04-12 20:19:36 +08:00
Him188
a0c1675abc Add default values 2020-04-12 19:54:16 +08:00
Him188
da801d7b6d Support server changing, close #52 2020-04-12 19:17:27 +08:00
Him188
e6ef03f60d Fix ConfigPush 2020-04-12 17:24:17 +08:00
Him188
e23f91bac1 Estimate length of originalMessage 2020-04-12 01:42:37 +08:00
Him188
d97aa7bd94 Unified MessageSource.toJceData 2020-04-12 01:41:27 +08:00
Him188
0f91587ae7 Fix nameCard deserializing 2020-04-11 22:29:54 +08:00
Him188
fdef3bdbdd Merge remote-tracking branch 'origin/master' 2020-04-11 21:25:52 +08:00
ryoii
cd0b27e63d Merge remote-tracking branch 'origin/master'
# Conflicts:
#	mirai-core-qqandroid/src/commonMain/kotlin/net/mamoe/mirai/qqandroid/network/protocol/packet/chat/PbMessageSvc.kt
2020-04-11 21:24:35 +08:00
ryoii
28108a36ae Fix temp message and friend message recall 2020-04-11 21:22:18 +08:00
Him188
b9a3675dad Support Group.quit, add BotLeaveEvent.Active 2020-04-11 20:15:23 +08:00
Him188
0f86ad0240 Cleanup 2020-04-11 19:11:55 +08:00
Him188
6b93129048 Add contextual exceptions 2020-04-11 19:03:15 +08:00
Him188
0dfea0698c Add sequence cache to filter duplicated events, fix #221 2020-04-11 18:47:40 +08:00
Him188
16d6c56202 Add soutv for debugging purposes 2020-04-11 18:24:52 +08:00
Him188
f3cf0004af Fix values 2020-04-11 16:07:37 +08:00
Him188
505943cb3d Handle SMS login 2020-04-11 16:06:21 +08:00
Him188
30303c0473 Fix unsigned values 2020-04-11 16:06:19 +08:00
Him188
3f1221699d Fix build 2020-04-10 23:43:59 +08:00
ryoii
847a073ac0 Merge remote-tracking branch 'origin/master' 2020-04-10 23:39:59 +08:00
ryoii
39f0ae7b24 Clear useless print 2020-04-10 23:39:42 +08:00
Him188
67856777f6 Merge remote-tracking branch 'origin/master' 2020-04-10 23:38:54 +08:00
Him188
125f53a72e Fix botPermission 2020-04-10 23:38:37 +08:00
Him188
4d52078c88 Remove unused class 2020-04-10 22:39:44 +08:00
Him188
458fe2ee94 Fix duplicated OnlinePush 2020-04-10 22:24:46 +08:00
Him188
b0bc0ec62b Rearrange files 2020-04-10 20:45:20 +08:00
Him188
7bb9052afd Add missing copyright 2020-04-10 20:40:50 +08:00
Him188
f11690472a Fix new member joining, close #172 2020-04-10 20:31:20 +08:00
Him188
d8a5291880 Fix new member 2020-04-10 20:29:17 +08:00
Him188
3c786cb042 Support MemberJoinEvent.Active, also fix #164 2020-04-10 20:21:51 +08:00
Him188
418fb43992 Returns botAsMember when Group.get(bot.id) 2020-04-10 19:40:34 +08:00
Him188
2c31a2ac2f Fix jce type 2020-04-10 19:35:00 +08:00
Him188
42e465af35 Fix jce type 2020-04-10 19:34:47 +08:00
Him188
4728ae26b7 Cleanup 2020-04-10 19:16:12 +08:00
Him188
1e1785f4d6 Add ForwardMessage, support decoding, fix LongMessage decoding 2020-04-10 19:16:06 +08:00
Him188
c65350e9cf Change friend list on FriendDeleteEvent 2020-04-10 19:02:38 +08:00
Him188
918ede1fa6 Add FriendDeleteEvent, FriendAddEvent, also fix #216 2020-04-10 18:56:26 +08:00
Him188
1ff84a4c91 Fix #212 2020-04-10 15:06:06 +08:00
Him188
94557a2a33 Reduce nesting depth, also fix #173 2020-04-10 14:50:33 +08:00
ryoii
98542546bc Merge remote-tracking branch 'origin/master' 2020-04-09 16:20:09 +08:00
ryoii
56c63723e8 Fix rich group name card, and support name card changed event. close #210 2020-04-09 16:17:14 +08:00
Him188
ec35eeba1c Simplify Bot structure 2020-04-09 16:14:48 +08:00
Him188
f28e50e0af Add fail-fast check 2020-04-09 16:00:53 +08:00
Him188
ee89f22c87 Fix kick 2020-04-09 15:56:45 +08:00
Him188
8f4313a337 Increase timeout, close #28 2020-04-09 12:27:34 +08:00
Him188
3a8b2dd6d2 Fix MessageSource.id from offline quotations 2020-04-09 09:38:30 +08:00
Him188
a604083e9a Fix naming issue 2020-04-09 08:55:17 +08:00
ryoii
2053ab198c Support TempMessage 2020-04-08 22:12:18 +08:00
Him188
5493bf39da Fix build 2020-04-08 14:43:30 +08:00
Him188
df9a5f7c0a Fix incorrect new contact handling 2020-04-08 14:37:33 +08:00
Him188
b4140b7871 Extract reloadFriendList() outside init() 2020-04-08 14:33:51 +08:00
Him188
6480e78b24 Handle ContactList syncing on new friend or member event. 2020-04-08 14:33:13 +08:00
Him188
afb093ba44 Fix massive concurrent loading 2020-04-08 13:50:48 +08:00
Him188
6a7ece1cb8 Fix LongMessage decodeing 2020-04-08 13:29:26 +08:00
Him188
faf8002de9 Fix massive group list loading 2020-04-08 13:25:20 +08:00
Him188
a69d6e2ecd cleanup 2020-04-08 10:43:13 +08:00
Him188
acd11b6eda Make protocol structure classes internal 2020-04-08 10:42:59 +08:00
Him188
62e6d3f473 Make OIDB structure classes internal 2020-04-08 10:38:56 +08:00
ryoii
b08b5bccf9 Internal struct class 2020-04-08 00:46:14 +08:00
ryoii
0463140b8b Fix bot as a member can't change group card itself 2020-04-07 23:58:18 +08:00
ryoii
eec820c1a7 Support for approving requests of adding friend and joining group, close #91 2020-04-07 21:14:34 +08:00
Him188
5c95ab299e Adjust timeout, add retry for several servers 2020-04-07 14:36:51 +08:00
Him188
7049cc4591 Simplify expression 2020-04-07 13:50:55 +08:00
Him188
fb19c0af36 Support MessageSource in MessageSource.originalMessage 2020-04-07 10:06:11 +08:00
Him188
6c25516143 Fix permission detection on recalling self-sent message 2020-04-07 09:23:05 +08:00
Him188
dc4b0cbe1e Implement Packet.NoLog 2020-04-07 09:01:17 +08:00
Him188
1b8626df13 Implement Packet.NoLog 2020-04-07 09:00:58 +08:00
Him188
b72589de24 Remove useless fast re-login 2020-04-06 20:57:51 +08:00
Him188
09dca31a6b Force message to be in single line 2020-04-06 20:54:37 +08:00
Him188
f6cc90a893 Unified message logs 2020-04-06 20:37:42 +08:00
Him188
560c46ede4 Unified message logs 2020-04-06 20:33:26 +08:00
Him188
165de9a85d Fix references 2020-04-06 19:14:12 +08:00
Him188
b8b749bf65 Completed CombinedMessage redesigning and constraining on concatenation 2020-04-06 18:04:41 +08:00
ryoii
fcf2f5c84c Fix message length estimate again, #195 2020-04-05 23:51:35 +08:00
Him188
7e6badb8db Use retryCatching in place of tryNTimes 2020-04-05 23:36:19 +08:00
Him188
c95efe98a3 Fix addSuppressedMirai on JVM 2020-04-05 23:09:12 +08:00
Him188
c6c404f167 Add missing files 2020-04-04 23:41:31 +08:00
Him188
864cde060e Fix #180 2020-04-04 23:22:52 +08:00
Him188
19bc7b80c5 Rename MessageSource.senderId to MessageSource.fromId 2020-04-04 22:38:08 +08:00
Him188
039b3d7517 Cleanup 2020-04-04 22:17:35 +08:00
Him188
2b49a7586f Reconstruct MessageSource, fix #197, #133 2020-04-04 22:08:53 +08:00
Him188
c3be191db0 Rearrange FlashImage, add more docs 2020-04-04 14:33:55 +08:00
Him188
3cc5cbfcfd Introduce BotIsBeingMutedException to replace IllegalStateException 2020-04-04 14:17:32 +08:00
Him188
e8b0c99006 Fix name 2020-04-04 13:54:11 +08:00
Him188
220e6d42f5 Fix message length estimate, close #195 2020-04-04 13:50:47 +08:00
ryoii
eac23171ec Support Bot.nick, closed #93 2020-04-04 09:47:34 +08:00
ryoii
5e553a56ca Filter repeated GroupNameChangeEvent 2020-04-04 07:02:38 +08:00
ryoii
2a7496c0b5 Fix groupCard charset encode, fixed #77 2020-04-04 06:11:19 +08:00
Him188
18c5911666 Cleanup 2020-04-03 10:32:44 +08:00
Him188
514084c46a Remove prints 2020-04-03 08:52:09 +08:00
Him188
b4f77454a1 Fix FlashImage constructing 2020-04-03 08:48:22 +08:00
Him188
985b0b4ba4 Make FlashImage constructable from mirai-core 2020-04-03 08:44:18 +08:00
ryoii
5cb93c9fa1 Support FlashImage 2020-04-03 03:11:14 +08:00
Him188
f8e0f27fc5 Fix reference 2020-04-02 21:20:36 +08:00
Him188
2f6ee0c4f7 Fix build 2020-04-02 21:05:36 +08:00