Commit Graph

669 Commits

Author SHA1 Message Date
levlam
8de0bcd0a6 Add support for HTTP-only HTTP proxies.
GitOrigin-RevId: 7b8e3e7afb0f26c8e8fa97b0ffff5d1ad0267b5c
2018-07-27 03:54:25 +03:00
levlam
a547f42886 Add support for transparent HTTP proxies.
GitOrigin-RevId: 5ae836625a60d1f84b0ca8df2c41bf07e8ba59fd
2018-07-26 16:49:18 +03:00
levlam
2ca3c7eeed Add TransparentProxy abstract class.
GitOrigin-RevId: 77ced69b5d87c17a1bbc6d654bb0206a4e32e69d
2018-07-26 03:28:02 +03:00
levlam
c63aaf7cde Add source to ttl_unregister_message.
GitOrigin-RevId: d25685de6cbb92569f29f22e111b612d76e4fcb9
2018-07-25 16:49:44 +03:00
levlam
cf1ece71a0 Do not return error for delete messages and close in closed secret chats.
GitOrigin-RevId: c63a155a6fe056dfcbe6204b5ca25de95eb1f23f
2018-07-25 16:21:53 +03:00
levlam
86c9234388 Fix can_delete_for_everyone flag in closed secret chats.
GitOrigin-RevId: 4db2dd4ac884d65c9f7f93a9dff19ee4f207766d
2018-07-25 02:59:05 +03:00
levlam
302d2aa671 Allow to delete messages without error in closed secret chats.
GitOrigin-RevId: 37304c857e2c634ce9f794be3ad7c8a1414c041e
2018-07-25 02:52:31 +03:00
levlam
ec1ae551d8 Better support for secret_api::decryptedMessageService8.
GitOrigin-RevId: f3d46446f2dd0ecd0c9b3630ffca6a5cacf6b075
2018-07-24 20:14:04 +03:00
levlam
09ad42fa82 Fix left chats in searchChatsOnServer.
GitOrigin-RevId: 304be4cf1be8e229532a4faa2115030b2d7250bd
2018-07-24 19:02:12 +03:00
levlam
88dae19d7e Remove unaccessible for reading chats from recent list.
GitOrigin-RevId: ac80c4d127f28fb72ef3cb44f15464ce72dd241f
2018-07-24 18:30:04 +03:00
levlam
3717a2b132 Do not use ScopeGuard to not unblock Client::receive by exception.
GitOrigin-RevId: e5ae94129923da1ea17688860c9d2295d7775b90
2018-07-24 18:20:59 +03:00
levlam
e171c6490f Fix updating ScopeNotificationSettings on server.
GitOrigin-RevId: 017ca08db0c37d951887e77a25484b71f838c5cd
2018-07-24 18:17:28 +03:00
levlam
2ffabd63ba Add some logging.
GitOrigin-RevId: f0529ad4470507d96a22d820b14e2f0358bbd81b
2018-07-24 18:03:04 +03:00
Arseny Smirnov
45754209d8 SecretChats: better closing
GitOrigin-RevId: b7112abe401a3375c9bbfc50969b606a4a65cec4
2018-07-24 12:43:37 +03:00
levlam
bd726dd4a2 Fix warning.
GitOrigin-RevId: 37d3ab8ee20d5fd4dc1e0b832847bd7effb19ff3
2018-07-24 03:13:24 +03:00
levlam
05810a11d4 Improve logging in replay secret chat events.
GitOrigin-RevId: 02e498c5a864d2acb5825dbe46f1f061306744e0
2018-07-24 02:23:59 +03:00
levlam
7fd2a81a38 Fix some secret chat actions on closing.
GitOrigin-RevId: 055965d9dd24f42c16826d18c88ef1205d9b808e
2018-07-24 01:45:44 +03:00
levlam
9882a8a619 Support decryptedMessageService8. Don't fail secret chat on closing.
GitOrigin-RevId: 627ea95e7994513d10aa19d026fc87170362e711
2018-07-24 00:12:53 +03:00
levlam
4717e5529a Add td_api::getLanguagePackString.
GitOrigin-RevId: 37ee2203264bb78ed3de88c21350a99212d89c3e
2018-07-23 20:29:14 +03:00
levlam
5e12e43b06 Load language pack strings from database.
GitOrigin-RevId: 47048d4712b6259d17a1dbadeb7b722d5dbbe809
2018-07-23 14:45:31 +03:00
levlam
a5cb3bfade Fix include.
GitOrigin-RevId: f8824dc7bbf597cc2535becf67ee2b8ba26cdf2b
2018-07-23 00:27:00 +03:00
levlam
7c183449a8 Save language packs to database.
GitOrigin-RevId: 2c40013068881e3170821585c25d29edcc78528c
2018-07-22 20:22:19 +03:00
Arseny Smirnov
a7c2a401b8 fix
GitOrigin-RevId: 20f47274a3545fe85c26067a650232fa6f87cdc4
2018-07-23 00:24:42 +03:00
Arseny Smirnov
8bd8f4a136 Client: check if Client::receive is called in a thread safe manner
GitOrigin-RevId: 6f2af0811b43d3e2d14177963e48dfd99853c6d2
2018-07-22 23:59:18 +03:00
levlam
9b6382d5d0 Check language_pack and language_code for validness.
GitOrigin-RevId: bc4907a06f74af8bdda9e8bdec82e7a3ce788580
2018-07-22 03:29:48 +03:00
levlam
77f3b9d400 Save only SqliteDb in LanguageDatabase.
GitOrigin-RevId: 7bac17996ad17d9e895a4fb21ed41d53f77a8539
2018-07-22 01:59:13 +03:00
levlam
e8f4c31586 Open language database.
GitOrigin-RevId: 9765471da4bae835d7159ca90aa99106a251b654
2018-07-20 20:50:38 +03:00
levlam
92c04286e3 Add language_pack_database option.
GitOrigin-RevId: 99f4b3f75f396d5b25287f4a98bae2dfdda9df00
2018-07-20 16:15:19 +03:00
levlam
15828a2329 Add members filter to searchChatMembers.
GitOrigin-RevId: 8d553d6c73e32446eaa7e6ebb5bdf562458d258d
2018-07-20 03:00:17 +03:00
levlam
28672b750c Fix CE.
GitOrigin-RevId: 4b8004a7f4b920deac9f069bac03ef7784fc5670
2018-07-19 17:45:30 +03:00
levlam
fc966adca9 Add exclude_secret_chats parameter to clearAllDraftMessages.
GitOrigin-RevId: 7b08fe3e954d9e361d7e20c4341575e2101e6dbc
2018-07-19 17:23:18 +03:00
levlam
460675316c Add td_api::getChatMessageCount method.
GitOrigin-RevId: f2257074e276e12084b43a63db17f852fb5f500e
2018-07-19 16:58:09 +03:00
levlam
7b656da0c8 Get dialog unread marks only after getDifference.
GitOrigin-RevId: a0c12f5d4ed032c4e221945130f3c487bae101c0
2018-07-19 01:33:04 +03:00
levlam
6ca79487e2 Clear language pack info when all language pack managers are closed.
GitOrigin-RevId: 2c08722e00ae6209fb90f912b9265ce30bc3aad6
2018-07-19 01:14:20 +03:00
levlam
f25bcd8d70 Remove unnecessary semicolons after namespace end.
GitOrigin-RevId: bf290001b072fd390fe2cada06722a3b90309cca
2018-07-18 04:30:29 +03:00
levlam
46ebd1b240 Include SqliteKeyValue only in cpp.
GitOrigin-RevId: b89c988f6da1d480f68ecb71ef5390e9376faac1
2018-07-18 04:11:48 +03:00
levlam
b0dfc088ae Fix CE.
GitOrigin-RevId: 6117160e2ee0045bb0c7dc8e3e048a5aae2626f1
2018-07-17 16:49:57 +03:00
levlam
1aa94575e8 Minor fixes.
GitOrigin-RevId: 33b0f159e7003d7b9dce28033a7e90169a9421bc
2018-07-17 14:27:24 +03:00
levlam
4594885e61 Update layer 82: chatReportReasonCopyright, clearAllDraftMessages.
GitOrigin-RevId: 79d9adf61a17b11996eeecfa94c205d1cdc34a51
2018-07-17 06:46:27 +03:00
levlam
e819a0ed56 Support for language pack updatimg. td_api::updateLanguagePack.
GitOrigin-RevId: edc3bf65914b73d168d33eea38ff05cc2efd80ec
2018-07-17 05:58:34 +03:00
levlam
ec2f70cb19 Return debug in on_message_ttl_expired_impl.
GitOrigin-RevId: b82816793bf1a142757b65b54396796cad5efe63
2018-07-16 06:08:57 +03:00
levlam
bdbe8f990c Add more debug.
GitOrigin-RevId: cfc7b2526233caa5beb2a1ed3d145224354ba3ae
2018-07-15 12:29:28 +03:00
levlam
8e1667281e Add get_message_by_random_id debug.
GitOrigin-RevId: 77fe532243e1a6bb065ca25e65900852e66100a0
2018-07-15 11:47:57 +03:00
levlam
c6665dc30e Add timeout on call key exchange.
GitOrigin-RevId: 3fc6d5e90493188ff3ae18b19e60d36bcdad9746
2018-07-13 05:06:04 +03:00
levlam
bae9ccf76b Abort requestCall when receive error/discard call.
GitOrigin-RevId: 7a3a5b52c66e206739a5f4442bbe6cdbb82d32f3
2018-07-13 02:43:57 +03:00
levlam
e9066f09ce Fix misprint.
GitOrigin-RevId: 9cea95112e12fd73faa10da098351fe2d0fe6ca8
2018-07-12 17:44:22 +03:00
levlam
1a82e6d3f1 Add default values for message_text_length_max and message_caption_length_max options.
GitOrigin-RevId: 4f2d3d087d17ec5e7aeb62933c5525a7e12d6ca7
2018-07-12 03:50:58 +03:00
levlam
e72368d208 Add more debug logging to calls handling.
GitOrigin-RevId: 38a4864b7018a67194f517dfbfc806c90ca79a0f
2018-07-11 23:37:40 +03:00
levlam
15ac0f9c47 Return some debug.
GitOrigin-RevId: 14ee37ad972013a1b9da22d07f83c372874ba585
2018-07-10 21:02:44 +03:00
levlam
3f63b15a9b Add more debug.
GitOrigin-RevId: 2c90e851b9ac93ef7398c030f58e192854247058
2018-07-10 20:49:59 +03:00