mirai/mirai-core-mock/src
StageGuard 5b3e508b75
feature: add ShortVideo message support (#2739)
* initial support for ShortVideo message

* dump api

* [core] upload protocol

* [core] short video upload event

* [core] doc

* [core] protocol

* [core] fix mp4 file check

* [core] extract fileName from `OnlineShortVideo` to `ShortVideo`

* [core] ShortVideo.Builder

* [core] mirai code support for `ShortVideo`

* [core] add doc for OnlineShortVideo and OfflineShortVideo

* [core] fix text

* dump api

* update `Contact.uploadShortVideo`·` doc

* [core] remove mirai code support for ShortVideo

* [core] ensure Mirai service is loaded before load other services

* [core] introduce `CombinedExternalResource` to reference multiple external resources for combined calculation.

* [core] move refine context key defined in `OnlineShortVideoMsgInternal` to `RefineContext`

* [core] remove data class

* [core] broadcast `ShortVideoUploadEvent.Failed` event

* [core] warn when cannot determine fromId

* [core] add `contentToString` and `toString` for `OnlineShortVideoMsgInternal`

* [core] optimize imports

* [core] import

* [core] revert

* [core] doc

* [core] auto close resource

* dump api

* keep consistence of param name

* update doc

* move Builder to OfflineShortVideo

* optimize RefineContext

* RefineContext.merge

* dump api

* fix test

* show more video info

* optimize constructor and builder of offline short video

* optimize thumbnail

* move thumbnail to main constructor arg

* dump api

* avoid null cast exception.

* combine format transition

* cleanup
2023-08-20 18:41:05 +08:00
..
contact [mock] fix mockHonorMember (#2473) 2023-03-29 15:29:54 +01:00
database [core] Implement a more efficient algorithm to fetch roaming messages for group: 2023-01-05 02:33:27 +00:00
internal feature: add ShortVideo message support (#2739) 2023-08-20 18:41:05 +08:00
resserver [Mock] Support image isUploaded (#2582) 2023-03-25 14:46:58 +00:00
userprofile [core] add group level api (#2115) 2022-09-21 23:18:50 +08:00
utils Remove module-level opt-ins, add @OptIn explicit in use-sites; 2023-05-06 11:04:31 +01:00
MockActions.kt Remove module-level opt-ins, add @OptIn explicit in use-sites; 2023-05-06 11:04:31 +01:00
MockBot.kt [core/mock] Introduce AvatarGenerator 2022-11-22 13:02:28 +08:00
MockBotDSL.kt Mock Testing Framework (#1521) 2022-09-10 12:49:13 +08:00
MockBotFactory.kt [core/mock] Introduce AvatarGenerator 2022-11-22 13:02:28 +08:00
package.kt Mock Testing Framework (#1521) 2022-09-10 12:49:13 +08:00