Commit Graph

  • 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
  • e3ab98815d Fix reconnect on TypeNotFoundError failing Lonami Exo 2017-09-18 10:21:53 +0200
  • e0e3947d2f Fix some misleading errors/documentation Lonami Exo 2017-09-18 09:37:20 +0200
  • 619c35986b Add new example Tanuj 2017-09-17 23:34:49 +0100
  • 2a3e5e5ed2 Handle BufferError's more gracefully Lonami Exo 2017-09-17 19:39:04 +0200
  • 78155a21bd Retry authentication for auth keys up to five times by default Lonami Exo 2017-09-17 19:14:36 +0200
  • e7a936222f Catch -404 BrokenAuthKeyError on .connect()'s .do_authentication Lonami Exo 2017-09-17 18:38:03 +0200
  • 940dfe6816 Fix process_updates=True preventing new sessions from signing in Lonami Exo 2017-09-17 18:13:58 +0200
  • 58fe39f060 Expose MtProtoSender.is_connected() and use it on .connect() Lonami Exo 2017-09-17 16:39:29 +0200
  • 05a8723d36 Catch calling .receive() when .sender is None on recv_thread Lonami Exo 2017-09-17 16:37:08 +0200
  • 12c12fdfaf Fix representing .stringify() for bytes with indent > 0 Lonami Exo 2017-09-17 16:35:35 +0200
  • 76b7420b63 Ignore TimeoutError when invoking a request Lonami Exo 2017-09-17 16:32:51 +0200
  • 2f0f6d4591 Remove initial_query leftovers Lonami Exo 2017-09-17 16:20:04 +0200
  • b14a7d9e68 Revert layer being a property Lonami Exo 2017-09-17 16:19:53 +0200
  • aea10b103b Rename generated layer variable to uppercase readonly property Lonami Exo 2017-09-17 16:17:55 +0200
  • c84e54b647 Get rid of the initial_query= parameter on .connect() Lonami Exo 2017-09-17 16:06:43 +0200
  • 2689b0750d Make DC options static Lonami Exo 2017-09-17 14:30:23 +0200
  • 59a4315c28 Avoid calling InitConnectionRequest when it's not needed Lonami Exo 2017-09-17 14:25:53 +0200
  • 29471f3bba Force obfuscated2 mode if api_id < 20 Lonami Exo 2017-09-15 11:49:39 +0200
  • 89907fcdd8 Merge 46c276e3b2 into 279eb110be kyasabu 2017-09-14 12:03:15 +0000
  • 46c276e3b2 Add startup script for simple use Kyasabu 2017-09-14 13:37:21 +0200
  • 279eb110be Update to v0.13.3 v0.13.3 Lonami Exo 2017-09-14 11:51:41 +0200
  • 12a39873f1 Workaround msg_seqno too low/high (closes #95) Lonami Exo 2017-09-14 11:50:38 +0200
  • 151e1623d3 Stop saving the session ID, sequence and time offset Lonami Exo 2017-09-14 11:44:42 +0200
  • 73fe7258d1 Modify .send_message to return the sent message object Lonami Exo 2017-09-13 12:00:27 +0200
  • d12fb5b924 Add an optional reply_to parameter to .send_message/media Lonami Exo 2017-09-13 11:51:23 +0200
  • 7043f4c9ba Add a convenience method to send voice notes Lonami Exo 2017-09-13 11:30:20 +0200
  • d79dccc923 Add a lock around TcpClient.close() to try avoiding None.close() Lonami Exo 2017-09-13 09:44:58 +0200
  • 1d36bbfbf4 Remove forgotten invalid code CdnDecrypter.finish_check (fix #243) Lonami Exo 2017-09-12 15:38:00 +0200
  • 3a5eab2e83 Fix infering random_id lists failing for ForwardMessages Lonami Exo 2017-09-12 10:32:11 +0200
  • a76c31ede2 Add lru_cache decorator to .get_entity() Lonami Exo 2017-09-11 12:53:39 +0200
  • 83f9cafabf Make .get_entity() public Lonami Exo 2017-09-11 11:54:32 +0200
  • 188b1c8816 Fix client reconnection not actually working Lonami Exo 2017-09-11 11:38:36 +0200
  • a2fdd4b196 Ignore InvalidChecksumError's Lonami Exo 2017-09-11 11:04:19 +0200
  • 48dead76ac Retry up to five times before giving up on a request Lonami Exo 2017-09-11 10:52:36 +0200
  • 880f5636be Move README-long.rst to the wiki hosted on GitHub Lonami Exo 2017-09-10 16:01:58 +0200