Commit Graph

1037 Commits

Author SHA1 Message Date
levlam
74189f89a6 Fix saving custom languages to database.
GitOrigin-RevId: 45aed87e231b6646e72bfe03a53cfe81dc211510
2018-08-20 01:03:03 +03:00
levlam
208633bbce Update layer 85.
GitOrigin-RevId: 6a3346c14e35faa39bcbe9a47d1edd92f7ac1a34
2018-08-20 00:28:43 +03:00
levlam
d464ba71b8 Rename payload to nonce.
GitOrigin-RevId: ac49a3c22307cf904c440b9b6ddb34feee38da1a
2018-08-17 22:16:55 +03:00
levlam
ac1472c938 Fix verbosity level.
GitOrigin-RevId: 855ca89e37e48193d9b899ab309c0c12f8321d1b
2018-08-17 19:12:09 +03:00
levlam
c19ab1adbc Minor HTTP-proxy fixes.
GitOrigin-RevId: 03d1ca116707c358cd1a414046222236ee2d09b4
2018-08-17 19:03:07 +03:00
levlam
25826e253d Move VERBOSITY_NAME(connections) out of utils/logging.h.
GitOrigin-RevId: ec768560b9c87ff64d3d8b9a0c821f75abf3321a
2018-08-17 17:02:28 +03:00
levlam
811cc8f393 Better error messages.
GitOrigin-RevId: 9d77793cb6bcc8d3f9c64c01324ca55bd61a08c4
2018-08-16 20:31:42 +03:00
levlam
16b33f67c7 Add shorthand requests getContacts, joinChat and leaveChat.
GitOrigin-RevId: 95ce6e52aaefafd8bb1c7a70fd096b2156d1a164
2018-08-16 20:09:23 +03:00
levlam
23c03a97f4 Various style fixes.
GitOrigin-RevId: 056c091cfd71322a0cc8db0e3bafec7d272da7ad
2018-08-16 01:06:53 +03:00
levlam
966eb11fe1 Load certificates from Windows store.
GitOrigin-RevId: 773a03d472643d168207ca99c7ef2e30562e328d
2018-08-15 23:05:06 +03:00
levlam
0718b313f3 Fix CE and SslStream source code formatting.
GitOrigin-RevId: 9354f72061f4ad2b122be1129d0b3210845f23f4
2018-08-15 16:29:46 +03:00
Arseny Smirnov
ab2b189722 Ssl refactoring
GitOrigin-RevId: f5916787608227b6914c10520dfe7a7039522ef9
2018-08-15 15:41:42 +03:00
levlam
7fc96ddff5 Add missing override specifier.
GitOrigin-RevId: ea9c63f9a1c192285bd88600c2db38307f3ad7f6
2018-08-14 17:27:41 +03:00
levlam
846290dac5 Fix previous commit.
GitOrigin-RevId: 4dc50e35d0b5e5a42da9e77716b8fd0cf57367a4
2018-08-14 17:02:12 +03:00
levlam
b05413262b Remove VLA usage.
GitOrigin-RevId: 6186e42b8dbaa3c182d9b6d89220e8ae06cb5a6e
2018-08-14 17:01:13 +03:00
levlam
85bb2d8e19 Fix g++4.9 CE.
GitOrigin-RevId: dbe44c308021c68f7c750618947dd5643f0789ea
2018-08-14 16:44:31 +03:00
levlam
f411737f1c Fix documentation.
GitOrigin-RevId: 8ece75f9aaad19ecfcdb2cc677a7dfa80326b054
2018-08-14 16:25:43 +03:00
levlam
712d6bea89 Support translation for Telegram Passport personal documents.
GitOrigin-RevId: b54a7193e584b631ca6d9aeb132be72e02e5f87f
2018-08-14 16:17:47 +03:00
levlam
55417e88fd Remove unused function parameter.
GitOrigin-RevId: 88f3fee550593cbdc7a7392293cb22f484e9f986
2018-08-14 02:49:32 +03:00
levlam
8d5c17036a Use Location access hashes.
GitOrigin-RevId: 1f018d5e42e1c657492f2e1da74700632825c8f9
2018-08-14 02:11:49 +03:00
levlam
c6bc8f7c3f Add td_api::getMapThumbnailFile.
GitOrigin-RevId: f02f154cc8a3ce62f888bdaf9c159cebcb4a350a
2018-08-13 23:18:27 +03:00
levlam
e27e4f405e Move saving bytes to file to FileLoaderUtils.
GitOrigin-RevId: 18734bb0d5172832119da4e658363f6eddaad986
2018-08-13 19:30:52 +03:00
levlam
da438591f7 Fix warning.
GitOrigin-RevId: 6eff463a63bb377cdb583c819b33b0fe1f906fca
2018-08-13 13:00:44 +03:00
levlam
bd09e39788 Fix logging in after entering a wrong password.
GitOrigin-RevId: 3f0284a015fb9b59257befc5d988833ecdaa1f64
2018-08-13 12:24:37 +03:00
levlam
8283d04942 Auto log in if password was removed just after code checking.
GitOrigin-RevId: f01d53b5d93ec20690a4099d8be1d60d6b9ca3c1
2018-08-13 01:44:53 +03:00
levlam
4404267ec4 Remove redundant call to account.getPasswordSettings.
GitOrigin-RevId: 8b4ee1f2ef3206cbae4d8231c723d57b286a80c0
2018-08-12 22:25:04 +03:00
levlam
6a94c83f66 Fix changing password.
GitOrigin-RevId: 1cbaa3df8e34030803e5553cc45481b9a466d0b3
2018-08-12 21:54:52 +03:00
levlam
94a4bbcac4 Fix authorization form required types.
GitOrigin-RevId: fea3a2679d00ba57981762285703c6fdc7f72473
2018-08-12 20:30:51 +03:00
levlam
dcaf773152 Native names support in Passport.
GitOrigin-RevId: 3f38ec52d8c645eb6ab529bc4968ad400949482f
2018-08-12 19:12:25 +03:00
levlam
b4be4da02b Better check for empty message text.
GitOrigin-RevId: cfc3081dd0d8f5bd250b3d043b77fe1c3449cfd3
2018-08-12 18:02:11 +03:00
levlam
9d895eadbe Again send credentials only for requested elements.
GitOrigin-RevId: afa4ed9c7a9e72f0afbe208088bcf71417a64d4d
2018-08-12 17:45:30 +03:00
levlam
062c016b2c Always use cached secure values for sendPassportAuthorizationForm.
GitOrigin-RevId: f1827b89c0ef6870813784e48762cd96325d4b89
2018-08-12 16:46:05 +03:00
levlam
b07fc66b69 Add cache of secure values.
GitOrigin-RevId: 54fcf89a89f28086705e12869e9dc777c2a86233
2018-08-12 15:44:24 +03:00
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