Commit Graph

  • 56103845de Fix LogOutRequest consuming all retries (#270) Lonami Exo 2017-09-29 13:58:15 +0200
  • 61e5c73658 Update to v0.14.2 v0.14.2 Lonami Exo 2017-09-29 13:13:05 +0200
  • afc4bd9cab Rename constructor/subclass_of_id to upper case, keep only static Lonami Exo 2017-09-29 13:11:33 +0200
  • b3f04fd359 Raise AssertionError instead TypeNotFoundError on authenticator Lonami Exo 2017-09-29 13:07:21 +0200
  • a4fa652d35 Precompute the flag index on the generated code Lonami Exo 2017-09-29 13:03:35 +0200
  • 76d14b2dd9 Make generated .to_bytes() more readable Lonami Exo 2017-09-29 13:00:22 +0200
  • 195bba6f21 Fix bug where booleans were always serialized as false Lonami Exo 2017-09-29 12:57:53 +0200
  • c134d9ba27 Run setup.py gen_tl when installing (may fix #271) Lonami Exo 2017-09-29 12:40:03 +0200
  • 7838f8561b Allow running setup.py from other directories Lonami Exo 2017-09-29 12:38:53 +0200
  • f39d8f132f Make generated description on the docs more friendly Lonami Exo 2017-09-29 12:14:09 +0200
  • 3c7dd25982 Revert "if * is None" check (8bff10d) on get_input_* due to 423efc4 Lonami Exo 2017-09-29 12:02:26 +0200
  • 423efc4360 Fix optional vector arguments failing Lonami Exo 2017-09-29 11:56:43 +0200
  • 3fda7efeb9 More friendly issue template Lonami Exo 2017-09-28 12:20:56 +0200
  • dc5bbc1719 Update to v0.14.1 v0.14.1 Lonami Exo 2017-09-28 12:02:47 +0200
  • cc337328c6 Rename handmade Message class to TLMessage to avoid confusion Lonami Exo 2017-09-28 11:59:24 +0200
  • 71c2a82b3d Completely remove BinaryWriter from the project Lonami Exo 2017-09-28 11:49:45 +0200
  • 2fd03e5422 Stop using BinaryWriter on MtProtoPlainSender Lonami Exo 2017-09-28 11:43:06 +0200
  • fe30f63d5d Use autogen code on the authenticator instead hardcoding requests Lonami Exo 2017-09-28 11:36:51 +0200
  • 4bedbfe945 Use bytes instead string type on the auth-key methods Lonami Exo 2017-09-28 10:32:57 +0200
  • 14791e1df1 Fix wrong type hint for int128 and int256 Lonami Exo 2017-09-28 10:12:39 +0200
  • 748c2560de Fix auto-generated code didn't actually write int128/int256 Lonami Exo 2017-09-28 10:01:09 +0200
  • fb0898b9cb Don't distinguish between str and bytes when serializing Lonami Exo 2017-09-28 09:55:29 +0200
  • 1518be0b95 Use .appendleft(x) for deque instead .insert(0, x) (fix #268) Lonami Exo 2017-09-28 09:30:47 +0200
  • c667a00281 Avoid using BinaryWriter where possible Lonami Exo 2017-09-27 21:23:59 +0200
  • 8a605f21e6 Remove BinaryWriter dependency on MessageContainer Lonami Exo 2017-09-27 21:06:01 +0200
  • 833aeb86eb Fix auth_key is unsigned Lonami Exo 2017-09-27 21:04:52 +0200
  • bd3dd371a2 Create a proper Message class (msg_id, seqno, body; only .to_bytes()) Lonami Exo 2017-09-27 21:01:20 +0200
  • b0839a028e Update to v0.14 v0.14 Lonami Exo 2017-09-27 13:51:59 +0200
  • 795cb98909 Move MessageContainer.on_send inside its .to_bytes Lonami Exo 2017-09-27 13:49:58 +0200
  • 6df9fc558e Create and use a new GzipPacked class, also when sending Lonami Exo 2017-09-27 13:46:53 +0200
  • 7b736aa6ef Fix MessageContainer having the wrong constructor id Lonami Exo 2017-09-27 13:46:02 +0200
  • efca981312 Fix adding a request twice (or container) to ._pending_receive Lonami Exo 2017-09-27 13:26:35 +0200
  • 0c11967232 Remove unused .shaes attribute from CdnDecrypter Lonami Exo 2017-09-27 12:11:16 +0200
  • 657e8a70c9 Fix CdnDecrypter incorrectly accessing clients' timeout (closes #265) Lonami Exo 2017-09-27 12:08:37 +0200
  • 9b7733d6b9 Avoid the use of starred expressions on autogen code (fix #266) Lonami Exo 2017-09-27 12:05:35 +0200
  • 98c2e1dd4f Replace 4 .append calls with a single one when serializing bytes Lonami Exo 2017-09-26 14:41:11 +0200
  • b83cd98ba0 Replace TLObject.on_send with the new .to_bytes() Lonami Exo 2017-09-26 14:36:02 +0200
  • 2bb26d6389 Modify setup.py to work even if generated code was wrong Lonami Exo 2017-09-26 14:29:35 +0200
  • f233110732 Allow sending several requests at once through new MessageContainer Lonami Exo 2017-09-25 20:52:27 +0200
  • b40708a8c7 Import get_input_* only once on the generated code Lonami Exo 2017-09-25 14:05:13 +0200
  • dc73744fc4 Add get_input_media calls on the generated code Lonami Exo 2017-09-25 13:47:25 +0200
  • 1d50bba8bc Add get_input_* methods for Media and such Lonami Exo 2017-09-25 13:43:03 +0200
  • edcd23f94c Making timeout when reporting an error shorter Lonami Exo 2017-09-25 12:00:09 +0200
  • 493f5cec1f Fix-up target method typo Lonami Exo 2017-09-25 11:57:42 +0200
  • 01c91bb895 Report errors in the background not to interfer with users (#262) Lonami Exo 2017-09-25 11:56:44 +0200
  • c0ee123156 Add a small sleep when trying to reconnect forever Lonami Exo 2017-09-25 11:04:09 +0200
  • 9787fb8c46 Add and copy 404.html to the generated docs Lonami Exo 2017-09-24 13:40:54 +0200
  • d5ba259d4e Ensure the working directory is unaltered after generating docs Lonami Exo 2017-09-23 21:02:32 +0200
  • 40d80f73ee Enhance docs search to show namespaces if names clash Lonami Exo 2017-09-23 21:01:49 +0200
  • 56302552fb Fix formatting URLs on the documentation failing for types Lonami Exo 2017-09-23 21:01:06 +0200
  • d0e66c104a Fix generating documentation failing on root directory Lonami Exo 2017-09-23 21:00:01 +0200
  • 1593a4415e Fix None datetime being type hinted as invalid Lonami Exo 2017-09-23 20:07:40 +0200
  • 0f10e1419f Update to v0.13.6 v0.13.6 Lonami Exo 2017-09-23 11:44:04 +0200
  • b04607e7ba Ignore requests invoked from ReadThread instead raising Lonami Exo 2017-09-23 11:31:58 +0200
  • 80e9877256 Show the type of children TLObjects on .stringify() Lonami Exo 2017-09-23 11:01:25 +0200
  • 5701029fbf Stop treating .to_dict() with no args as a special case Lonami Exo 2017-09-23 10:59:08 +0200
  • 0b48b1ec8a Add support for non-recursive TLObject.to_dict() Lonami Exo 2017-09-23 10:41:36 +0200
  • 73fbfde7ef Process messages without pts Andrey Egorov 2017-09-23 00:12:36 +0300
  • 77c558e2c0 Process messages without pts Andrey Egorov 2017-09-23 00:12:36 +0300
  • f39f9c33a0 Fix timeout on confirm_received.wait not being added (fix #257) Lonami Exo 2017-09-22 19:20:37 +0200
  • 9ce4307304 Update to v0.13.5 v0.13.5 Lonami Exo 2017-09-22 16:12:43 +0200
  • b0f6b23e52 Fix creating new connections accessing invalid attributes Lonami Exo 2017-09-22 16:11:07 +0200
  • bfa3001f87 Fix MainThread would lock when reconnecting Lonami Exo 2017-09-22 16:02:10 +0200
  • 9dfb5d493c Fix BrokenPipeError was instance of OSError Lonami Exo 2017-09-22 13:51:11 +0200
  • 4a8e5c865a Detect BrokenAuthKeyError on MtProtoSender._decode_msg Lonami Exo 2017-09-22 13:32:00 +0200
  • a992f42781 Attempt at fixing socket is None on .connect() Lonami Exo 2017-09-22 13:14:56 +0200
  • 6d60e83adc Start background thread only if it was None Lonami Exo 2017-09-22 13:13:41 +0200
  • d8bf8bb2eb Fix reconnect always returning False -> infinite loop Lonami Exo 2017-09-22 12:45:14 +0200
  • 4d5f16f2aa Fix background thread could not reconnect properly Lonami Exo 2017-09-22 12:44:09 +0200
  • 4245ec5abc Make reconnect private Lonami Exo 2017-09-22 12:31:41 +0200
  • bc15b451b5 Use a safer reconnect behaviour (respect multithread too) Lonami Exo 2017-09-22 12:20:38 +0200
  • ffadcd029f Save the session much less often (doable because 151e162) Lonami Exo 2017-09-21 19:12:46 +0200
  • 12c6d4d3ac Start the background thread only if the user is authorized Lonami Exo 2017-09-21 15:36:20 +0200
  • 4ba12e717f Fix reconnect to new_dc wasn't changing connection.ip Lonami Exo 2017-09-21 13:58:57 +0200
  • 7f83a6109f Fix authenticator was disconnecting when it shouldn't Lonami Exo 2017-09-21 13:54:44 +0200
  • 2b2da843a1 Create a Connection only once and avoid no-op if was "connected" Lonami Exo 2017-09-21 13:43:33 +0200
  • 4777b8dad4 Handle .connect() method more gracefully Lonami Exo 2017-09-21 12:37:05 +0200
  • 446174c7de Catching WinError 10038 Sergey 2017-09-21 14:35:06 +0300
  • f568c187af Catching WinError 10038 Sergey 2017-09-21 14:35:06 +0300
  • c22224f516 Attempt at handling ProxyConnectionError on .connect() Lonami Exo 2017-09-20 13:22:56 +0200
  • b8d7b1c8af Phone number shouldn't actually start with '+' Lonami Exo 2017-09-20 12:47:19 +0200
  • 9ae4f7f641 Fix wrong check on .send_message (closes #250) jiang gau 2017-09-19 22:27:10 +0800
  • 73ed65c131 fix issue https://github.com/LonamiWebs/Telethon/issues/250 jiang gau 2017-09-19 22:16:21 +0800
  • 81d4d76d16 Fix generated code showing the incorrent type hint for datetime Lonami Exo 2017-09-19 13:20:34 +0200
  • 1d3273a306 Fix UpdateState calling handlers with updates with lower pts Lonami Exo 2017-09-19 13:17:40 +0200
  • 060b8a8b9c Fix setup.py import subprocess.run (not supported on < py3.5) Lonami Exo 2017-09-19 10:16:41 +0200
  • a71fd2a75e Merge branch 'master' of github.com:LonamiWebs/Telethon Lonami Exo 2017-09-19 09:35:15 +0200
  • 9c990330fd Merge branch 'master' of github.com:lonamiwebs/Telethon Tanuj 2017-09-19 00:02:03 +0100
  • f7e4f3f678 Make type hinting on the generated code more IDE-friendly Lonami Exo 2017-09-18 21:00:06 +0200
  • 2595d45bd7 Import os only once on the generated code Lonami Exo 2017-09-18 20:23:03 +0200
  • 2c5c674531 Stop using TLObject.__repr__ to show the TL definition Lonami Exo 2017-09-18 20:19:39 +0200
  • 879621ab70 Add new example usage code for auto-replies (#249) Tanuj 2017-09-18 19:09:58 +0100
  • b52384fce8 Remove unnecessary check for password_required Tanuj 2017-09-18 19:08:13 +0100
  • df31a03788 Switch to SessionPasswordNeededError Tanuj 2017-09-18 18:44:16 +0100
  • aea95a398b Add a pypi option to setup.py to easily update the library Lonami Exo 2017-09-18 14:03:06 +0200
  • e12e82357d Update to v0.13.4 v0.13.4 Lonami Exo 2017-09-18 13:32:16 +0200
  • 91f44613a8 Fix SendMessageRequest could return UpdateShortSentMessage Lonami Exo 2017-09-18 11:59:55 +0200
  • 200d1d67be Make BufferError message more useful Lonami Exo 2017-09-18 11:45:08 +0200
  • 0235fce99c Don't hold ._updates_lock while calling .handlers Lonami Exo 2017-09-18 11:01:15 +0200
  • 143e046cf5 Attempt at passing errors to the main thread through .updates Lonami Exo 2017-09-18 10:59:54 +0200