AlexeyZavar
7cc14bda52
chore: remove upload boost
...
Increasing chunks size, `kMaxUploadPerSession`, etc. don't change the speed, only if slows down.
Maybe changing `kAcceptAsFastIfTotalAtLeast` could give a boost. Didn't check.
In some circumstances, speed could be worse than on the AyuGram `v4.16` with boost, but it's rare.
But the upload speed is good, so upload boost removed.
2024-04-17 04:06:49 +03:00
John Preston
a9c1970f41
Send up to 1MB of parts to a single session.
2024-04-05 09:51:20 +04:00
John Preston
c3f0d2ef31
Adaptive upload up to 8 sessions.
2024-04-05 09:51:20 +04:00
John Preston
0dcc439dda
Allow upload requests for several files at once.
2024-04-05 09:51:20 +04: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
f65bc7c0bd
Suggest premium on transfer speed limiting.
2024-04-01 22:44:21 +04:00
23rd
a1369aaad0
Added references to structured bindings since Apple clang supports them.
2024-01-16 11:18:55 +04:00
John Preston
5c02a61de6
Fix killing of upload sessions for inactivity.
2023-02-02 22:12:32 +04:00
John Preston
a4e4681835
Add jump-to-topic panel in View as Messages.
2022-12-02 18:20:22 +04:00
23rd
4fabb3f2a2
Replaced some qsl with u""_q literal.
2022-11-30 17:17:14 +03:00
John Preston
57af221d39
Support General topic somehow.
2022-11-29 18:30:38 +04:00
23rd
2acedca6b7
Replaced some qstr with u""_q literal.
2022-11-29 14:12:50 +03:00
John Preston
9f652b0d3f
Unify message sending, track forum topic icons.
2022-11-01 19:25:34 +04:00
John Preston
03e60ed329
Fix uploading files > 500 Mb.
2022-06-18 00:00:56 +04:00
John Preston
6dedf7c63e
Update API scheme to layer 143.
2022-05-19 17:27:02 +04:00
John Preston
6a3ad52aef
Add upload cancel confirmation on Quit and Log Out.
2022-01-26 13:15:28 +03:00
John Preston
3b2f6b893d
Hide MTPInputFile in Api::RemoteFileInfo.
2021-11-18 11:04:06 +04:00
John Preston
b487644355
Fix incorrect bad file size logging.
2021-09-02 11:03:40 +03:00
Ilya Fedin
79cc797aff
Fix -Wunused-variable warnings
2021-07-13 21:43:34 +03:00
23rd
e05343d721
Added sending info of stickered photos.
2021-07-06 12:13:05 +03:00
23rd
bc316a2536
Removed Storage::UploadedThumbDocument struct.
2021-07-06 12:13:05 +03:00
23rd
09966fb291
Removed Q_OBJECT from Storage::Uploader.
2021-03-13 12:59:11 +03:00
23rd
d4bb62d055
Slightly refactored uploading of edit media.
2021-03-13 12:59:11 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
John Preston
8b96f4c214
Move Media::Clip::Reader and FileLocation to td_ui.
2020-10-30 18:32:18 +03:00
John Preston
e8df47c926
Show send action animations in Replies thread.
2020-09-29 19:03:30 +03:00
John Preston
437c9320cd
Implement progressive jpeg loading and sending.
2020-09-29 19:03:18 +03:00
23rd
6c89f60679
Added edit messages with uploaded file to api_editing.
2020-07-17 18:22:38 +03:00
John Preston
2f5cb33bf2
Fix finalizing media in non-active account.
2020-07-14 19:02:27 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
7f09da9e32
Use MTP::Sender in Intro.
2020-06-23 21:53:39 +04:00
John Preston
4b354b0928
Use Main::Session in download/upload.
2020-06-23 21:53:38 +04:00
John Preston
3797753d16
Support different location types for thumbnails.
2020-06-01 18:09:30 +04:00
John Preston
7db53599e8
Use Data::DocumentMedia to store good thumbnails.
2020-06-01 18:09:29 +04:00
John Preston
91f50e8bdc
Move some more code to lib_mtproto.
2019-12-02 16:11:22 +03:00
John Preston
9c86f0e0a5
Save themes, apply and close editor on save.
2019-09-06 19:31:07 +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
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00
John Preston
b2895a39ed
Register streaming loaders in Storage::Downloader.
2019-06-04 14:30:43 +03:00
23rd
25e3674819
Added allowsEditMedia() to Media. Slightly refactored.
2019-04-02 18:14:12 +04:00
23rd
c84f99cf3a
Fixed uploading edit media with thumbnails.
2019-04-02 18:14:12 +04:00
23rd
1ed83cf193
Fixed subscribeToUploader.
2019-04-02 18:14:12 +04:00
John Preston
648cd44ddd
Display correct video / music state.
2019-03-11 12:08:08 +04:00
John Preston
fe618bd652
Use crl::time/now instead of TimeMs/getms.
2019-02-19 11:06:33 +04:00