Commit Graph

8331 Commits

Author SHA1 Message Date
Him188
aec5e21dda
[core] Fix docs for RoamingMessages 2023-02-11 13:08:47 +00:00
EnchStudio
c96275892c
[console] typo: 将 consosle 改为 console (#2491) 2023-02-10 16:20:29 +00:00
NKXingXh
4d41e53bf3
[docs] Rename miraiez to MiraiEz (#2479) 2023-02-09 11:59:24 +00:00
Karlatemp
1d515b92c3
Prepare for 2.15.0 dev 2023-02-06 12:24:13 +08:00
Karlatemp
7180d53e46
[docs] Changelog for 2.14.0 2023-02-06 12:21:07 +08:00
Him188
d7a7a5044b
[build] Delete unused Groovy code 2023-01-29 08:33:54 +00:00
Him188
940e76aa95
[core] Fix AbstractProcessorPipeline.registerBefore, do addFirst instead of add 2023-01-29 08:33:54 +00:00
RTAkland
e5668fa5a9
update highlighted text (#2464)
获取应该再 `Kotlin`那里高亮而不是 `是让开发人员更快乐的一门现代编程语言`
2023-01-28 10:22:53 +00:00
char46
fa734ce2ff
[docs] 将 TempCommandSender 替换为 GroupTempCommandSender (#2457)
根据后文代码注释'mirai 正计划支持其他渠道发起的临时会话, 届时此事件会变动. 原 TempCommandSender 已更改为 GroupTempCommandSender'修改。
2023-01-25 15:18:23 +00:00
Him188
8f32e40d77
[docs] Add changelog for 2.13.4 2023-01-21 11:16:05 +00:00
Him188
edddfe262e
[docs] Refine changelog for 2.14.0-RC 2023-01-21 11:16:05 +00:00
XieXuan
453ad6bb11
[docs] Add MiraiTravel SDK (#2435)
* Update README.md

* 添加了链接

添加了项目仓库链接
2023-01-20 09:00:16 +00:00
Karlatemp
68e1cc45b3
Fix console not stopped when plugin failed to load 2023-01-19 00:03:27 +08:00
Karlatemp
c468570ee1
[docs] Add changelog for 2.14.0-RC 2023-01-18 18:26:34 +08:00
Eritque arcus
0a7ebb7b4a
add implement of md5 and sha1 for MockAbsoluteFile (#2436)
* add impl of md5 and sha1

* add tests

* modify as required
2023-01-18 17:42:56 +08:00
sandtechnology
cc7f35519e
Update login protocol (#2433)
* Update login protocol
Still need testing

* Turn off debug option and make t547 null when failed

* Fix wrong convert method and improve tips

* Remove unused part and improve tips

* Fix typo

* Inline resultStatus for performance

* Rename pow to PoW, the name should be "Proof of Work"

* Add shadow and deps-test for kt-bignum

* Try to fix deps-test

* Fix deps-test again
2023-01-18 17:41:21 +08:00
Eritque arcus
56dea84336
[mock] Fix message recalling (#2421)
* Fix message recalling

Co-authored-by: Karlatemp <kar@kasukusakura.com>

* Message recalling tests

Co-authored-by: Karlatemp <kar@kasukusakura.com>
2023-01-18 17:39:40 +08:00
Eritque arcus
aa84e6d337
fix MockNormalMember modify admin (#2420)
* fix MockNormalMember modify admin (untested)

* modify as required

* fix changeOwner (tested)

* update test

* update tests
2023-01-17 13:12:31 +00:00
Him188
56bfc65d82
[docs] Add missing author in changelog for 2.13.3 2023-01-14 13:53:19 +00:00
Him188
0f56dcf94b
[docs] Add missing information in changelog for 2.13.3 2023-01-14 13:51:38 +00:00
Him188
f5e4465da7
[docs] Add changelog for 2.13.3 2023-01-13 23:43:43 +00:00
sandtechnology
53f1971d94
[core] Generate and handle tgtgtKey correctly, fix #2418 (#2419)
* Generate and handle tgtgtKey correctly, fix #2418

* Optimize the code readability of WtLogin9

* Add utility method to write t106 with A1
2023-01-13 23:36:10 +00:00
sandtechnology
e7bcb190a7
Update ANDROID_PHONE and ANDROID_PAD protocol (#2423)
Updated From MiraiGo:a30750849d
2023-01-13 12:28:28 +00:00
Him188
974be88410
[core] Remove SwingSolver and SeleniumLoginSolver. Always use StandardCharImageLoginSolver on desktop JVM. Close #2410 2023-01-11 21:31:46 +00:00
Him188
3cd74ff45b
[docs] Remove unnecessary declarations in README 2023-01-10 11:58:20 +00:00
Him188
f04c623658 [core] Implement a more efficient algorithm to fetch roaming messages for group:
- Added `RoamingMessagesImplGroup`.
- Dump API changes for Group RoamingMessages.
- [mock] Fix MockRoamingMessages missing MessageSource
- [core] Convert hierarchical TimeBasedRoamingMessagesImpl to common, to reduce code complexity
2023-01-05 02:33:27 +00:00
Him188
db601928ea [core] Rename CommonRoamingMessagesImpl to TimeBasedRoamingMessagesImpl. Extract RoamingMessagesImplFriend 2023-01-05 02:33:27 +00:00
StageGuard
2d0b4d470a [core] Proposal implementation of RoamingSupported for Group 2023-01-05 02:33:27 +00:00
Him188
3c580eead4 [core] Add default implementation for RoamingMessages.getMessagesStream 2023-01-05 02:33:27 +00:00
StageGuard
5a73c75554 [core] decode MessageSvc.PbGetGroupMsg and OidbSvc.0x88d_0 2023-01-05 02:33:27 +00:00
cssxsh
2cffb7a4a4
[core] feat: RockPaperScissors (#2220)
* [core] feat: RockPaperScissors

Co-authored-by: Karlatemp <kar@kasukusakura.com>

* docs update

* rename `eliminate` to `eliminates`

Co-authored-by: Karlatemp <kar@kasukusakura.com>
2023-01-03 10:00:32 +08:00
Him188
eea2ef509d
[core] Delete cache file if exception occurred while loading GroupMemberListCache. Fix #2399 2023-01-02 16:13:01 +00:00
Karlatemp
62ae2ac03c
[console] Create PluginOnDisableCalledOnlyOnceTest test; Fix tests 2023-01-02 23:43:33 +08:00
Karlatemp
6b1aa9c80b
[console] Fix JvmPlugin disabling multiple times; Introduce JvmPlugin status 2023-01-02 23:43:33 +08:00
Karlatemp
2f759c199a
[console] Fix plugin disabling order control 2023-01-02 23:43:32 +08:00
Karlatemp
b59c7336d0
[console] Make JvmPluginLoader a child job of PluginManager 2023-01-02 23:43:32 +08:00
微莹·纤绫
553ea9abbc
[core] Introduce CacheValidator for validating caches (#2388)
* [core] Export DeviceInfo.serializer() to mirai-core

* [core] Introduce CacheValidator for validating caches
2023-01-02 15:39:36 +00:00
Him188
6365e23f2c
[core] Change StdoutLogger color for WARNING. Fix #2336.
Commit 28030dfb05 fixed this problem for PlatformLogger
2022-12-27 17:54:34 +00:00
Him188
38737a473a
[mock] Remove MockConsoleImplementation.createLogger because it had been removed in its super class
This commit fixes 7908edb57b
2022-12-27 17:50:41 +00:00
Him188
479fa773f5
[mock] Do not broadcast GroupEntranceAnnouncementChangeEvent because mirai-core does not do so.
This commit fixes 7908edb57b
2022-12-27 17:50:06 +00:00
Him188
bc6032f2e4
[mock] Suppress deprecation error for GroupEntranceAnnouncementChangeEvent in MockAnnouncementsImpl.mockPublish.
This commit fixes 7908edb57b
2022-12-27 17:44:00 +00:00
Him188
0a7df909ca
[core] AbstractRealNetworkHandlerTest: close bot after each test only if bot was created 2022-12-27 17:39:46 +00:00
Him188
e3e71e1d1f
[core] Do logout only if firstLoginSucceed 2022-12-27 17:39:46 +00:00
Him188
04b16fe2e4
[core] Ensure Bot.login always show actual login cause whenever a failure in Bot.close happens 2022-12-27 17:29:26 +00:00
Him188
2252683cee
[core] Ensure Bot's CoroutineScope is always cancelled on Bot.close if network.close threw an exception 2022-12-27 17:28:52 +00:00
Him188
38162db477
[core] Add test rethrow exception caught during Bot_login, helps #2338 2022-12-27 16:54:05 +00:00
Him188
2accabef9e
[core] Implement correct TlvMap dump for unrecognized login errors 2022-12-27 16:29:42 +00:00
Him188
0a60535d46
[console] Ignore APIs marked with @ExperimentalCommandDescriptors in ABI compatibility checks 2022-12-27 16:01:03 +00:00
Him188
35866143f8
[build] Add IDEA Run Configuration: Dump API Changes for mirai-console-frontend-base 2022-12-27 15:54:31 +00:00
Him188
7908edb57b
[core+console] Raise deprecation level for 2.14, API including:
- EventChannel.asChannel
- (internal) syncFromEventImpl
- EmptyMessageChain
- GroupEntranceAnnouncementChangeEvent
- MiraiConsole.createLogger
- SingletonExtensionPoint
2022-12-27 15:53:12 +00:00