Commit Graph

7548 Commits

Author SHA1 Message Date
Him188
bf98ab7858 Move _contentToString outside mirai-core main sourceSets, and rename it to structureToString 2021-12-21 18:46:25 +00:00
Him188
575225874c Explicitly add dependency on kotlinx-coroutines-core-jvm to help IDE analysis 2021-12-21 18:09:12 +00:00
Him188
68ec6d52e7 Fix FriendMessageSyncEvent, fix #1624 2021-12-21 03:32:27 +00:00
Him188
0711b5ae2e Add TypeSafeMap.toMutableTypeSafeMap 2021-12-21 03:32:27 +00:00
Him188
e202149c3a Improve AbstractNoticeProcessorTest 2021-12-21 03:32:27 +00:00
Him188
1f03374eb4 Disable gradle daemon in tests 2021-12-21 03:14:09 +00:00
Him188
37a54bd533 Set JVM Xmx for Gradle tests 2021-12-21 03:14:09 +00:00
Him188
dd25b402e6 Fix actions 2021-12-18 18:06:35 +00:00
Him188
44b5f70bde Set version to 2.9.0 2021-12-18 17:31:03 +00:00
Him188
7fa6b4e1d7 Configure build for platforms: Windows, macOS 11, Ubuntu 2021-12-18 17:29:37 +00:00
Karlatemp
6b16fd2580
2.9.0-RC2 2021-12-19 01:15:35 +08:00
Karlatemp
1d1a77ff1a
Test of rename folder 2021-12-19 00:46:46 +08:00
Karlatemp
84b66692e9
Modify the order of rename execution 2021-12-19 00:45:53 +08:00
Eritque arcus
7d5bd4564e
move nameFolder under config folder to idFolder, untested 2021-12-19 00:45:51 +08:00
Eritque arcus
f4a2effa01
fix new namefolder after moving 2021-12-19 00:45:51 +08:00
Karlatemp
dda61f5a5d
Fix exception catch 2021-12-19 00:45:13 +08:00
微莹·纤绫
8d6b4b4970
[CONSOLE] Integration Test (#1741)
* [CONSOLE] Realtime Test Unit

* Rename to IntegrationTest; IDEA Debugging support

* External Plugins support

* Simply redesign
2021-12-18 22:59:43 +08:00
Karlatemp
6f55816b08
Use JDK 11 for CI 2021-12-18 17:12:50 +08:00
Him188
92465c3213 Improve performance of IDEA plugin 2021-12-16 14:17:50 +00:00
Him188
aa915085b8 Set version to 2.9.0 2021-12-15 21:16:02 +00:00
Him188
a7e0f1b288 Initialize ecKf before static-init for ECDH on Android, #1732 2021-12-15 21:14:29 +00:00
Karlatemp
bca536b107
Fix publishing; fix #1733 2021-12-13 13:07:29 +08:00
Him188
5816d4951e Fix publishing for mirai-bom 2021-12-12 14:38:57 +00:00
Him188
18e10c2ceb set version to 2.9.0-RC 2021-12-11 17:12:52 +00:00
Karlatemp
478d246547
Update docs [no ci] 2021-12-12 01:10:15 +08:00
Karlatemp
2675e8eb22
Update docs [no ci] 2021-12-11 18:20:57 +08:00
Eritque arcus
07b303fb24
upgrade log4j version to prevent vulnerability (#1724) 2021-12-10 11:57:09 +00:00
Him188
2367ee0fd9
Revert prohibition of sending file message: (#1716)
* Revert prohibition of sending file message:
- close #1715
- Report a warning in logging with stacktrace
- Show stacktrace only once

* Update util.kt
2021-12-06 15:32:51 +00:00
Him188
bc1cce313f
Support AbsoluteFolder.resolveFolderById (#1712)
* Support `AbsoluteFolder.resolveFolderById`

* resolveFolderById: Always return null when receiver is not root and id is not root
2021-12-06 15:23:27 +00:00
Him188
5232dc6953 Temporarily disable 'PluginMovingTests' since test framework fails 2021-12-06 14:58:50 +00:00
Him188
ab26c309fc Remove mirai-console/.github 2021-12-06 14:58:48 +00:00
Him188
aa98a10d12 Migrate references in docs 2021-12-06 14:58:45 +00:00
Him188
14bb3752dd Add mirai-console/README.md back 2021-12-06 14:58:43 +00:00
Him188
91337abb45 Remove mirai-console/.editorconfig — inherit from core 2021-12-06 14:58:36 +00:00
Him188
1783c22e30 Unify dependency configuration 2021-12-06 14:58:30 +00:00
Him188
39dd1d5f7a buildscript: always include mirai-console 2021-12-06 14:58:27 +00:00
Him188
e1a5426546 Merge remote-tracking branch 'mirai-console/pre-merge-2' into dev 2021-12-06 14:56:59 +00:00
Him188
c9fe87d7f7 Remove submodule mirai-console 2021-12-06 14:56:50 +00:00
Him188
8fe02ba90d Move all files into mirai-console subfolder 2021-12-06 14:51:44 +00:00
Him188
1113856cb4 Remove buildscripts 2021-12-06 14:50:18 +00:00
Him188
61ce69c328 Configure publishing for mirai-bom 2021-12-06 14:31:25 +00:00
Him188
5cccc7755d Add notice 2021-12-06 12:03:26 +00:00
Karlatemp
561d333cc7
NetInternalKit 2021-12-05 18:28:44 +08:00
微莹·纤绫
d10d20302e
Dokka (#1708)
* dokka

* test

* Fix classpath

* Fix deploy

* Fix deploy

* Fix deploy

* GitHub workflows
2021-12-04 15:43:09 +00:00
Eritque arcus
22e2ea18e6
Using PluginId as folder name (#418)
* using pluginId as folder name

* using pluginId as folder name

* if failure, abort

* move to `BuiltInJvmPluginLoaderImpl`

* improve hint(1/2)

Co-authored-by: Him188 <Him188@mamoe.net>

* improve hint(2/2)

Co-authored-by: Him188 <Him188@mamoe.net>

* modify as require

* Update BuiltInJvmPluginLoaderImpl.kt

* Update backend/mirai-console/src/internal/plugin/BuiltInJvmPluginLoaderImpl.kt

Co-authored-by: Him188 <Him188@mamoe.net>

* modify as requirements, tested

* upload tests

* bypass

* change function name and except cancel

* support moving to empty folder, tested

* modify

* Fix reference

Co-authored-by: Him188 <Him188@mamoe.net>
2021-12-03 19:37:43 +00:00
Him188
0675ccbbd8 Tentatively fix tests regarding initialization of multiple Mirai Console instances 2021-12-01 18:08:41 +00:00
Him188
66367c893c Rewrite AbstractConsoleTest, fix cancellation issues 2021-12-01 17:54:05 +00:00
Him188
2dda2ff31b Do not call 'exitProcess' in console backend, but in terminal 2021-12-01 17:39:17 +00:00
TheFatCat
ad1ee9a661
对实现事件部分详细描述 (#1688)
* 对实现事件部分详细描述

* reaction to reviews

Update docs/Events.md

Apply suggestions from code review

Co-Authored-By: Him188 <Him188@mamoe.net>
Co-Authored-By: Karlatemp <karlatemp@vip.qq.com>

* Update Events.md

* 打少半边括号丢死人了草

* Update Events.md

* Update Events.md

Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-11-30 13:07:02 +00:00
Him188
74fc5a5037 Throw specific SendMessageFailedException when reaching group chat limit, close #1220 2021-11-30 13:06:01 +00:00