23rd
efa4deef6a
Moved media editing via FileDialog to separate static method.
2020-01-23 10:09:33 +03:00
John Preston
960f50824d
Fix one more crash in CDN file download.
...
The sessionTimedOut could remove a session right between a request
for a file part and a request for additional cdn file hashes.
In this case requestData.sessionIndex was not updated and this
was leading to an assertion violation in changeRequestedAmount.
2020-01-22 16:13:50 +03:00
John Preston
2d7f6fc2e7
Removed old lib_storage sources.
2020-01-21 18:47:57 +03:00
John Preston
98bc7ce49b
Revert "Pass cdn_supported flag to upload.getFile."
...
This reverts commit 7751f383ca
.
2020-01-20 13:39:18 +03:00
John Preston
12873f8be0
Fix crash in CDN file download.
2020-01-20 13:04:12 +03:00
John Preston
7751f383ca
Pass cdn_supported flag to upload.getFile.
2020-01-20 13:01:38 +03:00
John Preston
d24735b217
Fix possible crash in CDN file loading.
2020-01-17 17:45:43 +03:00
John Preston
616957e46f
Add file size limit to autoplay settings.
2019-12-24 13:09:04 +03:00
John Preston
fa4d8f2fbd
Support priorities in download tasks.
2019-12-23 12:37:03 +03:00
John Preston
8ae6156477
Fix video quality when opening from chat.
2019-12-23 11:10:11 +03:00
John Preston
ae8fb14f9e
Use 8 seconds timeout for request duration.
2019-12-06 10:05:38 +03:00
John Preston
7fb24d77c0
Check request duration when adding sessions.
2019-12-05 16:38:28 +03:00
John Preston
e426f2895b
Add download sessions if it works fast enough.
2019-12-05 14:46:28 +03:00
John Preston
ee94e78533
All mtproto downloads using DownloadMtprotoTask.
2019-12-05 11:32:33 +03:00
John Preston
4611727ab9
Rewrite webFileLoader without Storage::DownloadManager.
2019-12-04 15:15:58 +03:00
John Preston
f522cc9444
Load streaming parts using Storage::DownloadManager.
2019-12-04 10:42:55 +03:00
John Preston
3ae2986c25
Allow variable count of download sessions.
2019-12-04 09:51:21 +03:00
John Preston
fb86bb579b
Correctly track DC index in Downloader-s.
2019-12-03 15:45:35 +03:00
John Preston
12f5ccaaa5
Use vector queues in mtproto file downloader.
2019-12-03 10:25:27 +03:00
John Preston
91f50e8bdc
Move some more code to lib_mtproto.
2019-12-02 16:11:22 +03:00
John Preston
d5718f96b8
First working auth by QR code.
2019-11-29 15:36:04 +03:00
John Preston
cfe12f773f
Move some modules to lib_mtproto.
2019-11-18 12:28:14 +03:00
John Preston
08bfe6f1c1
Extract mtproto key generation code.
2019-11-15 16:16:32 +03:00
John Preston
2577bedeac
Remove mtproto/facade.h from main pch.
2019-11-13 11:31:12 +03:00
John Preston
09a7daf164
Update submodules.
2019-10-19 12:27:56 +04:00
John Preston
a6c84c36c0
Use layers and boxes from lib_ui.
2019-10-19 12:27:52 +04:00
John Preston
246c45ce0e
Use lib_ui from submodule.
2019-10-19 12:27:28 +04:00
John Preston
849deb57e2
Move many widget classes to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
c5845f17ae
Remove twidget header.
2019-10-01 23:59:46 +03:00
John Preston
e2f54eb3e9
Move some style code to lib_ui.
2019-10-01 23:59:46 +03:00
John Preston
0c713a930a
Remove app.h / facades.h from precompiled header.
2019-10-01 23:59:46 +03:00
John Preston
ee5423762a
Generate previews for cloud theme links.
2019-09-09 14:56:05 +03:00
John Preston
51c1dc20e1
Unregister randomId if send message fails.
2019-09-09 11:13:41 +03:00
John Preston
9c86f0e0a5
Save themes, apply and close editor on save.
2019-09-06 19:31:07 +03:00
John Preston
910f16312c
Show not supported themes placeholders.
2019-09-06 19:31:07 +03:00
John Preston
79106e0c01
Correctly show custom themes in list.
2019-09-06 19:31:07 +03:00
John Preston
7485f0c960
Don't change real theme when editing.
2019-09-06 19:31:07 +03:00
John Preston
03bdd80b2f
Open theme editor for existing themes.
2019-09-06 19:31:07 +03:00
John Preston
6343221d7b
Remove many includes from stdafx.pch.
2019-09-06 19:31:07 +03:00
John Preston
4929de2bfb
Apply cloud themes.
2019-09-06 19:31:06 +03:00
John Preston
229bc56cc8
Upload saved theme to the cloud.
2019-09-06 19:31:06 +03:00
John Preston
a3e993253c
Keep colorized theme in editor.
2019-08-29 10:01:28 +03:00
John Preston
c2117e7722
Save embedded themes accent colors.
2019-08-27 19:10:37 +03:00
John Preston
caef7dde24
Bundle silent and scheduled to Api::SendOptions.
2019-08-27 19:10:37 +03:00
John Preston
694f771131
Allow to send scheduled messages instantly.
2019-08-27 19:10:37 +03:00
John Preston
63203ecc00
Fix int32 overflow in local storage stats.
2019-08-09 11:51:35 +01:00
John Preston
93a52bb66e
Move some settings from global to Session.
2019-08-09 11:50:49 +01:00
John Preston
708b1d7ad4
Add 'Loop animated stickers' setting.
2019-08-09 11:50:49 +01:00
John Preston
abf49e1672
Update API scheme.
2019-08-09 11:50:49 +01:00
John Preston
ff44094ded
Rename AuthSession to Main::Session.
2019-07-24 13:45:24 +02:00