Commit Graph

  • e48d42ef2c Merge 6c45fe46dd into f8745155ac Viktor Oreshkin 2017-12-27 13:44:22 +0000
  • f29ee41f6c Don't use rowid for the entities table Lonami Exo 2017-12-27 13:27:54 +0100
  • 932ed9ea9d Cast to input peer early on get input entity and close cursor Lonami Exo 2017-12-27 13:06:03 +0100
  • 843e777eba Simplify .process_entities() flow Lonami Exo 2017-12-27 12:58:50 +0100
  • f8745155ac Stop joining read thread on disconnect, as it may be None Lonami Exo 2017-12-27 12:37:07 +0100
  • f96d88d3b5 Modify .get_entity to support fetching many entities at once Lonami Exo 2017-12-27 12:36:38 +0100
  • 3512028d0f Fix .get_input_entity excepting wrong type Lonami Exo 2017-12-27 12:36:14 +0100
  • b6b47d175c Fix username.lower() on instances with username field but None Lonami Exo 2017-12-27 12:16:49 +0100
  • 5c17097d8d Clean up .get_entity and remove force_fetch Lonami Exo 2017-12-27 11:56:05 +0100
  • 86429e7291 Lowercase usernames before adding them to the database Lonami Exo 2017-12-27 11:54:08 +0100
  • aef96f1b68 Remove custom EntityDatabase and use sqlite3 instead Lonami Exo 2017-12-27 00:50:09 +0100
  • 0a4849b150 Small cleanup of the Session class Lonami Exo 2017-12-26 16:59:30 +0100
  • 664417b409 Use sqlite3 instead JSON for the session files Lonami Exo 2017-12-26 16:45:47 +0100
  • b11c2e885b Fix assertion for multiple same flag parameters Lonami Exo 2017-12-25 17:59:39 +0100
  • c218df87d7 Remove reference to README.rst (#504) Tanuj 2017-12-25 16:26:29 +0000
  • 2fb64e94a4 Remove reference to README.rst Tanuj 2017-12-25 15:51:18 +0000
  • 2c038b37b7 Merge branch 'master' of github.com:expectocode/Telethon Tanuj 2017-12-25 15:40:50 +0000
  • e4b471105a Merge branch 'master' of github.com:lonamiwebs/Telethon Tanuj 2017-12-25 15:40:25 +0000
  • 238198db5a Create a convenient class to wrap Dialog instances Lonami Exo 2017-12-24 16:18:09 +0100
  • 9c66f0b2b4 Fix empty strings not working as expected for flag parameters Lonami Exo 2017-12-24 15:14:54 +0100
  • fb9813ae61 TelegramClient.send_code_request(): Change logic of methods invocation Before: First call, force_sms=False: SendCodeRequest Next call, force_sms=False: SendCodeRequest First call, force_sms=True: raise ValueError Next call, force_sms=True: ResendCodeRequest Dmitry D. Chernov 2017-12-24 21:21:14 +1000
  • 4a2a64ce2f TcpClient: Catch ConnectionError instead of its particular cases That can be more reliable, especially in the case of using PySocks. Dmitry D. Chernov 2017-12-23 05:45:23 +1000
  • 992017ddf8 Except ConnectionAbortedError on TcpClient Lonami Exo 2017-12-22 11:27:57 +0100
  • 23ab70fc29 Remove unused request_msg_id from the TLObject class Lonami Exo 2017-12-20 17:48:41 +0100
  • c848ae0ace Move tgread_object() outside specific msg processing calls Lonami Exo 2017-12-20 17:45:40 +0100
  • 5842d3741b Make a proper use of the logging module Lonami Exo 2017-12-20 12:47:10 +0100
  • 7d189119f4 Fix salt migration failing with valid signed salts Lonami Exo 2017-12-15 19:46:17 +0100
  • fd291fa014 Fix typo in sessions.rst (#491) Alihossein Shahabi 2017-12-14 14:46:57 +0330
  • 2aa78ff209
    Update sessions.rst Alihossein Shahabi 2017-12-14 14:46:03 +0330
  • 2f1d5e277e More accurate clear pendings Andrey Egorov 2017-12-12 21:22:42 +0300
  • 07e1e539d5 (Add) Added Travis CI config Goblenus 2017-12-10 00:34:38 +0300
  • 7c0af2c080 Another attempt to prevent duplicates Andrey Egorov 2017-12-09 21:24:13 +0300
  • 6c45fe46dd More general Vector handling in results Viktor Oreshkin 2017-12-08 12:06:40 +0300
  • 0e0bc6ecbc Fix session ID is also signed since d4d7aa9 Lonami Exo 2017-12-07 12:22:40 +0100
  • 1d19bb22a5 Don't ignore NewSessionCreated salt Lonami Exo 2017-12-04 20:34:35 +0100
  • d4d7aa9063 Use signed salt Lonami Exo 2017-12-03 21:10:22 +0100
  • 984f483b98 Handle updates and other refactoring Andrey Egorov 2017-12-03 02:11:50 +0300
  • 6662f49bcb Remove another redundant if Lonami Exo 2017-11-30 21:10:02 +0100
  • 21a93d58ec Use a synchronized queue instead event/deque pair Lonami Exo 2017-11-30 21:09:34 +0100
  • 7d7b2cb1fa Remove redundant checks from UpdateState Lonami Exo 2017-11-30 20:40:35 +0100
  • d515ede7da Fix TLParser not stripping inline comments Lonami Exo 2017-11-30 13:34:55 +0100
  • 9046b46fcd Document the network/ module Lonami Exo 2017-11-30 13:20:51 +0100
  • 7509ba9067 Assert that module was generated correctly on setup.py pypi Lonami Exo 2017-11-29 12:34:15 +0100
  • 01c8bf2589
    Fixes file downloading error Birger Jarl 2017-11-29 05:00:40 +0300
  • 605c103f29 Add unparse markdown method Lonami Exo 2017-11-26 17:16:59 +0100
  • 57a70d0d47 Document the extensions/ module Lonami Exo 2017-11-26 17:14:28 +0100
  • 71eb542626 Document the errors/ module Lonami Exo 2017-11-26 17:06:09 +0100
  • a932fb6470 Document the crypto/ module Lonami Exo 2017-11-26 16:57:40 +0100
  • e71831050f Fix README.rst never actually running the example Lonami Exo 2017-11-25 18:49:10 +0100
  • e0802d1a2d Update README.rst to show asyncio code (#456) Lonami Exo 2017-11-25 18:47:41 +0100
  • c67f78eab7 Add unparse markdown method Lonami Exo 2017-11-25 16:17:00 +0100
  • b6e7f1f26d
    Update mtproto_sender.py Maxim Smirnov 2017-11-24 23:58:07 +0300
  • 616892fe81 Merge 9ad42a1e41 into 74ec6391d9 Christian Stemmle 2017-11-24 19:53:07 +0000
  • 7a63c1ba58
    Update mtproto_sender.py Maxim Smirnov 2017-11-24 21:28:48 +0300
  • de803a0ace Merge branch 'master' into asyncio Lonami Exo 2017-11-24 19:26:00 +0100
  • 74ec6391d9 Fix-up security assertion (b42b4bb for #453) Lonami Exo 2017-11-24 19:05:18 +0100
  • b42b4bb326 Add OpenSSL assertion on authenticator.py (#453) Maxim Smirnov 2017-11-24 20:47:36 +0300
  • 6a130b870e
    Update authenticator.py Maxim Smirnov 2017-11-24 20:45:47 +0300
  • 5a4d6d4a57 tlobject: Represent timestamp as 'int' instead of 'float' Dmitry D. Chernov 2017-11-23 22:39:35 +1000
  • f99d14558f binary_reader: Parse TL 'date' to UTC datetime instead of local Dmitry D. Chernov 2017-11-23 02:06:43 +1000
  • 7d4453351b Update .gitignore to include docs/_build Lonami Exo 2017-11-21 12:56:53 +0100
  • 4e5dede7fe
    Merge pull request #448 from jeffffc/master Lonami 2017-11-21 12:53:58 +0100
  • 152856dfbc Add a force_fetch parameter to .get_entity Lonami Exo 2017-11-20 10:58:11 +0100
  • 9f033be05a fix in-docs links Jeff 2017-11-20 17:26:31 +0800
  • 07d642a354 tiny fix for readthedocs Jeff 2017-11-20 13:58:42 +0800
  • d0c9324212 final fix for readthedocs Jeff 2017-11-20 12:19:53 +0800
  • f6ec7e47a7 add a bunch more readthedocs from wiki Jeff 2017-11-20 12:12:31 +0800
  • 34e7ae026e add requirements.txt for readthedocs Jeff 2017-11-20 01:04:51 +0800
  • 231ecf3f2a add readthedocs files Jeff 2017-11-20 00:56:05 +0800
  • 004c92edbe SocketClosed exception Andrey Egorov 2017-11-19 13:04:40 +0300
  • 32bca4f1b8 Refactoring of TcpClient Andrey Egorov 2017-11-19 01:55:40 +0300
  • 9767774147 Fix import in markdown parser not being relative Lonami Exo 2017-11-17 15:57:48 +0100
  • 01f55200f2 Update to v0.15.5 v0.15.5 Lonami Exo 2017-11-16 19:18:26 +0100
  • 346c5bb303 Add method to md parser to extract text surrounded by entities Lonami Exo 2017-11-16 19:13:13 +0100
  • e5deaf5db8 Fix c4e07cf, md parsing adding unfinished entity at wrong offset Lonami Exo 2017-11-16 19:07:53 +0100
  • 653dd21259 Socket OSError logging Andrey Egorov 2017-11-16 17:31:39 +0300
  • 4ddbc78699 Ensure IPv6 addresses are surrounded by '[]' (#425) Lonami Exo 2017-11-16 13:47:15 +0100
  • edd73ed69a Allow switching from IPv4 to IPv6 and vice versa Lonami Exo 2017-11-16 13:40:25 +0100
  • ee5915e86d Add support for connecting through IPv6 (#425 for #112) Vladislav Kolesnichenko 2017-11-16 15:30:18 +0300
  • 959e824c1c Reduce indent level to simplify flow on __call__ Lonami Exo 2017-11-16 13:26:49 +0100
  • 778c844a64 Use logger.exception instead logger.error on ReadThread Lonami Exo 2017-11-16 13:25:13 +0100
  • b346561f89 Remove unnecessary call to .get_input_entity() Lonami Exo 2017-11-16 13:24:32 +0100
  • 8a287c2860 Fix-up removing required error variable while merging Lonami Exo 2017-11-16 13:21:24 +0100
  • 7f5126c341 Merge branch 'master' into asyncio Lonami Exo 2017-11-16 13:20:20 +0100
  • 2efcfbd416 More aggressive catching network errors Andrey Egorov 2017-11-16 02:56:57 +0300
  • a1c669333e Update scheme to layer 73 Lonami Exo 2017-11-15 12:22:18 +0100
  • 3111153822 No route to host catched + other errno to reconnect Andrey Egorov 2017-11-15 13:30:44 +0300
  • 69b3f64d19
    Merge pull request #434 from andr-04/asyncio Lonami 2017-11-14 12:16:07 +0100
  • 25af22f1e7 Bugfix in reconnection Andrey Egorov 2017-11-14 13:52:33 +0300
  • 48e96ca15f
    Fix ._get_connected failing when .fileno() == 0 ( #427) Lonami 2017-11-14 12:01:33 +0100
  • d59b17c6fc Clear up confusing error and trailing brace (closes #429) Lonami Exo 2017-11-14 09:48:40 +0100
  • bfc408b00a Use NullHandler as default for the library Lonami Exo 2017-11-13 10:59:43 +0100
  • 4ac88a1505 Use ._logger.exception when .connect fails (#373) Lonami Exo 2017-11-13 10:58:10 +0100
  • 07cb001854 Attempt at cleaning up reconnection logic Lonami Exo 2017-11-13 10:31:32 +0100
  • f3e2887452 Add missing ChannelFull case to .get_peer_id() Lonami Exo 2017-11-12 18:15:32 +0100
  • 08abef78d6 Add missing InputUserSelf case to .get_input_peer() Lonami Exo 2017-11-12 18:03:42 +0100
  • 84d48ef7bf Safer check to determine whether sockets are connected (#427) Andrey Egorov 2017-11-12 18:51:32 +0300
  • 128caddcae
    More safe check the state of connection Andrey Egorov 2017-11-12 18:50:33 +0300
  • 99512875a2 Reconnect if invoking failed (#270) Lonami Exo 2017-11-12 16:25:56 +0100
  • 36773c0d79
    telegram_client.py argument name fix Vladislav Kolesnichenko 2017-11-12 15:01:47 +0300