Commit Graph

288 Commits

Author SHA1 Message Date
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
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
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
Arseny Smirnov
43fc3a21df Send download queries with a small delay (turned off)
GitOrigin-RevId: 91932bb550176ee7d9ff22621e86a42ac6be9317
2018-03-16 12:31:23 +03:00
levlam
d96aab7aeb Add phone_number to authenticationCodeInfo.
GitOrigin-RevId: 3bbf8676c1a1891b84753cc2ca489bcff52c780b
2018-03-15 19:59:57 +03:00
levlam
3b569010aa Add documentation to ClientDotNet and LogDotNet.
GitOrigin-RevId: 4683cfb7198430314539780fa793898ff6c36e96
2018-03-15 19:25:51 +03:00
Arseny Smirnov
710f71701a AuthManager: persistent State::WaitPassword
GitOrigin-RevId: dd863c2484b16da1700e280b13adc01facb7c8bb
2018-03-15 13:06:26 +03:00
levlam
6855704b52 Better AuthManager storers and parsers.
GitOrigin-RevId: 20e1e7ed3591d1f99c0661164360822dd6d0b3e6
2018-03-14 22:47:08 +03:00
levlam
c9a9e386e5 Check message content type in on_get_recent_locations.
GitOrigin-RevId: 50f343e2f8a6e023b50d57663a4b7f27e6f4088c
2018-03-14 21:57:04 +03:00
levlam
23cd9f656f Fix warning.
GitOrigin-RevId: 220da64c77eb25f99fa620ff72065a31d0674117
2018-03-14 21:48:36 +03:00
levlam
0b54ca677b Better cancel_user_dialog_action.
GitOrigin-RevId: f7b9518af4f98a2f36bece905b6a2e7222cda28c
2018-03-14 21:36:28 +03:00
Arseny Smirnov
85d10e91c3 Store in db AuthManager in state WaitCode
GitOrigin-RevId: 06df8525c60f4de347c694e8c212a138c151ac4c
2018-03-14 21:04:41 +03:00
levlam
c10ac96cc9 Various fixes.
GitOrigin-RevId: 3880e2fc5b8704f163817699ec1043f2f7a39b83
2018-03-14 17:43:00 +03:00
levlam
9a4617fee3 Add IPv6 DC addresses.
GitOrigin-RevId: 03f79d00d679869d42c5557586e0af2a72b62a23
2018-03-14 15:27:55 +03:00
Arseny Smirnov
7504f81b72 tg_cli: fix send document command
GitOrigin-RevId: 9f210b4d1080c8aa2cafb7a53b073d191edaf35e
2018-03-13 19:10:26 +03:00
Arseny Smirnov
600bbcf3ca Protect G()->td_db() usage in AuthDataShared with guard
GitOrigin-RevId: d9e8a79c9db9b061de81f98fcd66f085d4efcaaa
2018-03-13 16:40:02 +03:00
levlam
52f45abf65 Handle chatAction timeouts.
GitOrigin-RevId: acd087bf97f6ff39af8111b1c8d984f72f041467
2018-03-13 20:48:08 +03:00
levlam
8eaea5d4af Send updateUserChatAction from on_user_dialog_action.
GitOrigin-RevId: 6af5402efa9ac21b9054278c839d982b4fbdcb6e
2018-03-13 11:57:58 +03:00
levlam
86666a8418 Cancel previous setEncryptedTyping query.
GitOrigin-RevId: dcebab6bae15c25def5f7c6bc15f03fffea66ef4
2018-03-13 11:08:56 +03:00
levlam
62e1f418e2 Fix inline query type detection.
GitOrigin-RevId: 09dda10c23f587efb790237d5e50009c1a10a599
2018-03-13 02:12:51 +03:00
levlam
d9e76824ab Fix CE.
GitOrigin-RevId: e271b99a124cfdac7a15e78d50594402bcdc75a4
2018-03-13 01:21:41 +03:00
levlam
85c2cc160d Add textEntityTypePhoneNumber.
GitOrigin-RevId: b8705ec13104848c5ae0597aee6cf4e6f41762db
2018-03-13 00:17:29 +03:00
levlam
c489e3b91d Automatically send ChatAction while files are uploaded.
GitOrigin-RevId: 45c27ab71ede8c0f82265b34b752e03ffc1c1c8c
2018-03-12 23:33:56 +03:00
levlam
8b2df8c233 Add new get_simple_config URL.
GitOrigin-RevId: 911173a3eb4756590745adafb9e10fdbe741f105
2018-03-12 21:04:03 +03:00
levlam
1dd2e28551 Fix C++/CLI.
GitOrigin-RevId: fd48669cdc54fafa3475dbd1aa6ab7cd49055a23
2018-03-11 23:49:38 +03:00
levlam
3823aa73e8 Fix error code.
GitOrigin-RevId: b91a357cd115be02df17a141d2c7627ad1e4f4d2
2018-03-10 17:52:27 +03:00
levlam
96f720063a Fix duplicated userStatusOffline updates.
GitOrigin-RevId: a3086638e2550297c58e7913a081d423ac2d03ed
2018-03-10 17:23:43 +03:00
levlam
6f1f64c892 Better local online status update.
GitOrigin-RevId: 941945d3e0b366e4fcd1ed7712f388422968cd28
2018-03-10 17:10:23 +03:00
levlam
7cb577dd6f Cancel previous update status queries.
GitOrigin-RevId: fcf23cf66267327faae001c69fa773cff84f4e88
2018-03-10 14:41:59 +03:00
levlam
6422e77e15 Load installed sticker sets before changing sticker set.
GitOrigin-RevId: f4794d3c65327aa173030f6e53aaccc23875aff0
2018-03-10 14:15:23 +03:00
levlam
2a58cfd1b9 Add td_api::searchStickers method.
GitOrigin-RevId: e9615b7e2cdab0b7419f6cfbbf2289787233a693
2018-03-09 20:04:44 +03:00
levlam
a4fe4c93b3 New stickers by empji suggestions.
GitOrigin-RevId: 6396bb77310fc86cec1cb6d4fd13b5e782ffd7a3
2018-03-09 18:00:07 +03:00
levlam
88ad4a370c Sort wallpapers by size.
GitOrigin-RevId: 497dc15ea3f6b8c5cd0bc0f2e6ce65a338d19b90
2018-03-09 16:56:42 +03:00
levlam
9633b50112 Postpone authorizationStateReady if my_id isn't known.
GitOrigin-RevId: afa8d365f527672dc53424b03fff775a28569189
2018-03-09 04:17:38 +03:00
levlam
9fb92d8293 Restore unknown my_id in AuthManager.
GitOrigin-RevId: 00463e66676aba887ef3c12c7d8225ef224c0bc0
2018-03-09 03:52:12 +03:00
levlam
8ae5083073 Better getMe.
GitOrigin-RevId: 31a9ceaa4727f74ef30cd95a44c2520249fea10b
2018-03-09 03:27:39 +03:00