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
f25c5f7bfe
Pass force_file to send video as file.
2026-02-13 11:56:46 +04:00
John Preston
e05bb75b8a
Allow sending videos with covers.
2025-02-12 17:24:24 +04:00
John Preston
f091f2b344
Fix album sending with video processing.
2024-11-01 17:52:05 +04:00
John Preston
552343fa37
PoC video messages sending.
2024-10-24 13:24:43 +04:00
John Preston
ac92e1c99e
Start paid reaction toast notification.
2024-08-14 18:17:49 +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
23rd
88b20f6700
Fixed indents in some files.
2023-12-16 20:25:01 +00:00
John Preston
bda3bae712
Always use crl::time for media durations.
2023-08-04 08:46:46 +02:00
John Preston
04e7ce4408
Update API scheme on layer 160: Replies.
2023-07-20 07:20:09 +04:00
John Preston
84288112fc
Allow sending photos larger 1280 (experimental).
...
Improves #6520 .
2023-01-02 14:26:41 +04:00
John Preston
5bee6310c0
Allow sending media with spoilers.
2022-12-26 14:24:05 +04:00
23rd
57c50c8655
Optimized includes of attach_prepare.h.
2022-11-22 00:26:48 +00:00
John Preston
89d0a71591
Update API scheme on layer 148: Drafts in topics.
2022-11-01 19:25:38 +04:00
John Preston
6dedf7c63e
Update API scheme to layer 143.
2022-05-19 17:27:02 +04:00
John Preston
6805259f74
Don't recompress some JPEGs when sending as photos.
...
If JPEG is saved in progressive mode and has bpp <= 4
and max(width, height) <= 1280 then we send original bytes.
2022-03-09 17:37:51 +04:00
John Preston
773755d70e
Send as a channel in HistoryWidget.
2021-11-26 18:00:18 +04:00
John Preston
53c15ed2ac
Make SendingAlbum::Item::Item non-inline.
2021-11-18 11:04:18 +04:00
23rd
159beb138a
Moved api peer photo processing to separated file.
...
Removed MainWidget::deletePhotoLayer.
2021-10-20 22:56:19 +03:00
John Preston
8069fdd873
Use base/random.h instead of openssl::RandomValue.
2021-09-15 13:42:22 +03:00
23rd
eadd7704ef
Removed Main::Session forward declaration from data_types.
2021-09-01 01:23:20 +03:00
23rd
e05343d721
Added sending info of stickered photos.
2021-07-06 12:13:05 +03:00
23rd
d4bb62d055
Slightly refactored uploading of edit media.
2021-03-13 12:59:11 +03:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
23rd
d4bbbdb65c
Replaced rand_value util function with openssl::RandomValue.
2021-01-24 10:41:10 +03:00
John Preston
202534575b
Allow many previews in SendFilesBox.
2020-10-30 18:32:19 +03:00
John Preston
8d2fa313b7
Add setting for grouping files.
2020-10-30 18:32:19 +03:00
John Preston
c2f0bcf933
Keep first game sticker frames inside the binary.
2020-10-30 18:32:19 +03:00
John Preston
b3b11bd9e7
Move PreparedFile/PreparedList to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
f0e1d2fd02
'base::optional_variant<' -> 'std::variant<v::null_t,'
2020-09-29 19:03:19 +03:00
John Preston
437c9320cd
Implement progressive jpeg loading and sending.
2020-09-29 19:03:18 +03:00
John Preston
2df5972f68
Raise file size limit to 2000 MB.
2020-07-08 10:07:01 +04:00
John Preston
f450f81215
Remove non-UI calls to App::main.
2020-06-23 21:53:40 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
c83e297554
Implement dice media display.
2020-03-27 20:36:02 +04:00
John Preston
51c1dc20e1
Unregister randomId if send message fails.
2019-09-09 11:13:41 +03:00
John Preston
229bc56cc8
Upload saved theme to the cloud.
2019-09-06 19:31:06 +03:00
John Preston
caef7dde24
Bundle silent and scheduled to Api::SendOptions.
2019-08-27 19:10:37 +03:00
23rd
37af963717
Fixed work with _msgIdToEdit in FileLoadTask.
...
- Added check is allowed media editing in paintEvent.
- Fixes #5885 .
2019-04-06 11:24:11 +04:00
23rd
5d8888bb8b
Refactored code.
...
- Refactored passing message id to edit media.
- Removed get/setEditMedia from mainwidget.
- Combined onEditMedia and onSendFileConfirm in single method.
- Added argument in FileLoadTask to pass message id to edit media.
- Renamed flags in apiwrap.
- Added check for allowing edit media when use clipboard.
- Removed unused fileIsValidForAlbum.
- Removed LOGs.
- Replaced _isNotAlbum with _isAlbum.
- Removed _viaRemoteContent.
- Removed _newMediaPath.
- Added empty() to MessageGroupId.
2019-04-02 18:14:12 +04:00
23rd
94964c35ce
Fixed false definition FileMediaInformation as Image.
2019-04-02 18:14:12 +04:00
23rd
1ed83cf193
Fixed subscribeToUploader.
2019-04-02 18:14:12 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00