Commit Graph

7722 Commits

Author SHA1 Message Date
Karlatemp
884e7a3ee4
Nested modules in console integration test 2022-03-30 08:48:28 +08:00
Karlatemp
cf39a628a2
Drop emoji when rendering at; fix #1938 2022-03-27 21:49:04 +08:00
Karlatemp
7a2d2ef1f9 Add perm source 2022-03-25 11:42:56 +00:00
Karlatemp
7819feaca7 Improve /permissions permittedPermissions 2022-03-25 11:42:56 +00:00
Karlatemp
ffcc489455 Improve /permissions listPermissions 2022-03-25 11:42:56 +00:00
Karlatemp
30f1f98a83
Upload artifacts after workflow 2022-03-22 23:54:27 +08:00
Karlatemp
1688dc9453
Fix typo of ExternalResource 2022-03-22 22:57:30 +08:00
Him188
4c600f9ded Rearrange ExternalResource.toAutoCloseable and update docs for ExternalResource 2022-03-21 13:39:41 +00:00
Him188
57a4b80d55 Update docs for ExternalResource 2022-03-21 13:22:35 +00:00
Him188
91e3ebdd03 Update docs for Image, close #1940 2022-03-21 13:04:24 +00:00
Colerar
c76ec4209a Add docs for overriding jvmTarget. Fix #1798, close #1930 2022-03-16 16:16:11 +00:00
Him188
446cf84272 Extract LoginCommand implementation and fix tests 2022-03-16 16:04:10 +00:00
Him188
ab9c2ef2b2 Add Audio.lengthDuration 2022-03-16 15:34:12 +00:00
Him188
ceb192937f Automatically produce detailed logs when failed to decode JceStructs, if 'mirai.jce.deserializer.debug' is set to true, helps #1899 2022-03-16 15:34:12 +00:00
Him188
366ea34fde Improve LoginCommand logic, remove unsafe checks, and add tests 2022-03-16 15:27:11 +00:00
Him188
b1d66c0d20 Add ConsoleDataScopeImpl.set for test onlyˆ 2022-03-16 15:27:11 +00:00
Him188
603e29d739 Add Either.flatMapNull 2022-03-16 15:27:11 +00:00
Him188
351357a8e0 Add ExceptionCollector.compressExceptions 2022-03-16 15:27:10 +00:00
Karlatemp
d3c230ad12
Initialize jline first; #1936 2022-03-16 17:54:14 +08:00
Him188
80fa25c316 Add contract for MessageScope extensions 2022-03-13 11:25:03 +00:00
微莹·纤绫
2f0972296c
Update Permissions.md
[no ci]
2022-03-11 19:49:29 +08:00
Karlatemp
5e0a187bc0
Fix group of buildPlugin; fix #1921 2022-03-10 23:36:29 +08:00
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
Karlatemp
9bdbe30522
console-terminal option: --no-logging 2022-03-08 13:16:50 +08:00
Colerar
551f1de402
Fix typo (#1912)
[skip ci]
2022-03-07 22:56:41 +08:00
LaoLittle
827844c5d1
补充Nudge文档: 戳一戳上限 (#1908) 2022-03-05 02:27:00 +00:00
Him188
598eda015f
Fix typo, fix #1902 2022-03-04 12:04:12 +00:00
Him188
68711538c8 fuzzySearchMember: improve performance 2022-03-01 14:18:04 +00:00
melonedo
f7480fe38f
Add Julia interface MiraiBots.jl (#1904) 2022-02-27 15:14:27 +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
5df5ecc444
gradle plugin 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
微莹·纤绫
fa48507a78
Update issue report url 2022-02-19 21:22:03 +08:00
Him188
b4ca90be02
Update bug.yml 2022-02-19 13:21:47 +00:00