Him188
767475f9ab
Deprecate IMirai.calculateGroupUinByGroupCode
, and migrate usages to getUin
. Close #1479
2021-10-30 13:44:49 +01:00
Albert
790f37ce05
修复群联系人保存 ( #1633 )
2021-10-30 13:38:35 +01:00
Karlatemp
217907c58a
Support sending MusicShare
to friends. ( #1615 )
...
* Support sending `MusicShare` to friends.
- Also fix a potential data out-of-bounds issues
* `TypeSafeMap.get` with default values
* Fix tests
2021-10-28 13:44:18 +01:00
Karlatemp
e61fbbcc70
Fix getRawGroupHonorListData
, getRawGroupActiveData
( #1616 )
2021-10-28 13:44:00 +01:00
Karlatemp
527fe08446
Redesign MessageChain.cleanupRubbishMessageElements()
( #1607 )
...
* Redesign `MessageChain.cleanupRubbishMessageElements()`
* Fix logic
* `CleanupRubbishMessageElementsTest`
* Fix testing unit
* more testing
2021-10-28 13:43:41 +01:00
sandtechnology
3d502a496e
Handle other cases in jpeg header ( #1611 )
...
* Handle other cases in jpeg header
Co-authored-by: sandtechnology <a1294790523@hotmail.com>
* Add unit tests
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-10-28 13:43:31 +01:00
Karlatemp
d0171878ff
Fix GroupAllowConfessTalkEvent
; fix #1622
2021-10-26 22:53:51 +08:00
Karlatemp
ffbe50c1fb
Update UserManual.md
...
[no ci]
2021-10-20 23:22:46 +08:00
Karlatemp
ad1d75687a
Update .gitattributes
...
[no ci]
2021-10-17 18:14:32 +08:00
Karlatemp
938e7eae57
Fix ImageDecoder of JPEG format; fix #1610
2021-10-17 17:11:34 +08:00
BlueGlassBlock
ee78b5dbe5
Renamed GraiaProject/Argon to GraiaProject/Ariadne ( #1609 )
...
[no ci]
2021-10-17 10:52:43 +08:00
BlueGlassBlock
a988ab8611
add third-party SDK GraiaProject/Argon ( #1606 )
2021-10-16 14:06:32 +01:00
Karlatemp
ace32caa28
Fix cross images downloading url; fix #1600
2021-10-16 16:54:15 +08:00
Karlatemp
07d5a6ca7d
Chain calling of ExternalResource.toExternalResource()
; fix #1588
2021-10-09 21:49:49 +08:00
Karlatemp
b31f7b1ba7
AudioToSilkService ( #1591 )
...
* AudioToSilkService
* Update mirai-core-api/src/commonMain/kotlin/utils/ExternalResource.kt
Co-authored-by: Eritque arcus <1930893235@qq.com>
* `@since`; `@Experimental`
Co-authored-by: Eritque arcus <1930893235@qq.com>
2021-10-09 09:21:58 +01:00
AdoptOSS
8bd3d94537
Introduce mirai-bom
for dependency management ( #1417 )
...
* Introduce `mirai-bom` for dependency management
* Update docs on `mirai-bom`
* Remove unnecessary `mirai-bom:publish` in workflow
Co-authored-by: ArcticLampyrid <arcticlampyrid@outlook.com>
2021-10-09 09:18:58 +01:00
Karlatemp
b027c6c7b7
Allow load settings from file
2021-10-07 12:04:43 +08:00
Karlatemp
0b2a759028
Image.isEmoji()
(#1596 )
...
- Also remove image regex inlining
2021-10-05 22:01:14 +08:00
Eritque arcus
96c54220e3
misspelling ( #1594 )
...
[skip ci]
2021-10-03 19:33:43 +08:00
Karlatemp
3e19e4b22a
Improve error message of ImageDecoder
; #1593
2021-10-03 15:11:08 +08:00
Karlatemp
b1ad60fc11
Fix ForwardMessage
length check; fix #1590
2021-10-02 19:03:30 +08:00
Karlatemp
c1932559a7
ssoVersion
2021-10-02 18:25:11 +08:00
lliiooll
d3425a7566
Add mac and ipad protocol from miraiGo ( #1523 )
...
* add mac and ipad protocol
* Update BotConfiguration.kt
* Update MiraiProtocolInternal.kt
* api
* Update mirai-core-api/src/commonMain/kotlin/utils/BotConfiguration.kt
Co-authored-by: Him188 <Him188@mamoe.net>
2021-10-01 22:38:04 +01:00
Him188
ceeb4d7b5f
Make JavaFriendlyAPI
public
2021-10-01 16:15:22 +01:00
Him188
b0e25a5cb9
Fix FriendNickChangedEvent, fix #1536
2021-09-30 22:40:54 +01:00
Him188
6b63c323e5
Improve desensitizer: generate .serializer()
for .toByteArray
2021-09-30 22:40:54 +01:00
Him188
a2e602adfd
Update ConfiguringProjects.md
2021-09-28 02:00:14 +01:00
Karlatemp
5fe9ad0658
Refine MessageSource ( #1568 )
...
* Refine MessageSource
* comments
2021-09-27 16:27:22 +01:00
Him188
cb3d4362ba
Prefer using group code
2021-09-27 16:27:10 +01:00
nepsyn
8694c16f05
添加 js/ts sdk ( #1583 )
2021-09-27 16:26:11 +01:00
Him188
9756a8dfa8
Fix duplicated BotJoinGroupEvent
when BotInvitedJoinGroupRequestEvent
is accepted by bot. Fixes #1213
2021-09-27 16:09:49 +01:00
sandtechnology
7ac65df02d
Update struct data ( #1530 )
2021-09-27 15:39:24 +01:00
sandtechnology
00ecf86094
Clarify specialTitle docs and support to detect specialTitle changes ( #1531 )
2021-09-27 15:39:11 +01:00
sandtechnology
c09f8ab192
Support for switching anonymousChat settings ( #1522 )
...
* Support for switching anonymousChat settings
* apiDump
* Applied suggestion from him188
2021-09-27 15:39:01 +01:00
Him188
66766dd4da
Update ConfiguringProjects.md
2021-09-23 17:00:42 +01:00
Karlatemp
d8ac8e2034
Ensure all compilations completed before publish
2021-09-22 18:22:16 +08:00
Him188
4a439c79db
Update console ref
2021-09-21 21:42:38 +01:00
Him188
2d6a703bbe
Update ConfiguringProjects.md
2021-09-21 21:41:31 +01:00
wyapx
3c23f19c33
加个sdk ( #1569 )
2021-09-21 08:34:02 +01:00
Him188
ef301cc6e5
支持获取消息记录 (漫游消息) ( #1520 )
...
* Support roaming messages for friend
* Remove `RoamingMessage.getMessage`
* Remove `RoamingAuthenticator`
* Mark `@JavaFriendlyAPI`
* apiDump
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-09-18 19:37:13 +08:00
Karlatemp
3b7e85f3c5
Ensure all artifact published; fix #1552
2021-09-18 18:29:44 +08:00
Minecraftku_hei
b71118d8b7
修改错别字 ( #1561 )
...
[no ci]
2021-09-18 12:26:19 +08:00
sandtechnology
4ce57f52a8
Add height, width, size and imageType attribute to Image class ( #1548 )
...
* Add height, width, size and imageType attribute to Image class
Close #1543 #1204 #1032
* Let ImageType enum code before the `Internals`, Also add @JvmStatic and OrNull version for match method
* Use runBIO and throws annotation for getImageInfo
* Add .kt suffix for MPP imagesImpl
* Return empty imageInfo for unsupported images
* Fix wrong file name
* apiDump
* Renaming MPP file instead of adding JvmName annotation
* Optimize readability and only use BIO at call-site
* Fix bug for detecting image type
* Detecting javax module for java 9+
* Clean up
* Disable some image types which not supported
* Use cross platform code to read images, readd support for apng
* Fix bug in reading image
* apiDump
* Fix bug in image reading and write unite test
* Fix wording
* Remove webp support and throws IllegalArgumentException for unsupported format
* Remove WEBP enum type
* Add unit test for unsupported image and correct comments
* Fix buffer input stream error when reading images
* Applying suggestions and fix jpg reading
* Add complete SOF decoding for jpg and clean up
* Caching jpg sof byte ranges
* Save `values()` as IMAGE_TYPE_ENUM_LIST for preventing clone operation
* Remove duplicated it
2021-09-16 04:38:59 +08:00
Him188
75d0b66121
Disable EventLaunchUndispatchedTest
2021-09-12 22:52:27 +08:00
Him188
63fc45edd6
Try fix EventLaunchUndispatchedTest
2021-09-12 22:39:44 +08:00
Him188
062b8766a2
Raise deprecation levels:
...
- RichMessageOrigin
- SingleMessage.Serializer
- ForceOfflineException
- MessageSubscribersBuilder.sentByTemp
- subscribeTempMessages
- TempMessageSubscribersBuilder
- TempMessageEvent
- TempMessagePostSendEvent
- TempMessagePreSendEvent
close #1296
2021-09-12 20:57:04 +08:00
Him188
21513a92e4
Improve Bot.isOnline
: do not initialize network
2021-09-12 20:42:03 +08:00
sandtechnology
e3fd680a2c
Fix #1546 , revert wrong changes and request system messages ( #1549 )
...
* Fix #1546 , revert wrong changes and request system messages when getting stranger
* Use faster long array
Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Him188 <Him188@mamoe.net>
2021-09-12 16:51:17 +08:00
Karlatemp
d1b5c94231
Fix OnlineAudio.urlForDownload
not exists when using pad with private chatting ( #1551 )
2021-09-12 13:17:48 +08:00
Him188
1f04ec83df
Remove MavenCentral badge
2021-09-12 13:02:55 +08:00