John Preston
5a9d1a3fce
Add .visit(many, callbacks) method to MTP types.
2018-06-12 22:59:58 +03:00
John Preston
affe9defb5
Fix authorization import in FILE_MIGRATE case.
...
Regression was introduced in dd933cf61c
.
2018-06-12 16:30:00 +03:00
John Preston
cec8114b99
Add simple files and contacts export.
...
Also move all API calls in export to Export::ApiWrap.
2018-06-12 01:02:05 +03:00
John Preston
0a1a5ed70e
Use abstract export writer for different formats.
2018-06-12 01:02:05 +03:00
John Preston
c587c011d2
Start data export in lib_export.
2018-06-12 01:02:04 +03:00
John Preston
9ebeddbed8
Request, show and require accept for updated ToS.
2018-06-06 21:37:01 +03:00
John Preston
c85fd368fe
Possible fix of travis build.
2018-06-06 15:16:21 +03:00
John Preston
233be5ec13
Fix crash in web request destructors.
2018-06-06 12:32:38 +03:00
John Preston
72f95b984f
Replace cDebug() with Logs::DebugEnabled().
2018-06-05 21:51:05 +03:00
John Preston
a52392241d
Fix some possible crashes.
2018-06-04 22:48:17 +03:00
John Preston
dd81f5d59f
Replace base::lambda with shorter term.
...
base::lambda -> Fn (type alias for std::function).
base::lambda_once -> FnMut (type alias for base::unique_function).
base::lambda_guarded -> crl::guard.
base::lambda_call_type_t -> crl::deduced_call_type.
2018-06-04 18:38:27 +03:00
John Preston
fae4b92d8d
Add store version label to sessions list.
2018-06-04 13:41:53 +03:00
John Preston
ead31757d7
Submit passport results.
2018-06-03 23:16:36 +03:00
John Preston
1392e05ab1
Move all gsl::byte helpers to base/bytes module.
2018-06-03 23:16:34 +03:00
John Preston
ddb4527159
Start passport support: handle link, receive form.
2018-06-03 23:16:33 +03:00
John Preston
e122353bfb
Show better information in sessions list.
2018-06-03 23:14:44 +03:00
John Preston
03037121aa
Add support for autoupdate through MTProto.
2018-05-30 01:00:36 +03:00
John Preston
59a1e13955
Use each AbstractConnection only for one time.
2018-05-28 22:43:14 +03:00
John Preston
4e858ba839
Improve connections debug logs.
2018-05-28 11:36:12 +03:00
John Preston
37bf9ffcff
Show bad proxy configuration error.
2018-05-24 16:40:19 +03:00
John Preston
017ec87d60
Replace FlatTextarea with InputField.
2018-05-22 13:45:22 +03:00
John Preston
8e442563f2
Enable checked auth key creation.
2018-05-20 23:20:48 +03:00
John Preston
f2a5a29d12
Alpha version 1.2.21: Fix build for Xcode.
2018-05-18 21:07:31 +03:00
John Preston
96f7c0c02e
Don't try to logout CDN dcs.
2018-05-18 19:41:59 +03:00
John Preston
425e56b3ea
Apply proxy settings in mtproto-key-destroyer.
2018-05-18 15:20:28 +03:00
John Preston
4478c0a143
Resolve domain names for proxy servers.
...
Also use dc_id-checked auth key creation.
Fixes #4695 .
2018-05-18 10:57:11 +03:00
John Preston
a053384618
Fix mtproto-proxy working with domain names.
...
Also refactor a bit TcpConnection and HttpConnection classes.
2018-05-17 13:27:49 +03:00
John Preston
d3f85b4c4e
Display channels promoted by proxy on top.
2018-05-13 21:26:35 +03:00
John Preston
8764da787b
Don't logout on some server-side problems.
2018-05-13 12:19:34 +03:00
John Preston
e3c6abfc3d
Fix possible crash in reply returns.
2018-05-10 14:56:36 +03:00
John Preston
257dfa6b3f
Improve phone rules checking.
2018-05-05 21:55:39 +03:00
John Preston
e0431d270b
Allow cdn requests through mtproto proxy.
2018-05-05 21:55:39 +03:00
John Preston
1af2769209
Closed beta 1.2.17.4: Fix option lookup.
2018-05-05 21:55:39 +03:00
John Preston
db7041f2dc
Send different dns requests for simple config.
2018-05-05 21:55:38 +03:00
John Preston
ad1f089802
Read autoupdate prefix from config.
2018-05-05 21:55:38 +03:00
John Preston
62c812858e
Improve config re-requesting.
2018-05-05 21:55:38 +03:00
John Preston
4bf66cb6e9
Better special config implementation.
2018-05-05 21:55:38 +03:00
John Preston
95fee543ec
Try all available endpoints from config.
2018-05-05 21:55:38 +03:00
John Preston
f794d8dbd8
Check proxy availability in ProxiesBox.
2018-05-05 21:55:38 +03:00
John Preston
900d1ddb36
Support multiple proxies in local storage.
2018-05-05 21:55:38 +03:00
John Preston
dc9483e07a
Fix possible deadlock.
...
Some unknown code (like getSession) was called while holding
_requestsByDcLock mutex which could lead to a deadlock.
Now all access points to _requestsByDc are simple.
2018-05-05 21:55:37 +03:00
John Preston
65f968ec1b
Update API scheme to layer 78.
2018-05-05 21:55:37 +03:00
John Preston
93f6d4b6e7
Support many config endpoints for one dc+params.
2018-05-05 21:55:37 +03:00
John Preston
7482025c10
Support work with different dcs on a single IP.
2018-05-05 21:55:37 +03:00
John Preston
909acb25fd
Requesting config if can't connect.
2018-05-05 21:55:37 +03:00
John Preston
4a9db99082
Use application level proxy settings.
2018-05-05 21:55:37 +03:00
John Zimmermann
a2606c4fc4
fix libressl-2.7 compat ( #4633 )
2018-04-28 21:57:02 +03:00
John Preston
38c20fc3c2
Return one old way for requesting special config.
2018-03-20 18:21:36 +04:00
John Preston
8ed167c5fa
Change domain fronting url and host header.
2018-03-11 22:55:28 +03:00
John Preston
a0eb64428e
Use new config fields for revoke settings.
2018-03-11 22:21:17 +03:00