Commit Graph

861 Commits

Author SHA1 Message Date
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
Karlatemp
debe5baae4
Improve PluginDependency.parseFromString 2020-11-24 12:52:03 +08:00
Him188
cd2ee20961 1.0.1-dev-1 2020-11-24 10:38:51 +08:00
Him188
954b59b926 Improve PermissionCommand.grantedPermissions, close #217 2020-11-24 10:36:09 +08:00
Him188
e60bba3e08 Add resolve context for PluginDependency.versionRequirement 2020-11-24 10:17:35 +08:00
Him188
b2ad961e8d Check version on init for PluginDependency 2020-11-24 10:17:06 +08:00
Him188
06895e2a6d Fix PluginDependency.parseFromString, close #224 2020-11-24 10:15:38 +08:00
Karlatemp
16e1ebde07
Add alias for StatusCommand 2020-11-19 22:34:15 +08:00
Karlatemp
564e265254
Fix PermissionServiceProvider.providerPlugin finding 2020-11-19 22:33:26 +08:00
Karlatemp
d80e2aca4f
print PermissionService in StatusCommand 2020-11-19 22:33:26 +08:00
Karlatemp
4a29094ebe
StatusCommand 2020-11-19 13:51:25 +08:00
Him188
77b38a9ba3 Release CommandSender restrictions:
- Not required to extend AbstractCommandSender
- Amend CommandSender.fold
2020-11-19 10:35:13 +08:00
Him188
d1bc3583a2 Remove CommandSender.catchExecutionException 2020-11-19 10:21:20 +08:00
Him188
e1f93b86a1 Remove commandListener 2020-11-19 09:50:57 +08:00
Him188
ab5cbcd546 1.0 Review: documentation and misc improvements 2020-11-19 09:23:51 +08:00
Him188
6dec40c5ea Add JvmField to CommandArgumentContext.EMPTY 2020-11-19 09:01:23 +08:00
Him188
48021adf18 Add AutoLoginCommand.list 2020-11-19 08:56:32 +08:00
Him188
9d1294603d Fix CommandCallResolver on unresolved command 2020-11-19 08:47:36 +08:00
Him188
29070309f1 Add note 2020-11-19 08:40:10 +08:00
Him188
6ac08732f5 Install ConfigurationKey.Parser to ConfigurationKey for AutoLoginCommand 2020-11-19 08:39:57 +08:00
Him188
d9ea033275 Merge remote-tracking branch 'origin/master' 2020-11-19 00:02:41 +08:00
Him188
4489da91e0 AutoLoginCommand 2020-11-18 23:52:52 +08:00
Karlatemp
471a919248
Fix auto login configuration 2020-11-18 18:25:12 +08:00