Commit Graph

  • b873aa67cc
    Implement different mtproto proxy protocols; refactor obfuscated2 Сергей Прохоров 2019-03-10 01:00:11 +0100
  • baa8970bb6 Fix handling message payloads that are too large Lonami Exo 2019-03-06 18:08:51 +0100
  • 3d72c10ea5 Reduce calls to utils.is_image Lonami Exo 2019-03-06 09:38:17 +0100
  • 758556cd30 Fix upload_file not seeking streams back Lonami Exo 2019-03-06 09:24:50 +0100
  • fcfebf75a3 Prevent pillow from closing non-exclusive fps (#1121) Lonami Exo 2019-03-06 09:14:06 +0100
  • ae8f1fed05 Treat arguments with _until or _since in their name as dates Lonami Exo 2019-03-06 08:36:37 +0100
  • 0f69455dc7 Handle hachoir metadata more gracefully, bump 1.6.2 v1.6.2 Lonami Exo 2019-03-04 08:50:33 +0100
  • 6799295115 Fix iter_participants in non-channels Lonami Exo 2019-03-02 21:17:36 +0100
  • 4cc2a17765 Deal with usability in methods that hit flood wait Lonami Exo 2019-03-02 19:40:39 +0100
  • dd1ca16ded Update docs, usability and errors for all methods Lonami Exo 2019-03-02 19:00:14 +0100
  • c4d65f8bf4 ValueError fix for IOBase files (#1119) Wirtos 2019-03-01 22:27:15 +0200
  • 76dc01c4cf ValueError fix for IOBase files Wirtos 2019-03-01 18:24:56 +0200
  • df534585e9 Actually fix ids= not being a list, bump 1.6.1 v1.6.1 Lonami Exo 2019-02-28 08:31:28 +0100
  • 2681dc09bb Fix iter_messages with ids= not being a list Lonami Exo 2019-02-28 08:26:37 +0100
  • 70e0d865a8 Fix RequestIter.__next__ propagating StopAsyncIteration (#1117) Manuel1510 2019-02-28 08:07:31 +0100
  • e227f2998e fix RequestIter.__next__ propagating StopAsyncIteration Manuel1510 2019-02-28 01:50:23 +0100
  • 8429f9bd3c Update to v1.6 v1.6.0 v1.6 Lonami Exo 2019-02-27 21:04:18 +0100
  • 934c733ccb Treat users "kicking themselves" as leaving (#1116) Lonami Exo 2019-02-27 19:42:17 +0100
  • 05d174d4ce Update documentation, errors and add TODOs Lonami Exo 2019-02-27 19:30:12 +0100
  • f66d65d409 Add RequestIter._next__ for synchronous iteration Lonami Exo 2019-02-27 16:13:11 +0100
  • 6b50152bb3 Use constants for chunk sizes, remove irrelevant TODO Lonami Exo 2019-02-27 13:07:25 +0100
  • d02d0e2d5e Handle negative limits gracefully in async generators Lonami Exo 2019-02-27 13:01:04 +0100
  • d508e58d49 Remove the "private" _total parameter Lonami Exo 2019-02-27 12:59:50 +0100
  • bf71e49fcc Remove batch_size parameter from iter_messages Lonami Exo 2019-02-27 12:57:54 +0100
  • b9133567af Remove weird map chr range from aggressive iter_participants Lonami Exo 2019-02-27 12:51:09 +0100
  • c99157ade2
    Merge pull request #1115 from LonamiWebs/requestiter Lonami 2019-02-27 12:49:12 +0100
  • c73b8eda26 Simplify filling RequestIter's buffer Lonami Exo 2019-02-27 11:24:47 +0100
  • 202ce1f494 Remove async_generator from dependencies Lonami Exo 2019-02-27 11:13:29 +0100
  • 40ded93c7c Use RequestIter in chat methods Lonami Exo 2019-02-27 11:12:05 +0100
  • 4f647847e7 Fix RequestIter not setting TotalList.total in collect() Lonami Exo 2019-02-27 10:39:56 +0100
  • 968da5f72d Use RequestIter in the dialog methods Lonami Exo 2019-02-27 10:37:40 +0100
  • 49d8a3fb33 Remove code to syncify async generator functions Lonami Exo 2019-02-27 10:19:08 +0100
  • 5b8e6531fa Add method to collect RequestIter into TotalList Lonami Exo 2019-02-27 10:15:32 +0100
  • 6d6c1917bc Implement iterator over message by IDs Lonami Exo 2019-02-27 10:04:12 +0100
  • 60606b9994 Don't make iter_messages a coroutine function Lonami Exo 2019-02-27 09:49:14 +0100
  • 35dc46ffb0 Fix searching messages in reverse Lonami Exo 2019-02-27 09:48:47 +0100
  • e3991fadd5 Fix updating offset Lonami Exo 2019-02-27 09:37:12 +0100
  • f765f73fa3 Fix setting batch size Lonami Exo 2019-02-27 09:32:33 +0100
  • e2f44ddbea Make iter_messages use a common message iterator Lonami Exo 2019-02-27 09:31:15 +0100
  • 19f38d6733 Implement iter_messages with search Lonami Exo 2019-02-26 21:04:46 +0100
  • 36eb1b1009 Create a new RequestIter ABC to deal with iter methods Lonami Exo 2019-02-26 20:26:40 +0100
  • 1e4a12d2f7 Clean up iter_messages with reverse=True Lonami Exo 2019-02-26 09:42:28 +0100
  • 5b098a909a Cleanup converting to input media in send album Lonami Exo 2019-02-25 18:25:49 +0100
  • 8e36c0002b Fix sending albums with bot file IDs Lonami Exo 2019-02-25 18:23:39 +0100
  • 70b08c4952 Get rid of broken JSON migration support (#1113) Lonami Exo 2019-02-24 20:16:53 +0100
  • 0934f71c02 Update to layer 95 Lonami Exo 2019-02-21 12:40:47 +0100
  • abadf3c789 Provide a blanket implementation for _init_conn Lonami Exo 2019-02-21 10:43:31 +0100
  • 6de7329ce7 Fix Connection abstraction leak Lonami Exo 2019-02-21 10:41:33 +0100
  • 96270bdc18 Fix sending PNGs without alpha channel, edit size typo Lonami Exo 2019-02-19 17:48:27 +0100
  • 6db60627e6 Clearer error on send_file(chat, invalid type) Lonami Exo 2019-02-19 16:41:51 +0100
  • cbfa3e7f8c Fix connect method infinite await and double reconnection arktic 2019-02-16 21:11:21 +0300
  • 98e8dc6d95
    add link of our official groups :octocat: khode-mohsen 2019-02-14 23:59:00 +0330
  • f540c4e089 Fix order of inline results not being preserved Lonami Exo 2019-02-14 20:01:57 +0100
  • 628a16f287 Document new errors and limits for inline results Lonami Exo 2019-02-14 19:45:25 +0100
  • 41bfb8ae52 Fix photo resizing not working for images with alpha channels Lonami Exo 2019-02-14 12:10:34 +0100
  • d1c755809d Except RpcMcgetFailError as call fail and sleep on server errors Lonami Exo 2019-02-14 10:58:48 +0100
  • 2e544270cd Fix login failure due to wrong argument name (#1109) nosanity 2019-02-14 09:46:57 +0300
  • 4a233c4caf
    Fix login failure due to wrong argument name nosanity 2019-02-14 02:27:23 +0300
  • 5bb2d9adf3 Document common usages for upload_file Lonami Exo 2019-02-13 12:50:14 +0100
  • 559a40c7ea Fix get_input_media for InputFile Lonami Exo 2019-02-13 12:33:11 +0100
  • 99ad26bfa4 Lower the maximum amount of requests per container Lonami Exo 2019-02-13 10:16:59 +0100
  • 5c85f830bd Further document automatic photo resizing Lonami Exo 2019-02-13 09:58:02 +0100
  • fd24f7087e Resize photos when sending files if needed Lonami Exo 2019-02-13 09:50:00 +0100
  • 5772a5483c Check dc_id in resolve_bot_file_id Lonami Exo 2019-02-13 09:16:34 +0100
  • 47d9de98ed Raise ImportError and not ValueError when sqlite3 is missing Lonami Exo 2019-02-13 08:51:26 +0100
  • d25442345e Fix incorrect sending of DC id when connecting to MTProxy Dmitry D. Chernov 2019-02-12 21:17:08 +1000
  • 4899788d92 Expose phone and phone_code_hash in sign_up Lonami Exo 2019-02-12 11:44:36 +0100
  • bf11bbd8a6 Support sending bytes/stream as photos (improved _get_extension) Lonami Exo 2019-02-12 11:33:06 +0100
  • 8f8ae9aee5 Update URLs in assistant and except message deletion errors Lonami Exo 2019-02-12 10:48:02 +0100
  • 1007e19172 Fix get_peer_id not working with InputPeerSelf Lonami Exo 2019-02-11 10:40:35 +0100
  • 3b4d00564d Detail docstring about the 'proxy' parameter in TelegramClient Dmitry D. Chernov 2019-02-11 18:54:35 +1000
  • 45d0ba9e2f Initial implementation of MTProxy support (#1107) Dmitry D. Chernov 2019-02-11 09:16:46 +1000
  • a3898961ea Review fixes Dmitry D. Chernov 2019-02-11 09:02:46 +1000
  • 6861e37c37 Remove unused Connection.clone() method Dmitry D. Chernov 2019-02-11 08:54:06 +1000
  • 45fdd098cc Docs: Removed mention of TcpClient from 'Project Structure' Dmitry D. Chernov 2019-02-11 08:45:33 +1000
  • bce78d277c Initial implementation of MTProxy connection support Dmitry D. Chernov 2019-02-11 05:54:39 +1000
  • 8c428e8566 Fix broken connection establishment in ConnectionTcpObfuscated This regression was introduced in ebde3be820. Dmitry D. Chernov 2019-02-11 07:54:59 +1000
  • c39cc06908 Fix incorrect check for reserved data prefix in ConnectionTcpObfuscated Dmitry D. Chernov 2019-02-11 05:47:09 +1000
  • de84bf08bf Support MessageMedia in pack_bot_file_id Lonami Exo 2019-02-10 12:30:20 +0100
  • e23308c0f9 Fix accessing conversation messages that arrived too early Lonami Exo 2019-02-10 11:45:25 +0100
  • 9a98d41a2c Improve TakeoutClient proxy and takeout functionality (#1106) Dmitry D. Chernov 2019-02-10 20:10:41 +1000
  • c848c23b75 Add support to finish takeouts automatically by the context manager Dmitry D. Chernov 2019-02-10 02:30:14 +1000
  • 78b6b02342 Add support for storing the takeout ID in the session and revoking it Dmitry D. Chernov 2019-02-09 06:25:08 +1000
  • 3ca24d15da Refactor the _TakeoutClient proxy class Dmitry D. Chernov 2019-02-09 00:17:22 +1000
  • 274fa72a8c Correctly proxy __class__ in TakeoutClient for #1103 (#1105) Dmitry D. Chernov 2019-02-08 01:51:16 +1000
  • e8d44c589d Fix client proxy class for takeouts to access static members properly Dmitry D. Chernov 2019-02-08 01:38:12 +1000
  • abd26af0ad Update misleading error message Lonami Exo 2019-02-07 10:15:20 +0100
  • fc2977fc0d Tiny style fixes Dmitry D. Chernov 2019-02-07 06:55:34 +1000
  • c8f16a4e89 Fix a couple of inconsistencies in the public interface (#1102) Dmitry D. Chernov 2019-02-07 04:41:45 +1000
  • a248be5eca Get rid of the exception constant This is antipattern because 'raise' doesn't copy the specified exception object, but simply throws a reference onto, so if the user wants to change the exception object in the handler, the constant will be changed as well. Dmitry D. Chernov 2019-02-07 03:56:42 +1000
  • 11896bb0e5 Client: Fix counter-intuitive support for retrying To retry connection or a request N times the corresponding parameter had to be equal to N+1, since the initial attempt was also taken into account. Dmitry D. Chernov 2019-02-07 03:56:07 +1000
  • c9e9b82eac Update resolve_bot_file_id to latest layer (#1100) Thorbijoern 2019-02-03 00:14:39 +0100
  • 842bec8027
    fixed problem with empty thumbs Thorbijoern 2019-02-03 00:03:19 +0100
  • 48644cca44
    fixed typo in resolve_bot_file_id Thorbijoern 2019-02-02 23:47:58 +0100
  • b79c4510a6 Update to v1.5.5 v1.5.5 Lonami Exo 2019-02-02 11:36:38 +0100
  • c2c8a3caeb Saner timeouts for conversation (#1099) Lonami Exo 2019-01-31 11:10:25 +0100
  • 8492300780 Fix search in private chats when from_user was not given Lonami Exo 2019-01-24 14:28:16 +0100
  • cf867954c3 Support any of /sS to focus docs search Lonami Exo 2019-01-26 13:04:19 +0100
  • c11d71c3cd Fix docs generation on Windows and search bar Lonami Exo 2019-01-26 12:46:13 +0100
  • c1ae7d67a9 Update readthedocs with the new ChatAdminRights Lonami Exo 2019-01-24 14:12:35 +0100