Commit Graph

445 Commits

Author SHA1 Message Date
levlam
a1d6be72ff Better fix for END_PARSE_FLAGS.
GitOrigin-RevId: 8838c020bb677df926fce87c0e2343600089345d
2018-04-16 18:02:42 +03:00
levlam
166bd07fd9 Add more checks for Passport field values. Allow empty expiry_date.
GitOrigin-RevId: f3119c59c0ba85dbfe4ac1371bfd20fcbaab2ab6
2018-04-16 17:30:37 +03:00
levlam
a87d1bf960 Add source to get_message_text.
GitOrigin-RevId: 7be2398a51a95fa8a57b934042e945be0052c34f
2018-04-16 16:52:00 +03:00
levlam
46157f6b86 Properly fix last_new_message_id.
GitOrigin-RevId: 16e67ea5113a92bf81e8e70aed7d9843f0aa0649
2018-04-14 00:23:34 +03:00
levlam
82820bf842 Add debug.
GitOrigin-RevId: e6efea5f211c8926b986fc40eed6ae1401322c38
2018-04-13 21:20:20 +03:00
levlam
ce7c410a5a Add debug.
GitOrigin-RevId: 96ca16589f2d3e81aa1302be2af1cf4116db71b2
2018-04-13 19:48:38 +03:00
levlam
ccdfac6926 Add debug.
GitOrigin-RevId: 5fd06970cd91cf9f5211e27cf8d1d794ce79dc8f
2018-04-13 19:16:46 +03:00
levlam
47611d582e Fix add_dialog_dependencies.
GitOrigin-RevId: 070c00847699580432d29ee7ba3c4ff38c468a66
2018-04-13 19:10:24 +03:00
levlam
75ea942c82 Fix failed to send message identifier.
GitOrigin-RevId: dd5b699db7367bc7521514fe9e60b4c0583a79d6
2018-04-13 00:29:01 +03:00
levlam
d35f1b9fc3 Add debug.
GitOrigin-RevId: 92e455562bffef344a59e69e8c8345ca4d528798
2018-04-13 00:21:07 +03:00
levlam
7a570572f8 Add debug.
GitOrigin-RevId: 62c48a35f4a1c442e4d6dce71fcf5e02b2bdbd8e
2018-04-13 00:09:50 +03:00
levlam
4a3784155a td_api::getDeepLinkInfo.
GitOrigin-RevId: edcedaeeaeb54802bb2830343e43ab095f92acaf
2018-04-12 23:51:42 +03:00
levlam
00590f1b72 Fix clang warnings.
GitOrigin-RevId: f96c46f526330b6857578689d624d8858380e121
2018-04-12 20:21:04 +03:00
levlam
a7548d234c Minor fixes.
GitOrigin-RevId: 9ccb8914fb517b2c3fdba7b40b3bb7ac104e8da7
2018-04-12 00:18:03 +03:00
levlam
386d18e8c4 Fix warnings.
GitOrigin-RevId: d8ae75999b183f143fee5d8961174afcad601f58
2018-04-11 23:17:51 +03:00
levlam
aa146b77b8 Add Td::create_ok_request_promise.
GitOrigin-RevId: 13513878b18ba56ca2e80915dbb1b595d1c87619
2018-04-11 21:13:46 +03:00
levlam
bc193a97bf Various fixes.
GitOrigin-RevId: ec2af1bd18e337425dd6a9287e8d08bbce88eed8
2018-04-11 20:42:06 +03:00
levlam
0bfe50a7b7 Strong typing for passport data.
GitOrigin-RevId: 766b671c97d8deb1e32bbfb4972c5a59a67f8435
2018-04-11 17:21:24 +03:00
Arseny Smirnov
7149f65461 SecureValue: simplify json encoding
GitOrigin-RevId: 5b32553969dc17457329337e1fcadd26002712ee
2018-04-11 14:55:22 +03:00
Arseny Smirnov
dd4b3ba12e minor fix
GitOrigin-RevId: 37b57ab97fb6b5437d53a83527321e3e4f8f1cf5
2018-04-11 13:50:34 +03:00
Arseny Smirnov
293b706c74 json_object draft
GitOrigin-RevId: 571b710cc58c0271c0f78a9e1a1263b6858730f3
2018-04-11 13:49:04 +03:00
Arseny Smirnov
cf015abf64 Miscellaneous fixes
GitOrigin-RevId: cecc8cd20352bbcd947388b4eee44e4378cc2b5f
2018-04-10 20:10:20 +03:00
levlam
16fb0f5969 Fix get_encrypted_passport_data_object.
GitOrigin-RevId: 88564cbe9468b13e32f511480e28d7dc61e3d0b2
2018-04-10 18:42:01 +03:00
levlam
703aec74ba Fix source.
GitOrigin-RevId: 9b0ff354fb1d563940f9788e41db69d472853b63
2018-04-10 15:19:42 +03:00
levlam
1c3ba5c3a3 Fix g++ Internal Compiler Error 2.
GitOrigin-RevId: d1881c8bc7ca03bfb6e48d93cd4217a0a14ab7d2
2018-04-09 21:53:43 +03:00
levlam
50ab1fd175 Fix g++ CEs, warnings and Internal Compiler Errors.
GitOrigin-RevId: 0d7213b04cbbe67157f93fcdcf76f11373b47470
2018-04-09 21:28:50 +03:00
levlam
184af85bfc Update layer 78: venue_type, email code length.
GitOrigin-RevId: c10dc49dd0ecd467a78b17081239305035f6e642
2018-04-09 21:06:37 +03:00
levlam
d7d91bbaf3 Update layer 78: new notification settings API.
GitOrigin-RevId: affa0a97035b69e2f710b289f300139e7b41d116
2018-04-09 19:30:27 +03:00
Arseny Smirnov
8a1ca6355b Email address verification
GitOrigin-RevId: cfa1dc92428377a06a0a043321ae6bb3e94c5309
2018-04-09 19:04:21 +03:00
Arseny Smirnov
ed4a90a717 Phone number verification
GitOrigin-RevId: f20d2a822de49eaa558fcf0cd8ecfbfb8b3f75b8
2018-04-09 17:20:12 +03:00
Arseny Smirnov
17ffd30722 SecureValue: bugfix
GitOrigin-RevId: aabf0869bd20e80fbab15ba7849bce38a6442f03
2018-04-07 12:49:45 +03:00
levlam
baa334544b More fixes.
GitOrigin-RevId: 587cca0a2e3a87c117fa78d59c81d61815e2756d
2018-04-07 02:38:28 +03:00
levlam
775c2eea25 getAllPasswordData and various fixes.
GitOrigin-RevId: e423dfdaf97b06f0067bda3d1fb847869697234f
2018-04-07 01:29:36 +03:00
Arseny Smirnov
0eee63b723 sendAuthorizationForm (with bugs)
GitOrigin-RevId: e68b57a2f6ff2e117913c40779cc9473153828ab
2018-04-06 22:37:30 +03:00
Arseny Smirnov
c240d107f6 Secure{File,Data}->EncryptedSecure{File,Data}
GitOrigin-RevId: 78b4ca08ccbd8d6ded6bb0a3bf56795cf9547354
2018-04-06 16:41:38 +03:00
Arseny Smirnov
2f5ca11592 getAuthorizationForm
GitOrigin-RevId: 3b432a32cb4af7a35dc7d000e8cfceed97400c1d
2018-04-06 16:24:29 +03:00
levlam
465c450d3f Check secure secret id.
GitOrigin-RevId: a2870d7aa8e9920a131f672b04167010738a5a7e
2018-04-06 20:50:30 +03:00
levlam
353cfb3196 Fix td_api scheme.
GitOrigin-RevId: c4eb552d8abb33932f649db9c8809570ea46cd71
2018-04-06 20:43:15 +03:00
levlam
a48fe6d2a5 Fix gcc warning.
GitOrigin-RevId: e4d1ebf7674a95c4ae292322679575daa08d9924
2018-04-06 19:58:16 +03:00
levlam
f97de8b6ae Fix previous commit.
GitOrigin-RevId: 557b8344a9b6bfb64b0645b2afcaf31607546660
2018-04-06 19:30:36 +03:00
levlam
93db75293d Various fixes.
GitOrigin-RevId: e3a710c085e465c44c850db0b41fae19061c2dc5
2018-04-06 16:26:32 +03:00
levlam
f7826ec41a Check new salt length.
GitOrigin-RevId: 7f49a0e34dcc33586c05dbab66a02017d94633b2
2018-04-06 15:20:20 +03:00
levlam
3c9599b8aa Use secure_random.
GitOrigin-RevId: 49c4ff11b0c165a802cea7cc83783e54e7613d0b
2018-04-06 14:42:42 +03:00
Arseny Smirnov
d584e80cf9 SecureManager: selfie support
GitOrigin-RevId: 79d3fe5c6a0c7f50067c532649fcf54c028e9248
2018-04-05 16:06:03 +03:00
Arseny Smirnov
09600304b9 SecureManager
GitOrigin-RevId: 6728500e0f00dd7b739e862e715a43a4c7eae8e2
2018-04-05 14:18:47 +03:00
Arseny Smirnov
5e79712797 set/get passport data
GitOrigin-RevId: 4fe8b44738ac91524a0d286db5d33d338b5b75e8
2018-04-03 20:49:07 +03:00
levlam
022bd092ce Add selfie support.
GitOrigin-RevId: 3a778f7000dc074a568e1e44de0a7ca3d208f77b
2018-04-03 19:28:37 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
levlam
ccf8064821 Fix adding last message in on_get_dialogs.
GitOrigin-RevId: c14c9df93f06caeca26fb5eb63e9d68be00f48f1
2018-04-06 18:19:27 +03:00
levlam
9a54c2439b Add debug.
GitOrigin-RevId: 6c6c5c587d55c50da9b34b45ee57a330427d7b51
2018-04-06 17:45:07 +03:00
levlam
235c137d49 Fix get_full_history,
GitOrigin-RevId: 437b3f8dd1c7172ac156c172f70a473b5a8eebf9
2018-04-06 17:31:16 +03:00
levlam
ea2afdf9a6 Fix td_api::close and td_api::responses.
GitOrigin-RevId: 43c3e6cbec56c8ce69abaaa1cf8aec7221aa3f4c
2018-04-05 23:26:58 +03:00
levlam
1225af0e10 Fix method description.
GitOrigin-RevId: 5c3d0a0c97aec1a37195a1532e50d9a8233efa4f
2018-04-05 22:53:06 +03:00
levlam
ef91b420fc Better error logging.
GitOrigin-RevId: c2f66b083a36a7e38360df5c07a79c9b3f1b5166
2018-04-05 22:33:33 +03:00
levlam
72515a4459 Fix replacing of unacceptable update with updateChannelTooLong.
GitOrigin-RevId: a82f6e6e9e828183aa10690ebe32b983f7433ed4
2018-04-04 23:03:35 +03:00
levlam
46552ce43f Fix error message.
GitOrigin-RevId: 38012e48c7d33d83d229e11d936315560aea40b9
2018-04-04 22:43:43 +03:00
levlam
e9f3bcbd4d Add debug.
GitOrigin-RevId: 3d9d56130f29b1977e00576bb5f3fd5ff84873e9
2018-04-04 22:37:14 +03:00
levlam
8c4461b561 Fix last_database_message_id.
GitOrigin-RevId: 16bf017eb0f7f1be3240bd880a59a1fcb8740367
2018-04-04 22:30:10 +03:00
levlam
3d02f9d13c Update valid short usernames.
GitOrigin-RevId: b2f1afef1641cc08d41cf621ade203f0fecbc9f9
2018-04-04 18:41:35 +03:00
levlam
2b12f092bf Fix first_database_message_id.
GitOrigin-RevId: ce9ac557426af593efce57b6ba06e720d9c871f4
2018-04-04 17:49:45 +03:00
Arseny Smirnov
adcf44d57e FileDb: fix LOG(FATAL) cycle in database
GitOrigin-RevId: 2b5a4cecb33b1d6a37a86d926b3a48b02e2af0af
2018-04-04 16:32:14 +03:00
levlam
58af6888f7 Fix on_get_document.
GitOrigin-RevId: 49bce4edcda4158d43c092dbb570c32aa6434e57
2018-04-04 12:08:31 +03:00
levlam
7626910c45 Fix inline results attributes.
GitOrigin-RevId: 42597e979cd851cdddb1f62f85453dee61f048ab
2018-04-04 10:21:21 +03:00
levlam
1035a5a6c0 Better photo size comparison.
GitOrigin-RevId: 630e32213169122a3c67ac8c35b2e8bc5c2a6ae5
2018-04-03 10:35:04 +03:00
levlam
96b6dfde3f Ensure that updates aren't sent after TDLib is closed just in case.
GitOrigin-RevId: 43777eda7a32dbe956d45685475fa2dae912f968
2018-04-03 03:08:17 +03:00
levlam
04025da201 Fix config parsing.
GitOrigin-RevId: 743eb7389b4230eada48bbe9ed1e4c5ed1aba8ca
2018-04-02 23:37:45 +03:00
levlam
1902a5f0e6 Fix update_message.
GitOrigin-RevId: a3b2cce00a5188328cc577896eceb8bfe130b5f8
2018-04-02 23:32:49 +03:00
levlam
ca5d9a5ceb Better readHistory in secret chats.
GitOrigin-RevId: 9ecb838683600488b8c6fbc0ec1a0574851c3ad3
2018-04-02 04:14:47 +03:00
levlam
e9490eb6e1 Add debug to attach_message.
GitOrigin-RevId: d148fce42b3e59a30119c827b5ef1e736dfaa1a5
2018-04-02 02:30:25 +03:00
levlam
a987ec3b00 Fix add_local_message.
GitOrigin-RevId: 75f794d823f120d7b99af5dd57e54535e791cd96
2018-04-02 02:16:38 +03:00
levlam
69c785c3ba Fix add_message_dependencies.
GitOrigin-RevId: 19f6a6f4065a03ddb0517acd97404544bf9edc2b
2018-04-02 02:03:22 +03:00
levlam
f63a73b6a6 Add MessageEntity.hpp.
GitOrigin-RevId: 424a9918012d2285a04beead79c6edad1fb7ca28
2018-04-02 01:45:51 +03:00
levlam
92e9550ebd Add source to get_input_message_entities.
GitOrigin-RevId: 505c9c96286e7e6026902cbf1b92f1cc3142f5ad
2018-04-02 01:10:22 +03:00
levlam
7e21d35e43 Add more debug.
GitOrigin-RevId: 29d4bceb055f3085d53384ce7e873fc38793bf80
2018-04-02 00:01:09 +03:00
levlam
29b14a707f Fix register_remote.
GitOrigin-RevId: 9bb641fe9e356bc314229ef49cf914c3a40586e0
2018-04-01 23:15:44 +03:00
levlam
f8efdc7b9d Better td_api::addLocalMessage.
GitOrigin-RevId: be6a9d27d3d683fdd7c72bca6bb8ba080bdbfc0d
2018-03-27 17:55:33 +03:00
levlam
948e416d43 Fix need_cancel_user_dialog_action.
GitOrigin-RevId: 63810989c1656a70302959f62ea5e4e356c1e610
2018-03-27 14:58:48 +03:00
levlam
0d69e77689 Better load service notifications user.
GitOrigin-RevId: b98f1652ae0ca2afb506052b28413000dd6b2a74
2018-03-27 03:12:32 +03:00
levlam
2479353230 Move get_service_notifications_user_id to ContactsManager.
GitOrigin-RevId: 451a8db7311a9272d4c6c34653c2a4a82f0cb266
2018-03-27 00:21:53 +03:00
levlam
4e22261c6b Add td_api::addLocalMessage.
GitOrigin-RevId: 795a22f72cfd5edbfa901207045d3b92fac2d3ee
2018-03-26 23:20:56 +03:00
levlam
b6637ccfc5 RSA encrypt/decrypt and warning fixes.
GitOrigin-RevId: 6d556509d911678c1dd7d489132c07f942f3be0f
2018-03-26 21:14:15 +03:00
levlam
372196280c Fix unneded call to on_message_changed.
GitOrigin-RevId: 77ed3c201080d86a37698955ed4d17a9a6429e30
2018-03-26 19:29:35 +03:00
Arseny Smirnov
d3be8e7baa SecureStorage encryption functions
GitOrigin-RevId: 8df89a0fb672d83f9f743aac1bd779dd0635c70e
2018-03-26 17:07:04 +03:00
levlam
a92860a046 Better strip_empty_characters.
GitOrigin-RevId: 35863d02683e75da361712647d643866ae4800cf
2018-03-21 17:54:39 +03:00
levlam
e0924ea333 Fixed several bugs found by PVS-Studio by @SvyatoslavRazmyslov.
GitOrigin-RevId: 768d822ff74740fe71c16ea1bba3c6fb74f01b15
2018-03-20 15:18:16 +03:00
levlam
6d9792e9ea Fix yet_unsent_media_queues_.
GitOrigin-RevId: 6249449a81bede3cc596c8670b66800551df1587
2018-03-19 20:42:45 +03:00
levlam
be48e787bc Update version to 1.2.0.
GitOrigin-RevId: 3f8e087ddc61c7a1aa2db5f51d954eba197d11b6
2018-03-19 16:49:39 +03:00
levlam
1701045b17 Fix inlineQueryResultArticle.
GitOrigin-RevId: c86d62c96820e10c332a649d0f8a4df8845ef0db
2018-03-19 13:57:46 +03:00
levlam
b456895f5b tg_cli: "skip" generation conversion.
GitOrigin-RevId: 85aacd4c915c07ba37a57eac0658bc6288198b32
2018-03-18 13:45:59 +03:00
levlam
e0e8e69cde Fix article content type.
GitOrigin-RevId: 0469eb98f3603ea6f7f220d92374572d6b029e87
2018-03-18 03:47:32 +03:00
levlam
242c39dc91 Improve README.
GitOrigin-RevId: 846c79e12b2df885629b5dc86e0d22e4538cdd4f
2018-03-18 00:11:14 +03:00
levlam
88d5e5e015 Exclude trending stickers from getStickers.
GitOrigin-RevId: 52655e51077a48ac2bea6320f2c4be0aa5c18127
2018-03-17 20:24:21 +03:00
Arseny Smirnov
6a943c0b78 Better DelayDispatcher
GitOrigin-RevId: c856d47d82c9384ad0cc69723b2d324af14ba844
2018-03-17 20:06:16 +03:00
levlam
3856045a08 Autogenerate TDLib .NET documentation.
GitOrigin-RevId: 9a73b2786306b8b2deaeb967aa4633d1d1ed0a2d
2018-03-17 00:26:27 +03:00
levlam
070f6ff184 Disable hpp documentation for .NET.
GitOrigin-RevId: 4969d3196aeae0c7398bc06d5285df443a79f379
2018-03-16 18:41:09 +03:00
levlam
a80b8e951a Remove C++ documentation when compiling for .NET. Enable .NET documentation generation.
GitOrigin-RevId: 426774bdad76bf42ceb261029589441961673ac8
2018-03-16 18:29:16 +03:00
levlam
65fc8f9809 Remove logging to ERROR.
GitOrigin-RevId: ee5a540cd62ee4722a770c1007a37756a0edc906
2018-03-16 15:38:12 +03:00
levlam
6e880f7ea0 Enable DelayDispacher. Improve errors and logging.
GitOrigin-RevId: e8d648e14183fe4a9409555eff5c6e167b5bcca2
2018-03-16 15:33:44 +03:00
levlam
bc7599925e Better Photo suggested names.
GitOrigin-RevId: 21ef626dda95163216d26a2eae0dec8729d11365
2018-03-16 15:20:01 +03:00
Arseny Smirnov
284895eefa Delete file bugfix
GitOrigin-RevId: 642e053e52057945d872cc22b95d54bc47cf5dc5
2018-03-16 14:50:21 +03:00