Commit Graph

3505 Commits

Author SHA1 Message Date
levlam
e09a295f7c Fix compilation error.
GitOrigin-RevId: ce8f9f5c1a28e69b716fa1b2427a1337436840e0
2020-01-11 03:51:44 +03:00
levlam
13dce473eb Safer saving of invite link info.
GitOrigin-RevId: 40c122f1dceb2bbc5f2bd9e6204393ce5c694340
2020-01-10 02:04:06 +03:00
levlam
1703cee349 Common base64_decode implementation.
GitOrigin-RevId: 87bdf798a181799b2f51be9831d77fabf41e3820
2020-01-09 22:59:08 +03:00
levlam
09d359cdc4 Use exact size formula in base64_decode.
GitOrigin-RevId: 7515474fc70af351e7b886e870b0d3da453afdc8
2020-01-09 22:21:20 +03:00
levlam
7db7757d2d Simplify base64url_decode implementation.
GitOrigin-RevId: 873483e61cc54fad78a09aa8a143070c5e018dfb
2020-01-09 22:07:23 +03:00
levlam
529f925d40 Common base64_encode implementation.
GitOrigin-RevId: ed4f31cfc6f83e81f03bd8e71dc8d48ced530255
2020-01-09 21:05:43 +03:00
levlam
9ea68914cf Use get_character_table to get base64 char_to_value table everywhere.
GitOrigin-RevId: 192840280c280a82a1cb2f1eba9fb9983f6ffe52
2020-01-09 20:45:38 +03:00
levlam
d6dca91ff3 Add is_base64_characters functions.
GitOrigin-RevId: 5b3e8642e9d9788788ee1343af4eee9acf7dddc9
2020-01-09 20:18:53 +03:00
levlam
5551021c81 Fix textEntity documentation.
GitOrigin-RevId: 6c55ec6d264c2da448ffbb9ed14a0741027fadc4
2020-01-09 18:16:03 +03:00
levlam
440d44e4a2 Update documentation.
GitOrigin-RevId: dcce8f16d33a14600059cf7119752223610e9de3
2020-01-09 17:08:14 +03:00
levlam
fc7253e774 Fix key_hash documentation.
GitOrigin-RevId: ddf094758f4130c276d12a9b809f3dc997d09421
2020-01-09 04:31:27 +03:00
levlam
53da415b5c Send updates for "unix_time" option.
GitOrigin-RevId: 08f48634a02602060d55b8b8628e20d7d2618381
2020-01-08 23:41:03 +03:00
levlam
1b1bd481e3 Make all AuthKeyHandshake fields private.
GitOrigin-RevId: 73bc8e67b5c86a4f30cabde16f84395b47d7f79e
2020-01-08 20:30:07 +03:00
levlam
89d7374272 Temporarily disable CDN if streaming is enabled.
GitOrigin-RevId: e6479f76a1a226d27268744421a904b4849edf17
2020-01-08 20:15:49 +03:00
levlam
cef4c7da3f Minor improvements.
GitOrigin-RevId: 337bd7bca79324b0159fca503686ae759430dd1d
2020-01-08 20:05:08 +03:00
levlam
dcb15d0a13 Asynchronously reload emoji keywords languages after restart.
GitOrigin-RevId: 1f24d44c715d96aead91402fdc7f6d7abf04d041
2020-01-08 19:25:36 +03:00
levlam
3659757dc3 Add parameter searchEmojis.input_language_code.
GitOrigin-RevId: c0cc78cb2957c9b9be4c3310a0505d08f6189006
2020-01-08 19:07:40 +03:00
Arseny Smirnov
efc483551f Bugfixes in auth key validation
GitOrigin-RevId: 66c2002e3ccb48c333c580715dc3517665f57b1f
2020-01-08 15:54:42 +00:00
levlam
4922ae62e0 Return back HttpQuery in get_simple_config_impl.
GitOrigin-RevId: 391c0c8cdd74633e57bc0780e1060c561468417a
2020-01-08 17:42:55 +03:00
levlam
37cab6d1fc Do not unload last edited message in the chat.
GitOrigin-RevId: d8a5f8053f8d0ef6bd86f503a456f6631a5f9d9e
2020-01-08 04:34:15 +03:00
levlam
724f2644e1 Check main auth_key improvements.
GitOrigin-RevId: 5a8e0d8cd0d15451f0ade9ed20bdc09926ad45ed
2020-01-08 02:09:22 +03:00
levlam
63f167ac35 Better field names,
GitOrigin-RevId: 93d307c55f9801d78fa68413cbbf238925a351b1
2020-01-08 01:27:12 +03:00
levlam
eecb70d006 Minor fixes.
GitOrigin-RevId: b8276b548fca9ede4bd2caf27bd45ccc54c93dda
2020-01-07 18:16:57 +03:00
Arseny Smirnov
890855a4f0 Validate and drop invalid main authorization key
GitOrigin-RevId: 5f5a0baf4fc55b629b6e0534c475f6236cc72506
2020-01-07 15:42:04 +03:00
Arseny Smirnov
ad3a1a35c5 Update stats on proxy errors
GitOrigin-RevId: 0c258335f5b3cd540edd5f8adf95befc29bf91bb
2020-01-07 11:02:36 +03:00
levlam
81cb9da887 Make dh_config_mutex_ private.
GitOrigin-RevId: c2f44bef27d294ec992d35030a36a76855056f44
2020-01-07 03:55:51 +03:00
levlam
992e1144ca Remove unused Condition class.
GitOrigin-RevId: d82bd14425f46cd8b3ddde8ca50db15ed07ff9c9
2020-01-07 03:39:44 +03:00
levlam
f7caca6023 Remove unused wait_binlog_replay_finish.
GitOrigin-RevId: 3b48057703b70f8b4d9ec8b17b14ea75418bda4c
2020-01-07 03:38:10 +03:00
levlam
52651a2efb Add TDLib 1.6.0 Change Log.
GitOrigin-RevId: 9f5a70d5f4e6ad23fe21d544719a044fe5f612a4
2020-01-07 03:19:23 +03:00
levlam
3aaa58a8c0 Documentation improvements.
GitOrigin-RevId: 97c207980ea1265ebc5c4421a7bd22d77553f2f5
2020-01-06 21:44:09 +03:00
levlam
bd78bbdd5d Improve documentation.
GitOrigin-RevId: f0266fb33bf5e01fb68bea83785a5cc020205d31
2020-01-06 21:32:03 +03:00
levlam
dbc2e30eff Do not send updateChatActionBar about nonexistent secret chats.
GitOrigin-RevId: 64fe7ef6e66612428fa6b65ed68e89c3de9eab4c
2020-01-06 20:44:21 +03:00
levlam
2dea8aea06 Fix code duplication.
GitOrigin-RevId: 8b4784e364d1e4d016a22bc6806bf732d5d5ac7a
2020-01-06 20:40:58 +03:00
levlam
2635dfb53c Specify exact emsdk version in tdweb README.
GitOrigin-RevId: c04d31f9b91d1bdaee31643966f851e25448eb81
2020-01-06 19:30:40 +03:00
levlam
a06f02b747 Fix misprint.
GitOrigin-RevId: e7bcfcd2ada1b78906d5e5f9228e920be2a00a8c
2020-01-06 18:02:42 +03:00
levlam
b88730f635 Better logging.
GitOrigin-RevId: d5aa21fee3d0f9af6fdec13df45c7352850b8b86
2020-01-06 17:54:16 +03:00
levlam
c627c79b6a Improve logging.
GitOrigin-RevId: 4c5be88bb5f89b50ca1872a8a6686b777fe8aaa2
2020-01-06 04:45:05 +03:00
levlam
fe28551d4c Do not allow time to go more than 1 year forward between restarts.
GitOrigin-RevId: 1240b52520431f62249364b718840b7e45c886c7
2020-01-06 04:23:59 +03:00
levlam
a6be36e7f2 Always save temporary files in unique directory to ensure that all of them have different paths,
GitOrigin-RevId: 7113952a085f34a04eac38646f5a7a403bf9e9ba
2020-01-06 01:31:28 +03:00
levlam
8a1d035d1a Fix check of poll question and answers length.
GitOrigin-RevId: 4b9f75b8ca58f609d07f0aa73370bc893d3bc120
2020-01-06 00:32:26 +03:00
levlam
123361b26a Better check for is_bot.
GitOrigin-RevId: a4dc6b4b2a38eb3474b2265af32b56f8500818df
2020-01-05 15:24:37 +03:00
levlam
c25a346f54 Ignore BOT_METHOD_INVALID for getAppConfig.
GitOrigin-RevId: 953c9c9c20b31cb7118233db82d146e4ee384a6f
2020-01-05 04:22:03 +03:00
levlam
c33848b6b7 Add git checkout instruction to build instructions generator.
GitOrigin-RevId: 365a84655d0f823c33b838cb2f030146f67497ed
2020-01-05 00:28:14 +03:00
levlam
a9de33970b Add switch_pm_parameters checks.
GitOrigin-RevId: 5a948b1deadce1a5f4cc59af53942338bc00ee01
2020-01-05 00:23:44 +03:00
levlam
5b26485ede Fix SplitSource build.
GitOrigin-RevId: 09aa9993fa30af502cae2cd0a5efe77444112b3c
2020-01-04 14:59:33 +03:00
levlam
30e47390aa Fix warning.
GitOrigin-RevId: 5e4ba1a98ba2675d60b469ae5401d2b9907b66b9
2020-01-03 19:37:03 +03:00
levlam
45bb48bfa7 Make FileDataView private.
GitOrigin-RevId: e3e53f5b97152aab99573d84296ef7094981d544
2020-01-03 04:16:05 +03:00
levlam
c8bf8fa5f7 Use real allocated file size in storage statistics.
GitOrigin-RevId: 6e5232700d8e97ba3ce0838c3bf7764541b6fd2a
2020-01-03 04:08:22 +03:00
levlam
eee0b2b23a Fix preprocessor directive.
GitOrigin-RevId: f473450b6ee28537cb66226ab46745d63d066541
2020-01-03 02:43:49 +03:00
levlam
75ecd9c692 Optimize FileFd.get_size/get_real_size on Windows.
GitOrigin-RevId: e39efbecdd6882bf4465b17dad556b585633b56e
2020-01-03 02:41:57 +03:00