Commit Graph

883 Commits

Author SHA1 Message Date
Karlatemp
78e8203abd
Add default value of CompositeCommand.SubCommand.value for Java 2021-02-16 23:13:27 +08:00
Karlatemp
a6e79fc204
Release v2.4.0 2021-02-14 21:17:28 +08:00
Him188
086604ce67 Release v2.4-RC 2021-02-11 19:18:11 +08:00
Him188
c431f93399 Release v2.4.0 2021-02-11 19:09:24 +08:00
Karlatemp
0db24dca63
ConcurrentMap support for PluginData (#279)
* ConcurrentMap support for PluginData

* Simplify ShadowMap, ConcurrentShadowMap, ObservableMap
2021-02-11 16:31:59 +08:00
Him188
626b8d600b 2.4-M1 2021-02-07 14:35:20 +08:00
Him188
2089ecfe54 2.4.0-dev-1 2021-02-05 23:34:31 +08:00
Karlatemp
3a5e2fe174
Mark @JvmWildcard on Command.overloads for fix java cannot extends XXXCommand 2021-02-03 22:11:14 +08:00
Him188
8ac8089015 2.3.2 2021-02-03 19:55:29 +08:00
Him188
70cd1621ca 2.3.1 2021-02-03 15:49:27 +08:00
Him188
b250092e4e Prefer device.json and auto-rename from deviceInfo.json 2021-02-03 15:46:35 +08:00
Karlatemp
a9ca815627
Fix device info coping; fix #281 2021-02-03 15:32:00 +08:00
Him188
b7c46e27e0 2.3.0 2021-02-03 13:15:23 +08:00
Him188
5da481dd1b PermitteeIdValueArgumentParser: Parse numerical values as ExactUser for convenience 2021-02-03 12:39:40 +08:00
Him188
5bd6182a17 PermissionIdValueArgumentParser: Parse "*" as RootPermission.id for convenience 2021-02-03 12:39:18 +08:00
Karlatemp
8683e88892
Support select protocol in /login; Close bot when bot login failed 2021-02-01 10:09:58 +08:00
Him188
3f98d8ec2a Allow underscore in plugin id, fix #263 2021-02-01 09:14:02 +08:00
Him188
0970343bdb Configure workingDir for bots, support custom file name for deviceInfo, close #249 2021-02-01 08:53:26 +08:00
Him188
93e4ebfb5a Merge remote-tracking branch 'console/master' 2021-02-01 08:14:18 +08:00
Him188
5521e9b3d1 Enable autoReconnectOnForceOffline by default. Close #143 2021-02-01 08:13:59 +08:00
Karlatemp
a5481accb5
2.2.2 2021-01-31 23:08:52 +08:00
Him188
24c0482d50 2.2.1 2021-01-30 22:00:45 +08:00
Him188
3bfb570e69 2.2.0 2021-01-30 20:38:16 +08:00
Him188
934b36cf90 Fix publishing 2021-01-30 19:13:25 +08:00
Him188
2a0cc6ca16 Fix publishing 2021-01-30 14:49:32 +08:00
Him188
8fde96c50a Fix doc 'since' in EnumValueArgumentParser 2021-01-29 12:23:24 +08:00
Him188
52df8ef432 2.2.0 2021-01-29 12:21:51 +08:00
Him188
4769a0995d Extract ResolveContext and RestrictedScope to separate modules 2021-01-29 07:44:22 +08:00
Him188
d9128e00e8 2.2.0-dev-5 2021-01-28 11:59:14 +08:00
Him188
2e4ca12929 Configure experimental annotations, binary compatibility validator, dokka, build, publishing, for mirai-console. 2021-01-28 10:13:42 +08:00
Karlatemp
0f03a10d0c
EnumValueArgumentParser
close #267
2021-01-24 02:34:13 +08:00
Him188
f2830610a7 Add @JvmOverloads to JvmPluginDescription.loadFromResource 2021-01-16 15:06:33 +08:00
Him188
2947a7c162 2.0.0 2021-01-15 18:13:41 +08:00
Him188
da04234a56 Merge remote-tracking branch 'origin/master' 2021-01-14 17:22:06 +08:00
Him188
a81cd2239c Update docs 2021-01-14 17:21:50 +08:00
mzdluo123
96e2a8e2e4
fix wrong path of device.json 2021-01-13 23:34:46 +08:00
Him188
18affb2b0c 2.0-RC 2021-01-12 19:00:29 +08:00
Him188
8ebbbe2a69 Update docs 2021-01-12 17:58:13 +08:00
Him188
c0531acab7 Do not kill backend if auto-login failed 2021-01-12 17:37:56 +08:00
Him188
0b957d6475 Update permitteeIds to new temp user structure 2021-01-12 17:31:10 +08:00
Him188
4a5cedc592 Update docs 2021-01-12 16:50:07 +08:00
Him188
e6307f0773 Update to mirai-core-dev-9 2021-01-12 16:46:26 +08:00
Him188
975ff6dc40 Merge remote-tracking branch 'origin/master' 2021-01-10 23:45:32 +08:00
Him188
d13e1e6d44 2.0-RC-dev-1 2021-01-10 23:43:54 +08:00
Him188
1a2d484a45 Update to mirai-core 2.0-RC, add StrangerCommandSender, OtherClientCommandSender, etc. 2021-01-10 21:56:27 +08:00
Karlatemp
c826ffd988
Resolve errors in Android 2021-01-01 20:36:24 +08:00
Karlatemp
ca3a207575
2.0-M2-1-dev-1 2020-12-29 11:48:39 +08:00
Karlatemp
e0daf830e5
Fix plugin classes loading 2020-12-29 11:42:29 +08:00
Him188
d2965c87f5 2.0-M2 2020-12-28 18:39:54 +08:00
Him188
c76df4d7c1 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	buildSrc/src/main/kotlin/Versions.kt
#	tools/gradle-plugin/src/VersionConstants.kt
2020-12-28 17:54:54 +08:00
Him188
7dc5485cea Update to 2.0-M2 (2.0-M2-dev-14) 2020-12-28 17:54:32 +08:00
Karlatemp
3511649bd0
2.0-M2-dev-10 2020-12-27 18:09:52 +08:00
Karlatemp
9a7a4e40bb
Don't close console to fast 2020-12-27 18:08:26 +08:00
Him188
113fc20cf9 2.0-M2-dev-4 2020-12-25 20:45:38 +08:00
Him188
e6621fbb3d 2.0-M1-1 2020-12-19 23:30:06 +08:00
Him188
e2fb094e0f Update to mirai-core 2.0-M1 2020-12-19 00:55:56 +08:00
Him188
b3b34c19d1 JSON encode defaults 2020-12-18 16:52:39 +08:00
Him188
cbbd6eb083 Update to mirai-core 2.0-M1-dev-3 2020-12-18 16:36:49 +08:00
Him188
40d5fb698b Fix build 2020-12-01 10:30:46 +08:00
Him188
4ac0356ecd 1.1.0 2020-12-01 10:25:57 +08:00
Him188
6e7de8747c Allow optional 'name' property for plugin.yml 2020-12-01 10:25:28 +08:00
Him188
7fad444a0c Add hashCode and equals to AnsiMessageBuilder 2020-12-01 09:22:00 +08:00
Him188
b87a5390b9 Review AnsiMessageBuilder 2020-12-01 09:07:11 +08:00
Him188
0a2e103bf3 Simplify @since 2020-11-30 14:31:51 +08:00
Him188
a6d5656161 Support ReadOnlyPluginData:
Add ReadOnlyPluginData, ReadOnlyPluginConfig,
New inspection: READ_ONLY_VALUE_CANNOT_BE_VAR,
2020-11-30 14:25:40 +08:00
Him188
64e0d545f4 Correct package (not affecting API) 2020-11-30 12:09:10 +08:00
Him188
6f32ba325b Merge remote-tracking branch 'origin/master'
# Conflicts:
#	gradle.properties
2020-11-30 12:07:58 +08:00
Him188
dfc9957c24 Revert "Check Command.owner, #216"
This reverts commit 595c9480
2020-11-29 19:26:05 +08:00
Karlatemp
be33cb88df
Using TestUnitCommandOwner for test 2020-11-29 18:07:02 +08:00
Karlatemp
595c9480a6
Check Command.owner, #216 2020-11-29 18:00:48 +08:00
Him188
8a45312788 Merge remote-tracking branch 'origin/master' 2020-11-29 16:12:55 +08:00
Him188
a66ecbf8c8 New inspection: RESTRICTED_CONSOLE_COMMAND_OWNER, close #216 2020-11-29 16:12:49 +08:00
Karlatemp
1bc6e97630
Colorful StatusCommand 2020-11-29 15:12:15 +08:00
Karlatemp
9db8c88aa8
Fix Plugin repeated disable 2020-11-29 15:10:31 +08:00
Karlatemp
df3418ef5b
Merge branch 'requirement' into 'master'
Close #225
2020-11-29 10:13:29 +08:00
Karlatemp
e391936679
PathBased LoggerController; KDoc
close #228
2020-11-29 09:45:13 +08:00
Him188
0bc810e42c
Merge pull request #219 from mamoe/ansi
Ansi support
2020-11-29 01:57:07 +08:00
Him188
525b759d9e 1.1.0-dev-30 2020-11-29 00:27:03 +08:00
Him188
3a5d95aee3 1.1.0-dev-29 2020-11-29 00:15:45 +08:00
Karlatemp
04c1d951aa
Rename AnsiMessageBuilder.builder to create 2020-11-28 21:50:26 +08:00
Karlatemp
480666e3f0
Improve String.dropAnsi() 2020-11-28 21:28:43 +08:00
Karlatemp
f4ebf5a7ba
Remove param noAnsi in appendAnsi 2020-11-28 21:04:38 +08:00
Karlatemp
6c2a4081ac
Update KDoc for AnsiMessageBuilder 2020-11-28 20:47:58 +08:00
Karlatemp
3a203ae1d4
Update DROP_ANSI_PATTERN 2020-11-28 20:47:07 +08:00
Him188
08c61dee0e 1.1.0-dev-1 2020-11-28 13:59:47 +08:00
Karlatemp
e1f6e69243
Adjustment AnsiMessageBuilder factory function names 2020-11-28 13:04:14 +08:00
Karlatemp
cc47378873
Inline delegate functions 2020-11-28 13:03:55 +08:00
Him188
4fd28ef68f
Merge branch 'master' into ansi 2020-11-28 12:32:38 +08:00
Karlatemp
635d0bfdec
Redesign Requirement parsing 2020-11-26 22:47:59 +08:00
Him188
3b39be6bdc Revert "Add MiraiConsoleImplementation.isInitialized", postpone to 1.1.0
This reverts commit 8f61943c
2020-11-26 12:53:23 +08:00
Him188
ecef9f8c01 Revert "ReportGenerator", postpone to 1.1.0 release.
This reverts commit 96be869e
2020-11-26 12:46:13 +08:00
Him188
fe5bf0e10c 1.0.1-dev-2 2020-11-26 07:51:48 +08:00
Him188
23a692e950 Collect components just after plugin load 2020-11-26 07:50:35 +08:00
Him188
26f4ce5228 Fix mistakenly exposed JvmPluginInternal.isEnabled 2020-11-25 18:31:00 +08:00
Him188
73533c37cb Fix inconsistent exceptions specified in docs and actually thrown. 2020-11-25 18:29:03 +08:00
Him188
8f61943c70 Add MiraiConsoleImplementation.isInitialized 2020-11-25 18:19:06 +08:00
Him188
1c9f5f50db Fix link 2020-11-25 17:22:10 +08:00
Him188
c433450be2 Update dependencies 2020-11-25 17:19:52 +08:00
Karlatemp
bbdd2c2508
Remove testing code 2020-11-25 13:58:51 +08:00
Karlatemp
96be869e7f
ReportGenerator 2020-11-25 13:56:21 +08:00