Commit graph

1276 commits

Author SHA1 Message Date
Alex Root Junior
020332ad3a Send files with correct names. 2018-01-15 14:34:35 +02:00
Arslan Sakhapov
14413708f4
Merge pull request #2 from aiogram/dev-1.x
Sync a fork
2018-01-14 02:02:41 +05:00
Alex Root Junior
68fd6521e1
Merge pull request #2 from Ars2014/dev-1.x
Add RethinkDB-based storage for FSM
2018-01-13 19:43:22 +02:00
Alex Root Junior
f4a8923c80
Merge pull request #3 from ijustbsd/master
Fixed code example in docs
2018-01-13 19:42:18 +02:00
Sergey Baboshin
9b383a8c34 Fixed code example 2018-01-13 18:42:21 +03:00
Alex Root Junior
856b9e864f Allow to cancel event from the Middleware.on_pre_process_<event type> 2018-01-12 17:44:54 +02:00
Arslan 'Ars2014' Sakhapov
539e67d394 Some improvements v2 2018-01-11 01:03:05 +05:00
Arslan 'Ars2014' Sakhapov
df74cecdef Some improvements 2018-01-11 00:33:33 +05:00
Alex Root Junior
163ca0d53a Increment version. 2018-01-10 20:45:33 +02:00
Alex Root Junior
0144d54e81 Change version 2018-01-10 20:41:19 +02:00
Alex Root Junior
1f14f8dad6 Merge branch 'dev-1.x' 2018-01-10 20:40:27 +02:00
Alex Root Junior
2ab33fa1f8 Add context middleware (with example of usage) 2018-01-10 20:39:56 +02:00
Alex Root Junior
2656cab2f1 TelegramObject is iterable. 2018-01-10 19:38:41 +02:00
Alex Root Junior
39c935bcd8 Merge remote-tracking branch 'origin/master' 2018-01-10 19:18:54 +02:00
Arslan 'Ars2014' Sakhapov
efeac6b923 Fix errors 2018-01-10 15:54:15 +05:00
Arslan 'Ars2014' Sakhapov
afde20eccd Add 'get_states_list' and 'reset_all' methods 2018-01-10 14:53:14 +05:00
Arslan 'Ars2014' Sakhapov
f321c69f46 Add RethinkDB-based storage for FSM 2018-01-10 14:33:27 +05:00
Alex Root Junior
1decd0c2ec
Merge pull request #1 from Ars2014/master
Fix error replacing 'to_json' by 'to_python'
2018-01-09 20:48:06 +02:00
Arslan 'Ars2014' Sakhapov
3e0d7e1ef5 Fix error replacing 'to_json' by 'to_python' 2018-01-09 23:10:22 +05:00
Alex Root Junior
e881064f6c Merge branch 'dev-1.x'
# Conflicts:
#	aiogram/__init__.py
2018-01-07 18:22:56 +02:00
Alex Root Junior
9de31422eb Remove log message about received update in dispatcher and fix handling errors in tasks (async_task). 2018-01-07 18:21:09 +02:00
Alex Root Junior
c5b828f809 disable wait_closed dispatcher on executor. 2018-01-07 18:19:44 +02:00
Alex Root Junior
a812553ddb Add logging middleware. 2018-01-07 18:17:37 +02:00
Alex Root Junior
30866e5a9a Typo version in docstring. 2018-01-06 14:37:10 +02:00
Alex Root Junior
16a61b092f More graceful stopping of long polling. 2018-01-06 14:31:59 +02:00
Alex Root Junior
62d5dda84d Change error message for missing keys in the context. 2017-12-22 05:35:31 +02:00
Alex Root Junior
c567b77a00 Add example for Middleware and throttling manager. 2017-12-22 05:21:44 +02:00
Alex Root Junior
9bb9177e28 Change handler context key 2017-12-22 05:21:16 +02:00
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