Commit Graph

1204 Commits

Author SHA1 Message Date
levlam
3728c89f53 Make optional copyable when possible.
GitOrigin-RevId: 28c37171a9db3e868a21bc028ba24fee05833b35
2018-08-12 15:31:24 +03:00
levlam
4f8d855527 Support new Passport authorization form.
GitOrigin-RevId: 5830754700dcd19f4e0bcb08ccb5d72c22db76f0
2018-08-12 12:51:24 +03:00
levlam
af4c366fdd Remove legacy DH functions.
GitOrigin-RevId: 13efa3ef84b99095170df7f5c994482eb9606fe2
2018-08-11 13:29:06 +03:00
levlam
0c7e2ce37b Create settings dialod in send_update_new_message to get only notification settings from the server instead of the whole dialog.
GitOrigin-RevId: ebe1e1194b0063787e0591ac94aba3866a4e07e0
2018-08-11 12:54:07 +03:00
levlam
22d8d1e469 Disallow forwarding of empty messages.
GitOrigin-RevId: 06c09cde285f440a86a420d2790da7c3751384c1
2018-08-11 12:03:32 +03:00
levlam
4052bffcd5 Update layer 85.
GitOrigin-RevId: 5902d95080c65b2aed40d199f14634dadb30926a
2018-08-11 00:08:13 +03:00
levlam
c1c1308ba8 Update layer 85.
GitOrigin-RevId: 65fb62fea07f05637b2b652f09a4a6be2de3346b
2018-08-10 22:21:03 +03:00
levlam
d3bce1b23d Fix some includes.
GitOrigin-RevId: a3fecf68a676120e1bbd5936d98dee6cf05e8294
2018-08-10 21:54:17 +03:00
levlam
07bfd77908 Fix warnings.
GitOrigin-RevId: 1333339879d7990836bb6c14cc9dce4a3e9ad085
2018-08-10 19:48:51 +03:00
levlam
3d05d44be8 Update layer to 85.
GitOrigin-RevId: 0a32bd0287e3d09dd484c8dbe230f29b92d19771
2018-08-10 19:39:48 +03:00
levlam
00fabb8f97 Update layer to 84.
GitOrigin-RevId: a2057596f00201ee967e7d038e048b618f6e629d
2018-08-10 16:22:48 +03:00
levlam
6c1408565e Add BigNum to stringBuilder output operator.
GitOrigin-RevId: 6ba1beeccb1849a163e3e0cfc978d573f80a9dae
2018-08-10 02:36:05 +03:00
levlam
f92e25fcd9 Easy to use SHA256 and SHA512 functions.
GitOrigin-RevId: f1d959e2ab69e7e176e705d16f05546a7ef33399
2018-08-10 02:35:07 +03:00
levlam
73aa76dc5f Pre-check DH parameters.
GitOrigin-RevId: 98a488559b95651eab0c43b747a1f1fae2b716a5
2018-08-09 23:41:01 +03:00
levlam
466ebd2908 Add DhHandshake::check_config method.
GitOrigin-RevId: 1f9bbd0539454c2e6acbfe3be514614985a2d713
2018-08-09 22:56:24 +03:00
levlam
6c45d2c479 Make BigNum::from_decimal safe.
GitOrigin-RevId: bc414c62024d0f971d3400fec738545f898654a4
2018-08-09 21:03:21 +03:00
levlam
c44361fb60 Add functions for getting BigNum parameters of DhHandshake.
GitOrigin-RevId: 7ad8d822f5d4c696769b5585b6fc6533ba56d0e0
2018-08-08 22:57:37 +03:00
levlam
7e1d116d70 Add BigNum::mod_inv.
GitOrigin-RevId: 98733421e0b8a6924724a4c13f2cd9ad937e3b0d
2018-08-08 22:56:23 +03:00
levlam
cdecbe9b3e Add TODO.
GitOrigin-RevId: f195a07fe83d66e6b348291c7c497ce94425d748
2018-08-08 22:55:54 +03:00
levlam
b2ff3570c1 Use server specified random data,
GitOrigin-RevId: 7bb82f481b9095b3644b0d768e602976ed62d524
2018-08-07 22:43:29 +03:00
levlam
caa48e00ab Fix CE.
GitOrigin-RevId: 665876ce71338e0a0f31a4a846a9501cba613847
2018-08-06 20:29:40 +03:00
levlam
ee8d7a94ec Return custom language packs in getLanguagePackInfo.
GitOrigin-RevId: 77ef71acb97f85b4bf71c8966d8c0200e4b122d3
2018-08-06 20:18:28 +03:00
levlam
f1295eba9b Add more debug logging.
GitOrigin-RevId: 047dbe63624ba0e810b245689c305e600e0a87f2
2018-08-06 19:04:21 +03:00
levlam
ff593d2ce8 Properly fix resolving proxy IP.
GitOrigin-RevId: cb385b8d0753da6f76dcdb237b2001143a23c94f
2018-08-06 18:28:56 +03:00
levlam
7c145a412b Custom language packs support.
GitOrigin-RevId: e7f76319dae5be3e20f81b41a0226e5f96f91ba1
2018-08-06 17:22:22 +03:00
levlam
3616f205bb Add crash in get_saved_animations_hash debug.
GitOrigin-RevId: a4e2f469c4ddcb91101d93490bb1c6fade3837f7
2018-08-05 17:03:08 +03:00
levlam
f15105bd9a ADd more parse_sticker debug.
GitOrigin-RevId: bcec43b2720f9ea9c6c9d1bc8ab090186a7fd794
2018-08-05 16:20:35 +03:00
levlam
abe3ff55b0 Disable implicit conversion from Result<T> to optional<T>.
GitOrigin-RevId: bb064610012c5b650c2517cf4908a9514bc6a7e3
2018-08-05 15:24:50 +03:00
levlam
813ba873a8 Add binary_search_ranges debug.
GitOrigin-RevId: 866977f67c8816c9fb2fc1bcf0970f8f5cb4c03b
2018-08-05 01:48:59 +03:00
levlam
fe32051267 Add unicode test.
GitOrigin-RevId: 4e484e140790756894a8ddc2e64bbe151f7279cf
2018-08-05 01:46:59 +03:00
levlam
710c548015 Add more debug to get_message_id_by_random_id.
GitOrigin-RevId: 3a2d2acfceb1f6b5f78cc46a04fd3ffb2772d6a5
2018-08-05 01:29:53 +03:00
levlam
a82fbad806 Fix misprint.
GitOrigin-RevId: fbfa91572c5f42248ed3b12bf8ebb9979477c6c4
2018-08-05 00:52:52 +03:00
levlam
debb0cf186 Use online status in ConfigRecoverer.
GitOrigin-RevId: ffc119b35bd2a42a236de90e3393c325d36478a9
2018-08-05 00:35:50 +03:00
levlam
72d2235f6e Improve get_next_message_id.
GitOrigin-RevId: af978d83a85415439a6168964e7f05335c16b76d
2018-08-05 00:05:29 +03:00
levlam
b97570b817 Fix handling of some message contents in on_message_ttl_expired_impl.
GitOrigin-RevId: 1ad333a8f050f1d86bf769158a55f6cf113b66f3
2018-08-04 23:46:43 +03:00
levlam
2465356c2e Add some debug.
GitOrigin-RevId: 5d2387379188dce1fd52cc9561a349f87e4fc240
2018-08-04 23:08:36 +03:00
levlam
c9c2760173 Update layer to 83.
GitOrigin-RevId: 2220a0399ed081441fefc06069b06efa11b8447b
2018-08-04 09:55:49 +03:00
levlam
7f62960ad3 Support PBKDF2-SHA512.
GitOrigin-RevId: cd151b5239a97d5c89dd78f60da24e939ab41445
2018-08-03 17:24:39 +03:00
levlam
f162aa55ad Set error on invalid Dialog logevent.
GitOrigin-RevId: a1b91622061a1117b15d7e668c109f6bbe0a2469
2018-08-02 15:45:58 +03:00
levlam
1c4285efbe Fix some includes.
GitOrigin-RevId: c8e348ad89e90ba52f9cedd8783c803e69cd2b5c
2018-08-02 13:22:05 +03:00
levlam
b00a0b4ebb Add required actor name to MultiTimeout.
GitOrigin-RevId: 918ad6358dd5c0056452df5da694e8b94c63a47a
2018-08-01 20:31:20 +03:00
levlam
c01dcf9a99 Add temporary ignoring of duplicate user/channel log events.
GitOrigin-RevId: ecd17421d9f2c3591ce4a4d84970949954f8496e
2018-08-01 17:10:07 +03:00
levlam
986652a1ae Change Telegram Passport API object and function names.
GitOrigin-RevId: 8e7d3602146dab76f62aa86f7539187559d2ca92
2018-08-01 16:52:07 +03:00
levlam
e691803f21 More robust check_language_code_name.
GitOrigin-RevId: 43576730594d92b63eddc6c5408126a8bdf0c1f1
2018-08-01 02:34:59 +03:00
levlam
6dd751ab10 Fix duplicated stickers.
GitOrigin-RevId: 138fddeb69af48ce77a6e3005e7d356165b897f9
2018-07-31 23:48:54 +03:00
levlam
7626c1a6dc Add more get_stickers debug.
GitOrigin-RevId: dd0cef99c5866ed59f7f6db1a7e365b57b4e8d1e
2018-07-31 20:48:38 +03:00
levlam
d67645a2cb Add get_stickers debug.
GitOrigin-RevId: c82190d2e03712a2a716608fd5ab40b1908e023a
2018-07-31 20:17:46 +03:00
levlam
2e56223afe Remove diacritics on search in Hints.
GitOrigin-RevId: 5e4313e30cd9aafa79e0c9ffb8f35c01a63c4029
2018-07-31 18:42:27 +03:00
levlam
6999ec4604 Fix lost updates in Java example.
GitOrigin-RevId: 9081b015baed288ee7a901c89d4bdf4933aaf6d8
2018-07-31 15:10:50 +03:00
levlam
986962bf55 Fix shch transliteration.
GitOrigin-RevId: b25e93d510010bd88df632107775c1143c7dca57
2018-07-31 14:22:58 +03:00