Commit Graph

7680 Commits

Author SHA1 Message Date
Him188
1cd354a7e3 Add @ResolveContext for usages of abstract message keys, implement relevant inspections, close #1363 2021-12-27 13:07:17 +00:00
Him188
63957b183b Make mirai-console-compiler-annotations multiplatform 2021-12-27 13:07:17 +00:00
Him188
8a2b75ae29 Add configurations for 'Run IDE' and 'Publish local artifacts' 2021-12-27 13:07:17 +00:00
Him188
15a756346b build: Fetch version first from system env "mirai.build.project.version" 2021-12-27 13:07:17 +00:00
Karlatemp
7099244414
Fix /login without passwd 2021-12-23 18:29:08 +08:00
Him188
7a32afc14c Fix build failure caused by different compiler API versions 2021-12-23 01:37:11 +00:00
Him188
ecc4425463 Move KClass.createInstance to mirai-core-utils and optimize TestPointPluginImpl.<init> 2021-12-23 01:37:11 +00:00
Him188
55fe85473a Remove unused variables 2021-12-23 01:37:11 +00:00
Him188
f8bd475740 Use Gradle 7.3.1 2021-12-23 01:37:11 +00:00
Him188
ddb74b9292 Set version to 2.10.0-RC 2021-12-23 01:37:11 +00:00
Him188
c0e885bc24 Set systemProp.use.maven.local to false 2021-12-23 01:37:11 +00:00
Him188
6103628801 Remove __broadcastJava 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
Him188
3e28cb57b6 Fix deprecation in buildscripts 2021-12-23 01:37:11 +00:00
Him188
d8e0136b8b Update CONTRIBUTING.md: add more details on building project 2021-12-23 01:37:11 +00:00
Him188
75dc7ad5d6 Use JDK 17 on actions 2021-12-23 01:37:11 +00:00
Him188
9d3c7315cb Remove @ExperimentalTime on BotConfiguration 2021-12-23 01:37:11 +00:00
Him188
46865721b0 Use new Duration methods 2021-12-23 01:37:11 +00:00
Him188
0f1227d401 Use Mutex than @Synchronized 2021-12-23 01:37:11 +00:00
Him188
df92607841 Use Mutex than @Synchronized 2021-12-23 01:37:11 +00:00
Him188
5368e6b809 Upgrade buildscript for Kotlin 1.6.0, use Gradle 7.2 2021-12-23 01:37:11 +00:00
Him188
26c099798b
Deprecate experimental EventChannel.asChannel and add EventChannel.forwardToChannel (#1753)
* Deprecate experimental `EventChannel.asChannel` and add `EventChannel.forwardToChannel`

* Remove redundant opt-ins
2021-12-22 19:02:11 +00:00
Karlatemp
45e3f58017
Don't apply shadowJar directly
For fix project dependencies
2021-12-22 23:18:56 +08:00
StarWishsama
53883e885c
修复设置 redirectNetworkLogToDirectory 后日志 identity 为 Bot 的问题 fix #1743 (#1751) 2021-12-21 22:57:46 +00:00
Him188
10af69f05e Filter out duplicated GroupTalkativeChangeEvent and relevant events with same subject. Fix #1707 2021-12-21 22:55:54 +00:00
Him188
aa53d92fbe Fix Desensitizer for NestedStructure 2021-12-21 22:22:15 +00:00
Him188
83d7c0d3d1 Add test for MemberJoinEvent.Active when request was accepted by bot 2021-12-21 22:21:41 +00:00
Him188
282f0b212c Ignore local test files 2021-12-21 19:19:17 +00:00
Him188
eb0bf21505 Fix FriendMessageSyncEvent, fix #1624 2021-12-21 19:18:57 +00:00
Him188
bd65ac9c24 Disable tests on Windows and Ubuntu 2021-12-21 18:59:29 +00:00
Him188
3a2663104b Rewrite and generalize ConstructorCallCodegen for multipurpose usage. 2021-12-21 18:46:25 +00:00
Him188
bf98ab7858 Move _contentToString outside mirai-core main sourceSets, and rename it to structureToString 2021-12-21 18:46:25 +00:00
Him188
575225874c Explicitly add dependency on kotlinx-coroutines-core-jvm to help IDE analysis 2021-12-21 18:09:12 +00:00
Him188
68ec6d52e7 Fix FriendMessageSyncEvent, fix #1624 2021-12-21 03:32:27 +00:00
Him188
0711b5ae2e Add TypeSafeMap.toMutableTypeSafeMap 2021-12-21 03:32:27 +00:00
Him188
e202149c3a Improve AbstractNoticeProcessorTest 2021-12-21 03:32:27 +00:00
Him188
1f03374eb4 Disable gradle daemon in tests 2021-12-21 03:14:09 +00:00
Him188
37a54bd533 Set JVM Xmx for Gradle tests 2021-12-21 03:14:09 +00:00
Him188
dd25b402e6 Fix actions 2021-12-18 18:06:35 +00:00
Him188
44b5f70bde Set version to 2.9.0 2021-12-18 17:31:03 +00:00
Him188
7fa6b4e1d7 Configure build for platforms: Windows, macOS 11, Ubuntu 2021-12-18 17:29:37 +00:00
Karlatemp
6b16fd2580
2.9.0-RC2 2021-12-19 01:15:35 +08: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
Karlatemp
6f55816b08
Use JDK 11 for CI 2021-12-18 17:12:50 +08:00