levlam
|
763a88233e
|
tg_cli: minor improvements.
GitOrigin-RevId: e38a7bb448905c2ca87509bc6ddb03cfe98d4ad5
|
2019-07-23 18:18:57 +03:00 |
|
levlam
|
38e4310b71
|
Remove standalone Sha256State functions.
GitOrigin-RevId: 5db80ea1902a6fe8a635081a8b050a19528f9f90
|
2019-07-23 03:50:03 +03:00 |
|
levlam
|
4ee295a29e
|
Use Sha256State directly.
GitOrigin-RevId: 4fbbafbd14c43a551e9c24de65a6feed2b44b09e
|
2019-07-23 03:20:11 +03:00 |
|
levlam
|
2b7511d07f
|
Rename AuthState to AuthKeyState.
GitOrigin-RevId: 7211994ddf6e267342ba29010328387093549e5c
|
2019-07-23 02:14:34 +03:00 |
|
levlam
|
98b8929932
|
Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
|
2019-07-23 01:50:12 +03:00 |
|
levlam
|
4a2b76e1ef
|
Fix testProxy.
GitOrigin-RevId: fcce1611113bec089ac3ca20df56eba85895a753
|
2019-07-23 01:13:20 +03:00 |
|
levlam
|
410d81c55f
|
Remove ProxyInfo class.
GitOrigin-RevId: f5bc2e82ef1017628b11fe9a0d04e75a08f77c25
|
2019-07-22 14:32:21 +03:00 |
|
Arseny Smirnov
|
dfe761738f
|
testProxy: fix HandshakeActor errors handling
GitOrigin-RevId: 4a80a500c84302d2bef699a7d49a496d4f07945a
|
2019-07-22 14:22:31 +03:00 |
|
levlam
|
5de928006b
|
Fix GCC CE and warnings.
GitOrigin-RevId: 21c7aa0f95f6534c8d8f1515fc93c67b55bb7998
|
2019-07-22 07:05:50 +03:00 |
|
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
|
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
|
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
|
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 |
|
levlam
|
d694b24418
|
Fix warnings.
GitOrigin-RevId: d3780ae558619ab6beb1fc7dc582285abdd280ca
|
2019-07-01 19:52:48 +03: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
|
620e4221f3
|
tl json: support tl::TL_writer::Mode
GitOrigin-RevId: db6769e80f43f5fa2eedac5414cd2a44f8dcaf3c
|
2019-07-01 10:43:31 +02: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 |
|
levlam
|
f921abfa86
|
Fix first call to searchEmojis.
GitOrigin-RevId: 56131407cdc354bb2c14ca1a190e4f825c0362e8
|
2019-06-27 15:31:29 +03:00 |
|
levlam
|
8add7cda73
|
Fix registering sticker thumbnails.
GitOrigin-RevId: 24316f587c3e316f0488d5a65dfbef161f621a59
|
2019-06-27 13:58:04 +03:00 |
|
levlam
|
572808eb43
|
Fix parsing old wallpaper remote.file_id.
GitOrigin-RevId: 29ed97ec9ebf31d396a849dbce36a7e710cf3026
|
2019-06-27 03:13:27 +03:00 |
|
levlam
|
d5c7d0a3f9
|
Better source in on_update_user_photo.
GitOrigin-RevId: 4ba2c1fb4f6b1f98045b7e5ed1ca292a09174bd9
|
2019-06-27 03:00:42 +03:00 |
|
levlam
|
d7e7b6291a
|
Update version to 1.4.1.
GitOrigin-RevId: 72edbce5e8a0e3803c9ec2433c1604e2a307ea3c
|
2019-06-27 02:50:09 +03:00 |
|
Arseny Smirnov
|
9289b61b92
|
ConnectionCreator: use tls init
GitOrigin-RevId: f58530975f30e5341e250478c3f83cabf8947b71
|
2019-06-26 17:27:19 +02:00 |
|
levlam
|
8fc2906fbd
|
Check that there are no messages added to chat except last message in fix_new_dialog.
GitOrigin-RevId: 01cea39e085b684c520517278714180553514340
|
2019-06-20 21:03:12 +03:00 |
|
levlam
|
e23ecdf572
|
Allow bots to restrict left chat members without trying to add them.
GitOrigin-RevId: b2884da3cdc524634b23d1d149bdb66bc6fa206d
|
2019-06-20 20:34:08 +03:00 |
|
levlam
|
b498688054
|
Init unknown last_new_message_id to max_unavailable_message_id.
GitOrigin-RevId: cd70cf1e8fb571c69f8cbef5442881567a87b134
|
2019-06-20 18:39:12 +03:00 |
|
levlam
|
a19fa6b724
|
Add debug logging.
GitOrigin-RevId: 0c66f0ab330c4ada8f225f0516b64d4aeba62262
|
2019-06-20 17:18:16 +03:00 |
|
levlam
|
3f77a39a33
|
Add from_message_id check.
GitOrigin-RevId: a69132dc605d89698be2a8fd98f400019ecaf442
|
2019-06-20 16:57:12 +03:00 |
|
levlam
|
c5eace2057
|
FileFd::stat fixes.
GitOrigin-RevId: 36197c4d134e4afe902eef066dc497c03228c271
|
2019-06-20 05:09:03 +03:00 |
|
levlam
|
8cf10f3fd3
|
Add PhotoSizeSource FileType checks.
GitOrigin-RevId: 92685f8d05de9543e381ba753e8fe66dbeee286e
|
2019-06-20 04:53:50 +03:00 |
|
levlam
|
e6cc07a244
|
Split DialogPhoto to Small and Big.
GitOrigin-RevId: 4c5800b4fb80c5f870577f93e9afdebf6b2b16b3
|
2019-06-20 04:35:08 +03:00 |
|
levlam
|
9675331eaa
|
Add PhotoSizeSource file_type checks.
GitOrigin-RevId: e2b79fa71a2547ea5f065bc94691f28a6fe3d904
|
2019-06-20 03:51:37 +03:00 |
|
levlam
|
5022fa26aa
|
Move secret to PhotoSizeSource.
GitOrigin-RevId: 99506d685d672a790e9b276ed14b18ae66792703
|
2019-06-19 03:53:11 +03:00 |
|
levlam
|
e6082852d9
|
External store and parse for PhotoSizeSource.
GitOrigin-RevId: a00393e74bc083de4e2da6d7f25fec051f0d70fc
|
2019-06-19 03:31:04 +03:00 |
|
levlam
|
9a77b26a8a
|
Add PhotoSizeSource.h.
GitOrigin-RevId: 63330f66b3459ecf9b2fdbce4d35faca7542ec3b
|
2019-06-19 03:18:44 +03:00 |
|
levlam
|
59fd30237e
|
Add Variant parser and storer.
GitOrigin-RevId: e6b8e46184f67fed50ce96a58a8ba33c17789c57
|
2019-06-19 02:48:34 +03:00 |
|
levlam
|
c72832b462
|
Fix skipping channel difference for inaccessible channels.
GitOrigin-RevId: 15d78b8ea6b20c7544f121baf9179deacca94d0d
|
2019-06-19 02:44:58 +03:00 |
|
levlam
|
0a380017d4
|
Remove PhotoSizeSource.type field.
GitOrigin-RevId: ef13086515430194150728f7ede427b6c87ba175
|
2019-06-18 19:56:59 +03:00 |
|
levlam
|
c38180f014
|
Move file_type inside PhotoSizeSource::Thumbnail.
GitOrigin-RevId: 0cf016d083bbd39d2a7abf7e2e1c267b4af29e90
|
2019-06-18 19:45:26 +03:00 |
|
levlam
|
b92223a61c
|
Remove OfflineInputPeer.
GitOrigin-RevId: 1a3706ab5c923ba3dfb065c642e103fd9df688c9
|
2019-06-18 19:17:31 +03:00 |
|
levlam
|
b9a1ceec05
|
Remove OfflineInputStickerSet.
GitOrigin-RevId: 144f639f5c22e652a98505856fd4b6327f27deff
|
2019-06-18 18:59:32 +03:00 |
|
levlam
|
984ccd3d75
|
Update remote location when source is changed.
GitOrigin-RevId: fc2f41f1f47cc65b5aadbec14a302d8ab2d03d5f
|
2019-06-18 18:40:46 +03:00 |
|
Arseny Smirnov
|
ff3164ff04
|
Fd::stat returns Result<Stat> instead of Stat
GitOrigin-RevId: 7bdb5f0d65df55424db302e4df060b697d8ee11d
|
2019-06-19 16:31:25 +02:00 |
|
Arseny Smirnov
|
a569a1eac7
|
Attempt to fix binlog_pmc_ bug in ConfigSession::HandshakeActor
GitOrigin-RevId: 6486e37b16a39c4088faa5a2aedc674e6feb2e89
|
2019-06-19 15:56:55 +02:00 |
|
levlam
|
666e668163
|
Add support for is_scam mark for users and channels.
GitOrigin-RevId: f34b2ed15d3cb01f3a3da51673e8aa0ac98ad874
|
2019-06-18 16:41:53 +03:00 |
|
levlam
|
853c0986d9
|
Use static_cast to cast to bool.
GitOrigin-RevId: b62a74880cee8984ddf9607141b350f979000b4b
|
2019-06-18 03:21:55 +03:00 |
|
levlam
|
0ef8053f46
|
Fix pingProxy error messages.
GitOrigin-RevId: 5e5fb84c3970dbaafc037eec550ce7ccc97f5668
|
2019-06-18 03:17:14 +03:00 |
|
levlam
|
a74cda9603
|
Fix warning.
GitOrigin-RevId: f2e991783d1897c23f857a20bf109c138eb96489
|
2019-06-18 02:05:32 +03:00 |
|
levlam
|
c874b1d4b1
|
Add support for separate background for dark theme.
GitOrigin-RevId: e5315453db1a7388f240dbefd4eeac6d8c9929c8
|
2019-06-18 01:39:57 +03:00 |
|
levlam
|
5273b48afe
|
Use 0 as photo location secret.
GitOrigin-RevId: 53c9f487014da1430a58676424a1ab5797469f25
|
2019-06-18 01:33:32 +03:00 |
|
levlam
|
10e2fd28c0
|
Drop sticker set short_name set after receiving STICKERSET_INVALID.
GitOrigin-RevId: e77c9d60fff36263ca85b05212c77e578df5c902
|
2019-06-17 20:09:45 +03:00 |
|
levlam
|
00bf243f37
|
Fix get_chat_event_action_object.
GitOrigin-RevId: dc9796295dc5eb8d30ed2beb974005a9b8c2c3b3
|
2019-06-17 19:46:07 +03:00 |
|
levlam
|
a5413cf50d
|
Explicitly use unique_ptr<HttpQuery>.
GitOrigin-RevId: 1d729c6b0a3d1deaf3423672414f155492b7a0e8
|
2019-06-17 19:12:54 +03:00 |
|
levlam
|
e3b9772cd2
|
Do not allow to edit temporary notification by non-temporary.
GitOrigin-RevId: d4a6f577d70f80826f22169c3d6a07cf476bd0bf
|
2019-06-17 18:59:35 +03:00 |
|
levlam
|
2ec992b106
|
Check notification message_id before allowing to edit it.
GitOrigin-RevId: f6713e719daa2058996ffe7ee4aad2299a03236d
|
2019-06-17 18:54:35 +03:00 |
|
levlam
|
0a0b875a27
|
More strict check before trying to reuse secret chat notification group id.
GitOrigin-RevId: 588b76ae86fc6c869001627baea05765e9f0044c
|
2019-06-17 18:27:23 +03:00 |
|
levlam
|
b1853310fb
|
Better logging.
GitOrigin-RevId: f9f074d0005649fb63e13ccc0352313c9d5415cc
|
2019-06-17 17:15:08 +03:00 |
|
levlam
|
b75c532f2d
|
Do not trust external documents from secret chats.
GitOrigin-RevId: e0341ce1e2017c6d0b8ac44e18fc9e03de65ccbe
|
2019-06-17 16:46:20 +03:00 |
|
levlam
|
cfc9cc5f28
|
Remove support for two file references.
GitOrigin-RevId: 3bf8031e9cc8bcd95e8cb74246c32d9198991aa1
|
2019-06-17 05:37:57 +03:00 |
|
levlam
|
fa234d0f36
|
Try to load needed data from database before rejecting update.
GitOrigin-RevId: 17f0bbb6442b431dee926244d93913f820281379
|
2019-06-17 04:57:27 +03:00 |
|
levlam
|
b447f4e623
|
Add UpdatesManager::is_acceptable_{user,chat,channel} methods.
GitOrigin-RevId: 6d72de8ca766b145c25e750f71debdfe76d8b440
|
2019-06-17 04:48:29 +03:00 |
|
levlam
|
9ee52310fb
|
Fix processing of inaccessible users.
GitOrigin-RevId: dea00d3a71e4f85b44c73c6620c2edaf39bddf17
|
2019-06-17 04:36:27 +03:00 |
|
levlam
|
11e9923e0a
|
Improve is_acceptable_message.
GitOrigin-RevId: 494c88118bcb8da8e2e8cb956efd28ced3b424b5
|
2019-06-17 04:25:33 +03:00 |
|
levlam
|
4a8411329f
|
Add source to ContactsManager::do_update_user_photo.
GitOrigin-RevId: 086ca18898448cbcd44977965a0f8f0ddc799ead
|
2019-06-17 03:39:00 +03:00 |
|
levlam
|
c06f173444
|
Speed up WebPageBlock constructors.
GitOrigin-RevId: 9a02631f7b1cdb7789bad9ab3b3a306f58498e12
|
2019-06-17 02:55:27 +03:00 |
|
levlam
|
cf4433dc52
|
Use get_photo(telegram_api::Photo) whenever possible.
GitOrigin-RevId: 6ab86f8a10f8a80584cd7a4ada4fbbda19df9d96
|
2019-06-17 02:41:57 +03:00 |
|