Commit Graph

3391 Commits

Author SHA1 Message Date
Arseny Smirnov
e7e1521fd2 Fix example/tdweb build
GitOrigin-RevId: f924d875361fc363af32e5d703e3cac373927405
2019-12-23 21:33:03 +04:00
levlam
adb10460b2 Minor fixes.
GitOrigin-RevId: 0c678ad195683947355b63af5aff49875312b4a3
2019-12-23 20:48:30 +03:00
levlam
53ce59d00a Do not hide edit date from bots.
GitOrigin-RevId: bea81ad9437f360908cd02a2fe2d63dce99c2390
2019-12-23 19:33:57 +03:00
levlam
64f73bebff Better message entities debug.
GitOrigin-RevId: 05fea435da021773ca6fbb76e81680e4913cde51
2019-12-23 19:01:47 +03:00
levlam
8da2d89884 Fix warning.
GitOrigin-RevId: 635b716f371f5e86cfe4d599d573dc46558ae14c
2019-12-23 18:39:20 +03:00
levlam
b85302f928 Add direct cache for linked channels.
GitOrigin-RevId: 1d994bd0aef96c379312a4be776b7a107cd175da
2019-12-23 18:37:11 +03:00
levlam
1a9fe6a40d Make FileManager::Query::Type enum class.
GitOrigin-RevId: 031229295e1d6e41e0569363d0262e7ce83832c4
2019-12-23 17:32:03 +03:00
levlam
a2cf11ddc9 Do not request app config by bots.
GitOrigin-RevId: 6bf7a97e0824827b9f23856407fe4d489a40f45b
2019-12-23 16:14:43 +03:00
levlam
738fec0d41 Fix assigning of min access_hash.
GitOrigin-RevId: e6b1a815e287a399c7af9e2cac6a1238c0715e17
2019-12-23 05:11:57 +03:00
levlam
03066d10c9 Do not store photo.id in file_unique_id.
GitOrigin-RevId: 51a888c863b90f220964444255c46c9ac5e91c2e
2019-12-23 04:32:02 +03:00
levlam
70926d1882 Avoid double null check for stored to JSON objects.
GitOrigin-RevId: 73fe0eab42d933491a39a83e6bc4fa93dabadc39
2019-12-23 03:44:03 +03:00
levlam
b1314b38be Remove unnecessary ToJson in td_api_json.
GitOrigin-RevId: 93dd7a4f30ad93ab32a0dabf97ce6f856dcf618a
2019-12-23 03:32:43 +03:00
levlam
674e6b79d8 Remove unsafe JsonScope::operator<<(bool) to which pointers can be converted.
GitOrigin-RevId: 0350036ba8dd4b24df8974e1fe95593afe78a309
2019-12-23 03:21:51 +03:00
levlam
5fdb88a8ac Return JsonScope::operator<< overloads for string literals and pointers, because otherwise they are converted to bool.
GitOrigin-RevId: a699415fa15350be1daf9718239b295f272dc3ef
2019-12-23 03:09:21 +03:00
levlam
9788681015 Fix CE.
GitOrigin-RevId: 1e6d1c3dc9a275e7f773e0c1fdf3be82864c63df
2019-12-23 02:46:52 +03:00
levlam
8fd937af26 Better debug logging.
GitOrigin-RevId: 802ee45dc32cbd48023b1bef2678a7399488b674
2019-12-23 02:04:40 +03:00
levlam
dd1ae68f57 Fix documentation.
GitOrigin-RevId: 4c3bc6a52792adf79e055132dcd3ec9f8fb4186c
2019-12-23 01:55:14 +03:00
levlam
051acb85af Fix setting the same background.
GitOrigin-RevId: 2f1d147f32d66916683e1a18bf4734dd8ad70407
2019-12-23 01:29:19 +03:00
levlam
13a6973f4b Support BackgroundFill in backgroundTypePattern.
GitOrigin-RevId: 2d8e594c4acb0380b1ebb687c3727abea09dedc7
2019-12-22 23:02:36 +03:00
levlam
68a211a368 Add rotation_angle support to gradient background fill.
GitOrigin-RevId: ebe65367b2cad8777e6e87cf30815a1f9545da9a
2019-12-22 22:32:01 +03:00
levlam
b48c465b0d Replace GradientInfo with BackgroundFill internally.
GitOrigin-RevId: 62f72414e933e77e79c2d99828988122758956d2
2019-12-22 21:01:51 +03:00
levlam
a1af39bc8f Better scheme for BackgroundType.
GitOrigin-RevId: 01f15daff83986078b9fff55a5e3a70bab2a800b
2019-12-22 20:11:54 +03:00
levlam
e9bb8f2a29 Remove public get_color_hex_string method.
GitOrigin-RevId: cfc3100b814766410fadc6749522457f7e5ad514
2019-12-22 04:42:22 +03:00
levlam
8be871bad7 Add BackgroundType::get_link() method.
GitOrigin-RevId: be2522d94742608e61adbef223a9b161e87b6aa3
2019-12-22 04:34:39 +03:00
levlam
e1f1253e21 Better Gradientinfo implementation.
GitOrigin-RevId: cc7a3c0a94cd2816c2090981f78ddcedd2128d1f
2019-12-22 04:02:39 +03:00
levlam
51611ae422 Introduce td_api::gradientInfo.
GitOrigin-RevId: 436fd124ee3417851031ee32b094a93a8e550599
2019-12-22 03:17:52 +03:00
levlam
04eb931c72 Update layer 107.
GitOrigin-RevId: d8ab8b2016d368f6e4f03c6cf1440232ab66e7f2
2019-12-22 02:56:51 +03:00
levlam
48f5681dfd Add max_video_upload_bitrate to autoDownloadSettings.
GitOrigin-RevId: dc443eae2066c85194efa9d338b5a498be8ffc12
2019-12-22 00:40:37 +03:00
levlam
7666c8a07f Update layer 107.
GitOrigin-RevId: c0ce53032262636e8aea4f824c80e2caad3089b2
2019-12-21 22:30:36 +03:00
levlam
88c5679b13 Add backgroundTypeGradient.
GitOrigin-RevId: db09e39cb4384cd85f53cbc8719b2b2b75206406
2019-12-21 05:28:07 +03:00
levlam
a91d296f87 Minor improvements.
GitOrigin-RevId: f66a5294ec1026c85dc71f62bb0026dce4a09fe0
2019-12-20 20:12:52 +03:00
Arseny Smirnov
3d972da1e6 Stacktrace improvements.
GitOrigin-RevId: 99dd952cff5c9e5edce575b84e365def24a59441
2019-08-14 11:31:25 +03:00
levlam
c093afbf68 Add source to get_channel_full.
GitOrigin-RevId: 4df2ac6b75f92359bf838226f707742764e92209
2019-12-20 17:17:06 +03:00
levlam
7beb6d99d4 Fix saving repaired action bar.
GitOrigin-RevId: 0612ecd99c4bb15e0123d5337305ff071ec035e9
2019-12-20 16:42:26 +03:00
levlam
aa7d8c06bc Add logging in repair_dialog_action_bar.
GitOrigin-RevId: 3aaf69fc3b5f366b00617e52e917a36381b87c2f
2019-12-20 16:32:56 +03:00
levlam
f9f8b832e3 Allow one day to enter password or register.
GitOrigin-RevId: cc32c0ba6f89a39234e1456739ff8cff09b3649d
2019-12-20 16:21:55 +03:00
levlam
7ed9751b22 Add check for null AuthManager just in case.
GitOrigin-RevId: 01fc067b0705589e164fae63a21b405d6813459f
2019-12-20 16:16:30 +03:00
levlam
cefc10e0ba Send updates when ignored_restriction_reasons changes.
GitOrigin-RevId: 8c30b41dfb3a34c9eca3d8a7be4622ee172593de
2019-12-20 16:11:58 +03:00
levlam
98782fb644 Fix warning.
GitOrigin-RevId: 8c7d5d5e8a3503d56ba0edc0b303a6ab09baa827
2019-12-20 05:07:00 +03:00
levlam
47c4d42674 Update version to 1.5.4.
GitOrigin-RevId: 069f6eea120275ff8c227f3406ed675c91c804f2
2019-12-20 04:30:17 +03:00
levlam
4ce946a310 Reload app config after ignore_sensitive_content_restrictions is changed.
GitOrigin-RevId: fa7438017444e41a9b067d52c681e101579cc978
2019-12-20 04:19:40 +03:00
levlam
761a3dab9e Ensure that last set value of ignore_sensitive_content_restrictions is set.
GitOrigin-RevId: 266ac32fac8906b852a9e47561f5f83be74885bc
2019-12-20 04:06:38 +03:00
levlam
b49d4076c8 Preload created channels to correctly transfer ownership.
GitOrigin-RevId: 2741d029d494e4b1ac40d74e70bfb603e988676a
2019-12-20 03:09:25 +03:00
levlam
7a92ee35fc Allow to set ignore_sensitive_content_restrictions option.
GitOrigin-RevId: 17899f72c0485c821c150a258232e1348195a936
2019-12-20 02:58:41 +03:00
levlam
6d8a816a68 Add ignore_sensitive_content_restrictions and can_ignore_sensitive_content_restrictions options.
GitOrigin-RevId: 9a46d3eae3b8e17b51cf33b02e14aedc84261800
2019-12-19 23:00:28 +03:00
levlam
57911db0ba Support ignored restriction reasons from appConfig.
GitOrigin-RevId: 8831b4379764cfd36212083c889449c3d7354114
2019-12-19 19:58:33 +03:00
levlam
5b676ca475 Add unix_time option to response of getCurrentState.
GitOrigin-RevId: 22c4b887b3f5681d0d673510d4e45cde8327b4d0
2019-12-19 19:22:38 +03:00
levlam
b85ba297ce Add blockchain-related options.
GitOrigin-RevId: 70b02df6ad5006b8b13733b070c72e4bb4a9698f
2019-12-19 19:18:42 +03:00
levlam
6605a8c3a7 Automatically get app config after getConfig and preprocess it.
GitOrigin-RevId: 318c01f2718422fe6abad423f10de7549ae63620
2019-12-19 04:58:03 +03:00
levlam
ddd8e6fa0f Move help_getAppConfig receiving to ConfigManager.
GitOrigin-RevId: 310743ea038dffebd59c9b612438bc7cfc7553a4
2019-12-19 04:23:14 +03:00