Commit Graph

1650 Commits

Author SHA1 Message Date
Him188
5cccc7755d Add notice 2021-12-06 12:03:26 +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
Eritque arcus
96dced9132
logout command (#417)
* logout command

* modify

* fix `sender`

* improve log

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

* del `scopeWith`

Co-authored-by: Him188 <Him188@mamoe.net>
2021-11-26 18:22:37 +00:00
Him188
29f6ece98b
Add AbstractJvmPlugin.save and AbstractJvmPlugin.savePluginData, close #408 (#420) 2021-11-26 18:22:22 +00:00
Karlatemp
fe2d8332fe
Fix logger name; fix mamoe/mirai#1691 2021-11-20 00:22:24 +08:00
Him188
735e31551a Revert "Upgrade buildscript for Kotlin 1.6.0, use Gradle 7.2"
This reverts commit 9711c5eb3e.
2021-11-19 01:14:01 +00:00
Him188
fffefbacef Avoid killing JVM in Gradle tests 2021-11-19 01:13:27 +00:00
Him188
dc2b4d2b7b Ignore internal deprecation 2021-11-18 03:11:37 +00:00
Him188
fe46ea4740 Automatically generate VersionConstants.kt 2021-11-18 03:11:27 +00:00
Him188
9711c5eb3e Upgrade buildscript for Kotlin 1.6.0, use Gradle 7.2 2021-11-18 03:05:49 +00:00
Him188
538dd66e72 Rewrite tests for mirai-console-gradle with Kotlin 2021-11-18 00:15:53 +00:00
Eritque arcus
309a712102
Support login account record (#414)
* AutologinConfig add `autoLogin` field to control autoLogin
Login account exist in accounts

* some tips

* solve known problems

* solve known problems

* modify as require

* AutologinConfig add `autoLogin` field to control autoLogin
Login account exist in accounts

* some tips

* solve known problems

* solve known problems

* modify as require

* revert change

* revert change

* revert change

* modify as require

* check if
2021-11-09 22:03:54 +00:00
Him188
fbc7f69bb5 Correct docs 2021-11-09 21:44:18 +00:00
Him188
ae4ab2acca Extract generation of help message as HelpCommand.generateDefaultHelp, helps #416 2021-11-09 21:43:55 +00:00
Him188
b45ca8df81 Remove use of deprecated MiraiLogger.TopLevel 2021-11-06 14:44:58 +00:00
Him188
ad8cc21ee4 Add description for AutoLoginCommand passwordKind, fix #344 2021-10-30 14:12:54 +01:00
Karlatemp
247cdb4414
Improve loggers 2021-09-24 17:01:02 +08:00
Him188
6cecb18255
Provide JRawCommand.onCommand (#395)
* Provide `JRawCommand.onCommand`

* Update JRawCommand.kt
2021-09-12 20:34:57 +08:00
cssxsh
1e158a93ce
Fix: MultiFilePluginDataStorageImpl (#393)
* fix: builtins config use ReadOnlyPluginConfig

* fix: remove BINTRAY_REPOSITORY

* merge: mamoe

* use: mavenCentral

* feat: handle UTF8-BOM
remove: mainLogger
2021-09-12 20:32:16 +08:00
Him188
03ebfd2278 Migrate to Kotlin 1.5.30 2021-09-01 19:20:10 +08:00
Him188
37545dad5f Update docs 2021-08-25 16:06:30 +08:00
Him188
f0691c2cee Release version 2.7.0 2021-08-25 14:45:26 +08:00
Eritque arcus
0864c920db
docs-register command (#402)
* 注册指令

这一节好像少了个注册指令

* Update Commands.md

* Update Commands.md
2021-08-25 12:44:57 +08:00
Him188
53149d1d36 Remove mirai-console-graphical 2021-08-13 16:00:57 +08:00
Him188
00d7430f06 Release version 2.7-RC 2021-08-11 15:28:56 +08:00
Him188
f5f3603dcc Execute non-suspend functions in blocking context, maybe help #341 2021-08-08 14:39:42 +08:00
Him188
4cc1adf8db Allow users to override Kotlin version, fix #367 2021-08-08 14:33:32 +08:00
purofle
2c78c215b5
删除Kdoc中存在的错误示例 (#386)
* Update SimpleCommand.kt

* Update Commands.md
2021-08-03 04:30:08 +08:00
Karlatemp
6a63f1416f
Dont add mavenCentral(); fix #389 2021-07-29 12:50:54 +08:00
cssxsh
4723359d26
fix: remove BINTRAY_REPOSITORY (#387)
* fix: builtins config use ReadOnlyPluginConfig

* fix: remove BINTRAY_REPOSITORY

* merge: mamoe

* use: mavenCentral
2021-07-22 10:57:06 +08:00
Karlatemp
90d09c429c
Update Permissions.md 2021-07-20 16:05:55 +08:00
yurzhang
64e214a40d
Corrected typos (#384) 2021-07-19 14:57:55 +08:00
Karlatemp
ee48adfd8c
Improve logging of plugin loading; close #369
- Log plugin version when loading plugin
- Log plugin loading/enabling status when verbose enabled
2021-07-13 18:25:11 +08:00
Him188
be928efb75 Release version 2.7-M2 2021-07-06 21:37:19 +08:00
Him188
81c81152a1 Fix doc on AutoSavePluginData, fix #376 2021-07-03 14:10:21 +08:00
Him188
a731389ab3 Update to kotlinx-serialization 1.2.1 and yamlkt 0.10.0 2021-07-02 22:39:55 +08:00
Him188
67565cb34b Fix build 2021-07-02 02:06:53 +08:00
Him188
823193f1bb Update gradle-intellij-plugin to 1.1 2021-07-02 01:44:57 +08:00
Him188
d8023fd82f Fix build 2021-07-02 01:44:42 +08:00
Him188
986c423021 Fix build 2021-07-02 01:19:16 +08:00
Him188
213b1c1e3f Update copyright 2021-07-02 00:56:54 +08:00
Him188
f096d0d042 Reformat and cleanup code 2021-07-02 00:56:54 +08:00
Him188
f341d2f1f6 Update editorconfig from mirai-core 2021-07-02 00:56:54 +08:00
cssxsh
3628d534d4
fix: builtins config use ReadOnlyPluginConfig (#375) 2021-06-26 20:26:37 +08:00
Him188
d534bbcb48 Remove GRADLE_METADATA 2021-06-24 01:14:04 +08:00
Him188
a518037585 Gradle 7.1 2021-06-24 01:10:53 +08:00
Karlatemp
ea3f6da103
2.7-M2-dev-1 2021-06-23 11:43:55 +08:00