Commit Graph

2775 Commits

Author SHA1 Message Date
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
ae4a73645b Some parse_http_date implementation
GitOrigin-RevId: 153367519b120453d5bc80454f568e829a3f2e49
2019-07-10 20:11:16 +02: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
levlam
8a94ce1458 Fix TlsTransport test.
GitOrigin-RevId: bc5da0b5077558ac80d7ce736ef1063c2392ce05
2019-07-07 03:35:30 +03:00
levlam
e300208960 Add missing files.
GitOrigin-RevId: 8a8503246a51483927b683ba5cd74f758e21a538
2019-07-07 03:05:30 +03:00
levlam
a0f6616ad3 Improve check_tls.
GitOrigin-RevId: 6cce74e45b3cf0da84fb6e8ac8c3686d6185f4af
2019-07-05 23:46:17 +03:00
Arseny Smirnov
02c31f486f tdutils: update from other project
GitOrigin-RevId: 73c666dbdd72811b151a48504716ed4aee6af1a0
2019-07-06 13:29:15 +02: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
6dc06b5b18 MpscPollableQueue: fix warning
GitOrigin-RevId: c7374582d0dd8ddf4f52885a8e44c81a0b27274c
2019-07-04 15:16:59 +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
ff53658486 Mtproto_TlsObfuscation test: minor fix
GitOrigin-RevId: b9980516c7bcdb08da3138634459c083fe7bdaa0
2019-07-04 14:44:27 +02:00
Arseny Smirnov
1e9cefb2eb MpscPollableQueue: minor optimization
GitOrigin-RevId: 9d87dafe8b91622979a73ed068fdd73c60fdff29
2019-07-04 14:07:14 +02:00
Arseny Smirnov
13627727ef Mtproto: use non-deterministic padding scheme
GitOrigin-RevId: 3f6ab9ed7b9bbc8ad3ddfabe7d324175cb7e6d49
2019-07-04 12:56:10 +02:00
Arseny Smirnov
b938ca635c Random: secure_uint{32,64}
GitOrigin-RevId: 5cc15552bc0d103cbe93935d3c75256845e3a39b
2019-07-04 12:55:17 +02:00
Arseny Smirnov
d4cb9d2d52 MpscPollableQueue: move system calls out of spin lock
GitOrigin-RevId: 6e826bcca1006aeadab4af84ad86ce2e402c10e4
2019-07-03 21:21:38 +02:00
levlam
948da791ad Wrap calls to fsync with skip_eintr.
GitOrigin-RevId: c7eaba54794d461428cce064e51be26909f39a30
2019-07-03 17:51:00 +03: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
Arseny Smirnov
fdb303f513 tdweb: options.wasmUrl
GitOrigin-RevId: 24047f84740d201397045a33b680a850359af9b9
2019-07-02 15:06:05 +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
e9a03ba5d1 Improve check_tls.
GitOrigin-RevId: ef95d9d401fc8fd7071dbe58e69610c4d6e849db
2019-07-01 19:43:50 +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
levlam
989235317d Fix ee-secrets.
GitOrigin-RevId: 2fdc60284c6dd4accfe3332accaad945811bbe17
2019-06-30 23:02:32 +03:00
Arseny Smirnov
f74d52b9be buffer.h: fix BufferBuilder const for_each
GitOrigin-RevId: a264a7d12975e57c517303e4699e2e73eb1d2211
2019-07-01 14:37:23 +02:00
Arseny Smirnov
620e4221f3 tl json: support tl::TL_writer::Mode
GitOrigin-RevId: db6769e80f43f5fa2eedac5414cd2a44f8dcaf3c
2019-07-01 10:43:31 +02:00
Arseny Smirnov
d22a6751db tdweb: do not link with libssl, only with libcrypto
GitOrigin-RevId: fb7cd454c3b368381fd65150979e6233a452eb8c
2019-06-28 13:03:06 +02:00
levlam
fe00a7e7cf Add LOG_CHECK.
GitOrigin-RevId: 683c36f0eb69fe886acc09d9351efe3fbada9def
2019-06-27 20:08:58 +03:00
levlam
c1752528f2 Do not save GetChannelDifferenceLogEvent if background updates are ignored.
GitOrigin-RevId: bbcc1028ab24d8f80a85ec2edd93acac41cfa7a6
2019-06-27 20:00:43 +03:00
levlam
bec71af259 Change outbound link to KnowsPhoneNumber if have phone number.
GitOrigin-RevId: 25e1efef971fe168155f54ed899288ac9b1020e5
2019-06-27 19:33:46 +03:00
levlam
dda4c4fc7d Fix check for export chat invite link.
GitOrigin-RevId: aa754d8faa04741ea400450ff58f23ca9443dca8
2019-06-27 19:03:02 +03:00
levlam
0c3e3906c7 Temporarily disable new pings.
GitOrigin-RevId: ac3d2580d2dd77b333fee51db59f54b92bf24484
2019-06-27 18:46:25 +03:00