Commit Graph

7722 Commits

Author SHA1 Message Date
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
Him188
747bc05591 Update apiDump for previous commit 2d26f94769 (Move AbstractImage, FriendImage, GroupImage from mirai-core-api to mirai-core) 2022-01-14 19:34:04 +00:00
Him188
2d26f94769 Move AbstractImage, FriendImage, GroupImage from mirai-core-api to mirai-core, close #1670 2022-01-14 19:02:38 +00:00
Him188
978a877e56 Set version in dev branch to 2.11.0-RC 2022-01-14 18:57:02 +00:00
Him188
4a32f03797 Add logging for uninitialized botAsMember on creating new GroupImpl instance. helps #1776 2022-01-14 18:45:25 +00:00
Him188
7d3971259d
Review deprecation for 2.10. close #1742 (#1774) 2022-01-14 18:26:44 +00:00
Him188
12999356e2 Prohibit sending FileMessage manually, except those from FileMessage.upload. close #1715 2022-01-14 18:21:50 +00:00
Him188
cd020415d1 Update DebuggingNetwork.md with mirai.message.allow.sending.file.message 2022-01-14 18:10:34 +00:00
Him188
b52783d815 Fix BotOfflineEvent.Active not broadcast on bot.close, fix #1717 2022-01-14 17:57:22 +00:00
Him188
85b00f583b TestEventDispatcherImpl: ensure event is broadcast 2022-01-14 17:57:22 +00:00
Him188
920886434c Fix SafeStateObserver: add missing override beforeStateChanged 2022-01-14 17:57:22 +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
f60ad8f45e Update project copyright configuration
Relevant: #1791
2022-01-12 08:58:14 +00: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