Commit graph

773 commits

Author SHA1 Message Date
Alex Root Junior
06df482061 Partial update examples. 2018-07-14 16:28:20 +03:00
Alex Root Junior
b37763c23f Allowed to more simply import base utils from aiogram 2018-07-14 16:28:07 +03:00
Alex Root Junior
afbe7bb458 Allow to use RapidJSON. Allow to disable uvloop, ujson or rapidjson by env. variables. 2018-07-14 01:19:35 +03:00
Alex Root Junior
23211fc283 Hide args from repr for Command.CommandObj 2018-07-13 23:59:39 +03:00
Alex Root Junior
b647eb476a Bind text handler. 2018-07-13 23:59:17 +03:00
Alex Root Junior
4a5f51dd01 Bump Python version in tox and RTD environments. 2018-07-13 23:58:43 +03:00
Alex Root Junior
f957883082 Refactor filters. 2018-07-13 22:58:47 +03:00
Alex Root Junior
539c76a062 Remove old TODO-s. 2018-07-11 23:50:00 +03:00
Alex Root Junior
24184b1c8f Improved filters. 2018-07-11 23:16:12 +03:00
Alex Root Junior
cd4fee5eaa Implement connectors mechanism. 2018-07-08 18:40:54 +03:00
Alex Root Junior
afa7ef9ebe Merge remote-tracking branch 'origin/dev-2.x' into dev-2.x 2018-07-02 21:01:42 +03:00
Alex Root Junior
0289f3a956 Resolve state object in FSMContext. 2018-07-02 21:01:11 +03:00
Alex Root Junior
69fa3021b9
Merge pull request #52 from kolayv/patch-4
disabled inspection for pycharm
2018-07-02 16:22:19 +03:00
Kolay
d5c7279e07
disabled inspection for pycharm 2018-07-02 01:05:51 +03:00
Alex Root Junior
cf8df06f63 Fix current state context getter for updates where chat is not presented. 2018-07-02 00:36:12 +03:00
Alex Root Junior
43dddcafe4 Oops. Wrong path. 2018-07-01 20:19:22 +03:00
Alex Root Junior
3e30f29aba Implement bot middleware. 2018-07-01 01:48:24 +03:00
Alex Root Junior
3d5b461409 Raise error when locale is not compiled. 2018-06-30 17:00:12 +03:00
Alex Root Junior
cdc51a6994 Implement i18n middleware and add example. 2018-06-30 03:59:34 +03:00
Alex Root Junior
69c126e027 Added tests for StatesGroup 2018-06-29 18:52:06 +03:00
Alex Root Junior
26b5cebe8b Rename MetaStatesGroup to StatesGroupMeta 2018-06-29 18:51:53 +03:00
Alex Root Junior
21c45193da Implement root group getter. 2018-06-29 00:36:59 +03:00
Alex Root Junior
10538b3199 Use 'at' instead of '*' for state group. 2018-06-29 00:35:48 +03:00
Alex Root Junior
58154915de Implement __contains__ method for states group 2018-06-28 20:02:03 +03:00
Alex Root Junior
8a8749dd02 Oops. Move name setter. 2018-06-28 19:47:35 +03:00
Alex Root Junior
8772518fa5 Oops. This method renamed. 2018-06-28 19:26:00 +03:00
Alex Root Junior
4f0a3c607f Allow to use '*' and None as state in State object. 2018-06-28 19:24:25 +03:00
Alex Root Junior
aa2468e19a Refactor states group 2018-06-28 19:22:30 +03:00
Alex Root Junior
051b92a716 More usable state groups. All child groups know about name of parent group. 2018-06-28 18:51:00 +03:00
Alex Root Junior
d8909ffe35 Allow to change states-group name by __group_name__ 2018-06-27 07:25:18 +03:00
Alex Root Junior
ac50db075b Improve FSM. 2018-06-27 06:50:08 +03:00
Alex Root Junior
fe6ae4863a Changed the order of filters and optimize creation of default filters. 2018-06-27 01:46:35 +03:00
Alex Root Junior
b4d8ac2c0a Fix FSM storage and filter. 2018-06-27 01:13:53 +03:00
Alex Root Junior
3fb0a23db7 Are you kidding me? 2018-06-26 02:57:33 +03:00
Alex Root Junior
759055ed66 The introduction of a new filter factory into the registration of handlers 2018-06-25 18:05:32 +03:00
Alex Root Junior
52304bb51c change imports and exclude state filter for errors handlers. 2018-06-25 17:26:49 +03:00
Alex Root Junior
74b56259e6 Small changes in FSM filter. 2018-06-25 17:13:42 +03:00
Alex Root Junior
21ba9288d0 Pass handler args from middlewares 2018-06-25 17:07:11 +03:00
Alex Root Junior
6832e92ca2 Message is too long. 2018-06-25 03:55:52 +03:00
Alex Root Junior
95ba0ae571 Fix state filter 2018-06-25 03:44:50 +03:00
Alex Root Junior
b4ecc421e4 Default filters 2018-06-25 03:19:58 +03:00
Alex Root Junior
1ca0be538b Experimental: Pass result of filter as arguments in handler. 2018-06-25 02:15:37 +03:00
Alex Root Junior
fc4e6ae69b Fix imports 2018-06-25 01:38:50 +03:00
Alex Root Junior
06fbe0d9cd Remove context util. 2018-06-25 01:31:57 +03:00
Alex Root Junior
5c1eee4fa9 Small changes in base filter. 2018-06-24 19:33:23 +03:00
Alex Root Junior
b56a070289 provide excluding event handlers in filters factory 2018-06-24 19:32:15 +03:00
Alex Root Junior
0656a4b1b8 Change version 2018-06-24 03:21:38 +03:00
Alex Root Junior
4fbddebe8f Merge branch 'filters-factory' into dev-2.x
# Conflicts:
#	aiogram/dispatcher/__init__.py
#	aiogram/dispatcher/filters.py
#	aiogram/dispatcher/handler.py
2018-06-24 03:17:01 +03:00
Alex Root Junior
2f4c63c9a3 Merge branch 'dev-1.x' into dev-2.x
# Conflicts:
#	aiogram/types/message.py
2018-06-23 17:44:09 +03:00
Alex Root Junior
8086a120c2 Try to use contextvars (partial) 2018-06-23 17:39:24 +03:00