Commit Graph

  • 51d8ea0fa8 Shield disconnected Future in the MTProtoSender instead Lonami Exo 2018-06-18 15:55:24 +0200
  • efc48ee3b0 Shield self.disconnected and log RpcCallFail Lonami Exo 2018-06-18 14:27:40 +0200
  • ee7a44d447 Return an empty list from get_entities_text if no entities Lonami Exo 2018-06-18 13:54:09 +0200
  • 3c1d7d2da2 Fix MessageEmpty when searching for messages Lonami Exo 2018-06-18 13:48:50 +0200
  • 7641ba2d32 Fix sleep on the wrong indent and handle CancelledError Lonami Exo 2018-06-18 13:29:12 +0200
  • 374f5e2aab Periodically send ping/getState Lonami Exo 2018-06-18 13:22:25 +0200
  • 94d6c339c4 Add more logging in the MTProtoSender Lonami Exo 2018-06-18 11:29:54 +0200
  • e36aff51dd Raise ConnectionError when sending without connection Lonami Exo 2018-06-17 20:25:22 +0200
  • d5b349e031 Implement a mechanism to notify of connection failures (#852) Dan Elkouby 2018-06-17 20:29:41 +0300
  • 049483a199 Renaming to something clearer Lonami Exo 2018-06-17 19:27:00 +0200
  • 7faf808ad7
    Better better docs Lonami 2018-06-17 19:14:39 +0200
  • 7600462dca
    Better run_loop docstring Lonami 2018-06-17 19:06:59 +0200
  • a265a3f165
    Swap (and correct) error check Lonami 2018-06-17 18:14:17 +0200
  • d9b8c1b0be Don't break existing references to connection_dropped Dan Elkouby 2018-06-17 18:57:46 +0300
  • 47fc91ccd0 Implement a mechanism to notify of connection failures Dan Elkouby 2018-06-17 18:42:34 +0300
  • d9d586171f Fix MTProtoSender should not send content-related queries Lonami Exo 2018-06-17 16:23:22 +0200
  • 145d4b7105 Remove socket fd from the loop reader upon closing Lonami Exo 2018-06-17 15:48:26 +0200
  • aaa7ec757b Support start() retrying on PasswordHashInvalidError Lonami Exo 2018-06-17 14:07:45 +0200
  • 4d1272f1d2 Fix __ is invalid in usernames (cc @Kyle2142) Lonami Exo 2018-06-17 12:08:55 +0200
  • b65cbd8647 Validate to_id when iterating over messages by ID Lonami Exo 2018-06-17 11:57:11 +0200
  • 226c35ff8f Pump up default timeout from 5 to 10s Lonami Exo 2018-06-17 11:46:56 +0200
  • d18ee9ecc5 Handle (re)connection errors more gracefully Lonami Exo 2018-06-17 11:41:35 +0200
  • 9c63def14c Fix docs' typos Lonami Exo 2018-06-16 21:51:13 +0200
  • 8086772506 Make sure not to include sentinel in containers Lonami Exo 2018-06-16 18:40:08 +0200
  • bb2cacd525 Fix automatic reconnection by unblocking the send queue Lonami Exo 2018-06-16 18:34:36 +0200
  • 56ddaaee6f Make non-fwded messages sent to yourself outgoing Lonami Exo 2018-06-16 17:35:24 +0200
  • 7cfecfaf21 Support pathlib.Path on download/upload Lonami Exo 2018-06-16 17:01:20 +0200
  • cbd5594dba Use the correct clock time when sleeping on iter_messages Lonami Exo 2018-06-15 17:09:16 +0200
  • 509fba8bcc Fix-up isinstance/is_user_authorized from 06cdf1f Lonami Exo 2018-06-15 13:01:16 +0200
  • b7286be3b0 Get the "correct" chat in private incoming messages Lonami Exo 2018-06-15 12:46:41 +0200
  • 31c94ec184 Add a lock for resolving events Lonami Exo 2018-06-15 10:11:22 +0200
  • df15ee421c Except connection timeouts in MTProtoSender Dan Elkouby 2018-06-15 10:57:32 +0300
  • 24d2074e0c Set _input_chat on custom.Message creation/fixup input_chat Lonami Exo 2018-06-14 23:40:44 +0200
  • 091b03c635 Use create_task instead ensure_future Lonami Exo 2018-06-14 23:33:56 +0200
  • f95400ea7e Try again to get input_chat on EventsCommon Lonami Exo 2018-06-14 23:26:04 +0200
  • 06cdf1fdb0 Raise on phone/network migrate if authorized Lonami Exo 2018-06-14 23:13:42 +0200
  • c788e17c22 Fix _handle_update not expanding Updates Lonami Exo 2018-06-14 22:51:57 +0200
  • 179af9894f Add missing parenthesis around await Lonami Exo 2018-06-14 22:25:03 +0200
  • 0f14f3b16a Support custom event loops Lonami Exo 2018-06-14 19:35:12 +0200
  • 908dfa148b Revisit codebase to add missing async/await Lonami Exo 2018-06-14 17:09:20 +0200
  • 1247d050ab Remove unused fields from the Sessions Lonami Exo 2018-06-14 17:04:15 +0200
  • bb3a564500
    Merge pull request #843 from LonamiWebs/core-rewrite Lonami 2018-06-14 16:25:28 +0200
  • 5bb2f50232 Handle Msg state/resend/all (from 7c0af2c by @andr-04) Lonami Exo 2018-06-14 16:23:16 +0200
  • 4a9eb5b085 Handle OSError on MTProtoSender Lonami Exo 2018-06-14 16:16:11 +0200
  • df1dfdf8ea Remove some redundant except Lonami Exo 2018-06-14 16:13:46 +0200
  • c9ea1bafc0 Apply @andr-04 asyncio commits to TcpClient Lonami Exo 2018-06-14 16:08:23 +0200
  • 85103bcf6d Merge branch 'asyncio' of https://github.com/LonamiWebs/Telethon into asyncio-upstream asyncio-stale Andrey Egorov 2018-06-14 15:34:21 +0300
  • 43a0226b33 Merge branch 'asyncio' into asyncio-upstream Andrey Egorov 2018-06-14 14:34:08 +0300
  • 097acd874b Duplicate commit from master to handle empty draft msg Lonami Exo 2018-06-13 20:57:41 +0200
  • 3ce8b17193 Dispatch updates to event handlers Lonami Exo 2018-06-13 16:20:15 +0200
  • 898ce34c65 Set __all__ on telethon.__init__.py Lonami Exo 2018-06-13 11:41:12 +0200
  • a91109c9fa Retry send_code_request on AuthRestartError Lonami Exo 2018-06-13 10:55:37 +0200
  • f3f0c28505 Support converting .tl -> .json Lonami Exo 2018-06-13 10:48:35 +0200
  • 8a787e90c2 Remove send/recv locks Lonami Exo 2018-06-13 10:04:27 +0200
  • 3324090c96 Fix non-asyncio sleep Lonami Exo 2018-06-13 09:59:30 +0200
  • 3f16c92eb3 Subclass TLRequest for content-related objects Lonami Exo 2018-06-12 20:05:05 +0200
  • d1afc70963 Fix setting Pong results Lonami Exo 2018-06-12 19:46:37 +0200
  • d4dc147459 Handle DraftMessageEmpty (closes #844) Lonami Exo 2018-06-12 19:25:13 +0200
  • 2a90de2b08 Fix broadcast being named post for is_group property Lonami Exo 2018-06-12 12:31:37 +0200
  • f9cd220ddd Implement _get_exported_sender Lonami Exo 2018-06-11 20:05:10 +0200
  • 64dd957189 Fix None first_query and TcpClient.disconnect() Lonami Exo 2018-06-11 19:51:01 +0200
  • 0c25bf29b4 Add missing parenthesis Lonami Exo 2018-06-11 13:43:08 +0200
  • cea75a4365 Adds new docs index for methods can be used as bots (#840) Jeff 2018-06-11 19:36:32 +0800
  • c88b8c152b
    thing Lonami 2018-06-11 13:35:56 +0200
  • f581db294a Better custom.MessageButton.click() docs Lonami Exo 2018-06-11 10:24:57 +0200
  • aa6d3430ae Properly handle bot timeouts when clicking buttons Lonami Exo 2018-06-11 10:20:22 +0200
  • f86f52d960 Fix async_generator's and missing awaits Lonami Exo 2018-06-10 22:00:55 +0200
  • 8be6adeab4 Make use of the async_generator module Lonami Exo 2018-06-10 21:50:28 +0200
  • 15ef302428 Implement _switch_dc/fix missing first request Lonami Exo 2018-06-10 21:30:16 +0200
  • 4a491e45ce Fix broken debug call Lonami Exo 2018-06-10 21:02:22 +0200
  • d462b04a9c Add async/await on tl.custom Lonami Exo 2018-06-10 20:29:57 +0200
  • 1bde72d375 Make the TelegramClient aggregate all client methods Lonami Exo 2018-06-10 19:05:36 +0200
  • fb8b052754 Separate update requests from the TelegramClient Lonami Exo 2018-06-10 13:58:21 +0200
  • ac2e59b472 Separate auth requests from the TelegramClient Lonami Exo 2018-06-10 12:57:36 +0200
  • 4ff0756ffc Separate download requests from the TelegramClient Lonami Exo 2018-06-10 12:04:23 +0200
  • 317b7053a0 Separate parse message methods from uploads Lonami Exo 2018-06-10 11:30:51 +0200
  • 83a024656c Rename client.files as client.uploads Lonami Exo 2018-06-09 22:14:51 +0200
  • ad29f2f5b7 Separate chat requests from the TelegramClient Lonami Exo 2018-06-09 22:13:00 +0200
  • 1e91e5a83c Separate dialogs methods from the TelegramClient Lonami Exo 2018-06-09 22:09:02 +0200
  • 4bd20f1ce2 Separate file and message methods from TelegramClient Lonami Exo 2018-06-09 22:05:06 +0200
  • bb9b9796e0 Separate user methods from the base client Lonami Exo 2018-06-09 21:22:54 +0200
  • 4b147f0153 Move clients to a new package Lonami Exo 2018-06-09 21:11:35 +0200
  • d76b27058f Warn on invoke and clean TelegramClient Lonami Exo 2018-06-09 21:10:23 +0200
  • 3e151a1b7a Make TelegramBareClient able to invoke requests Lonami Exo 2018-06-09 21:03:48 +0200
  • 7e68274f26 Keep consistent structure and remove done TODO Lonami Exo 2018-06-09 15:42:10 +0200
  • acd6025731 Use put_nowait and avoid double await Lonami Exo 2018-06-09 15:26:13 +0200
  • 485ce5ca3b Ignore padding on server messages instead warning Lonami Exo 2018-06-09 14:23:42 +0200
  • be279ce3f5 Make TLMessage always have a valid TLObject Lonami Exo 2018-06-09 13:48:27 +0200
  • f7e8907c6f Create RpcResult class and generalise core special cases Lonami Exo 2018-06-09 13:11:49 +0200
  • 2071ecf8c5 should have used tuple oops Jeff 2018-06-09 18:00:09 +0800
  • 1e66cea9b7 Reuse some more code from MTProtoState Lonami Exo 2018-06-09 11:36:59 +0200
  • adfe861e9f Create a self-contained MTProtoState Lonami Exo 2018-06-09 11:34:01 +0200
  • cc5753137c Clean-up TelegramBareClient - unnecessary? Lonami Exo 2018-06-08 21:52:59 +0200
  • a63580c350 Private methods are not public API Lonami Exo 2018-06-08 21:18:15 +0200
  • 6766c4eea9 Make heavy use of logging Lonami Exo 2018-06-08 21:13:14 +0200
  • e36517845a Retry on connection/security errors Lonami Exo 2018-06-08 20:50:53 +0200
  • 9a51679dab probably less hacky? Jeff 2018-06-09 02:50:07 +0800
  • 92b606a3e8 Automatically reconnect on connection reset Lonami Exo 2018-06-08 20:41:48 +0200
  • 32ecc57172 add docs index for bots methods Jeff 2018-06-08 17:39:36 +0800
  • 43f7c11bbb
    Merge pull request #1 from LonamiWebs/master Jeff 2018-06-08 16:43:52 +0800