Commit Graph

7845 Commits

Author SHA1 Message Date
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
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
Karlatemp
7252879f46
Improve performance 2022-02-16 23:15:27 +08:00
Him188
5f7b7896d0 Set version in dev to 2.11.0 2022-02-16 07:46:16 +00:00
Him188
66bca56e39 Add more detail docs for RoamingMessages 2022-02-12 13:53:23 +00:00
Him188
92cd9e1712 Update copyright on OutgoingPacket.kt 2022-02-12 13:27:08 +00:00
Him188
1cc299431d Rename OutgoingPacketAndroid.kt in commonMain to OutgoingPacket.kt to eliminate ambiguity 2022-02-12 13:03:18 +00:00
cssxsh
cadb529588
为生成的 IMEI 增加校验位 (#1855)
* feat: luhn

* fix: China Country Code 86

* fix: China Country Code 86

* fix: China Country Code 86
2022-02-12 12:47:19 +00:00
cssxsh
d2505a397d
fix: PluginDescription.checkSatisfies (#1859) 2022-02-12 12:47:09 +00:00
Him188
963d5f68b9 Support Kotlin 1.6.20-M1 for mirai-console-intellij 2022-02-12 12:45:38 +00:00
AdoptOSS
4586203c80 improve(logger/log4j): use reusable message for better performance 2022-02-12 12:36:41 +00:00
Karlatemp
1d2c219b9d
Fix MessagePreSendEvent name; fix #1851 2022-02-09 22:21:09 +08:00
Him188
4795839bfa build: Remove unused experimentalAnnotations 2022-02-07 16:23:50 +00:00
Him188
95a82c4949 Use new versioning strategy for idea plugin 2022-02-07 16:23:34 +00:00
Him188
1d97a20b78 idea: Correctly sort versions, fix compatibility issues with some intellij versions. 2022-02-07 16:20:55 +00:00
lz1998
e856a017a1 typo 2022-02-07 11:53:59 +00:00
Him188
1012c6fbf6 Add createAutoCloseable back, close #1856 (caused by #1742 (PR #1774)) 2022-01-31 15:15:14 +00:00
Tarrailt
d02348ed36 Update README.md
Change Cesloi to Edoves
2022-01-29 09:46:29 +00:00
Him188
bd71c486bd Fix botAsMemberInitialized, fix #1848 2022-01-22 15:04:00 +00:00
Him188
52e8ecd29e
Update README.md 2022-01-21 00:28:43 +00:00
Him188
f390ff6ef9
Create README.md 2022-01-21 00:25:54 +00:00
Him188
4a89da55fb Enable mirai-console-gradle publishing only when MIRAI_IS_SNAPSHOTS_PUBLISHING 2022-01-21 00:19:39 +00:00
Him188
701039ee48
弃用无 receiver 的事件扩展函数, 增加其 EventChannel receiver 版本替换 (#1754)
* Deprecate no-receiver functions `nextEvent*`, `syncFromEvent*`, `asyncFromEvent*`. Add their `EventChannel`-receiver counterparts. #1827

* Fix migration

* Migrate `nextMessage` to new API
2022-01-20 10:15:10 +00:00
Karlatemp
6f24035154
Update mirai-console.integration-test 2022-01-15 19:17:04 +08:00