Him188
400710d0cc
Update UserManual.md
2022-05-03 12:44:11 +01:00
Him188
4fa853065c
Add BotConfiguration.disableAccountSecretes
2022-05-02 14:01:53 +01:00
Karlatemp
115c987c2d
[skip ci] Fix documents building
2022-05-02 19:31:02 +08:00
Him188
a7633cc327
Set version to 2.12.0
2022-05-02 11:20:44 +01:00
Him188
3a4a8d01a3
Fix test can auto log
2022-05-02 11:20:23 +01:00
Him188
61d68c245d
Refine docs examples
2022-05-02 11:16:24 +01:00
Him188
8c9d2e4707
添加插件文档 "使用日志"
2022-05-02 11:14:23 +01:00
Him188
54eb4387e4
Make log4j.Logger.asMiraiLogger
and useLog4j2
stable
2022-05-02 11:13:55 +01:00
Him188
ce3cbbf771
Fix docs reference to mirai-console-intellij on JB plugins
2022-05-02 10:37:30 +01:00
Him188
2a417445a7
Invalidate account.secretes on failure to lo in
2022-05-02 10:15:02 +01:00
Him188
ed37609731
Fix TarsInput, fix #1998
2022-05-02 09:59:51 +01:00
Him188
7a6c7a89c0
Update docs for console plugin ( #1995 )
...
* Update docs for console plugin
* Update [skip ci]
* Update docs
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2022-05-01 18:03:10 +01:00
Him188
6b5f9e2eef
Change file suffix of new plugins to '.mirai2.jar'. Ignore '.mirai.jar' if its '.mirai2.jar' counterparts loaded. Close #1999
2022-05-01 17:59:05 +01:00
xtexChooser
cb08f4789c
buildscript: remove unused codes ( #2000 )
2022-04-30 14:03:39 +01:00
Karlatemp
c37576fda7
Log exception when failed to initialize java.desktop
for better user debugging; Use CLI if in headless mode
2022-04-30 12:49:28 +08:00
Him188
4993e59fd0
JavaPluginSchedulerImpl: run jobs with runInterruptible
2022-04-27 12:53:33 +01:00
Him188
3ccc07d5f4
Disable parallel compilation
2022-04-27 09:51:28 +01:00
Him188
00c74ec13f
Update dynamic-delegation to 0.3.0-162.4
2022-04-26 20:03:35 +01:00
Him188
67a9724143
Enable parallel compilation for all Kotlin modules
2022-04-26 11:20:22 +01:00
Him188
bb8cd86daa
Update dependencies:
...
Kotlin 1.6.21
Dokka 1.6.20
coroutines 1.6.1
atomifFU 0.17.2
serialization 1.3.2
ktor 1.6.7
blocking-bridge 2.0.0-162.1
dynamic-delegation 0.3.0-162.2
2022-04-26 11:12:35 +01:00
Him188
acb048c267
Add errorSince information for deprecation for BotConfiguration.json
2022-04-25 15:50:46 +01:00
Him188
d757764308
Remove MiraiImpl.INSTANCE
and move initialization process to MiraiImpl.<clinit>
. Close #1992
2022-04-25 15:49:43 +01:00
Him188
e2477645cd
Migrate references of JAutoSavePluginConfig in docs
2022-04-25 14:18:14 +01:00
Him188
3be16c4644
Code cleanup. Remove duplicated internal utilities.
2022-04-25 14:15:29 +01:00
Him188
e7dcf676fc
Handle leading length for ByteArray.loadAs, fix deserialization problem with RequestPush. Fix #1991 , #1899 .
2022-04-25 14:06:31 +01:00
Him188
2780fc4761
Fix build
2022-04-24 16:47:42 +01:00
Him188
854b55f216
Add plugin tests PluginResolveSelfDependenciesOverConsoleOnes, close #1981
2022-04-24 16:18:22 +01:00
Him188
556c805448
console IT: Do not delete entire test sandbox, keep libraries
2022-04-24 16:15:17 +01:00
Him188
97ce422b33
Update docs for console IT
2022-04-24 15:45:58 +01:00
Him188
112bf537cc
Try useExperimentalAnnotation
if optIn
not defined
2022-04-24 15:30:02 +01:00
Him188
7f85319a92
Deprecate BotConfiguration.json
2022-04-24 15:30:02 +01:00
Him188
a4562a7aef
buildPlugin: Change output directory back to build/mirai
2022-04-24 15:30:02 +01:00
Him188
0e72fe9757
Use optIn
, close #1986
2022-04-24 15:20:14 +01:00
Him188
ffbe540800
Fix AbstractPluginData.findBackingFieldValueNode
2022-04-24 15:05:53 +01:00
Him188
45defb32a2
Fix support for Any and support primitive and reference arrays, close #1801
2022-04-24 15:05:44 +01:00
Him188
1d60cf57b8
Add @since 2.11
for avatarUrl and AvatarSpec (for #1721 )
2022-04-24 12:50:33 +01:00
cssxsh
7a9769b618
Add getAvatarUrl(spec: Int) fix ( #1557 ) ( #1721 )
...
* Add getAvatarUrl(spec: Int) fix (#1557 )
* Add api dump
* Add AvatarSpec
* Add api dump
* fix: docs
* rename: getAvatarUrl
2022-04-24 12:48:18 +01:00
Him188
4efdc98cc4
Update docs for NetworHandle.close
.
2022-04-24 12:39:50 +01:00
Him188
a5b52a0b7b
Network: change state initialization and update sequence:
...
- Do nothing in init block
- Start state after notifying `beforeStateChanged`
- StateClosed: do close after being updated to public
close #1893
2022-04-24 12:35:34 +01:00
Him188
88e1146edc
Handle exceptions in heartbeat jobs properly, #1893
2022-04-24 12:14:20 +01:00
Him188
f5f7b3736c
Show bot id in coroutine name for heartbeat jobs
2022-04-24 11:47:06 +01:00
Him188
d4095fa5c6
Add JavaAutoSavePluginData and deprecate JAutoSavePluginData to fix saving issues. ( #1988 )
2022-04-24 10:37:42 +01:00
Him188
be832c7dbd
Support serializersModule
for PluginData
, close #1796 . Improve PluginData.value
type inference behavior: resolve exact returned type. ( #1987 )
...
Also support `MessageChain` and others from `MessageSerializers.serializersModule`, fix #1922 .
2022-04-24 10:37:10 +01:00
Him188
e6840de0e0
Update log4j to 2.17.2, close #1969
2022-04-23 22:46:48 +01:00
Karlatemp
35c08e8b16
Link mirai-core in console IT, fix non-hard-linked dependencies resolving
2022-04-23 17:15:20 +08:00
Karlatemp
e6e8f77f41
Skip if dependencies have no jars; fix #1975
2022-04-22 23:58:12 +08:00
Karlatemp
7f3b67ad9e
Fix gradle multi-projects packaging error; fix #1973
2022-04-22 23:46:54 +08:00
Him188
fbadf4a256
Fix documentation on PluginDependency.dependsOn and improve other relevant info. Fix #1869
2022-04-22 13:17:29 +01:00
Him188
d7f66e3ba5
Migrate use of deprecated LineMarkerInfo constructor
2022-04-20 17:56:12 +01:00
Him188
481973d5e6
New Project Wizard for IDEA 221 ( #1979 )
...
* NewProjectWizard
* dependencies and validations
* Implement checkers
* Implement project generator
* Add new template RunTerminal.run.xml for Run Configuration
* Set supported IDEA version to 221
* Fix localization
* Fix since-until
* Rearrange files
2022-04-20 17:03:10 +01:00