Commit Graph

217 Commits

Author SHA1 Message Date
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
jiahua.liu
128027b494 connect to Cui Cloud PC 2020-04-04 22:14:38 +08:00
jiahua.liu
b5d631c79a Plugin Center Ready 2020-04-04 22:11:16 +08:00
jiahua.liu
5b93a48e39 CuiPluginCenter Complete 2020-04-04 21:28:56 +08:00
jiahua.liu
20c5b5334d Improve Java Scheduler Task 2020-04-04 21:17:26 +08:00
jiahua.liu
8adeb3f04d Java Scheduler Task 2020-04-04 20:39:07 +08:00
jiahua.liu
3510cf8434 plugin center 2020-04-04 17:38:11 +08:00
ryoii
7d9ffb8c71 Plugin Center view 2020-04-03 17:15:12 +08:00
jiahua.liu
c1c114ef07 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	mirai-console/src/main/kotlin/net/mamoe/mirai/console/center/PluginCenter.kt
2020-04-02 23:20:04 +08:00
jiahua.liu
8c63819ef3 plugin center 2020-04-02 23:19:00 +08:00
Him188
f70ad5191b Cui cloud & GitHub cloud uploading 2020-04-02 22:08:58 +08:00
Him188
ea10207d97 Update core dependency to 0.32.0 2020-04-02 21:53:44 +08:00
Him188
b8cd4afbc0 Merge remote-tracking branch 'origin/master' 2020-03-31 19:54:02 +08:00
Him188
24b3836648 Set java source and target compatibilities to 1.8 2020-03-31 19:45:27 +08:00
jiahua.liu
620f100da1 fix only dependency are loaded 2020-03-30 23:23:52 +08:00
jiahua.liu
0eb4f58da0 add ConfigSection.new .create 2020-03-30 23:02:19 +08:00
jiahua.liu
f7affdd2ae add ConfigSection API 2020-03-30 23:00:47 +08:00
jiahua.liu
31f75a1710 fix plugin load issue regards to depends 2020-03-30 22:30:13 +08:00
jiahua.liu
d92b43e91b Merge remote-tracking branch 'origin/master' 2020-03-30 21:52:20 +08:00
jiahua.liu
8fff59bcd0 Plugin Center 2020-03-30 21:51:25 +08:00
Him188
2310922790 Merge remote-tracking branch 'origin/master' 2020-03-30 20:54:17 +08:00
Him188
e7f1c59096 Fix againstPermission 2020-03-30 20:54:00 +08:00
jiahua.liu
df14efba37 Merge remote-tracking branch 'origin/master' 2020-03-30 19:05:52 +08:00
jiahua.liu
f89c2d1006 Plugin Center 2020-03-30 19:05:33 +08:00
Him188
b7dc52b2d3 Adjust dependencies 2020-03-30 17:37:07 +08:00
jiahua.liu
db2525714a fix Events API for java 2020-03-30 14:06:19 +08:00
jiahua.liu
4b34eaa5e0 change from fastjson to Gson 2020-03-29 23:21:35 +08:00
jiahua.liu
eb1a15de76 fix Vcs 2020-03-29 18:14:08 +08:00
jiahua.liu
d97179068f new download link 2020-03-29 17:09:39 +08:00
jiahua.liu
af48b74786 some modify 2020-03-29 15:58:35 +08:00
jiahua.liu
1b08680e3b prep for graphical wrapper 2020-03-28 22:51:46 +08:00