Xwdit
30710e0b95
向开发文档的README中添加了新的社区SDK ( #1696 )
...
向开发文档的README中添加了新的社区SDK:
RainyBot - https://github.com/Xwdit/RainyBot-Core
2021-11-25 12:33:23 +00:00
Him188
7c550bff7d
Add Image.Factory
and Image.Builder
for constructing Image
inst… ( #1673 )
...
* Add `Image.Factory` and `Image.Builder` for constructing `Image` instances with specific properties. close #1672
* Remove redundant `create`s
* Add docs for `Image.Builder`
* Remove Image.Factory, use Image.Builder in all places.
* Fix cache & parameters
Co-authored-by: Karlatemp <karlatemp@vip.qq.com>
2021-11-20 23:36:14 +00:00
Karlatemp
3bd56bd480
Replace Bug Report
to GitHub issue forms [no ci]
2021-11-20 20:49:37 +08:00
Karlatemp
a35a19ffcc
Fix LightApp refining; fix #1660
2021-11-20 18:15:09 +08:00
Karlatemp
511d1fa4f8
Fix NetReplayHelper [no ci]
2021-11-20 17:40:58 +08:00
Karlatemp
3da565ab02
AbstractRealTimeActionTestUnit
2021-11-19 23:12:09 +08:00
Karlatemp
813d8485b6
Fix AbsoluteFileFolder resolving with absolute path
2021-11-19 15:06:41 +00:00
Him188
a97749e736
Update console ref
2021-11-18 00:17:08 +00:00
sandtechnology
4e3873c3d3
Fix #1674 , apply right nick and remark impl to contact design ( #1678 )
...
* Fix #1674 , apply right nick and remark impl for contact design
* Fix build, add missed member impl
* Fix wrong delegate in AbstractMember impl
Co-authored-by: sandtechnology <a1294790523@hotmail.com>
Co-authored-by: Him188 <him188@mamoe.net>
2021-11-16 14:54:39 +00:00
Karlatemp
736f52275f
Drop InternalFlag in MessageReceipt
2021-11-16 22:12:02 +08:00
Him188
bd041e43d1
Support Image.isUploaded
, ( #1671 )
...
* Support `Image.isUploaded`,
add member `Image.md5`,
add `Image.calculateImageMd5ByImageId`,
close #1401
* Update docs
2021-11-16 10:50:17 +00:00
Karlatemp
79d92a0114
Fix old RemoteFile uploading logic
2021-11-16 18:21:55 +08:00
Karlatemp
cf2b4a193c
Fix bytecode analyze
2021-11-16 18:13:22 +08:00
Karlatemp
42510d7c1c
Fix UserProfile.sign
, fix #1620
2021-11-16 12:32:55 +08:00
Karlatemp
2422aa34b5
Add image caches; Fix deserialized image not rendering in ForwardMessage
; fix #1507 , fix #1636
2021-11-16 12:32:28 +08:00
Karlatemp
b5d8c708bd
Redesign MultiMsg; Support nested ForwardMessage sending; close #1198
2021-11-16 12:32:28 +08:00
Karlatemp
b42a57736d
Fix ServiceMessage not refined in ANDROID_WATCH
; fix #1652
2021-11-16 12:29:11 +08:00
Karlatemp
456903628e
Make MessageChain truly read-only; fix #1676
2021-11-15 23:22:52 +08:00
Him188
a42a024b5a
Add castUp
2021-11-15 01:44:42 +00:00
Him188
919f48f359
Remove invalid jvmargs
2021-11-13 00:12:04 +00:00
Karlatemp
4db04e2a76
Fix group detection; fix #1661
2021-11-12 21:35:41 +08:00
Him188
92ab2bf50b
Add @since
to Image.width etc
2021-11-10 22:49:42 +00:00
Karlatemp
31399efe40
AbstractExternalResource ( #1637 )
...
* AbstractExternalResource
* typo
* make `ResourceCleanCallback` `fun interface`
* custom display name
* update logic
* Update docs
* Update ExternalResource.kt
2021-11-10 14:39:32 +00:00
Eritque arcus
12e3c4fa90
check permission before recall ( #1662 )
...
* recall check(owner sender)
* recall check
* test
* fix permission check and test
* update test
* add one more test
2021-11-10 14:39:18 +00:00
sandtechnology
57a20ea08c
Handle service unavailable case when sending message, thanks to EDG ( #1659 )
...
* Handle server busy case in sending message, thanks to EDG
* Rename to ServiceUnavailable and throw ServiceUnavailableException
* Rename to ServiceUnavailable
* Remove ServiceUnavailableException, replace with IllegalStateException
2021-11-09 22:54:19 +00:00
Him188
ef2d22c956
Ensure thread safe
2021-11-09 22:53:57 +00:00
Him188
4a488f3416
Add utils threadLocal
2021-11-09 22:53:57 +00:00
Him188
7da6a50284
Use system-default locale for logging
2021-11-09 22:53:57 +00:00
Him188
6b85dd536b
Update console ref
2021-11-09 22:47:24 +00:00
Him188
8d641c1d4c
Update Bots.md: add ref to DebuggingNetwork.md, fix #1504
2021-11-09 22:29:01 +00:00
Him188
b0c4821a20
Set version on main branch to 2.9.0-M1
2021-11-09 22:12:11 +00:00
Him188
cb4fb495a3
Rename ByteArray.encodeToString to .decodeToString
2021-11-09 22:12:11 +00:00
Karlatemp
e1ca6dd6c9
Avoid user injection
2021-11-09 18:20:56 +08:00
Karlatemp
fa364b4b45
Reject sending FileMessage
( #1657 )
...
* Reject sending `FileMessage`
* Update docs
* Update mirai-core-api/src/commonMain/kotlin/contact/file/AbsoluteFile.kt
Co-authored-by: Him188 <Him188@mamoe.net>
Co-authored-by: Him188 <Him188@mamoe.net>
2021-11-07 10:55:02 +00:00
Karlatemp
76d23c5b0c
NetReplayHelper
2021-11-07 12:33:02 +08:00
Karlatemp
0403de2b39
Improve error message of downloadLongMessage&ForwardMessage
2021-11-06 23:24:09 +08:00
Karlatemp
69931538f5
Fix QuoteReply
without msgHead, fix #1641
2021-11-06 23:20:48 +08:00
Karlatemp
c56708ca7f
Fix environment check
2021-11-06 23:11:26 +08:00
Him188
99f461ae00
Update docs for AudioSupported.uploadAudio: add ref to mirai-silk-converter
2021-11-06 15:00:51 +00:00
Him188
a9037298c1
Update console ref
2021-11-06 14:45:06 +00:00
Him188
e3dcaf6654
Remove use of deprecated MiraiLogger.TopLevel
2021-11-06 14:44:58 +00:00
Him188
bb9c9d7aa4
Remove use of deprecated RemoteFile
2021-11-06 14:36:35 +00:00
Karlatemp
8870558d4c
Fix message logging
2021-11-06 19:15:30 +08:00
Him188
3644ff0035
Use Audio than Voice
2021-11-06 10:28:46 +00:00
Him188
5c019607b6
Update README.md
2021-11-06 10:22:03 +00:00
RF-Tar-Railt
41e1c1970f
Add SDK Cesloi
2021-11-05 12:19:07 +00:00
Karlatemp
9b47b2877c
Try fix publishing
...
[no ci]
2021-11-02 23:10:32 +08:00
Him188
32f2f705a5
Set version on main branch to 2.8.0
2021-10-30 22:56:12 +01:00
Him188
b02dc431db
Update console ref
2021-10-30 22:49:19 +01:00
Him188
919498c215
Set version to 2.8.0-RC
2021-10-30 22:48:37 +01:00