Commit Graph

247 Commits

Author SHA1 Message Date
Him188
9ae59ec979 Configure publishing for mirai-console-gradle, fix #1768 2021-12-28 03:25:43 +00:00
Him188
1cd354a7e3 Add @ResolveContext for usages of abstract message keys, implement relevant inspections, close #1363 2021-12-27 13:07:17 +00:00
Him188
63957b183b Make mirai-console-compiler-annotations multiplatform 2021-12-27 13:07:17 +00:00
Karlatemp
7099244414
Fix /login without passwd 2021-12-23 18:29:08 +08:00
Him188
7a32afc14c Fix build failure caused by different compiler API versions 2021-12-23 01:37:11 +00:00
Him188
ecc4425463 Move KClass.createInstance to mirai-core-utils and optimize TestPointPluginImpl.<init> 2021-12-23 01:37:11 +00:00
Him188
d6c2c379c3 Tentatively fix compilation issue 2021-12-23 01:37:11 +00:00
Him188
7faf630454 Update kotlin-jvm-blocking-bridge to 2.0.0-160.2 2021-12-23 01:37:11 +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
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
Him188
92465c3213 Improve performance of IDEA plugin 2021-12-16 14:17:50 +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
8fe02ba90d Move all files into mirai-console subfolder 2021-12-06 14:51:44 +00:00
Him188
e53363482d Fix build 2020-08-01 21:53:24 +08:00
Him188
c4d98f1c9a Merge branch 'reborn'
# Conflicts:
#	README.md
#	buildSrc/src/main/kotlin/versions.kt
#	mirai-console/src/main/kotlin/net/mamoe/mirai/console/MiraiConsole.kt
#	mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/CommandParserContext.kt
2020-08-01 13:10:20 +08:00
Him188
42385895cd Update to core 1.0.0 2020-05-22 14:44:38 +08:00
Him188
4521cfbc9e Rearrange frontend modules, extract mirai-console-pure to a frontend module. 2020-05-14 08:18:03 +08:00
Him188
82f1ff6091 Merge remote-tracking branch 'origin/master' 2020-05-14 08:02:06 +08:00
jiahua.liu
9e9399a463 Merge remote-tracking branch 'origin/master' 2020-05-13 19:42:24 +08:00
jiahua.liu
19fc7a97bc fix fuzzy compare rate 2020-05-13 19:42:10 +08:00
Him188
9cb6abde18 Add parser for Friend 2020-05-13 16:27:51 +08:00
Him188
4eccb1a778 Extract to separate files 2020-05-13 11:51:12 +08:00
Him188
7d589a0dec CommandDescriptor, CommandArg, CommandParserContext 2020-05-13 11:43:40 +08:00
Him188
2aecd24c85 Cleanup 2020-05-13 11:00:48 +08:00
Him188
9a2f40fe03 Introduce CommandPermission 2020-05-13 10:44:29 +08:00
Him188
59fa03700c Add User.isManager extension 2020-05-13 10:40:28 +08:00
Him188
f137e09af3 Adjust object name, unified errors 2020-05-13 09:35:24 +08:00
jiahua.liu
7aeb831663 Merge remote-tracking branch 'origin/master' 2020-05-12 15:01:21 +08:00
jiahua.liu
643b0cc131 Command Arg 2020-05-12 15:00:28 +08:00
Him188
1b86b61cb4 Update command arg parsers 2020-05-12 12:30:36 +08:00
Him188
4d061c070e Remove custom prefix before executing command 2020-05-12 12:15:14 +08:00
jiahua.liu
ad68868cb6 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	mirai-console/src/main/java/net/mamoe/mirai/console/utils/CommandArg.kt
2020-05-11 15:03:50 +08:00
jiahua.liu
1caf0fe9a5 command parser[arg] 2020-05-11 14:59:01 +08:00
Him188
0429837011 Cleanup 2020-05-11 13:22:09 +08:00
Him188
a824ce62c1 Enable progressiveMode 2020-05-11 13:17:58 +08:00
Him188
32daba5349 Update docs 2020-05-11 13:13:23 +08:00
Him188
93ab4fa6d5 Update docs 2020-05-11 13:12:11 +08:00
Him188
7dc59e3305 Rearrange implementations 2020-05-11 13:07:04 +08:00
Him188
3c8e130d62 Fix setAccessible 2020-05-11 12:58:19 +08:00
Him188
32714798d5 Remove templates 2020-05-11 12:57:50 +08:00
Him188
a624f56285 Update to 1.0-RC2 2020-05-11 12:56:11 +08:00
Him188
dd55f9d0bd Setup bintray publishing wokrflow 2020-05-10 14:22:33 +08:00
Him188
afc2aaf5c9 Portable PluginCenter 2020-05-07 16:32:43 +08:00
Karlatemp
2ffe539a59
Tips for commands with / (#83)
* Tips for commands with `/`

* Use `computeIfAbsent`
2020-05-07 14:03:59 +08:00
LXY
1f1495398f
更正/loginlogin 2020-05-07 10:28:06 +08:00
jiahua.liu
d0c24a9de9 Merge remote-tracking branch 'origin/master' 2020-05-06 16:01:39 +08:00
jiahua.liu
5782a8b15c to merge 2020-05-06 16:01:12 +08:00
jiahua.liu
cebbceddcc to merge 2020-05-06 16:01:00 +08:00
Him188
a35bbbb7d0 Update core to 1.0-RC 2020-05-06 14:45:06 +08:00
jiahua.liu
6dd6162f78 prep for upgrade 2020-05-03 11:10:09 +08:00
NaturalHG
a9c16d5fef
Merge pull request #74 from mzdluo123/master
add: custom working dir when start
2020-05-03 11:04:37 +08:00
Him188
0b1089c10d Merge remote-tracking branch 'origin/master' 2020-04-30 11:54:17 +08:00
Him188
ea3f51dca9 Opt in config APIs 2020-04-30 11:51:47 +08:00
mzdluo123
0a47666b9a add: Android support 2020-04-29 11:14:48 +08:00
mzdluo123
4947c8b7a6 add: custom working dir when start 2020-04-27 16:27:54 +08:00
Karlatemp
68690a62b1
Custom Command Prefix & Fix jvm option classpath invalid. (#66)
* Custom Command Prefix & Fix jvm option `classpath` invalid.

* Modify the loading order of Console ClassLoader; Extended Libraries
2020-04-26 00:35:05 +08:00
Him188
0d66a9959a Update to mirai-core 0.39.1 2020-04-24 09:56:42 +08:00
Him188
3f1c4adeab Cleanup 2020-04-24 09:56:25 +08:00
Him188
96dcea9157 Add AbstractCommand 2020-04-24 09:56:10 +08:00
Him188
a27c2a1edf Mark Config APIs with ToBeRemoved 2020-04-24 09:55:58 +08:00
Him188
e491f46054 Update to newest core 2020-04-23 21:16:22 +08:00
Karlatemp
367f07a6fc
Automatic login; Some amendments to the bot manager (#65)
* Betty tryNTimes

* UTF8

* Automatic login; Some modifications about BotManager

* Make `internal` and rename
2020-04-21 15:18:14 +08:00
Karlatemp
9f483049c2
修正removeManager的错误
修正removeManager的错误
2020-04-15 17:21:43 +08:00
PeratX
1e2b85b737 PluginManager: remove hot reload 2020-04-15 00:02:44 +08:00
jiahua.liu
757a960236 Merge remote-tracking branch 'origin/master' 2020-04-13 17:32:57 +08:00
jiahua.liu
10fd960aee fix typo 2020-04-13 17:32:28 +08:00
PeratX
7769183f02 PluginManager: do not clear plugin seq when reloading 2020-04-13 00:13:57 +08:00
Him188
2246d906c6 Update core dependencies 2020-04-12 20:06:04 +08:00
PeratX
98e52f0c63 Console: add PluginBase::onReload, plugin now can handle reload event 2020-04-12 12:43:57 +08:00
jiahua.liu
6a9f5ec11e new CommandSender 2020-04-10 17:18:27 +08:00
jiahua.liu
6607952eb5 Merge branch 'master' of https://github.com/mamoe/mirai-console
 Conflicts:
	mirai-console/src/main/kotlin/net/mamoe/mirai/console/plugins/PluginManager.kt
2020-04-08 18:20:39 +08:00
Sincky
8ffae709ea change file name 'PluginsClassLoader.kt' ot 'PluginsLoader.kt'
fix class init issues and fix reload exception
2020-04-08 15:59:05 +08:00
Him188
f5de74c6db Fix typo 2020-04-08 10:32:14 +08:00
Sincky
6460de75a2 change PluginsClassLoader and change method name by 'loadPluginMainClass' to 'loadPluginMainClassByJarFile' 2020-04-07 22:46:24 +08:00
Sincky
c9f0195f8e revert PluginsClassLoader to fix 'suspended issue' 2020-04-07 22:46:24 +08:00
jiahua.liu
e73a509460 Improve Command Sender 2020-04-07 16:48:24 +08:00
jiahua.liu
b08546b5aa Java Friendly Manager API 2020-04-06 23:39:34 +08:00
jiahua.liu
de3cbdafd1 close #24 2020-04-06 23:24:29 +08:00
Sincky
1a68008041 change PluginsClassLoader and fix 'loader constraint violation' 2020-04-06 22:20:53 +08:00
jiahua.liu
28a00b4333 java plugin doc 2020-04-06 17:40:37 +08:00
jiahua.liu
0968487387 add Java API 2020-04-06 14:06:10 +08:00
jiahua.liu
cc4b497286 Java API ant 2020-04-06 13:21:51 +08:00
jiahua.liu
e82281367e add Java API 2020-04-06 13:20:10 +08:00
jiahua.liu
4d8753d8e2 J Event Listener 2020-04-06 13:16:18 +08:00
jiahua.liu
88b1576417 add kotlin API 2020-04-05 23:26:52 +08:00
jiahua.liu
a02f0ff4ee add tryNTimes API for kotlin/java 2020-04-05 23:10:43 +08:00
Sincky
1a7068940c fix something 2020-04-05 16:07:02 +08:00
Sincky
a541289942 resolve conversation changes 2020-04-05 15:56:47 +08:00
Sincky
224255fd0f add PluginsClassLoader and fix hot-reload 2020-04-05 14:27:06 +08:00