Karlatemp
595ff7c9d2
Fix config/Console/Logger.yml
ignored
2022-03-10 23:28:18 +08:00
Karlatemp
bb489601b7
Auto finding testing points
2022-03-10 18:05:16 +08:00
Karlatemp
894b8a9c2e
Fix class resolving when package duplicated in dependent plugins. Fix #1920
2022-03-10 17:51:30 +08:00
Him188
68711538c8
fuzzySearchMember: improve performance
2022-03-01 14:18:04 +00:00
Eritque arcus
3d3a995aae
Support heartbeatStrategy in autologin config ( #1903 )
...
* support heartbeatStrategy in autologin config
* doc: update tips
8d641c1d4c/docs/Bots.md
2022-02-27 15:09:28 +00:00
Him188
77e2a5c3b4
Prohibit premature usages of PermissionService
2022-02-24 11:05:41 +00:00
Him188
044457ae24
apiDump
2022-02-24 11:05:41 +00:00
Him188
c6c2eff8f7
Give built-in providers with priority -1
2022-02-24 11:05:41 +00:00
Him188
0ee15dda7f
Adapt command tests to fit the new structure
2022-02-24 11:05:41 +00:00
Him188
062a644474
Initialize and register configs in a specific phase, store and retrieve then in DataScope, instead of making them objects.
2022-02-24 11:05:41 +00:00
Him188
835059c44c
(ABI change) Rewrite ComponentStorage
: order extensions by property priority
. Remove builtinImplementations
and contribute them at the first initialization phase instead.
...
Close #1888 , fix #1860 .
Add `ComponentStorageInternal` for frontend to provide components.
Deprecate:
- SingletonExtension
- SingletonExtensionPoint
- AbstractSingletonExtensionPoint
- SingletonExtensionSelector
- CommandCallInterceptorProviderImpl
- CommandCallInterceptorProviderImplLazy
- CommandCallParserProviderImpl
- CommandCallParserProviderImplLazy
- CommandCallResolverProviderImpl
- CommandCallResolverProviderImplLazy
ABI breaking change:
- `PermissionServiceProvider`: supertype changed
- `CommandCallResolverProvider.ExtensionPoint`: supertype changed
- `PermissionServiceProvider.ExtensionPoint`: supertype changed
2022-02-24 11:05:41 +00:00
Marcia Sun
96e943c33f
support escape for text parameter parsing ( #1897 )
2022-02-22 10:37:24 +00:00
cssxsh
5a1059b0b3
修复权限取消,同时在取消时给出更多提示 ( #1843 )
...
* fix: AbstractConcurrentPermissionService
* feat: cancel about
* fix: filter parent
* fix: return
* fix: filter parent
* add: PermissionServiceTest
2022-02-22 10:34:18 +00:00
Karlatemp
29ebf78a54
Fix testing
2022-02-21 22:07:04 +08:00
Karlatemp
8e77109d26
Warning if used undefined dependencies
2022-02-21 21:20:53 +08:00
Karlatemp
22d2bd79df
Allow override console non-hard-link dependencies
2022-02-21 21:20:53 +08:00
Karlatemp
0570a50e5e
Support multi remote servers; Support maven local & gradle local
2022-02-21 21:20:51 +08:00
Karlatemp
d32913aa9f
api dump
2022-02-21 21:20:50 +08:00
Karlatemp
4100eaa245
Plugin dependencies automatic download system
2022-02-21 21:20:35 +08:00
微莹·纤绫
4f6481955c
Save journals to file ( #1874 )
...
* Save journals to file
* Use kotlin coroutines
* Fix StackOverflowError
* Auto split log files && test units
* Implement ConsoleTerminalSettings.noLogging
* Improve logging
* High-Speed logging test
2022-02-21 12:18:05 +00:00
Stardust·减
6b036439fd
Update protocol in autologin.yml ( #1891 )
...
* Add files via upload
* Update AutoLoginConfig.kt
* Update AutoLoginConfig.kt
2022-02-18 22:32:29 +00:00
Him188
6f67a41b5c
Ignore ConsoleFrontEndImplementation
on apiDump
2022-02-17 17:45:48 +00:00
Him188
2ebd017786
Make MiraiConsoleImplementationBridge class, add MiraiConsoleImplementation.origin
. MiraiConsoleImplementation.Companion.getInstance
will now return the bridge object instead of the user-defined implementation.
2022-02-17 17:45:48 +00:00
Him188
5af3d63e25
Print "CONSOLE STOPPED" after each test
2022-02-17 14:02:42 +00:00
Him188
f71ca64b0a
Cancel console instance and join when JVM shutdown, if initialized
2022-02-17 14:02:42 +00:00
cssxsh
d2505a397d
fix: PluginDescription.checkSatisfies ( #1859 )
2022-02-12 12:47:09 +00:00
Karlatemp
6f24035154
Update mirai-console.integration-test
2022-01-15 19:17:04 +08:00
Him188
7d3971259d
Review deprecation for 2.10. close #1742 ( #1774 )
2022-01-14 18:26:44 +00:00
cssxsh
a3d29b847e
add: TemporalArgumentParser ( #1748 )
...
* add: TemporalArgumentParser
* fix: no reflect
* fix: delete @Suppress("UNCHECKED_CAST")
* fix: Temporal -> TemporalAccessor
* add: test temporal argument
* add: isInstance
* docs: since 2.10
* docs: since 2.10
2022-01-14 17:14:12 +00:00
Karlatemp
033a10daaf
Fix binary-compatibility-validator
2022-01-14 21:19:59 +08:00
Karlatemp
335dff170d
Add console launch options
2022-01-14 21:12:14 +08:00
Him188
b62b6c3958
Appropriately execute IO tasks for JConsoleInput
2022-01-10 23:27:23 +00:00
Him188
b58bcfe4ac
apiDump
2022-01-10 23:27:23 +00:00
Him188
f8674d6875
Change CommandManager from singleton to instance object
2022-01-10 23:27:23 +00:00
Him188
6db81a50ac
Rewrite console testFramework
2022-01-10 23:27:23 +00:00
Him188
d0c2304e1a
Rename test package framework
to testFramework
2022-01-10 23:27:23 +00:00
Him188
1cde9029b7
Rename BuiltInExtensionSelector
to SingletonExtensionSelectorImpl
2022-01-10 23:27:23 +00:00
Him188
1b0f30c4bf
Convert all built-in permission services from singleton to instances
2022-01-10 23:27:23 +00:00
Him188
9930fc7ed1
Extend AbstractSingletonExtensionPoint
and AbstractInstanceExtensionPoint
, support lazy instance computation
2022-01-10 23:27:23 +00:00
Him188
8435131499
Change JvmPluginLoader
and ConsoleDataScope
from singleton to instances.
2022-01-10 23:27:23 +00:00
Him188
05187f5162
Mark PluginManager
with @NotStableForInheritance
and update docs
2022-01-10 23:27:23 +00:00
Him188
26b84485fe
Mark MiraiConsole
with @NotStableForInheritance
and update docs
2022-01-10 23:27:23 +00:00
Him188
41b424c555
Remove MiraiConsoleBuildConstants from git and generate it everytime on build
2022-01-10 23:27:23 +00:00
Him188
d904cd9992
Use dynamic delegation to replace manual delegates for MiraiConsoleImplementationBridge
2022-01-10 23:27:23 +00:00
Him188
0dcba7c30c
Change ConsoleDataScope from singleton to instances
2022-01-10 23:27:23 +00:00
Him188
ea0bf38203
Make PluginManager
not static object
2022-01-10 23:27:23 +00:00
Him188
662fbf8d1e
Deprecate experimental CoroutineScopeUtils
2022-01-10 23:27:23 +00:00
Him188
06d17274a2
Use kotlin-dynamic-delegation
2022-01-10 23:27:23 +00:00
Him188
693e6af79a
Inline all typeOf0
usages with stable stdlib API typeOf
2022-01-06 20:27:06 +00:00
Him188
dcacacefad
Make CommandParameter sealed
2022-01-06 20:27:06 +00:00
Him188
1ab48748ab
Fix project structure for Dokka
...
Co-authored-by: 微莹·纤绫 <karlatemp@vip.qq.com>
2022-01-06 20:26:52 +00:00
Him188
a482659d86
Configure binary-compatibility-validator for mirai-console
2022-01-06 20:26:52 +00:00
Karlatemp
6d16d77dad
Secrets Protection
2022-01-03 17:38:34 +00:00
Karlatemp
7099244414
Fix /login
without passwd
2021-12-23 18:29:08 +08: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
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
5232dc6953
Temporarily disable 'PluginMovingTests' since test framework fails
2021-12-06 14:58:50 +00:00
Him188
aa98a10d12
Migrate references in docs
2021-12-06 14:58:45 +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