Him188
089d0eed8c
Improve performance
2021-09-01 13:55:39 +08:00
Him188
09265190e9
Add UnconsumedNoticesAlerter
and cleanup
...
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-09-01 13:55:39 +08:00
Him188
56cbe2d8a2
Redesign notice handling and introduce NoticeProcessorPipeline
part 2
...
Do not broadcast StrangerAddedEvent if added twice, fix stranger scope not closed
Do not add new instance if there is already one
Close and remove corresponding stranger instance if there is new friend.
2021-09-01 13:55:39 +08:00
Him188
e1ffaa5410
Fix incorrect coroutine scope created for contacts in IMirai.newFriend
and IMirai.newStranger
2021-09-01 13:55:39 +08:00
Him188
dc54679acb
Redesign notice handling and introduce NoticeProcessorPipeline
2021-09-01 13:55:39 +08:00
Him188
497a458be4
Add TypeSafeMap
2021-09-01 13:55:39 +08:00
Him188
d7b493cd34
Use internal types in implementations of properties in Bot
2021-09-01 13:55:39 +08:00
Him188
975dd8e50b
Use NormalMemberImpl
for properties of GroupImpl
2021-09-01 13:55:39 +08:00
Him188
03a18724fe
Add out
variance to generic type of ContactList
2021-09-01 13:55:39 +08:00
Him188
dad2d965ab
Add contracts to cast
, safeCast
and castOrNull
; Add uncheckedCast
2021-09-01 13:55:39 +08:00
Him188
f90320bd2b
Snapshots publishing ( #1465 )
...
* Add snapshots publishing
* fix workflow
* fix
* fix
* fix
* fix
* fix
* fix
* fix
* Create tag on releasing snapshots
* fix
* fix
* fix
* Publish only when tagged `v*`
* MAMOE_TOKEN
* fix
* fix
* Close repository but not publish on release
* Ignore documentations for snapshots publishing
* Update docs for snapshots
* Remove unused newly added files
* Disable all shadow tasks on snapshots publishing
* Remove concurrency limitation for publish-mirai
* fix
* fix
* fix
* Remove publishMiraiCoreArtifactsToMavenLocal
2021-09-01 13:47:02 +08:00
Him188
c0d85f3e9d
Set version to 2.8.0-M1
2021-08-31 11:15:43 +08:00
Him188
8d1884c98a
Fix typo
2021-08-28 01:44:06 +08:00
Him188
8a86c3722f
Update Messages.md
2021-08-28 01:42:37 +08:00
Him188
57ac8780bd
Update docs on Voice and Audio in Messages.md
2021-08-27 20:47:42 +08:00
Him188
68a0c7c33b
Update ConfiguringProjects.md
...
隐藏 "开发"
2021-08-27 20:40:10 +08:00
Karlatemp
8ab6a489d0
Remove jcenter
2021-08-27 16:36:50 +08:00
Him188
9590abd702
Try to fix network when sending lots of packets
2021-08-27 15:40:53 +08:00
Karlatemp
66c209381d
Improve event log
2021-08-26 22:28:33 +08:00
Him188
7358d00bcf
Allow NetworkHandler.State.LOADING
in SelectorRecoveryTest
2021-08-26 08:01:35 +08:00
Him188
994893605d
Set version to 2.8-M1
2021-08-25 16:07:08 +08:00
Him188
2a33fed3a1
Update docs
2021-08-25 16:05:22 +08:00
Him188
b41ee54f6c
Release version 2.7.0
2021-08-25 16:04:09 +08:00
Him188
b2d6baff4a
Update docs for logging adapters
2021-08-25 15:08:18 +08:00
RainChan
06c1652d53
Bypass BC deprecation check on Android ( #1481 )
...
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-08-25 15:07:56 +08:00
Him188
cda50e73a4
Remove JCenter repository
2021-08-25 14:18:40 +08:00
Him188
c3258eaa3b
Update docs for NormalMember
2021-08-25 13:58:34 +08:00
Karlatemp
fe89533aed
Drop unnecessary anonGroupMsg
2021-08-24 21:34:37 +08:00
Karlatemp
beb83885c8
Simplify logic
2021-08-24 21:31:13 +08:00
Karlatemp
b3112dada3
Right exception when bot was muted
2021-08-23 10:59:23 +08:00
Karlatemp
fc8fd70014
Optimized IMirai.getUin()
2021-08-20 01:15:16 +08:00
Him188
98bca6ae44
Allow NetworkHandler.State.LOADING
in SelectorRecoveryTest
2021-08-17 20:24:06 +08:00
Him188
a34c11f239
Make classes sealed: MessageEvent
, UserMessageEvent
, GroupAwareMessageEvent
2021-08-13 16:21:46 +08:00
Him188
13484c7a7a
Remove redundant TODOs and unused classes
2021-08-13 16:21:46 +08:00
Karlatemp
8a607eddaf
Add RequestEventData
for saving request events ( #1309 )
...
* Add `RequestEventData` for saving request events
* typo
* Remove `data`; Add `@SerialName`
2021-08-12 14:18:25 +08:00
Him188
63e0c9837d
Release version 2.7-RC
2021-08-11 22:00:05 +08:00
Him188
0005c6ecf9
Update console ref
2021-08-11 15:25:46 +08:00
Him188
982f202f4e
Update docs for logging
2021-08-11 15:24:32 +08:00
Him188
5170f217ad
Add test for compatibility on legacy logging overrides
2021-08-11 15:24:32 +08:00
Him188
dcd8a1aee0
Fix static initialization of DefaultFactory
2021-08-11 15:24:32 +08:00
Him188
9189affdf9
Do not wrap original MiraiLogger
as MarkedMiraiLogger
if it is not the type
2021-08-11 15:24:32 +08:00
Him188
20a14fc716
Add adapter modules for logging libraries to connect with mirai logger
2021-08-11 15:24:32 +08:00
Him188
317b3cc0c7
Fix factory loader for MiraiLogger.Factory
2021-08-11 15:24:32 +08:00
Him188
45cc60c8e9
Fix loadService
with fallback implementation
2021-08-11 15:24:32 +08:00
Him188
5950e9e1e8
Improve logging: use Log4j internally and support markers
...
Migrate usages of `MiraiLogger.create` to new API
apiDump for new logging
2021-08-11 15:24:32 +08:00
Him188
2562099884
Ensure backward-compatibility for AudioExtraData
2021-08-08 15:44:53 +08:00
Him188
40bbab4b5e
Use mirai TestOnly
annotation in ServerListImpl.<init>
2021-08-08 15:09:21 +08:00
Him188
8d8aca3f1c
Introduce Audio
for new API, revert changes on Voice
2021-08-05 21:48:20 +08:00
Him188
cf1c5d4d81
Add utility loadService
2021-08-05 21:48:20 +08:00
Him188
f4adc1232f
Add ComputeOnNullMutableProperty
2021-08-05 21:48:20 +08:00