165 Commits

Author SHA1 Message Date
23rd
3535fafe1a Replaced qMin, qMax and qAbs with std::min, std::max and std::abs. 2026-09-14 18:03:15 +03:00
23rd
ee9d8de349 [img-editor] Added video file item with animated overlay export. 2026-09-09 13:03:32 +04:00
23rd
e7c6480396 [img-editor] Fixed exported animation sending as video or forbidden gif.
Related commit: 97e6ed84a1.
2026-09-09 13:03:32 +04:00
23rd
46c346bc9c Added archive writing to uploader with preparing progress in bubble. 2026-09-03 22:02:07 +03:00
23rd
3fe5164978 Added mp4 conversion for quicktime videos sent as GIFs.
Related commit: fe7e967258.
2026-08-27 09:52:18 +04:00
23rd
fe7e967258 [vid-editor] Added GIF toggle. 2026-08-17 08:33:45 +03:00
23rd
03623f080b Added cover frame timestamp to sent videos. 2026-08-17 08:33:45 +03:00
23rd
fab70dede1 [vid-editor] Replaced video compression option with editor. 2026-08-17 08:33:45 +03:00
23rd
660a37a577 Added disk streaming for video transcode input and output. 2026-08-17 08:33:44 +03:00
23rd
48a7ba18e5 Added sticker set attribution to sends of animated edits. 2026-08-17 08:33:44 +03:00
23rd
97e6ed84a1 Added sending of silent looping video for animated edited photos. 2026-08-17 08:33:44 +03:00
23rd
e704a6c4c4 Added extraction of animated scene into encode job at send time. 2026-08-17 08:33:44 +03:00
23rd
8996112947 Added quality reduction option for videos to send files box. 2026-08-17 08:33:44 +03:00
John Preston
9a26118ae1 Clean up merged music attach code
Fold the three AllowsMediaDownloadControls copies into
HistoryItem::allowsMediaDownloadControls, share one retry-or-fail
handler in SendMusicSelectionBatch, reuse MakeMusicSelectionItems
instead of the NormalizeSelections near-copy and extract the
duplicated bot resolution block into applyResolvedBot.

Remove the dead accumulate-from-top machinery from both music
providers and the list widget, the subscriber-less slice snapshot
stream, the never-started search section request timer and the
unused Result::isAudioResult.

Consolidate the sixteen MusicAttachBox make_state allocations into
one State struct, fix the include order, use base::take for the
request waiters, replace the removeFromAlbum if-with-initializer
with a plain null-checked session and type kSearchRequestDelay as
crl::time.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-15 08:45:58 +04:00
John Preston
ec689724ae Initial ability to send audio in attaches. 2026-08-14 16:23:44 +04:00
John Preston
87ebd2720f Send high quality as first-class option. 2026-03-25 13:08:50 +07:00
23rd
7ffebafb60 Added ability rename files from send files box. 2026-02-19 12:02:11 +03:00
23rd
dff3698432 Replaced FileLoadTask constructor parameters with structs. 2026-02-19 11:00:02 +03:00
John Preston
6619cccd3e Allow sending videos as files. 2026-02-13 11:56:46 +04:00
John Preston
f25c5f7bfe Pass force_file to send video as file. 2026-02-13 11:56:46 +04:00
23rd
adc1ee71a9 Slightly improved box to edit caption of grouped file. 2025-06-03 17:55:18 +03:00
John Preston
e05bb75b8a Allow sending videos with covers. 2025-02-12 17:24:24 +04:00
John Preston
c010ecfe38 Allow sending one-time round videos. 2024-10-24 13:26:45 +04:00
John Preston
552343fa37 PoC video messages sending. 2024-10-24 13:24:43 +04:00
John Preston
a2fad84dae Update API scheme to layer 188. 2024-09-19 12:47:54 +04:00
John Preston
ac92e1c99e Start paid reaction toast notification. 2024-08-14 18:17:49 +02:00
John Preston
5c797d1f31 Update API scheme to layer 185. 2024-07-31 17:03:53 +02:00
John Preston
5b0cac47ad Reapply "Use plain vector for prepared upload parts."
This reverts commit f6f8eefaa0.
2024-04-05 09:51:20 +04:00
John Preston
b39e78a4a9 Reapply "Remove SendMediaReady legacy helper."
This reverts commit 09f07a7a9d.
2024-04-05 09:51:20 +04:00
John Preston
09f07a7a9d Revert "Remove SendMediaReady legacy helper."
This reverts commit 91f8989f70.
2024-04-04 18:36:07 +04:00
John Preston
f6f8eefaa0 Revert "Use plain vector for prepared upload parts."
This reverts commit aaaeea2979.
2024-04-04 18:36:00 +04:00
John Preston
aaaeea2979 Use plain vector for prepared upload parts. 2024-04-03 12:39:08 +04:00
John Preston
91f8989f70 Remove SendMediaReady legacy helper. 2024-04-03 11:59:33 +04:00
John Preston
8545a14763 Fix shortcut messages sizing / emoji panel. 2024-03-08 10:53:59 +04:00
John Preston
6e08b00dba Fix sending .tgs files as stickers.
Regression was introduced in 3467fe226f.
2024-03-08 10:53:59 +04:00
23rd
12272a450f Slightly optimized include directives in some headers. 2023-11-15 04:20:20 +03:00
John Preston
bda3bae712 Always use crl::time for media durations. 2023-08-04 08:46:46 +02:00
John Preston
aba84a6010 Update API scheme on layer 160: Duration. 2023-07-20 07:20:10 +04:00
John Preston
04e7ce4408 Update API scheme on layer 160: Replies. 2023-07-20 07:20:09 +04:00
John Preston
2c5d990e1c Implement full theming of attachments in stories. 2023-07-20 07:20:08 +04:00
John Preston
429a3da3e5 Update API scheme to layer 160. 2023-07-20 07:20:07 +04:00
John Preston
9c7fee0bfe Add .m4v as a video file format. 2023-04-23 20:32:00 +04:00
Ilya Fedin
c65b45460b Fix range-v3 deprecation warnings 2023-02-14 18:37:01 +04:00
Ilya Fedin
ce37c6ef08 Implement lossless jpeg progression 2023-01-09 15:00:11 +04:00
John Preston
84288112fc Allow sending photos larger 1280 (experimental).
Improves #6520.
2023-01-02 14:26:41 +04:00
Ilya Fedin
2cbd2725e5 Remove force-disabling of Qt's color space support for sent images
Qt had a bug with interpreting PNG gamma, but it seems it's fixed now.
2022-12-27 11:52:27 +04:00
John Preston
5bee6310c0 Allow sending media with spoilers. 2022-12-26 14:24:05 +04:00
23rd
4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
23rd
2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
23rd
3467fe226f Added ability to send webp as compressed image. 2022-11-22 00:26:49 +00:00