Commit Graph

5629 Commits

Author SHA1 Message Date
Him188
9189affdf9 Do not wrap original MiraiLogger as MarkedMiraiLogger if it is not the type 2021-08-11 15:24:32 +08:00
Him188
20a14fc716 Add adapter modules for logging libraries to connect with mirai logger 2021-08-11 15:24:32 +08:00
Him188
317b3cc0c7 Fix factory loader for MiraiLogger.Factory 2021-08-11 15:24:32 +08:00
Him188
45cc60c8e9 Fix loadService with fallback implementation 2021-08-11 15:24:32 +08:00
Him188
5950e9e1e8 Improve logging: use Log4j internally and support markers
Migrate usages of `MiraiLogger.create` to new API
apiDump for new logging
2021-08-11 15:24:32 +08:00
Him188
2562099884 Ensure backward-compatibility for AudioExtraData 2021-08-08 15:44:53 +08:00
Him188
40bbab4b5e Use mirai TestOnly annotation in ServerListImpl.<init> 2021-08-08 15:09:21 +08:00
Him188
8d8aca3f1c Introduce Audio for new API, revert changes on Voice 2021-08-05 21:48:20 +08:00
Him188
cf1c5d4d81 Add utility loadService 2021-08-05 21:48:20 +08:00
Him188
f4adc1232f Add ComputeOnNullMutableProperty 2021-08-05 21:48:20 +08:00
Him188
12b96aedc9 Make hints in SwingSolver.onSolveUnsafeDeviceLoginVerify more clear 2021-08-04 12:30:15 +08:00
Him188
927da16245 Add subscribeUserMessages 2021-08-04 12:29:33 +08:00
RainChan
bd61c1e80d
支持在踢出群成员时选择是否拉黑 (#1457)
* 支持在踢出群成员时选择是否拉黑

* fix binary-compatibility for kick NormalMember

* change doc
2021-08-03 22:20:53 +08:00
RainChan
615092e80b
修复默认情况下移除群成员即拉黑的问题 2021-08-03 20:06:12 +08:00
RainChan
0c6115dcf3
fix docs for subscribeOnce 2021-08-03 19:37:29 +08:00
Karlatemp
6079cbb6e0
Fix ForwardMessage not rendering when message contains & 2021-08-02 23:16:27 +08:00
Him188
d8819bd615 Add tests for AccountSecrets 2021-08-02 14:46:55 +08:00
Him188
03a6596553 Remove redundant overrides for contacts 2021-08-02 14:25:23 +08:00
Him188
a14531f696 Update KDoc for contacts 2021-08-02 14:11:05 +08:00
Him188
2ae12f4d37 Hold strong reference in RemoteFileImpl.contact 2021-08-02 13:52:48 +08:00
Him188
814718403e
Reorder third-party SDK list alphabetically 2021-08-01 22:30:48 +08:00
nkxingxh
4376c68822
Update README.md (#1443)
* Update README.md

* Update README.md

Co-authored-by: Him188 <Him188@mamoe.net>
2021-08-01 22:24:25 +08:00
Miyakowww
2b296da262 Add SDK Miyakowww/CocoaFramework2 2021-08-01 22:18:47 +08:00
Karlatemp
f95482989d
Fix message rendering error with not-head QuoteReply; fix #1451 2021-07-31 19:20:09 +08:00
Him188
4a2b8ac92c Fix cancellation check in AbstractKeepAliveNetworkHandlerSelector 2021-07-31 17:50:56 +08:00
Him188
978228afc1 Remove duplicated serializers for UnsupportedMessage 2021-07-31 17:50:55 +08:00
Him188
0ebf656c20 Improve performance of MessageChainBuilder.add and .addAll 2021-07-31 17:50:40 +08:00
Him188
482b62c0c3 Fix LateinitMutableProperty: ensure visibility 2021-07-31 17:50:40 +08:00
Him188
c19265b954 Inline NetworkHandler.isOk 2021-07-31 17:50:23 +08:00
Karlatemp
394f45fa9e
Update console ref 2021-07-31 16:55:28 +08:00
AdoptOSS
8dde0c710d Create .gitattributes 2021-07-28 14:04:09 +08:00
Him188
4900550426 Document debugging network, close #1378 2021-07-28 11:47:55 +08:00
Him188
3fc6fbed85 Change all system property names mirai.debug.network.* to mirai.network.* 2021-07-28 11:45:43 +08:00
Him188
24d52bbe90 Convert ComponentKey.componentName and .smartToString to extension 2021-07-28 11:04:32 +08:00
Him188
2d5c434146 Delete package context 2021-07-28 10:58:04 +08:00
Him188
3772861e17 Move AccountSecrets from package context to components 2021-07-28 10:57:39 +08:00
Him188
2995e47f40 Move SsoProcessorContext from package context to components 2021-07-28 10:55:26 +08:00
Him188
0e45deef68 Move SsoSession from package context to components 2021-07-28 10:53:03 +08:00
Him188
4f1a22cd20 Move BdhSession from package context to components 2021-07-28 10:52:02 +08:00
Him188
3b5ec941b3 Always throw MaxAttemptsReachedException when for consistency;
Correctly count failure attempts;
Tolerant `NetworkException` thrown while `resumeInstanceCatchingException`, fix #1361
2021-07-23 13:19:28 +08:00
Him188
883518b1f1 Remove unused expressions 2021-07-23 12:58:09 +08:00
Him188
dfbe73da9a Do unwrap even if wrapper exception has suppressed exceptions 2021-07-22 11:48:11 +08:00
Him188
8d41e18cdc Improve Throwable.unwrap on Android: improve performance 2021-07-22 11:48:11 +08:00
Karlatemp
2a641415a7 Fix network not reconnect when received ReqMSFOffline 2021-07-21 00:54:49 +08:00
Karlatemp
b74b6da8a3 Add testing 2021-07-21 00:54:49 +08:00
Karlatemp
6ab2d7e4c0 Flatten NetworkException 2021-07-21 00:54:49 +08:00
Karlatemp
2730c80d2d
Fix logging of MessageSyncEvent, fix #1380 2021-07-19 09:38:29 +08:00
Him188
2929db7f38 Implement Throwable.unwrap accordingly to the target platform. Fix #1404 2021-07-16 15:22:31 +08:00
Karlatemp
3a9889b8c0 Decode html entities when polling announcements 2021-07-16 14:52:09 +08:00
Karlatemp
5b170ab63a Add HtmlEntity for decode html entity 2021-07-16 14:52:09 +08:00