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
Him188
0f0ca8e2cc
Deprecate Bot.subscribe*
for better Coroutine life cycle management; Add docs
2020-05-09 20:11:25 +08:00
Him188
157bd3740c
Fix #298
2020-05-09 18:26:24 +08:00
Him188
bba66f3952
Fix 288
2020-05-09 18:05:08 +08:00
Him188
c299ed8986
Fix compilation, ignore VIP join notice
2020-05-09 17:19:40 +08:00
Him188
d16a699810
Fix BotFaceChangedEvent
, Add FriendFaceChangedEvent
2020-05-09 17:19:02 +08:00
Him188
51ced7b677
Ignore empty lines
2020-05-09 17:14:34 +08:00
Him188
40dd786f99
Ignore empty string and arrays and 0s in _miraiContentToString
2020-05-09 16:54:28 +08:00
Him188
786c9f3b23
Ignore 732
2020-05-09 16:18:56 +08:00
Him188
f795eeb782
Fix commandName
2020-05-09 16:14:23 +08:00
Him188
1e885dbf7a
Rearrange MessageSvc and OnlinePush
2020-05-09 16:11:29 +08:00
Him188
1c1a37a103
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/MessageSource.kt
2020-05-09 15:38:20 +08:00
Him188
e75888a6e9
Add binary-validator
2020-05-09 15:37:02 +08:00
ryoii
2f3c1b5d8f
BotFaceChangedEvent, closed #271
2020-05-07 22:09:37 +08:00
ryoii
869d2fafd6
Fix #309
2020-05-07 21:44:01 +08:00
Him188
a1322076fc
Improve network availability check
2020-05-07 10:45:19 +08:00
Him188
5cd3178c3f
Make Message.get
returns M?
instead of M
;
...
Deprecate `Message.getOrNull` in favor of `Message.get`;
Add `Message.getOrFail`
2020-05-06 12:38:30 +08:00
Him188
8ca4357eb8
Merge pull request #304 from mamoe/1.0.0
...
1.0.0
2020-05-05 16:10:32 +08:00
Him188
2d9db234d7
Introduce FileCacheStrategy
;
...
Rework `ExternalImage`, introduce `ReusableInput` for multiple attempts when uploading images;
Add `BotConfiguration.fileCacheStrategy`, defaults use cache system from host OS;
Introduce `DeferredReusableInput` for `*.toExternalImage` on JVM.
Deprecate `*.suspendToExternalImage` as no longer need to be suspend.
Open input only when required, close input after uploading files, fix #302
2020-05-05 16:09:32 +08:00
Him188
84cfe2626f
Remove all @SinceMirai("0.x.x")
2020-05-05 13:56:17 +08:00
Him188
4ee27f2069
Fix ambiguous message event names. Fix #299 .
...
Binary compatibility until 1.2.0.
Migrations:
- `MessagePacket` deprecated in favor of `MessageEvent`
- `MessagePacketBase` deprecated in favor of `MessageEvent`
- `ContactMessage` -> `MessageEvent`
- `FriendMessage` -> `FriendMessageEvent`
- `GroupMessage` -> `GroupMessageEvent`
- `TempMessage` -> `TempMessageEvent`
2020-05-05 13:55:01 +08:00
ryoii
01d1625302
Fix a possible bug
2020-05-05 13:45:25 +08:00
ryoii
5635509cbd
Calculate groupCode, fixes #301
2020-05-05 13:25:04 +08:00
Him188
1305709d3e
Extract JCE serialization to him188/jcekt. close #300
2020-05-04 14:48:01 +08:00
Him188
e5404b397b
Simplify MemberPermission comparing
2020-05-03 22:25:57 +08:00
ryoii
f61f3bd331
f88k receive file
2020-05-02 18:45:37 +08:00
Him188
73c700b4b7
Support protocol selecting
2020-05-02 18:42:51 +08:00
Him188
fbf4dd6bb2
Adjust filenames
2020-05-02 18:12:40 +08:00
Him188
6b5cbc3dd7
Implement new ExternalImage and image chunk strategy
2020-05-02 17:58:22 +08:00
Him188
2be325d781
Remove all deprecated APIs
2020-05-02 16:56:18 +08:00
ryoii
107a760d5e
Correct comment
2020-05-02 05:00:53 +08:00
ryoii
1dbeb44f5b
Support Group VoiceMessage receiving
2020-05-02 04:46:51 +08:00
Him188
9924d37e54
Misc improvements
2020-05-01 23:04:24 +08:00
Him188
1a4c3ba602
Simplify Image structure: deprecate online and offline classification.
2020-05-01 21:51:09 +08:00
Him188
15c50c1554
Add note
2020-05-01 16:04:44 +08:00
Him188
659cfa2288
Improve numbers in log
2020-05-01 15:40:01 +08:00
Him188
16c440433f
Introduce AbstractEvent
acting as all events' super class
2020-05-01 14:44:12 +08:00
Him188
4b62d64330
Fix boom
2020-04-29 18:47:35 +08:00
Him188
9fdc8cd929
Fix build
2020-04-29 18:20:41 +08:00
Him188
2501cbb59a
Ensure binary compatibility
2020-04-29 15:49:01 +08:00