Commit Graph

1759 Commits

Author SHA1 Message Date
Arseny Smirnov
347a22858c Files: fixes
GitOrigin-RevId: 5469a6c26fbb187fd52ddaf1c8bacfae4ddddbe9
2019-03-10 12:31:24 +11:00
levlam
65f0f78574 Deprecate Log methods in C++ and JSON interfaces.
GitOrigin-RevId: d327c2400432b309d52ed23b04e47ba6adb46682
2019-03-07 01:28:35 +03:00
levlam
48077eb861 Fix setting disable_top_chats option before logging in as a bot.
GitOrigin-RevId: 0fee9765a3bdcc56dd81a7e75b2dc2e9745a70bb
2019-03-06 01:06:33 +03:00
levlam
32ac05693b Hide voter count in non-voted polls.
GitOrigin-RevId: d15190256271ad0e63ebaa83805778f8c8716df1
2019-03-06 00:12:04 +03:00
levlam
f6a3e9037f Add vote percentage to poll options.
GitOrigin-RevId: e53ba947dc781a8db031f06bd69d03b9b9956f77
2019-03-05 23:21:10 +03:00
levlam
8fcb64e579 Compare local settings in getChatNotificationSettingsExceptions.
GitOrigin-RevId: e0ad2683e85f1a2d74206da01dfc9e60248e611d
2019-03-05 17:15:17 +03:00
levlam
0a04a466ef Send updateChatOnlineMember count when a member goes online or offline.
GitOrigin-RevId: e58d65fb71ce4b2a407101e2a494da05106b0b9f
2019-03-05 15:49:10 +03:00
Arseny Smirnov
986ce38998 PartsManager: recalc streaming_ready_size_ when streaming_offset changes
GitOrigin-RevId: e2b82154cbf9ef1f1bf4ed322f518eb0f4ead0cc
2019-03-05 10:48:50 +03:00
levlam
b9d73b5c47 More start_up and bots fixes.
GitOrigin-RevId: 1f72829332cea0b863cb7813b490782f0ed39db3
2019-03-05 07:35:17 +03:00
levlam
285b590058 Disable online member count calculation for bots.
GitOrigin-RevId: a53e92a44fab9375c9af318c08d119d398e2e0a6
2019-03-05 07:00:18 +03:00
levlam
8bb1747ef6 tg_cli: fix gmf.
GitOrigin-RevId: 3b6fe4514fc06bf65ce1200ab9f2f8603c65ef90
2019-03-05 06:45:14 +03:00
levlam
063e8872df Fix notification usage for bots.
GitOrigin-RevId: 4645b1c91e5bb1e6a7ef5429efe690c52a8ee257
2019-03-05 06:01:49 +03:00
levlam
d038c6b5c4 Update Chat online member count on any participants change.
GitOrigin-RevId: 6049a003d73e86d2bb30b9364a07aa3050be3a7f
2019-03-05 05:18:31 +03:00
levlam
b20d9ba6d6 tg_cli: add gmf.
GitOrigin-RevId: 6fb0ca0dc371e650bc42f6bd86601ae9d1720a26
2019-03-05 02:06:48 +03:00
levlam
1ee2b63230 Fix streaming_ready_size_ calculation.
GitOrigin-RevId: 62ad330749e88188697de7f23b525ac9e426d780
2019-03-04 00:37:25 +03:00
levlam
b13903646e Make publish_date field name consistent.
GitOrigin-RevId: 0f8df2c27e85195c5a468c49e9574b87ff3ac97c
2019-03-03 07:07:15 +03:00
levlam
0b689bdc23 Add poll search text.
GitOrigin-RevId: a7da84edd364361186db1cf0807759b94b601f95
2019-03-03 06:36:30 +03:00
levlam
dd7af98c8e Fix seqrch query truncating.
GitOrigin-RevId: 2c0ae82d21a0faf248bc6f0fc428b567fc66b031
2019-03-03 04:23:57 +03:00
levlam
03de2b47e8 Send updateChatOnlineMemberCount with 0 after chat is closed.
GitOrigin-RevId: cb5c91783cc235b340f8274cfb76ffe0b68e474a
2019-03-02 22:18:40 +03:00
levlam
a4ab41f8f8 Fix warning.
GitOrigin-RevId: 0f21169fe0d8b0ea5417f6e2a516d36f46502963
2019-03-01 16:09:06 +03:00
levlam
f1419395df Add user.is_support flag.
GitOrigin-RevId: 6c1774d309eefdb20e75e2b01e07a4738efcde81
2019-03-01 05:35:01 +03:00
levlam
f8cc501d7a Increase message unload delay for bots.
GitOrigin-RevId: ef1de21396a719670cc67f3f90c56fafa5cb4d9e
2019-03-01 04:04:02 +03:00
levlam
8edd3b3811 Fix adding thumbnails to file_ids list.
GitOrigin-RevId: 880d7b1720050685b502925aa281c6de4945e1fb
2019-02-28 21:40:57 +03:00
Arseny Smirnov
604547adc8 FileManager: fixes
GitOrigin-RevId: fd6071262f55fb803f67359b9f7e5075fcec862e
2019-02-27 19:00:10 +03:00
Arseny Smirnov
66c604f2d4 FileMananger: do not store file reference is persistent file id
GitOrigin-RevId: 6da317bcac575ed4398a8971229250c0948ee097
2019-02-27 18:08:24 +03:00
levlam
bbf67ad700 Add more documentation for Message.can_be_edited.
GitOrigin-RevId: b55252eeb968c3075e3a532058d7cf02c338b9d8
2019-02-27 03:02:19 +03:00
levlam
a7a3d3c135 Fix creating postponed getMessage requests for pinned message.
GitOrigin-RevId: 8f5136516ef01962e52d72c14bc4f6bb58e8de75
2019-02-27 02:54:15 +03:00
levlam
80edd0b059 Add UTF-8 checks for user names after they are loaded from database.
GitOrigin-RevId: e99c0b2a60791c683ad4c72b224cf6123598f756
2019-02-27 02:41:16 +03:00
levlam
0bf5825c01 Fix set_download_limit.
GitOrigin-RevId: 4f4e77bde657d6586ffbe861e1affc6b3c14d4a2
2019-02-27 00:42:54 +03:00
levlam
bb5ffc0c8c Channel statistics support.
GitOrigin-RevId: 39d17de81087c9789b6c717cf1ed5f01edc6360b
2019-02-26 23:37:59 +03:00
levlam
f1519230c9 Update member online count from time to time.
GitOrigin-RevId: 8b9e0f4d922a17c0f14755289a25e91b1ab4c6fc
2019-02-26 18:24:46 +03:00
levlam
60e5854fcf Send updateChatOnlineMemberCount whenever dialog is opened.
GitOrigin-RevId: e85a9f04705da10e6b148d0d4c1b843241620c42
2019-02-26 03:41:49 +03:00
levlam
8795d002de Add updateChatOnlineMemberCount.
GitOrigin-RevId: 3c4a21b924acc4c5ff9af66a4d8c9d13b6effd26
2019-02-26 03:24:33 +03:00
levlam
5d8f7569b6 Add logging.
GitOrigin-RevId: c58fb67d9332f83a9c39ac8f3b02dc25beb98629
2019-02-25 21:55:45 +03:00
levlam
f3be5d6534 Return PasswordState from confirming recovery email address methods.
GitOrigin-RevId: 0f897eeac6b09dd6edcfe1237226e7df7116a175
2019-02-25 21:37:26 +03:00
Arseny Smirnov
ffd7b166d9 PartsManager: fixes
GitOrigin-RevId: 7e4c663f53aa8b146cf9119ddf8e9fa680bb738b
2019-02-26 17:14:07 +03:00
levlam
e9ba66858d Delay non-awaited combined queries.
GitOrigin-RevId: c6f444bf0b78892afd60ab0015f51afde1fc70c3
2019-02-25 20:44:28 +03:00
levlam
a2a864852d Do not store empty promises in QueryCombiner.
GitOrigin-RevId: 5222075d6722008902b0337d2aee369aee0f005c
2019-02-25 19:27:06 +03:00
levlam
40ae8b9fd5 Disallow forwarding of local polls.
GitOrigin-RevId: a83397233c86ff791eda2c1cd39be77ee8488307
2019-02-25 19:19:01 +03:00
levlam
35d3be72f3 Add CHECKs in register_poll/unregister_poll.
GitOrigin-RevId: 5e87cf053b6b174dd20070a8a1b1d45874080ec7
2019-02-25 19:12:35 +03:00
levlam
2c2866b5fc Add simple QueryCombiner.
GitOrigin-RevId: b863a06adff6ed010424ca42be338c410a487ccb
2019-02-25 06:08:18 +03:00
levlam
e22d3b7c28 Return result through Promise from GetFull*Query.
GitOrigin-RevId: 40849a7f4a1febaa35c36b811717b48932da2bff
2019-02-25 04:16:41 +03:00
levlam
6787973944 Simpilfy handling of *Full results.
GitOrigin-RevId: c084e4c389d559b31e74fafc1d4a8cd05983700a
2019-02-25 03:41:19 +03:00
levlam
e27354bf8a Add sanity checks for polls voter count.
GitOrigin-RevId: dba4406f261609a78f4eddd32b93e94793fecc7b
2019-02-25 00:00:17 +03:00
levlam
812398ae7b Fix registering polls in a just sent message.
GitOrigin-RevId: cea331e39437aa6376048fb78a569f3d908f7022
2019-02-24 23:49:55 +03:00
levlam
6af95d721d Deprecate Log in .NET native binding.
GitOrigin-RevId: 08d3321d68a7406dd0e2a5f5877619d9e864ba1e
2019-02-24 19:17:36 +03:00
levlam
3226e859ad Increase version to 1.3.6.
GitOrigin-RevId: a7309b7629746309e13d46662df1b2ded4917d75
2019-02-23 23:05:30 +03:00
levlam
68afd36808 Add logging.
GitOrigin-RevId: d6f3e17e2c37ec4d04c25eb6756cfebfd325ffba
2019-02-23 22:34:50 +03:00
levlam
b574f6a6c9 Fix preauthorization requests documentation.
GitOrigin-RevId: 0bf2bdb5cc50bcff2477884f8ad6c3ea1b614c1d
2019-02-23 21:32:20 +03:00
levlam
a008965872 Fix CE.
GitOrigin-RevId: 7cd3c546317d47d8cc2124c2dd26dcc4246b7669
2019-02-23 20:59:29 +03:00
levlam
0e045bda6e Add td_api::synchronizeLanguagePack method.
GitOrigin-RevId: a5ebac7c658c30c0e760f0176cddf6424348c6e9
2019-02-23 20:27:14 +03:00
levlam
f32ed5c405 Add LanguagePackInfo.is_installed field.
GitOrigin-RevId: c32c51a4584ab98aae3b15a1f31cfd9bff268a79
2019-02-23 18:29:04 +03:00
levlam
58f63d36d6 Fix includes.
GitOrigin-RevId: d633dc842591cd28a03f9fba6974a171926ed229
2019-02-22 23:15:43 +03:00
levlam
075874d729 Poll results polling.
GitOrigin-RevId: 3d70603f2f219f069e2784206adc5d7c7c96ff3f
2019-02-22 22:53:02 +03:00
levlam
f35e43c827 Better names for Actors.
GitOrigin-RevId: 3a5b1ef938a5462b3419df041cb0ae09ef9c97c3
2019-02-22 18:36:34 +03:00
levlam
720df7ff12 Move SecretChatLogEventBase to SecretChatEvent.h.
GitOrigin-RevId: f660d722323297f70dd21e6d4c927936188e7d03
2019-02-22 18:33:14 +03:00
levlam
168add9006 Add td_api::stopPoll.
GitOrigin-RevId: f2d9b5d42e267b9d06591450d69efb323639bb66
2019-02-22 18:09:55 +03:00
levlam
bedd80c23a Remove updateChatIsPinned fix, because it isn't needed.
GitOrigin-RevId: de4a3ae5e9b217e93e45da589f9ee88215c02fd6
2019-02-22 03:36:08 +03:00
levlam
64150108b8 Better fix for updateChatIsPinned.
GitOrigin-RevId: 5ac58bf88cc61daada427f137335e4d14b4c33f9
2019-02-22 03:29:21 +03:00
levlam
559aca6cec Use the same poll options as in Android client.
GitOrigin-RevId: bb8527d1a67872686028c38c27352e2632eb9711
2019-02-21 22:37:15 +03:00
levlam
4a4c8bd534 Add get_message_from_server proxy-method.
GitOrigin-RevId: 02673a150241dc428c4161f87b5dd0651984c4a9
2019-02-21 22:28:53 +03:00
levlam
86f4ff2559 Suppress updateEditNotification if message is not changed.
GitOrigin-RevId: 321bde528dc1ade4e079dc556052b4314dcdced8
2019-02-21 22:19:01 +03:00
levlam
2f8936e94e Add message changed debug.
GitOrigin-RevId: b03803d9d8079eeb397ba7e507f1ad4739d276ee
2019-02-21 22:08:21 +03:00
levlam
d602c3fa1f Reget message from server after DATA_INVALID error.
GitOrigin-RevId: 776fbc4d6290b2fe055c66654d0ab0ba4d649fb8
2019-02-21 21:30:11 +03:00
levlam
4d5fb2902c Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +03:00
levlam
e6b0b19ea8 Update comment.
GitOrigin-RevId: 663bef62ac8310fba5aa5c717005a715a21c8985
2019-02-21 19:51:52 +03:00
levlam
0cf1e152fb tg_cli: use td_api::make_object.
GitOrigin-RevId: 8129226fe81e8730b667a8249ef06aecc86ccd66
2019-02-21 19:48:05 +03:00
levlam
11272f6205 tg_cli: combine df and dff.
GitOrigin-RevId: d34c0f5876c011a9258922ad24276bbe97403227
2019-02-21 19:45:42 +03:00
levlam
29446af0c0 Fix sending updateChatIsPinned after setPinnedChats.
GitOrigin-RevId: 174c40209eed399cf524d7335f7815de50e2ee74
2019-02-21 19:32:47 +03:00
levlam
93494cf048 Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
2019-02-21 18:58:20 +03:00
levlam
2e144e6e3e Add setPollAnswer logevent.
GitOrigin-RevId: e73a3c5af859053fa9210eec2874077f47b00a12
2019-02-21 17:40:37 +03:00
levlam
4c6fc2be14 Cancel previous setPollAnswer query.
GitOrigin-RevId: aeffa84d6895199541f449d9e4c344b134d361e4
2019-02-21 15:42:54 +03:00
levlam
b852bd145f Add td_api::setPollAnswer.
GitOrigin-RevId: 40c409ea8b4bba6d1ee0137a5cab8dca889d71dd
2019-02-21 15:23:05 +03:00
levlam
d22dfb2a0c Rename poll answers to options.
GitOrigin-RevId: bcb2b9f6b29b58a3460df18773148eb426935664
2019-02-21 03:52:58 +03:00
levlam
d6dd0a0bb9 Better updating message forward info.
GitOrigin-RevId: a5448c7b63b91f42088e26e00346cc7094ddea92
2019-02-21 02:13:20 +03:00
levlam
bfaaf09b2b Send updateMEssageContent about changed polls.
GitOrigin-RevId: bb61f466759ac27c687411861f8c7452cd5758ce
2019-02-21 01:54:31 +03:00
levlam
7890da322b Better actor names for PingActor.
GitOrigin-RevId: 250b34e07669e2df94597afbef3dec9719258ba7
2019-02-20 05:52:09 +03:00
levlam
026863bf09 Fix get_dialog_message_by_date.
GitOrigin-RevId: efb19a9b3f174f45da9296615d270de2e384f31b
2019-02-20 05:44:54 +03:00
levlam
16d7278db9 Improve logging.
GitOrigin-RevId: 00d69bf29fb339c0eaaffbf9150bc2285b56fd3b
2019-02-20 05:37:04 +03:00
levlam
47512f0838 Force getChannelDifference if receive updateReadChannelInbox up to unknown message.
GitOrigin-RevId: 112fdbe7a95c1d6266d490c6d85efe798d3b59bd
2019-02-20 05:16:16 +03:00
levlam
7ab251c8f5 Do not warn about wrong unread count in left chats (it is known to be wrong).
GitOrigin-RevId: 33d82d5ecc4f9e4e7fefc6bc55b0a30c3c8a0337
2019-02-20 05:06:11 +03:00
levlam
6c728d67e0 Do not repair unread count in left chats.
GitOrigin-RevId: ccee30ac61202671b43f402f72e2247008138680
2019-02-20 05:00:54 +03:00
levlam
9d3bfaa979 Add source to on_update_dialog_notify_settings.
GitOrigin-RevId: a3b6d44d6e4b07ab05f564180ad071c15a6c49b6
2019-02-20 04:30:22 +03:00
levlam
eeceb2c1aa Fix documentation escaping.
GitOrigin-RevId: 691cad7eb078eac7642bd58655a8408d1229b9b1
2019-02-20 04:23:02 +03:00
levlam
95c2bb1730 Fix loading previously pinned message.
GitOrigin-RevId: 63948600bb4dd02c6c31611233b24126ae9912e8
2019-02-19 22:53:17 +03:00
levlam
a73c383c66 Guarantee session order in GetActiveSessions.
GitOrigin-RevId: 9d625e4d9a1c8fb5e2ff5d9aff3591e84ac842f3
2019-02-19 22:36:26 +03:00
levlam
97c62b48f5 Silence some BOT_METHOD_INVALID errors.
GitOrigin-RevId: d248a663a054029d97dd2884582d01ee4dbb68b1
2019-02-19 21:15:08 +03:00
levlam
74b37c56a2 Make Location.access_hash mutable.
GitOrigin-RevId: c035dcdc3873d39436bb5fb9f5680f066c8debe1
2019-02-19 18:52:09 +03:00
levlam
839c1856ff Register polls.
GitOrigin-RevId: 812e3e699a578effab96c4d798d5b74ddf635371
2019-02-19 18:42:59 +03:00
levlam
95f7b129c8 Add on_message_deleted method.
GitOrigin-RevId: 81b8eb1c5e213d4ed1c515bdbe32de407ba8a4bc
2019-02-19 17:33:15 +03:00
levlam
9de3304ec4 Close failed to send polls.
GitOrigin-RevId: 6f9dcde4bbfcbc1fa63ed94641775007e3091706
2019-02-19 17:06:48 +03:00
levlam
5ef99afec7 Add messagePoll support.
GitOrigin-RevId: 41b93b2708285e4051fc01b856aa14a8c8c5c692
2019-02-19 16:45:32 +03:00
levlam
8f33e737e1 Ypdate to layer 91.
GitOrigin-RevId: 15675ae2938bbc64dd288fce11cbd9cab1c714e3
2019-02-18 03:27:35 +03:00
Arseny Smirnov
206fbc0686 downloadFile: add limit:int32
GitOrigin-RevId: 395d29e8383db5c54a3f85a555c4e9648546ef47
2019-02-18 22:08:05 +03:00
levlam
8b233484e0 Do not copy show_preview notification setting to secret chats.
GitOrigin-RevId: 5c02532e5dbd26d1e5d8f9e9afee44ae33b65784
2019-02-18 02:41:53 +03:00
levlam
1c3503f834 Do not copy local settings from ScopeChats to ScopeChannels.
GitOrigin-RevId: 2c24d02ca35012a45e144f28035297ebbeddc85e
2019-02-17 18:25:15 +03:00
levlam
0d1be06cae Minor fixes.
GitOrigin-RevId: 252036493c4c9e94367ef13246bde96b2f89415a
2019-02-17 16:52:34 +03:00
levlam
5d1f93c1c5 Add PhoneNumberManager.h.
GitOrigin-RevId: 7823601e61375efd9e7166add8028d3f5ee6ad1f
2019-02-16 19:01:47 +03:00
levlam
b52a66bf12 Add SendCodeHelper.h.
GitOrigin-RevId: 0e8ad767eb1415856b329f508d8741bf4e7912f7
2019-02-16 18:49:39 +03:00
levlam
8ffcd29f11 Ignore duplicated auth.authorization.
GitOrigin-RevId: 235ebefb1bad5281bdfaa74447571287265ebb6b
2019-02-16 18:35:01 +03:00
levlam
aae567f0c0 Fix GetNotifySettingsExceptionsQuery.
GitOrigin-RevId: b82e7c10304247002bde0ef568c79b38d7e688d6
2019-02-16 05:52:08 +03:00
levlam
c8cfee8d7b Better deduplicating saved animations and recent/featured stickers.
GitOrigin-RevId: 2bc58b3fabbf1cb01727e584036846e6acde0cc6
2019-02-16 05:29:28 +03:00
levlam
71aa152460 Add FileLocationSource::FromBinlog.
GitOrigin-RevId: cedd828bbd79a8cfc04efa0ecb239dafbfed4eab
2019-02-15 23:22:40 +03:00
levlam
24128120cb Add more logging and minor file reference fixes.
GitOrigin-RevId: 42fd08c7e7d8c4d0be12e5cddb352dd874553edb
2019-02-15 23:09:18 +03:00
Arseny Smirnov
49965b4ab7 FileManager: set full_source in set_new_remote_location
GitOrigin-RevId: e088e6858baff79ffc035bb7a05d2ffa5ec77b60
2019-02-15 22:40:09 +03:00
levlam
27a0bbd158 Precerve file remote in check_input_file_id.
GitOrigin-RevId: 52a3d32a606b8907f1ab94b7c10c2413346e66ec
2019-02-15 21:49:02 +03:00
levlam
fd5b5d6e55 Fix cancelling upload file for yet unsent messages.
GitOrigin-RevId: e525b421c7cf1cd98923215dba23966496f2e36c
2019-02-15 19:54:18 +03:00
Arseny Smirnov
75db56dcb3 FileManager: fail upload, when we cannot restore file reference
GitOrigin-RevId: 01f63f9405eb910a7ca09aa4203cb31888a7a8d0
2019-02-15 12:25:21 +03:00
levlam
20c95b93f4 Fixes for force_reupload.
GitOrigin-RevId: 4adb2e498738ab4ebfd22605382cfec150c0de36
2019-02-15 00:19:48 +03:00
levlam
d98aaa571f Add td_api::getChatNotificationSettingsExceptions.
GitOrigin-RevId: f2ea5ced7cb2c62841dd961c4ce433f39c202f92
2019-02-14 21:44:20 +03:00
levlam
fa89033923 Support getOption for "disable_contact_registered_notifications".
GitOrigin-RevId: 5bcfaab65cc7a25fcb8c99ceb8e6fe9c01b714e1
2019-02-14 19:21:54 +03:00
levlam
ec692e98e4 Remove some errors logging while closing.
GitOrigin-RevId: 65e4ca3d0748b4d59511d9024e2eff1367e13cf7
2019-02-14 18:36:16 +03:00
levlam
ab2c23c220 Support server-sde setting for disable_contact_registered_notifications.
GitOrigin-RevId: 963ff137b495bf8784ac434ed76ee165fe918bfc
2019-02-14 18:25:31 +03:00
levlam
e7fc6f4d58 Update layer to 90.
GitOrigin-RevId: d105e3fe4c4c16764a8062915ad20bb9b8e3f815
2019-02-13 19:05:34 +03:00
Arseny Smirnov
82589eeb2f FileManager: force upload, and separate full and partial remote location storage
GitOrigin-RevId: 3bdc218738558012ee6e2a790a553b2f0fea1d62
2019-02-14 14:20:40 +03:00
levlam
25018bdf12 Fix another g++ CE.
GitOrigin-RevId: 1c28f665abe00068b20565f937da695981f9e9fa
2019-02-13 02:51:46 +03:00
levlam
8c3eb953ae Fix some g++4.9 CE.
GitOrigin-RevId: 0d4ed1e684fd623a7ab5849e4f0f7ec2fd182694
2019-02-13 02:29:52 +03:00
levlam
ce7c9feef1 Minor.
GitOrigin-RevId: dce97d9fae9b22ea19385cd73ab914a19d9b03f6
2019-02-13 00:47:48 +03:00
levlam
dd398c5968 Fix formatting.
GitOrigin-RevId: 144f91ea1ad0a1f9a8e5e08c4c10f238b066be47
2019-02-13 00:28:47 +03:00
levlam
9b42166c68 Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
2019-02-13 00:26:36 +03:00
levlam
eb9ead582f Remove unneded includes of td/utils/loggging.h.
GitOrigin-RevId: 82a3b506dba5c9d5267dc0e2504a7093a7fa87db
2019-02-12 23:48:16 +03:00
Arseny Smirnov
61288bd8ab CHECK: fixes
GitOrigin-RevId: 5bccb4634a0c77e159ce3cdf80c37ff8a500bbd0
2019-02-12 20:48:13 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
130b49a524 Various include and other fixes.
GitOrigin-RevId: 68e03e0636cd4cff3e6fa876342ba16453630f15
2019-02-12 19:48:52 +03:00
levlam
c7fff4539f Fix FileLocation.hpp include.
GitOrigin-RevId: 135722eba90cfa17dbd112663f17a7945acd5f72
2019-02-12 17:04:12 +03:00
levlam
5fbdc36af0 Return include FileData.h.
GitOrigin-RevId: 6c0adfc64ca8774cb7b8c72f01f5ad7965d577ad
2019-02-12 16:47:13 +03:00
levlam
54bf7287ec Language pack handling fixes.
GitOrigin-RevId: 0624dab4245208feef2e386479e75761acbe12bf
2019-02-12 06:28:14 +03:00
levlam
ed25f88c19 Prefer InputFile over remote location in get_input_media.
GitOrigin-RevId: 01db2a0669b966ddac59b7f18b62f154cb54a427
2019-02-12 04:50:30 +03:00
levlam
37efb237c7 Fix warning.
GitOrigin-RevId: 9f43d43faad9e19d56f97b506aa6f4c4efb3659e
2019-02-12 04:35:30 +03:00
levlam
a919bfa358 Add td_api::getLanguagePackInfo.
GitOrigin-RevId: 39615978013653178881b584873e04a934fc95b0
2019-02-12 04:15:45 +03:00
levlam
b9b8c24717 Add td_api::addCustomServerLanguagePack method.
GitOrigin-RevId: b1c19ffddf8f0e8c89a602d217b0797f2df8b619
2019-02-11 21:53:10 +03:00
levlam
350e7fd6fc Support new languagePackInfo fields.
GitOrigin-RevId: ad99afe9694458448fddc84803a8beeb33a64a70
2019-02-11 20:57:35 +03:00
levlam
9995e9aa5b Base language pack support.
GitOrigin-RevId: 165941c5074e49f66e5f5aeded77ca0372a0ab3f
2019-02-11 03:45:09 +03:00
levlam
f67138815a Support new updateLangPackTooLong.
GitOrigin-RevId: a3707b2b9d763a0ad58e9e7201b67f7db81cbecc
2019-02-11 01:12:42 +03:00
levlam
eb7268f393 Support resendRecoveryEmailAddressCode.
GitOrigin-RevId: 598b28a56b44640d2f693b9dc26369931b070b16
2019-02-10 23:32:49 +03:00
levlam
de9f167bff Add checkRecoveryEmailAddressCode method.
GitOrigin-RevId: 9601d8227586f988dae26ffb230c6f12f0196193
2019-02-10 23:16:52 +03:00
levlam
0075f91e2e Unify spelling of "expires_".
GitOrigin-RevId: 46aaff38317dd490f9d5a1250e426d94cb8aba75
2019-02-10 03:45:15 +03:00
levlam
d1022a389b tg_cli: use as_input_file whenever possible.
GitOrigin-RevId: 7b991345475f36100954f9889291fe79c84d233c
2019-02-10 03:03:54 +03:00
levlam
b7b5fc0f06 A lot of file reference fixes.
GitOrigin-RevId: cfe82f1ea2f6fda7d5c63eb7f19e411fe5df61ff
2019-02-10 02:39:58 +03:00
levlam
3db62de13b Temporary clear file_references loaded from database for testing.
GitOrigin-RevId: e8bbb51d76b3e283afe1b7ffa7ad92efa40d6353
2019-02-09 19:52:25 +03:00
levlam
6a43a9e91e Support file reference errors in SendMultiMediaActor.
GitOrigin-RevId: ef25dd8bedab0998db1e57572e46e072c5e2e374
2019-02-08 17:54:23 +03:00
levlam
60241730da Add td/telegram/files/FileLocation.hpp.
GitOrigin-RevId: a6fd7c026b88006dc0f26694b2299cce2258d6c4
2019-02-08 00:00:26 +03:00
levlam
bf9842bff1 Update layer to 89.
GitOrigin-RevId: acdaebced325dd66a169264621567b17dd42762c
2019-02-07 23:25:27 +03:00
levlam
de7befcbd2 Fix PeerToPeer calls privacy.
GitOrigin-RevId: e1732e5fffc1b76375766c02acfefc86ae7c7b45
2019-02-07 21:53:54 +03:00
levlam
41d162f62b Fix list item labels.
GitOrigin-RevId: c24d6efcc9f2dc36870a047a227f7af0ef93275f
2019-02-07 21:45:08 +03:00
levlam
d03c74e9f7 Fix get_web_page_file_ids.
GitOrigin-RevId: cb8c7067a05e1136ae8588df3aee5e3327de00c3
2019-02-07 21:05:40 +03:00
levlam
caf713367c Instant view 2.0 support.
GitOrigin-RevId: 8305ea5bb716061f5188bfbb2f6765760d543f59
2019-02-07 19:30:59 +03:00
levlam
3c8f56fc66 Support pageBlockMap.
GitOrigin-RevId: f2c4c6f6d84135d10fc1f53fb13290107827a89f
2019-02-07 18:28:49 +03:00
levlam
e34d46ac6a Support pageBlockRelatedArticles.
GitOrigin-RevId: a527bddf568842f986c87830ce8f9d53f6a53c09
2019-02-07 17:44:09 +03:00
levlam
5a8566bac2 Support pageBlockDetails.
GitOrigin-RevId: 82e90d7e01dc4f6bff19a64a11958fc42ff5c3a6
2019-02-07 16:38:11 +03:00
levlam
558a0f9b35 Support PageBlockTable.
GitOrigin-RevId: 602d58aaba14e6433c624fe08f8d12be20b2f1b2
2019-02-07 02:58:27 +03:00
levlam
7dbb666a3b Support new PageBlockList.
GitOrigin-RevId: 763af27e6aa32daa8a30ecb9d87a9c0e7152a5ce
2019-02-06 23:20:11 +03:00
levlam
4017c2098c Save web_page_id in RichText::Url.
GitOrigin-RevId: a3981f801c2704f0e898f330517209cfb26d27f6
2019-02-06 21:16:12 +03:00
levlam
9d81e82721 Support pageBlockPhoto URL.
GitOrigin-RevId: 12c91546ccfe87f3fa995933dea81a705f5009c0
2019-02-06 21:00:00 +03:00
levlam
13b54369b7 Support pageBlockKicker.
GitOrigin-RevId: c2eb81a7041b62ddc2214eb3e9bfcbf87a4f2818
2019-02-06 03:50:38 +03:00
levlam
c6bbc4265e Support unknown dimensions in pageBlockEmbed.
GitOrigin-RevId: fb808fb13abfa0d2f6b4c460e5102984c149ef3d
2019-02-06 03:17:20 +03:00
levlam
bc8b5d359c Add FileData.hpp.
GitOrigin-RevId: 2bb4c0469c7d9acfbd6c6f21c82718bd7d4c57df
2019-02-06 03:06:29 +03:00
levlam
d06e833626 Optimize get_web_page_file_ids.
GitOrigin-RevId: 59489eb0b5465a02b08a3fc8880a352440852163
2019-02-06 02:58:01 +03:00
levlam
30d9664e3e Update WebPagesManager::get_file_ids.
GitOrigin-RevId: bd729d5fe0753c0d4b671834d55ff54b6cd177ac
2019-02-06 02:46:27 +03:00
levlam
fb3239d183 Support pageBlockCaption.
GitOrigin-RevId: 7f53b8a1cb63c2d78ca7ce58a6466daa1b818abe
2019-02-06 02:24:29 +03:00
levlam
3ed7d4ec34 Make FileDb dependency on FileData private.
GitOrigin-RevId: 00cbd0afe5e42d66212e8666e6e7c4d4ed13b9be
2019-02-05 22:43:45 +03:00
levlam
f8ea817b89 Support richTextInlineImage.
GitOrigin-RevId: 36528db98c0da35f342e1dc893ca66050e639ad8
2019-02-05 22:41:25 +03:00
levlam
029d0ed8b1 Support 4 new kinds of rich text.
GitOrigin-RevId: 757e64355bb59a9bf4d205e1c6c01335398e2d1f
2019-02-05 21:08:00 +03:00
levlam
a43296fce1 Update layer to 88.
Add webPageInstantView.is_rtl flag.
Add callStateReady.allow_p2p flag.
Add userPrivacySettingAllowPeerToPeerCalls.
Add session.is_password_pending flag.

GitOrigin-RevId: 594dc91a0c38840a224315ca841f74b47e1bf0c0
2019-02-05 01:08:15 +03:00
levlam
14670fb1e6 Fix setting of is_pinned_message_inited.
GitOrigin-RevId: 0d76948b15dc5b473b80b9e136823d3c3f874e0a
2019-02-04 21:18:51 +03:00
levlam
d0fc6930e4 Fix updateing pinned message.
GitOrigin-RevId: 55d651c182c379f194f3cd8fbbbfab47b3d3e9e4
2019-02-01 16:43:55 +03:00
levlam
bdfd8f4523 Move notification settings conversion to NotificationSettings.cpp.
GitOrigin-RevId: ac4dcc19183f1ffeba6ebae70a3c9049a9eee415
2019-02-01 15:47:27 +03:00
levlam
591576e6a4 Support pinned messages in private and basic group chats.
GitOrigin-RevId: b08ba37a6b27f871e394b5e4ac1864766f046134
2019-02-01 15:19:32 +03:00
levlam
563a88fde4 Treat empty notification sound as "default".
GitOrigin-RevId: bc32890cf3365dc3c46ed93724022efd631ba602
2019-02-01 15:16:00 +03:00
levlam
f465b460ca Separate scope notification settings for channels.
GitOrigin-RevId: 11d11b2ddba5381d9dcac84768d923fa367f0248
2019-01-29 14:40:56 +03:00
levlam
a93ec0605e Update layer to 87.
GitOrigin-RevId: d3079f5c906d1fea79fca14e04a23cd05ee1ba3d
2019-01-29 03:13:15 +03:00
levlam
5e935dce15 Improve logging.
GitOrigin-RevId: 3fa2912952040e172567ef06728678750c2b452a
2019-02-05 02:54:39 +03:00
levlam
833bbdbb11 Improve merge_choose_remote_location.
GitOrigin-RevId: 0c145a4a1f6d43ebdf5eb618b581539f31eabc40
2019-02-05 01:45:16 +03:00
Arseny Smirnov
c08cbd5b54 FileManager: properly update RemoteInfo
GitOrigin-RevId: ac7b0d8a104ed2f74bfd6eb909eca859fe870c8a
2019-02-04 19:59:01 +04:00
levlam
c6d1a10734 Support repairing file references in SaveRecentStickerQuery.
GitOrigin-RevId: 710cd8d2bb126456dae78848eb5acaace18ffbca
2019-02-02 14:41:30 +03:00
levlam
7551b5617f Support repairing file references in SaveFavedStickerQuery.
GitOrigin-RevId: 92b0b851130c75bfb6bd7cab813aae815aba5200
2019-02-02 14:14:20 +03:00
levlam
005f943537 Add fileSourceFavoriteStickers.
GitOrigin-RevId: 4affa759ed53ace4b2f03c44cbf9f1c66b4890ac
2019-02-02 13:54:40 +03:00
levlam
7095879641 Add fileSourceRecentStickers.
GitOrigin-RevId: 727361a312d64588852dad07b1742bf596e9b5ad
2019-02-02 13:30:49 +03:00
levlam
282edef55b Add more delete_file_reference logging.
GitOrigin-RevId: f19b9140e4feb77d10927d5e40dd82aa8a8b09ac
2019-01-31 15:24:32 +03:00
levlam
7d28b73f5e Move DhHandshake to DhHandshake.{cpp,h}.
GitOrigin-RevId: b34d9ae18e2106d3843223bc8609f5a89b6568f6
2019-01-31 14:26:06 +03:00
Arseny Smirnov
8a80571903 Files: make all file references encoded with FileReferenceView
GitOrigin-RevId: c876f0d115035cb0e9030b6a4124c31c53a191b2
2019-01-31 12:33:35 +04:00
levlam
5e2a71d8fb Add Query.h.
GitOrigin-RevId: f795d804e9d3feb4f72517dc84bd13bfe7955bc4
2019-01-31 05:37:59 +03:00
levlam
e0765a3c82 Move structs definition to cpp.
GitOrigin-RevId: 49480b9592e9ac58311684d2e6638011b9149e9b
2019-01-31 05:27:21 +03:00
levlam
534eab1912 Add PacketInfo.h.
GitOrigin-RevId: 76db525e427aaa8afc0f64473743dffaffdd89be
2019-01-31 05:23:40 +03:00
levlam
b9fc33b7d1 Add TransportType.h.
GitOrigin-RevId: 403b10f5dcc161be411710749c70734cf9a4fc62
2019-01-31 05:13:59 +03:00
levlam
7542612098 Fix some includes.
GitOrigin-RevId: 47d6bcd57e12314cc46c8f23ef10c10cea04fdcb
2019-01-31 05:05:40 +03:00
levlam
d4997705e5 Minor fixes.
GitOrigin-RevId: ce3af62ed57a0d205e6270a950fa0a243afea118
2019-01-31 03:20:27 +03:00
levlam
f875e0d4af Better error message for cancelled editMessageMedia.
GitOrigin-RevId: 8e59aad0dde3acb9f0e819ac05833338ce680754
2019-01-31 03:06:21 +03:00
levlam
346202fbaa Fixes for delete_file_reference.
GitOrigin-RevId: 15ffa944a037d34954ce5e7b0cea22131e1e976e
2019-01-31 02:57:14 +03:00
levlam
996869d4ca Implement store/parse FileSourceId.
GitOrigin-RevId: ff0d80bf2a8d479dae0cdca2c806a9731ff499d9
2019-01-31 00:37:38 +03:00
Arseny Smirnov
5203da0895 FileManager: try_flush_node_pmc
GitOrigin-RevId: dd087402d0339ca02979f96e1dbe32b8646ab4d1
2019-01-30 20:40:23 +04:00
Arseny Smirnov
2032f89723 FileManager: support two file references for photos
GitOrigin-RevId: f27a9867315e12e79a456c12949d8d2580531bbe
2019-01-30 20:08:50 +04:00
Arseny Smirnov
b481ce8465 NotificationManager: decrypt_push
GitOrigin-RevId: 9f623bf065d54f402ca824d40e0515111330b7a7
2019-01-29 19:16:52 +04:00
levlam
429d709ea1 Fix getPushReceiverId for encrypted pushes.
GitOrigin-RevId: f440b656a617a018995ac6e59e4675b6668ca786
2019-01-29 15:14:53 +03:00
Arseny Smirnov
06a82aff73 FileManager: store file source in db (partial imlementation)
GitOrigin-RevId: 860e92368e226401e57072e8d64df48c263029f6
2019-01-29 15:07:58 +04:00
levlam
3494ae8b09 Simplify EditDialogPhotoQuery,
GitOrigin-RevId: 2ea74ff1695764020835d30c5c73f8400d68da01
2019-01-29 02:41:33 +03:00
levlam
595eb119d7 Repair file_reference in UpdateProfilePhoto.
GitOrigin-RevId: 1edb98b56d2af603ac51d7ba6ee9e6cd08e12595
2019-01-29 02:32:26 +03:00
levlam
d18f89c071 Repair file reference in UploadDialogPhotoQuery.
GitOrigin-RevId: ab8eb37ad270381cac494ad5e16405487ff2a3a2
2019-01-29 01:52:36 +03:00
levlam
16105d56f0 Do not drop file_id in EditDialogPhotoQuery.
GitOrigin-RevId: 25f3f77d70cf5e537fc867c436ce699ea24ca82a
2019-01-28 18:42:28 +03:00
levlam
297e7642bb File reference repair in SendMedia.
GitOrigin-RevId: 086076167af60b39d132a8c71b84f965c4b521d0
2019-01-28 18:21:48 +03:00