Commit Graph

  • f4146a8779 Accept None as plugins_dir Dan 2018-10-13 19:33:43 +0200
  • 29c3142958 Index Plugin.rst Dan 2018-10-13 16:54:13 +0200
  • c5006fcf1e Add Plugins.rst Documentation for Plugins Dan 2018-10-13 16:53:51 +0200
  • 8e238ccc9a Add plugins_dir docstrings in Client class definition Dan 2018-10-13 11:14:26 +0200
  • 96b39970d6 Allow on_callback_query to be used as a static decorator Dan 2018-10-13 10:55:41 +0200
  • 6fdb90e4a4 Allow on_deleted_messages to be used as a static decorator Dan 2018-10-13 10:54:13 +0200
  • 54296a6fda Allow on_disconnect to be used as a static decorator Dan 2018-10-13 10:47:39 +0200
  • 1fdc757f2a Allow on_raw_update to be used as a static decorator Dan 2018-10-13 10:45:48 +0200
  • 345ac6e16a Merge branch 'develop' into plugins Dan 2018-10-13 10:42:07 +0200
  • 9649b1457c Don't make use of hardcoded default int values too Dan 2018-10-13 10:41:58 +0200
  • 340fb9c145 Merge branch 'develop' into plugins Dan 2018-10-13 10:39:47 +0200
  • a32009a79d Don't make use of hardcoded default string values Dan 2018-10-13 10:38:44 +0200
  • 6a0066b8b5 Move loading plugins logic into a separate method Dan 2018-10-12 17:57:34 +0200
  • 4bb50ee35f More logs when loading plugins Dan 2018-10-12 17:54:52 +0200
  • 6c05f9ff42 Sanitize (a bit) plugins directory Dan 2018-10-12 15:26:52 +0200
  • 4e516d097f Don't raise exceptions in case of non-existent plugins folder Don't even warn in case the default plugins folder doesn't exist Dan 2018-10-12 14:32:35 +0200
  • 0b79f96b4f Turn hardcoded plugins dir into a constant Dan 2018-10-12 14:19:26 +0200
  • dfb841baa9 Automatically scan and load plugins from a customizable directory Defined functions found inside the directory that are also decorated properly will be registered in the Client's dispatcher as handlers. Dan 2018-10-12 14:17:03 +0200
  • 0025489c86 Allow on_message to behave like a static decorator This enabled usages like @Client.on_message(...). To preserve positional arguments order and thus ease the static decorator usage there's a not-so-elegant hack in place that shifts values. Dan 2018-10-12 14:12:29 +0200
  • e5f233b01e Merge branch 'develop' into asyncio Dan 2018-10-09 16:38:28 +0200
  • c2da2a61ec Update welcome_bot.py Dan 2018-10-09 16:37:53 +0200
  • be7194f89e Put example descriptions at the very top of the files Dan 2018-10-09 15:23:40 +0200
  • fd306c383d Remove LGPLv3 license notices from example files Examples are licensed under the terms of CC0 1.0 Universal License Dan 2018-10-09 15:21:36 +0200
  • 9409d9cd8f Hint about examples' license in README.md Dan 2018-10-09 15:17:15 +0200
  • 133682ca48 Add CC0 1.0 Universal License Dan 2018-10-09 15:07:12 +0200
  • 65fb30ce1c Update examples' README.md Dan 2018-10-09 14:49:42 +0200
  • eb276cbbd5 Remove get_participants.py and get_participants2.py Dan 2018-10-09 14:49:12 +0200
  • 5e8be0e6ef Make use of the "with" context manager Dan 2018-10-09 14:48:43 +0200
  • 95821f088b Add get_chat_members2.py Dan 2018-10-09 14:47:47 +0200
  • 184fb563aa Add short description Dan 2018-10-09 14:45:51 +0200
  • aad72ed9b2 Add get_chat_members.py Dan 2018-10-09 14:34:54 +0200
  • b28f2ebbcb Update callback_query_handler.py Dan 2018-10-09 14:08:14 +0200
  • acd525294f Add CallbackQuery.answer bound method Dan 2018-10-09 14:08:01 +0200
  • 1be144288c Add a proxy to the Client instance inside CallbackQuery objects Dan 2018-10-09 14:07:01 +0200
  • 7b76751e8f Update get_history.py Dan 2018-10-09 13:51:29 +0200
  • bd121be76d Update echo_bot.py Dan 2018-10-09 13:50:34 +0200
  • d5c2ca2e1d Use TCPAbridged (async) connection mode Dan 2018-10-08 20:18:20 +0200
  • 980807f1de Remove TODO Dan 2018-10-08 20:17:47 +0200
  • 1fc160c566 Make TCPIntermediateO async Dan 2018-10-08 20:17:31 +0200
  • 78a768f52c Make TCPAbridgedO async Dan 2018-10-08 20:17:04 +0200
  • 1bf0d93140 Make TCPFull async Dan 2018-10-08 20:16:44 +0200
  • ee06907bda Make TCPAbridged async Dan 2018-10-08 20:16:04 +0200
  • a28ab0e8a8 Merge branch 'develop' into asyncio Dan 2018-10-08 19:16:47 +0200
  • 3fa738db9f Update dev version Dan 2018-10-02 12:07:54 +0200
  • fcdb71c28c Merge branch 'develop' into asyncio Dan 2018-10-01 16:21:14 +0200
  • 89a167b51f Update default rights to the least common between supergroups & channels Fixes #120 Dan 2018-10-01 10:52:09 +0200
  • 0a2892691c Add CHAT_ADMIN_INVITE_REQUIRED error Dan 2018-10-01 10:48:49 +0200
  • 1bf8b01151 Add RIGHT_FORBIDDEN error Dan 2018-10-01 10:47:10 +0200
  • 0162cf48c1 Don't break groups in case one handler raises an unhandled exception The error is logged instead. Fixes #126 Dan 2018-10-01 09:55:09 +0200
  • b79bd1ea83 Don't swallow left_chat_member updates Even though they are only relevant for supergroups with <50 members Dan 2018-10-01 09:45:32 +0200
  • 12c61fb431 Fix unwanted CHANNEL_PRIVATE errors. Fixes #129 Dan 2018-10-01 09:40:34 +0200
  • f608899c25 Add CHANNEL_PRIVATE error #129 Dan 2018-10-01 09:38:25 +0200
  • 3cbffd93f2 Revert "Log unknown constructors" Dan 2018-10-01 09:25:20 +0200
  • 9023d999b8 Fix unsorted Telegram API entries Dan 2018-09-29 11:38:58 +0200
  • 8070bf4cd4 Fix bad merge after editing tcp.py Dan 2018-09-22 19:41:33 +0200
  • 41acdd4d63 Merge branch 'develop' into asyncio Dan 2018-09-22 14:49:35 +0200
  • 8ea556b65f Fix handling proxies with domain names Dan 2018-09-22 14:44:12 +0200
  • 28abcaac50 Fix ipv6 with ipv4 proxies Dan 2018-09-22 14:31:28 +0200
  • 6a89c7ea02 Add missing ipv6 docstrings Dan 2018-09-22 14:21:55 +0200
  • ab560dc292 Small documentation fix Dan 2018-09-20 16:35:43 +0200
  • 61a2ad812e Add missing docstrings for edit_message_media Dan 2018-09-20 16:33:36 +0200
  • bee6ced5c2 Fix Telegram API missing on readthedocs Dan 2018-09-19 18:52:02 +0200
  • a093024824 Merge branch 'develop' Dan 2018-09-19 17:55:10 +0200
  • df8bc62fb3 Merge branch 'develop' into asyncio Dan 2018-09-19 17:54:53 +0200
  • cc47897c68 Update to v0.8.0 v0.8.0 Dan 2018-09-19 17:47:28 +0200
  • da92a79b3c Update README.rst Dan 2018-09-19 17:47:14 +0200
  • 3a858e6a57 Fix config values not being available when not using config.ini file Dan 2018-09-19 17:30:23 +0200
  • 08f6d0b865 Fix tgcrypto version in docs index page Dan 2018-09-19 16:24:30 +0200
  • 9ef8c786e4 Update tgcrypto required version Dan 2018-09-19 16:23:33 +0200
  • 0f6e5ef298 Use a stricter tgcrypto version requirement Dan 2018-09-19 14:35:45 +0200
  • 6ce71b404f Revert "Revert "Remove TODO"" Dan 2018-09-19 14:31:55 +0200
  • dcd087ba63 Revert "Revert "Update tgcrypto function names"" Dan 2018-09-19 14:31:51 +0200
  • 9538ed85fe Fix missing backtick Dan 2018-09-19 13:20:36 +0200
  • 666c41a79d Add missing methods to docs Dan 2018-09-19 12:13:54 +0200
  • 8adcb34108 Update docs logo and badges Dan 2018-09-19 11:58:48 +0200
  • 7aee163ddd Update docs reported version Dan 2018-09-19 11:53:26 +0200
  • 84492fb942 Add an extra warning in case connection fails Dan 2018-09-18 21:28:44 +0200
  • 8b364202c3 Use list instead of set Dan 2018-09-18 19:17:28 +0200
  • 500ec09b47 Clean up load_config Dan 2018-09-18 19:16:55 +0200
  • 42ea51cb77 Make send_document and send_video_note accept a thumbnail #119 Dan 2018-09-18 11:37:11 +0200
  • 61e6e58be7 Reword send_animation's thumb parameter description Dan 2018-09-18 11:36:52 +0200
  • 28af5e14b4 Add "thumb" field for all InputMedia types except Photo Dan 2018-09-18 11:36:20 +0200
  • 19d04ca94f Reword Audio thumb description Dan 2018-09-18 11:35:19 +0200
  • f850d6352e Enhance API by adding support for Context Managers. Closes #122 A batch script would be as simple as this example: Dan 2018-09-17 18:53:04 +0200
  • cd3649448c Add CHAT_WRITE_FORBIDDEN error Dan 2018-09-17 18:44:13 +0200
  • 4c290ba38a Merge branch 'develop' into asyncio Dan 2018-09-17 17:00:10 +0200
  • 0f0e757f4c Revert "Update tgcrypto function names" Dan 2018-09-17 16:53:21 +0200
  • d2d4f55673 Revert "Remove TODO" Dan 2018-09-17 16:53:17 +0200
  • e7a85520f2 Merge remote-tracking branch 'origin/develop' into develop Dan 2018-09-17 15:59:49 +0200
  • f4a8848603 Merge branch 'develop' into asyncio Dan 2018-09-15 22:19:39 +0200
  • c75a4f182a
    Handle Telegram exceptions on start(). Fixes #121 Dan 2018-09-15 13:23:25 +0200
  • edfdf9d143 Small docstring fixes Dan 2018-09-14 15:34:00 +0200
  • 3307b410b4 Give superpowers to Filters.chat too It can now add and remove chats at runtime Dan 2018-09-14 15:33:32 +0200
  • 339630dafb Add noinspection PyPep8Naming for Filters.user Dan 2018-09-14 15:29:56 +0200
  • 31578ddb33 Give Filters.user superpowers It can now add and remove users at runtime Dan 2018-09-14 15:29:36 +0200
  • 4e293f23a9 Make handlers test whether filters are callable and not if they exist Dan 2018-09-14 15:28:08 +0200
  • b893698f1e Add ability to add/remove users from the user filter. Use .users to access the inner set of users Dan 2018-09-14 14:37:04 +0200
  • eb8513e009
    Update send_video docstrings Dan 2018-09-12 08:26:13 +0200
  • b49190256d
    Merge pull request #111 from zeroone2numeral2/develop Dan 2018-09-12 08:15:37 +0200
  • 6a4bf23b09
    Update send_audio docstrings Dan 2018-09-12 08:14:49 +0200