Commit graph

1498 commits

Author SHA1 Message Date
Alex Root Junior
59cecdbd6a Fix callback query handler for callbacks without 'message' property. 2017-12-20 22:57:26 +02:00
Alex Root Junior
a1aefb9ea6 Get info from FSM bucket. 2017-12-10 04:39:21 +02:00
Alex Root Junior
629dd400eb Remove auto retry requests on RetryAfter error. 2017-12-10 04:00:46 +02:00
Alex Root Junior
f529f588da Add handler into context. 2017-12-10 03:40:35 +02:00
Alex Root Junior
154c12a165 Make an context is task-local. 2017-12-10 03:40:09 +02:00
Alex Root Junior
115f1fe032 Add docstrings in middlewares module. 2017-12-10 02:47:36 +02:00
Alex Root Junior
0295aed615 Relative imports and reformat code (auto) 2017-12-10 02:40:59 +02:00
Alex Root Junior
6a64573e44 The middlewares is back in the new interpretation + Small refactoring. 2017-12-10 02:36:16 +02:00
Alex Root Junior
4ee54ea4e6 Wut? Class with item assignments for context. 2017-12-03 00:48:01 +02:00
Alex Root Junior
ed6ae575d1 Add example for throttling manager (anti-flood) 2017-12-02 22:57:35 +02:00
Alex Root Junior
683afc714e Implemented new RedisStorage2. More faster and with different data structure. 2017-12-02 22:42:05 +02:00
Alex Root Junior
250a636d6e Automatic enable uvloop if available. 2017-12-02 15:19:23 +02:00
Alex Root Junior
435b498d25 Update memory storage (FSM) for usage with throttling manager. 2017-12-02 01:06:23 +02:00
Alex Root Junior
2ebd7c5de4 Move Throttling manager to Dispatcher. 2017-12-02 01:03:56 +02:00
Alex Root Junior
c75e33eaa3 Upd dev dependencies. 2017-12-02 01:03:24 +02:00
Alex Root Junior
31fd69fbcf Update Makefile 2017-12-01 02:54:21 +02:00
Alex Root Junior
e8375f115e Add examples to summary information. 2017-12-01 02:38:03 +02:00
Alex Root Junior
997d5b4181 Move tests of types to test/types/ directory. 2017-12-01 02:36:12 +02:00
Alex Root Junior
b178f3ad0d Small changes in Makefile 2017-12-01 02:28:25 +02:00
Alex Root Junior
114e276f7a Add summary(cloc) util to Makefile 2017-12-01 02:14:49 +02:00
Alex Root Junior
4023ee2954 Add test_chat.test_chat_actions 2017-12-01 02:11:05 +02:00
Alex Root Junior
ed1e80c76c Add test_update 2017-12-01 02:08:38 +02:00
Alex Root Junior
f5a2d19e79 Test bot. // TODO 2017-12-01 02:01:35 +02:00
Alex Root Junior
c2833c07e9 Add tox-testing to Makefile 2017-12-01 01:59:15 +02:00
Alex Root Junior
02596057a0 Add tests for: message, chat, user, game, animation, document, photo 2017-12-01 01:54:42 +02:00
Alex Root Junior
917c808b3d Update RedisStorage. 2017-11-30 01:54:26 +02:00
Alex Root Junior
f274bf4f33 Change BaseStorage for throttling manager. 2017-11-30 01:54:13 +02:00
Alex Root Junior
e75914f9bc Implement throttling manager. 2017-11-30 01:53:44 +02:00
Alex Root Junior
ae86ed191b Start using tox (Now without tests) 2017-11-29 14:57:07 +02:00
Alex Root Junior
3903fbd626 Comments in dispatcher.filters 2017-11-29 14:09:07 +02:00
Alex Root Junior
bbacfb6a50 Increment version. 2017-11-29 14:04:24 +02:00
Alex Root Junior
e5ec44def2 Change version. 2017-11-29 13:51:48 +02:00
Alex Root Junior
fab0aedffa Oops. 2017-11-29 13:50:50 +02:00
Alex Root Junior
e932c6f968 Change inline_example. 2017-11-28 17:23:35 +02:00
Alex Root Junior
787ebe3e63 Set default values for not specified fields in payload. // TelegramObject 2017-11-28 17:22:46 +02:00
Alex Root Junior
21f35273b7 Fix payload generator for lists and dicts. (Add more comments in this util) 2017-11-28 17:21:37 +02:00
Alex Root Junior
ff2b7f9682 Small changes in webhook handler. 2017-11-27 17:29:20 +02:00
Alex Root Junior
68e016ecab Change dispatcher logging. 2017-11-27 17:29:04 +02:00
Alex Root Junior
2fac330c81 Change version. 2017-11-25 13:44:25 +02:00
Alex Root Junior
e51810fc5e Implement sending media group via webhook-response 2017-11-25 13:43:01 +02:00
Alex Root Junior
3e6114a04a Change build stage. 2017-11-21 20:35:48 +02:00
Alex Root Junior
d58ec3977a Add example for media group. 2017-11-21 20:33:22 +02:00
Alex Root Junior
394ef8981b await chat actions. 2017-11-21 20:32:02 +02:00
Alex Root Junior
753396330d Implemented new one InputFile interface for sending local files. 2017-11-21 20:31:35 +02:00
Alex Root Junior
751929cb1d Change Bot API version. 2017-11-21 00:54:57 +02:00
Alex Root Junior
ef3b59c63c Typo 'pooling' -> 'polling'. 2017-11-21 00:53:53 +02:00
Alex Root Junior
233acab68e Allow to disable loading file to memory before sending. 2017-11-21 00:22:05 +02:00
Alex Root Junior
7dd44c1dfa Increment version. 2017-11-19 02:03:47 +02:00
Alex Root Junior
e2b82af8b1 Fix Makefile 2017-11-19 02:03:09 +02:00
Alex Root Junior
3c574be9d4 Fix IModuleNotFoundError: No module named 'aiohttp' and change build stage 2017-11-19 01:17:32 +02:00