GitHub Action
2fdcda7536
Update User-Agent for DNS to Chrome 91.0.4472.114.
2021-07-01 10:48:17 +03:00
John Preston
a2c33545d4
Improve some paddings.
2021-06-24 17:44:28 +04:00
John Preston
5eba65aaa0
Remove unused legacy protocol code.
2021-06-24 09:55:57 +04:00
23rd
6d08542afa
Moved proxy global variables from facades to core settings.
2021-06-16 09:31:32 +03:00
John Preston
8dac6896d6
Set Send/Receive buffer size for download TCP sockets.
2021-06-15 16:45:48 +04:00
John Preston
425a632965
Accept DD / EE as proxy type tag.
...
Fixes #16218 .
2021-06-11 14:20:00 +04:00
John Preston
9a9430b5e1
Move some logging to DEBUG_LOG instead of LOG.
2021-05-28 15:21:15 +04:00
Ilya Fedin
f7489592d6
Fix BIO_new_mem_buf leaks
2021-05-17 09:53:02 +03:00
John Preston
0cb32181c5
Handle small SLOWMODE_WAIT as FLOOD_WAIT.
2021-05-10 16:44:28 +04:00
GitHub Action
5d0222b1c1
Update User-Agent for DNS to Chrome 90.0.4430.85.
2021-05-02 10:45:06 +03:00
John Preston
2843500ce3
Add url with the Focus Assist API information.
...
Thanks https://www.withinrafael.com/2019/09/19/
determine-if-your-app-is-in-a-focus-assist-profiles-priority-list/
2021-04-26 10:51:10 +04:00
Loïc Molinari
06618a5253
Use fine grained session timers
...
The check of sent requests and containers is done unconditionally
every second even though the request timeout is 10 seconds and the
container timeout is 600 seconds. This commit uses fine grained timers
instead in order to avoid useless system wake-up events.
The check of sent requests is now scheduled on demand when a new
request is queued. Then the callback, while parsing queued requests,
computes the delta to the closest expiring request and automatically
schedules the next check if necessary.
Given the high value of the container timeout, its callback is called
repeatedly every 600 seconds, unless it computes a lower delta for an
expiring container using the same logic as for the requests.
2021-04-15 16:20:42 +03:00
Loïc Molinari
46ee5598f5
Remove dangling timer in MTP Session
...
Commit bdc7f4114f
got rid of
_timeouter's callback without removing the timer that still fires
every second.
2021-04-12 12:03:15 +03:00
John Preston
a100048cce
Fix build on macOS and Linux.
2021-04-12 10:48:17 +04:00
John Preston
663db64688
Allow saving and using saved credentials.
2021-04-06 18:41:16 +04:00
Ilya Fedin
3343880ed0
Watch for network availability changes
2021-04-06 16:40:29 +03:00
GitHub Action
a814c3f428
Update User-Agent for DNS to Chrome 89.0.4389.90.
2021-04-02 20:49:20 +03:00
John Preston
4fc2b1f1a3
Append x64 to app_version on Windows.
2021-03-15 20:14:39 +04:00
Ilya Fedin
ae0b9141dd
Trying to get rid of unused variables...
2021-03-15 11:40:44 +03:00
Ilya Fedin
c0c10689a1
Get rid of deprecated ranges::view usage
2021-03-13 19:14:58 +03:00
Ilya Fedin
c4dcf064d5
Avoid multiple .arg usage as suggested by clazy
2021-03-13 19:08:33 +03:00
Ilya Fedin
f25b2a2094
Apply autofixes from clazy
2021-03-13 15:25:47 +03:00
John Preston
68b0a85369
Rename RPCError to MTP::Error.
2021-03-12 16:58:26 +04:00
John Preston
267e5fd9e0
Allow getting outer_msg_id in MTProto handlers.
2021-03-12 16:58:26 +04:00
John Preston
f66d7088ef
Support broadcast mode in voice chats.
2021-03-12 16:58:26 +04:00
Ilya Fedin
23272430b4
Build with QT_NO_KEYWORDS
2021-03-04 12:07:54 +04:00
GitHub Action
54685155b0
Update User-Agent for DNS to Chrome 88.0.4324.182.
2021-03-03 20:19:57 +04:00
GitHub Action
d202a0cd06
Update User-Agent for DNS to Chrome 88.0.4324.96.
2021-02-01 11:29:58 +04:00
23rd
d4bbbdb65c
Replaced rand_value util function with openssl::RandomValue.
2021-01-24 10:41:10 +03:00
23rd
dd01ece14a
Replaced snap util function with std::clamp.
2021-01-24 10:41:10 +03:00
GitHub Action
8ce0bd5575
Update User-Agent for DNS to Chrome 87.0.4280.88.
2021-01-04 11:24:11 +04:00
GitHub Action
61b7b5d03b
Update User-Agent for DNS to Chrome 86.0.4240.198.
2020-12-08 21:17:22 +03:00
John Preston
74d2313784
Build Linux version with Qt 5.15.1 in CentOS 7 docker.
2020-11-06 11:21:34 +03:00
Crist Ye
60f91ebce4
Using MS/Apple official names for stores ( #8959 )
2020-11-02 11:14:57 +04:00
Ilya Fedin
12a77cffd8
Add flatpak and snap update URLs
2020-11-01 18:30:12 +03:00
GitHub Action
b7d7ba82f8
Update User-Agent for DNS to Chrome 86.0.4240.111.
2020-11-01 18:28:05 +03:00
John Preston
303684fef5
Version 2.4.5: Fix build on Xcode 12 and Linux.
2020-10-30 21:30:55 +03:00
GitHub Action
fbacb6c0a4
Update User-Agent for DNS to Chrome 86.0.4240.75.
2020-10-27 20:46:52 +03:00
John Preston
8634c1f7f3
Move lang keys to td_lang library.
2020-09-30 12:18:52 +03:00
John Preston
def1266216
Rename td-specific libs from lib_ to td_.
2020-09-30 10:51:17 +03:00
John Preston
734d834a20
Replace mapbox variant with std::variant.
2020-09-29 19:03:19 +03:00
Vitaly Kryukov
23aef6c365
Update mtproto_domain_resolver.cpp
2020-09-10 19:46:48 +03:00
Vitaly Kryukov
210e3f0cb6
Bump DNS User-Agent
2020-09-10 19:46:48 +03:00
John Preston
1aaf7df54a
Add labels to call buttons.
2020-08-14 16:53:06 +04:00
John Preston
9463bbd266
Fix animated stickers with wrong dimensions.
2020-07-17 08:13:45 +04:00
John Preston
6960e4808a
Don't change dc after qr request / phone submit.
2020-06-26 15:28:06 +04:00
23rd
e318a7d65f
Simplified ranges::find_if with ranges::any_of and ranges::none_of.
2020-06-23 21:53:43 +04:00
John Preston
83538675ce
Move a lot of settings to Core::Settings.
2020-06-23 21:53:42 +04:00
John Preston
3a5ede534e
Count all accounts in Core::App().unreadBadge.
2020-06-23 21:53:41 +04:00
John Preston
357caf8007
Keep separate MTP::Config's for separate accounts.
2020-06-23 21:53:41 +04:00
John Preston
0ad7dcaef9
Remove MTP::MainInstance() global access point.
2020-06-23 21:53:40 +04:00
John Preston
0b028b959b
Move updates handling MainWidget -> Api::Updates.
2020-06-23 21:53:39 +04:00
John Preston
ea86433be5
Remove some activeAccount() calls.
2020-06-23 21:53:39 +04:00
John Preston
598fb67cdf
Remove Session::Exists() global access point.
2020-06-23 21:53:39 +04:00
John Preston
5f8d22f1f2
Remove Auth() global access point.
2020-06-23 21:53:39 +04:00
John Preston
ad4afe9293
Move session data localstorage -> storage_account.
2020-06-23 21:53:39 +04:00
John Preston
897e432f40
Use CloudImageView in the inline bot thumbnails.
2020-06-01 18:09:33 +04:00
John Preston
7883f97c94
Use precise sync of the server unixtime.
2020-05-12 17:33:06 +04:00
Nicholas Guriev
9828262a03
Update GSL to v3.0.1 and lib_base
...
* Use identical types for std::min.
2020-05-01 12:03:18 +04:00
John Preston
6882093ed1
Send init connection params.
2020-04-21 18:55:34 +04:00
John Preston
3e2f4bed50
Update scheme to layer 102.
...
Support different dice-like media.
2020-04-21 18:55:34 +04:00
Кипорский Алексей
ea854e5be3
bugfix: incorrect erase element
2020-03-24 11:31:38 +04:00
John Preston
1df1b9fb53
Fix build with external minizip.
2020-03-13 22:53:59 +04:00
John Preston
3e3696298f
Fix possible use-after-free in test connections.
2020-02-25 13:40:09 +04:00
John Preston
74d848311b
Replace str_const with base::const_string.
2020-01-29 12:47:50 +03:00
John Preston
4eeac7dc18
Fix whitespace and indentation errors.
...
See #6672 , thanks Sea-n.
2020-01-02 14:25:53 +03:00
John Preston
da7178089f
Version 1.9.3: Fix build for OS X 10.10-10.11.
2019-12-31 17:52:15 +03:00
John Preston
fb36359a6d
Disable one failing assertion for now.
2019-12-31 17:26:05 +03:00
John Preston
a980fba3aa
Create only temporary keys for CDN.
2019-12-28 13:52:29 +03:00
John Preston
7f26f81e4f
Give names to MTProto session threads.
2019-12-12 16:26:26 +03:00
John Preston
f91f77ff2e
Make temporary keys live one day.
2019-12-10 18:29:18 +03:00
John Preston
e60a9f0943
Fix key creation for media cluster.
2019-12-09 18:42:11 +03:00
John Preston
e426f2895b
Add download sessions if it works fast enough.
2019-12-05 14:46:28 +03:00
John Preston
3ae2986c25
Allow variable count of download sessions.
2019-12-04 09:51:21 +03:00
John Preston
907965531c
Don't bind key for more than 10 seconds.
2019-12-02 16:30:33 +03:00
John Preston
91f50e8bdc
Move some more code to lib_mtproto.
2019-12-02 16:11:22 +03:00
John Preston
718de09aa6
Handle state / resend requests separately.
2019-12-02 16:11:22 +03:00
John Preston
3b703d7262
Keep in sent container only important msgIds.
2019-12-02 16:11:22 +03:00
John Preston
efaa3ba453
Handle sent containers separately.
2019-12-02 16:11:22 +03:00
John Preston
9caac426ef
Correctly check container lifetime.
2019-12-02 16:11:22 +03:00
John Preston
64535251e8
Use limited number of threads in MTP.
2019-11-29 15:36:06 +03:00
John Preston
c742d7406c
Make MTP::Session handle the connection thread.
2019-11-29 15:36:06 +03:00
John Preston
06f5f7f7d9
Don't always restart connection on config change.
2019-11-29 15:36:06 +03:00
John Preston
e943264823
Pass MTP::Instance to MTP::Sender.
2019-11-29 15:36:05 +03:00
John Preston
8be4dfb346
Use explicit fields for sent container ids wrap.
2019-11-22 17:38:01 +03:00
John Preston
46a42e02bc
Fix lost bind key messages.
2019-11-22 12:06:48 +03:00
John Preston
276adec0ff
Fix temporary keys for media cluster.
2019-11-21 13:38:02 +03:00
John Preston
54b5342af4
Closed alpha version 1.9.1.2: Key expire in 10 min.
2019-11-20 17:30:20 +03:00
John Preston
410efc924b
Closed alpha version 1.9.1.2.
2019-11-20 17:26:31 +03:00
John Preston
4edfd4804f
Fix destroyed key clearing.
2019-11-20 16:33:45 +03:00
John Preston
4c24ec7725
Fix keys destruction on logout.
2019-11-20 14:50:19 +03:00
John Preston
bdc7f4114f
Move some things from SessionData.
2019-11-20 13:41:14 +03:00
John Preston
885738ac32
Always choose correct address for key creation.
2019-11-20 12:16:53 +03:00
John Preston
43bab3eeaa
Fix instant restarts with additional timeout.
2019-11-20 11:23:30 +03:00
John Preston
f424cb54f7
Create keys not simultaneously.
2019-11-19 19:22:02 +03:00
John Preston
e6d3b2b098
Fix resending requests after new session.
2019-11-19 19:14:50 +03:00
John Preston
e7e1c9aa5a
Don't handle 'msg_resend_req'.
2019-11-19 14:55:39 +03:00
John Preston
173ae746a2
First version of working through temp keys.
2019-11-19 13:10:51 +03:00
John Preston
d9fc3619c2
Remove all signals from ConnectionPrivate.
2019-11-18 15:53:37 +03:00
John Preston
cfe12f773f
Move some modules to lib_mtproto.
2019-11-18 12:28:14 +03:00