Commit Graph

2174 Commits

Author SHA1 Message Date
levlam
20503e04d2 Various fixes.
GitOrigin-RevId: da4869e5054952663ad5993f5770f2984a473818
2019-07-22 07:01:51 +03:00
levlam
79a38df824 Add actor_name_prefix to prepare_connection parameters.
GitOrigin-RevId: fbfb40411a16c0609a8bd926f2b4f3428e43cd25
2019-07-22 05:55:01 +03:00
levlam
92201f904d Remove proxy IPAddress from ProxyInfo.
GitOrigin-RevId: 1c83e4dc45c3186e887a9922fa77e6b25612c3be
2019-07-22 05:42:19 +03:00
levlam
feb2beeec0 Fix testProxy.
GitOrigin-RevId: 6ad0bf0e7685ccae35931c4949ba29bafbcc6335
2019-07-22 05:04:18 +03:00
levlam
635aca2924 Fix tdutils after update.
GitOrigin-RevId: afc6d10dd0e2b2a7193dd2c96f07d5ca1cb11a00
2019-07-21 21:07:07 +03:00
Arseny Smirnov
e54c0b0035 Fix merge conflict
GitOrigin-RevId: 8e342e89f5ee116806772fca70bab9eb2606e8e1
2019-07-21 22:00:47 +03:00
Arseny Smirnov
4079363f1a td_api: TestProxy query draft
GitOrigin-RevId: 67944e916813c6260df5be6cb4e77f7163854738
2019-07-20 15:13:36 +02:00
levlam
68bb65344b Ignore 'i' and 't' photo sizes received from the server.
GitOrigin-RevId: d39854802f545dff99c3dcd7b3a01463b5d3c633
2019-07-20 02:33:49 +03:00
levlam
0481329037 Better choice of first bytes.
GitOrigin-RevId: 7855a68ec4b1e9c43371bd29cbf6766009f45ac2
2019-07-20 01:49:22 +03:00
levlam
6e65e51774 Fix misprint.
GitOrigin-RevId: cb14f3097745235c55d0d0192106f9d39b8b23fa
2019-07-19 22:12:58 +03:00
levlam
6dd2a822ad Cache backgorund by their names.
GitOrigin-RevId: 2e5c5ed30185f53240ab806f866bd4c83ee5da51
2019-07-19 05:34:49 +03:00
levlam
c6d7daa460 Improve add_background.
GitOrigin-RevId: cac29a57fb9d76489a0d5a6da83d75c7af075862
2019-07-19 03:50:51 +03:00
levlam
3928917f77 Add Background store and parse.
GitOrigin-RevId: 7c6e34fc2af991ce090356c09f65df37b742775c
2019-07-18 22:12:46 +03:00
levlam
2b69ae2d66 Support setting default background.
GitOrigin-RevId: 756e41775f3ee60faaa36f0a244f7f43ff82ef1d
2019-07-18 21:09:48 +03:00
levlam
e355cabc56 Increase MessageUnsupported version to reget all animated stickers.
GitOrigin-RevId: defb240fb76cdcb8ba96b949773b3572203db7b7
2019-07-18 19:49:14 +03:00
levlam
e76c98ad74 Fix animated stickers extension.
GitOrigin-RevId: 69d65bd19e46fe2eb2dc6ebb4afd6dd64164ffc9
2019-07-18 19:47:29 +03:00
levlam
b1347c3226 Add separate authorizationStateWaitRegistration.
GitOrigin-RevId: 1e41124d6174e956ce74266c9140ad346cf8a6f0
2019-07-16 22:08:34 +03:00
levlam
93ee925d69 Update phoneNumberAuthenticationSettings documentation.
GitOrigin-RevId: 769ae931ec86dffadb529ba3bf1b2078e1e989e2
2019-07-15 23:06:29 +03:00
levlam
6d61dcdc15 Fix warning.
GitOrigin-RevId: 337e0948847966a402cfd0372ed8393e5f7064c9
2019-07-15 21:47:07 +03:00
levlam
5de81015ad Add connection_parameters options.
GitOrigin-RevId: 68ad956881c53ea9ee7ca529947737b2d55b585a
2019-07-15 21:37:45 +03:00
levlam
f53f73a34e Update has_webp_thumbnail.
GitOrigin-RevId: 7ec370bddc1f66ea1caae251d43542d5cd33c5d3
2019-07-15 04:26:41 +03:00
levlam
5b032ba290 Fix handling of sticker thumbnails.
GitOrigin-RevId: d551c7d00baa5fbc2e2090b15fd26ff41929ae5b
2019-07-15 04:01:26 +03:00
levlam
5a7f326140 Support animated stickers.
GitOrigin-RevId: f4a02797a47ffb39eaeee5bcc75ad4b5231dfdfd
2019-07-15 03:43:05 +03:00
levlam
d1f53092d1 Fix misprint in in_acceptable_user.
GitOrigin-RevId: 09b98d3986b9885fd6f33397e848767fcceed700
2019-07-13 18:17:55 +03:00
levlam
19b6aeeb93 Update check for TLS-proxy secret.
GitOrigin-RevId: 4ea3040f2db8da91baecd0a814933cd9cc4ccf2e
2019-07-11 23:42:59 +03:00
levlam
db8539d9df Fix usage of HttpDate in ConfigRecoverer.
GitOrigin-RevId: 17007d6b0afe58a0479d3d596bc4463548a26930
2019-07-11 23:32:45 +03:00
levlam
d69251faba Get info about the chosen language pack if needed.
GitOrigin-RevId: 8a522ac1eabcb66d1e5fe2d85a617ae4c823f8bb
2019-07-11 04:22:17 +03:00
Arseny Smirnov
8fdd8910e7 ConfigRecoverer: support tls obfuscation
GitOrigin-RevId: 9a924ee86fe042a9fd1acf44eeeb25c0ab4e8bbb
2019-07-11 13:25:20 +02:00
levlam
64517c9165 Fix checks for additional data at the end.
GitOrigin-RevId: 66067600bec585ad2c310c7adc263a5e88232653
2019-07-11 03:12:27 +03:00
Arseny Smirnov
3a9ec3fc29 ConfigRecoverer: support tls obfuscation (not tested)
GitOrigin-RevId: edc982ee6d1ce2834a80464a7b20ef712f465814
2019-07-09 16:45:38 +02:00
levlam
b9e5ebd222 Minor improvements.
GitOrigin-RevId: 684fd2527c31f6fdbc816a2addd64e4740f8a15b
2019-07-09 06:56:06 +03:00
levlam
c626bbefe6 Move Proxy to Proxy.h.
GitOrigin-RevId: b1e4f03b7e49b15ea576e4f05c05c8fe8709e3eb
2019-07-09 05:13:10 +03:00
levlam
7958916080 Add strongly typed ProxySecret class.
GitOrigin-RevId: dbde277c6cce57fd6ff51b2e310dab95e60b38c1
2019-07-09 05:01:12 +03:00
levlam
0c160b008b tg_cli: fix creation of CliClient.
GitOrigin-RevId: 70c86df343ab2695eea1cecfc42e1c825f1dabd4
2019-07-07 06:09:07 +03:00
Arseny Smirnov
a695b0823c Better logic for time difference in tls obfuscation
GitOrigin-RevId: bbd69762a4700571ed7c67b4afbf30950b79b638
2019-07-04 18:21:07 +02:00
Arseny Smirnov
e9a7dd637d TlsInit: use server_time_difference
GitOrigin-RevId: 03d93412b660be3a968a4963fb28abafe068a58d
2019-07-04 15:14:11 +02:00
Arseny Smirnov
33e306f800 ConfigManager: update server time difference from simple config
GitOrigin-RevId: 57987f3453d99fba787318a951d1cc5e8706c659
2019-07-04 15:13:45 +02:00
Arseny Smirnov
13627727ef Mtproto: use non-deterministic padding scheme
GitOrigin-RevId: 3f6ab9ed7b9bbc8ad3ddfabe7d324175cb7e6d49
2019-07-04 12:56:10 +02:00
levlam
b8e8f337c2 Minor TlsInit improvements.
GitOrigin-RevId: 59619af2a0059a85bbdeab2775ed3805dd3ab818
2019-07-03 02:50:19 +03:00
Arseny Smirnov
ef595735b4 bugfix
GitOrigin-RevId: c582a3dea47233610427cc74e1c26e15b417288e
2019-07-02 17:49:21 +02:00
Arseny Smirnov
8a4402e0b1 bufix
GitOrigin-RevId: deeb8146386c0f5aedba7fca70a061fc5341e669
2019-07-02 17:34:27 +02:00
Arseny Smirnov
61206293fe bugfix
GitOrigin-RevId: 05d77fed7ce13cdf2a630f49733e9fe9bd949e3f
2019-07-02 17:27:34 +02:00
levlam
14cc4e43fe Fix warning.
GitOrigin-RevId: b0e7cb4a0906dd75fd87ade7a16dc8e697f0e5af
2019-07-02 18:25:02 +03:00
Arseny Smirnov
23e27a223f TlsInit: check hash in server response
GitOrigin-RevId: 00d0b679020173be7ef8e06db3bc4e64a61d3fbf
2019-07-02 17:14:13 +02:00
levlam
ef3cf44240 Change max TLS packet length.
GitOrigin-RevId: 00f896d94fa434fa867f6df5c910bbe0cf96d5ee
2019-07-02 01:58:01 +03:00
levlam
d694b24418 Fix warnings.
GitOrigin-RevId: d3780ae558619ab6beb1fc7dc582285abdd280ca
2019-07-01 19:52:48 +03:00
levlam
3a2bb833ec Fix TlsReaderByteFlow.
GitOrigin-RevId: 8a7dfc63a176d0c054e434904784d92467ddcba8
2019-07-01 17:37:31 +03:00
Arseny Smirnov
6d6bffaa7b ObfuscatedTransport: bugfix - send header inside of the first tls packet
GitOrigin-RevId: 5fb3eb0acee44aa1db4d943e99ddd19a1e005c44
2019-07-01 15:34:39 +02:00
levlam
0a1fb007d9 TlsInit fixes.
GitOrigin-RevId: 798d053d68b6e0955b6e0e0c7c8d36592f76c987
2019-07-01 16:18:28 +03:00
levlam
8e9e60d929 Restrict sending other messages in interface only if all messages are restricted.
GitOrigin-RevId: 032bd7d91ae66baa85a5d97dc560964e87889f2d
2019-07-01 00:17:18 +03:00