Commit Graph

  • 5834e38f14 Make run() accept a coroutine Dan 2018-06-24 11:39:50 +0200
  • 0cd4795318 Use TOS provided by Telegram Dan 2018-06-23 16:15:44 +0200
  • 602f4581c6 Remove custom TOS Dan 2018-06-23 16:15:09 +0200
  • 668da4ae0e Merge branch 'tos' into layer-81 Dan 2018-06-23 16:11:20 +0200
  • fc541221ed Accept terms of service after successfully signing in Dan 2018-06-23 16:08:28 +0200
  • f701ee46f6 Update scheme to Layer 81 Dan 2018-06-23 16:04:34 +0200
  • 06cb2a1168 Move try..except block at the top Dan 2018-06-23 16:00:37 +0200
  • d06097c68a Use uvloop, if available Dan 2018-06-23 15:53:56 +0200
  • c9cd79cb05 Fix merge mess with duplicated idle() methods Dan 2018-06-23 15:49:56 +0200
  • 518d33ee7a Merge branch 'develop' into asyncio Dan 2018-06-23 15:46:41 +0200
  • 7f11f85c8f Move signal handler inside idle Dan 2018-06-23 15:45:48 +0200
  • c55936adae Merge branch 'develop' into asyncio Dan 2018-06-23 14:42:40 +0200
  • 2b94f46728 Add TgCrypto as extra requirement in setup.py Dan 2018-06-23 14:42:26 +0200
  • fe0744a23f Remove requirements_extras.txt There's only an extra requirement: TgCrypto. Let's not keep a whole file just for that. Dan 2018-06-23 14:42:04 +0200
  • 7ba2906532 Make request_callback_answer async Dan 2018-06-23 14:31:21 +0200
  • 811e67c229 Merge branch 'develop' into asyncio Dan 2018-06-23 14:30:27 +0200
  • 69ca31b12e
    Update README.rst Dan 2018-06-23 14:26:23 +0200
  • 25a09d1c9b Update docs welcome example Dan 2018-06-23 14:25:19 +0200
  • 03a17dd8db Rename reply_text() to reply() Is shorter and looks nicer. When more methods like reply_audio(), reply_photo(), etc. will be implemented, I can consider adding reply_text() back again, maybe. Dan 2018-06-23 14:24:31 +0200
  • d95086163e Add click() bound method to Message Dan 2018-06-23 14:09:07 +0200
  • 2ee7cf5124 Add request_callback_answer method Dan 2018-06-23 12:29:40 +0200
  • 6404862b87 Add reply_keyboard and inline_keyboard filters Dan 2018-06-23 10:36:29 +0200
  • 8074ef1368 Make methods directory structure simple Dan 2018-06-23 10:34:20 +0200
  • 6c976a3708
    Update README.rst Dan 2018-06-22 13:41:06 +0200
  • 5446801c14 Make run() run the event loop Dan 2018-06-22 13:39:29 +0200
  • 2571bf0758 Merge branch 'develop' into asyncio Dan 2018-06-22 13:37:56 +0200
  • 1aa02cb63f Update AutoAuthorization page Dan 2018-06-22 13:36:22 +0200
  • dd156e0f7a Update UpdateHandling page Dan 2018-06-22 13:32:55 +0200
  • 142a27f52a Use app.run() in the examples Dan 2018-06-22 13:30:18 +0200
  • fa65abf276 Update Usage page Dan 2018-06-22 13:27:43 +0200
  • 478f757689 Update Setup page Dan 2018-06-22 13:19:04 +0200
  • b8e6fc2e6a Update welcome example Dan 2018-06-22 13:17:39 +0200
  • 82a0c965ba Don't make start and idle clickable Dan 2018-06-22 13:12:31 +0200
  • c067b42bf2 Add run() method to docs Dan 2018-06-22 13:10:33 +0200
  • 8748ff97ef Update docs Dan 2018-06-22 13:10:14 +0200
  • e3299bb3b7 Add run() method Dan 2018-06-22 13:10:09 +0200
  • ffd67ed408 Remove debug docstrings Dan 2018-06-22 13:08:27 +0200
  • dab0a05f16 Move idle() and signal_handler() definitions near stop() Dan 2018-06-22 13:08:01 +0200
  • 7c97efd2a1 Update docs Dan 2018-06-22 12:55:52 +0200
  • 6be8f1aae3 Cross reference Handler classes on decorators' docstrings Dan 2018-06-22 12:46:58 +0200
  • ac47ffad8f Hint about decorators on handlers' docstrings Dan 2018-06-22 12:46:35 +0200
  • 2f80a0ba7f Add DeletedMessagesHandler to docs Dan 2018-06-22 12:46:04 +0200
  • 896d0844d1 Rename venv to venv3.6 Dan 2018-06-22 12:29:14 +0200
  • f5659841c2 Reformat files Dan 2018-06-21 20:01:05 +0200
  • 532ad6bd81 Fix develop merge issues with asyncio branch Dan 2018-06-21 18:02:16 +0200
  • d2a15d8143 Merge branch 'develop' into asyncio Dan 2018-06-21 15:35:27 +0200
  • c7d0628173
    Merge pull request #91 from vitalibr/deleted_messages_handler Dan 2018-06-21 15:34:23 +0200
  • ff915965f1
    Minor style fixes Dan 2018-06-21 15:33:30 +0200
  • f9c17ae169 Merge branch 'develop' into asyncio Dan 2018-06-20 12:24:30 +0200
  • 1c4047f2c6
    Fix Update docstrings Dan 2018-06-20 12:20:48 +0200
  • afc0c87cd3
    Fix DeletedMessagesHandler docstrings Dan 2018-06-20 12:19:32 +0200
  • c5fb0d6079
    Use -100 prefix for channel ids Dan 2018-06-20 12:15:55 +0200
  • 6fcf41d857 Client becomes async Dan 2018-06-20 11:41:22 +0200
  • 872f4f865a Fix comments Vitali 2018-06-19 11:27:34 -0300
  • e6c6bd839c Add Handler to deleted messages update Vitali 2018-06-19 11:18:12 -0300
  • 399a7b6403 Make Message bound methods async Dan 2018-06-19 14:02:49 +0200
  • e0fe9d3525 Fix some methods not being async Dan 2018-06-19 13:48:49 +0200
  • 4d72f84991 Even more async chore Dan 2018-06-18 21:30:13 +0200
  • 21af0f3e82 More async chore Dan 2018-06-18 21:22:33 +0200
  • 26e828b956 Make BaseClient asynchronous and default DOWNLOAD_WORKERS to 4 Dan 2018-06-18 21:21:26 +0200
  • 09dd715556 Small tweaks Dan 2018-06-18 21:12:04 +0200
  • e3a667a8fe Make Syncer asynchronous (lol) Dan 2018-06-18 21:11:28 +0200
  • 8049c9129b Make Auth asynchronous Dan 2018-06-18 13:07:02 +0200
  • 9a5ce0fe2d Clean up dispatcher and fix workers not being stopped correctly Dan 2018-06-18 13:06:07 +0200
  • 1bc599e26c Delegate timeout to TCP Dan 2018-06-17 19:20:22 +0200
  • b249062d25 Add a warning in case the connection failed Dan 2018-06-17 19:17:56 +0200
  • 5d58ff2d94 Raise OSError in case "send" fails Dan 2018-06-17 18:45:08 +0200
  • 52354b93d0 Add timeout when connecting Dan 2018-06-17 18:44:45 +0200
  • 0a6583a43c Turn the Dispatcher async Dan 2018-06-17 18:41:07 +0200
  • 57f917e6df Don't print out the current salt Dan 2018-06-17 18:35:49 +0200
  • f983baf5cd Add some more logs Dan 2018-06-17 18:34:37 +0200
  • 6da15b266d Await tasks before stopping the session Dan 2018-06-17 18:34:10 +0200
  • 2b0746a140 Add timeout on recv loop Dan 2018-06-17 18:33:23 +0200
  • 39b66b51d6 Remove salt assertion Dan 2018-06-16 22:05:54 +0200
  • d1d789bf20 Fix restart not awaiting Dan 2018-06-15 14:30:13 +0200
  • d06e486c8b Reorganize imports Dan 2018-06-14 13:30:46 +0200
  • eeaf01654b Code style Dan 2018-06-14 13:05:22 +0200
  • b1f6131971 Remove unused constant Dan 2018-06-14 13:04:52 +0200
  • 775cbb568f Small fixes Dan 2018-06-14 03:27:30 +0200
  • 68133e8be5 Better logs Dan 2018-06-14 03:26:08 +0200
  • 463ef828c2 Use put_nowait instead of put Dan 2018-06-14 03:25:15 +0200
  • 2cf930bea0 Remove commented MTProto methods Dan 2018-06-14 03:24:39 +0200
  • 11ddf5f99d Reorganize Session to make use of the MTProto module Dan 2018-06-14 03:22:52 +0200
  • 75121c9c57 Move MTProto related methods into a separate module Dan 2018-06-14 03:18:38 +0200
  • 0b03612bc7 Make restart async Dan 2018-06-13 21:01:28 +0200
  • b4d69d0b21 Merge remote-tracking branch 'origin/develop' into develop Dan 2018-06-13 20:54:04 +0200
  • 329bac6ab0 Better invite link regex pattern Dan 2018-06-13 20:53:31 +0200
  • a9ccbaca19 Fix ping request not awaiting Dan 2018-06-13 20:03:54 +0200
  • f76c654548 Add TODO Dan 2018-06-13 20:02:02 +0200
  • e333e8dada First step of Client conversion using asyncio Dan 2018-06-13 20:00:19 +0200
  • 2c23039637
    Merge pull request #85 from YoilyL/develop Dan 2018-06-13 18:53:59 +0200
  • 2944181b38
    fixed session mistake YoilyL 2018-06-13 17:54:48 +0300
  • d38d23f46d Log in case connection fails (to test ipv6) Dan 2018-06-13 13:39:06 +0200
  • ade1c2f377 Accommodate ipv6 in the Client class Dan 2018-06-13 13:38:14 +0200
  • b804709c6c Allow session to use ipv6 Dan 2018-06-13 13:37:35 +0200
  • c9469ed542 Allow auth to use ipv6 Dan 2018-06-13 13:37:12 +0200
  • 56748ff390 Make the underlying TCP protocol accept ipv6 addresses Dan 2018-06-13 13:36:26 +0200
  • efe26bcb19 Allow Connection to connect to ipv6 addresses Dan 2018-06-13 13:35:41 +0200
  • 8ac48c555c Add ipv6 data center addresses Dan 2018-06-13 13:34:56 +0200
  • e2546e77ae Start rewriting Session using asyncio Dan 2018-06-12 15:56:33 +0200