Commit Graph

  • 15673d9f77 Let __call__ = invoke, and encourage this new way to invoke requests Lonami Exo 2017-07-02 11:56:40 +0200
  • 23e2802215 Update to layer 68 Lonami Exo 2017-06-30 11:48:45 +0200
  • 79ee98a4dd Infer the object ID from its TL definition when not given Lonami Exo 2017-06-30 11:28:54 +0200
  • 83c8e98448 Ensure that message ids are signed once again Lonami Exo 2017-06-27 18:45:52 +0200
  • 0cfbf63eaf Fix ConnectionResetError not flagging the socket as disconnected Lonami Exo 2017-06-27 10:18:35 +0200
  • b0173c3ec2 Use more accurate values for msg_ids Lonami Exo 2017-06-26 11:00:43 +0200
  • aa7e8dba8a Fix setup.py failing on Python < 3.6 Dmitry D. Chernov 2017-06-25 05:39:43 +1000
  • 7900c1620c Fix setup.py failing on Python < 3.6 Dmitry D. Chernov 2017-06-25 05:37:57 +1000
  • a5ce375358 Update to v0.11.1 and fix setup.py v0.11.1 Lonami Exo 2017-06-24 18:15:31 +0200
  • 459e988ff5 Rename rpc_n_errors dictionary to rpc_errors_n_all Lonami Exo 2017-06-24 18:10:05 +0200
  • 20956b23d1 Replace super calls with simply super() Lonami Exo 2017-06-23 10:15:11 +0200
  • 843c16215c Add timeout parameter on TcpClient.connect() too Lonami Exo 2017-06-22 19:21:33 +0200
  • e4fbd87c75 Turn timeout into a property instead leaving it as a parameter Lonami Exo 2017-06-22 11:43:42 +0200
  • 52a42661ee Add timeout to connect() Lonami Exo 2017-06-22 10:39:00 +0200
  • e7fac8e254 Add shebang to setup.py Lonami Exo 2017-06-21 19:18:22 +0200
  • b0b814bdb9 Use setup.py to run tl_generator.py instead (plus some cleanup) Lonami Exo 2017-06-21 11:27:22 +0200
  • a9a5c7e254 Use signed longs for every request_id (#138 follow-up) Lonami Exo 2017-06-21 10:20:39 +0200
  • d58222d007 Use crc32 from zlib instead from binascii Lonami Exo 2017-06-20 11:03:46 +0200
  • 86358d7805 Add periodic pings if an updates thread was started (closes #138) Lonami Exo 2017-06-20 09:46:20 +0200
  • 697434be37 Don't do anything on .connect() if it's already connected Lonami Exo 2017-06-19 09:58:03 +0200
  • 8ada0e176d Merge branch 'master' of git://github.com/LonamiWebs/Telethon Christian Stemmle 2017-06-19 17:40:29 +0200
  • daa626aa04 Merge pull request #136 from cher-nov/pr20170619_session Lonami 2017-06-18 23:49:36 +0200
  • 8d9e50989b Fix temporary Session fields not being defined Dmitry D. Chernov 2017-06-19 07:34:23 +1000
  • 2af962230f Fix error 400:CONNECTION_APP_VERSION_EMPTY when using temporary sessions Dmitry D. Chernov 2017-06-19 07:20:36 +1000
  • c13164f5cf Use the correct amount of random bytes in DH request Hasan 2017-06-18 17:38:14 -0400
  • 017a961053 fix amount of random bytes b should be in DH Hasan 2017-06-18 17:34:52 -0400
  • 8afb0a3f6b Rename Request.msg_id to request_msg_id to avoid name clash (fix #122) Lonami Exo 2017-06-18 10:01:59 +0200
  • 765ae870cf Fix connection parameters not being copied on reconnection (#129) Lonami Exo 2017-06-17 22:04:29 +0200
  • be33ae4e80 Fix rpc_message_to_error failing to construct them Lonami 2017-06-17 08:25:48 +0200
  • 74a851b5cc Micro code style improvement (#125) zed 2017-06-17 01:18:31 +0300
  • 9130a94153 Support configuring SOCKS proxy in the example zed 2017-06-17 01:17:51 +0300
  • 495c7dafc5 Micro code style improvement zed 2017-06-17 00:28:09 +0300
  • a79520e37f Support configuring SOCKS proxy in the example zed 2017-06-17 00:25:57 +0300
  • 2b85463ce6 Don't ignore more possible updates on .receive_updates() (closes #117) Lonami Exo 2017-06-16 15:36:47 +0200
  • c304ee903f Trigger reconnection on BrokenPipeError and InvalidChecksumError Goblenus 2017-06-16 15:59:10 +0300
  • 09da33b469 (Fix) Reconnecting tcp, MTProto sessions, when they are broken Goblenus 2017-06-16 15:08:55 +0300
  • 92b4125b2b Update to v0.11 v0.11 Lonami Exo 2017-06-16 10:11:03 +0200
  • e7b0c06ca5 Make .get_input_user faster when the right type is given Lonami Exo 2017-06-16 10:01:05 +0200
  • 279ee81bc3 Stop querying terminal size and other warnings (#115) Lonami Exo 2017-06-16 09:34:09 +0200
  • 13199f737e Handle more cases on .get_display_name feodoran 2017-06-16 09:11:49 +0200
  • 4dedfbf236 Add '(No name)' fallback to get_display_name Christian Stemmle 2017-06-15 17:52:09 +0200
  • 86d45cc276 Improve .get_input_peer and use it only when creating requests* Lonami Exo 2017-06-15 17:03:59 +0200
  • b8e46446ba Automatically call .get_input_peer on the requests that need it Lonami Exo 2017-06-15 16:35:40 +0200
  • c02fbae5aa Allow creating a new parallel connection (closes #102) Lonami Exo 2017-06-15 15:50:44 +0200
  • 3fccfd40e6 Show error messages on non-specialized error classes (closes #113) Lonami Exo 2017-06-15 15:25:05 +0200
  • 92088383f7 Fix get_message_history not returning sender on channels (closes #110) Lonami Exo 2017-06-15 09:41:01 +0200
  • 45fb1f3f26 Exclude empty first_name in get_display_name Christian Stemmle 2017-06-15 00:02:36 +0200
  • fc915b2284 Fix get_message_history ignoring chats and enhance find_user_or_chat Lonami Exo 2017-06-14 14:06:35 +0200
  • 96d8ca94cf Move TelegramClient.list_sessions to *Session.list_session Lonami Exo 2017-06-14 13:56:42 +0200
  • 56bf5f7c87 Fix broken link from pypi in README.rst zed 2017-06-14 00:05:15 +0300
  • 9fd3c72b57 fix broken link in README zed 2017-06-13 23:38:04 +0300
  • 9e07a2580c Fix extra line being appended on empty .to_dict()'s Lonami Exo 2017-06-13 19:46:16 +0200
  • d8afb7e548 Also except BlockingIOError on TcpClient.send() Lonami Exo 2017-06-12 10:44:04 +0200
  • 769692959f Make the TLGenerator class a lot more readable Lonami Exo 2017-06-12 10:43:43 +0200
  • 68a625b82b Try to adhere to the 80-characters limit Lonami Exo 2017-06-12 10:16:24 +0200
  • 76166cd1ec Add .to_dict() to the generated types Goblenus 2017-06-12 10:53:26 +0300
  • f083b88f59 (Fix) Fix api_id type mismatch Goblenus 2017-06-11 23:42:04 +0300
  • 38d0d9aea4 (Ref) Slightly refactor Goblenus 2017-06-12 01:23:26 +0300
  • 7f47d95acc (Fix) Fix api_id type mismatch Goblenus 2017-06-11 23:42:04 +0300
  • 921e2eae54 (Add) Add to_dict() method Goblenus 2017-06-11 23:19:04 +0300
  • 1ca41b5854 Automatically infer the value for 'random_id' parameters Lonami Exo 2017-06-11 19:16:59 +0200
  • 3ed59d08e5 Fix commit 65912f9 by properly skipping lost messages Lonami Exo 2017-06-11 17:53:53 +0200
  • 65912f926b Allow to send more than one request before receiving them (#105) Lonami Exo 2017-06-11 14:58:16 +0200
  • c6acd6adc5 Use only ASCII characters on the code (closes #104) Lonami Exo 2017-06-10 13:39:37 +0200
  • 5c138977c3 Do not cancel UpdatesThread .receive() on reconnection Lonami Exo 2017-06-10 13:16:37 +0200
  • a73be04da7 Move connection parameters to the session Lonami Exo 2017-06-10 13:15:04 +0200
  • 1119a2737a Remove markdown "parser" since that's not Telethon-specific Lonami Exo 2017-06-10 13:00:39 +0200
  • 44ab85962b Completely change errors (make one class for each) Lonami Exo 2017-06-10 11:47:51 +0200
  • 5df4716164 Add errors related to #103 Lonami Exo 2017-06-10 10:08:08 +0200
  • 7adb4f09d6 Slightly reorganise the project structure Lonami Exo 2017-06-09 16:13:39 +0200
  • ba5bfa105f Use memoryview() on TcpClient.write() instead slicing the data Lonami Exo 2017-06-09 11:50:30 +0200
  • c6645a555d Prefer BufferedWriter over BinaryWriter for socket operations Lonami Exo 2017-06-09 11:42:39 +0200
  • 5494cb15eb "Don't go nuts switching back and forth between (non-)blocking" Lonami Exo 2017-06-09 11:26:59 +0200
  • 40616ba704 Support arbitrary file objects for .download_file() and update README Lonami Exo 2017-06-09 11:12:56 +0200
  • 40f4c2533a Incredibly improve downloading media on different DCs* Lonami Exo 2017-06-09 10:50:40 +0200
  • efd1c1ba64 Always acknowledge received errors for server not to resend them Lonami Exo 2017-06-09 10:46:39 +0200
  • 639a17aa5a Cache exported TelegramBareClients instead MtProtoSenders Lonami Exo 2017-06-09 10:35:19 +0200
  • cf65e5b1cf Get rid of signature warnings and use nicer *args instead Lonami Exo 2017-06-08 16:59:47 +0200
  • b760f0de50 Fix reconnection (InvalidDC did not occur on .connect())* Lonami Exo 2017-06-08 16:51:20 +0200
  • 6a043b7371 Fix Session not being able to save auth_key=None Lonami Exo 2017-06-08 16:45:09 +0200
  • d788d30de2 Move connect() parameters to init and ignore signature warnings Lonami Exo 2017-06-08 16:23:05 +0200
  • a07c7bd0d0 Move InteractiveClient to examples/ (and stop shipping it to pip) Lonami Exo 2017-06-08 14:00:27 +0200
  • 88f87f6de2 Major TelegramClient rewrite, split it into TelegramBareClient* Lonami Exo 2017-06-08 13:12:57 +0200
  • 6922eb3d39 Update to v0.10.1 v0.10.1 Lonami Exo 2017-06-07 20:15:27 +0200
  • 4a2b6e7fa8 Don't start another thread unless an update handler is added* Lonami Exo 2017-06-07 20:08:16 +0200
  • 1860054ec0 Make generate_sequence() thread-safe and move it to Session Lonami Exo 2017-06-07 12:00:01 +0100
  • 49ca5c00c7 Create a more upgrade-resistant JSON-based Session class Lonami Exo 2017-06-07 11:48:54 +0100
  • 8e3f3063f4 Add more errors and make them more descriptive Lonami Exo 2017-06-07 11:09:10 +0100
  • 5c7efdb04f Make use of relative imports everywhere, again Lonami Exo 2017-06-05 18:00:43 +0200
  • 5362f2578d Allow using lists and dicts for passing proxy settings Dmitry D. Chernov 2017-06-05 14:04:01 +1000
  • cd9550b228 Allow using lists and dicts for passing proxy settings Dmitry D. Chernov 2017-06-05 14:04:01 +1000
  • 3de398bae6 Sort constructors on the documentation for predictable results Lonami Exo 2017-06-04 20:21:45 +0200
  • 2f00033683 Add a nice button to the docs to copy the import code Lonami Exo 2017-06-04 19:57:20 +0200
  • cf6f300df1 Improve .is_user_authorized() and add a .get_me() method Lonami Exo 2017-06-04 17:24:08 +0200
  • 7acfd0c6c9 Update to v0.10 and some minor grammar fixes v0.10 Lonami Exo 2017-06-03 13:36:41 +0200
  • b472421b8a Allow specifying custom version/lang code/etc on client.connect Lonami Exo 2017-06-03 13:24:27 +0200
  • 06db6c3823 Allow integer-only session name and hash for the example Lonami Exo 2017-06-03 13:08:25 +0200
  • 153cbfd350 Use more straightforward calls of hashlib.sha1/sha256 Lonami Exo 2017-06-02 16:49:03 +0200
  • 6b4f2abb96 Fix disconnect and reconnect for exported senders (#53) Lonami Exo 2017-05-30 13:27:23 +0200
  • 097d1669b2 Allow invoking requests on different DCs (#53) Lonami Exo 2017-05-30 13:03:14 +0200