Commit graph

841 commits

Author SHA1 Message Date
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
Alex Root Junior
887e715f06
Merge pull request #50 from kolayv/patch-1
must be use round
2018-06-15 23:11:59 +03:00
Alex Root Junior
af72dcc13c
Merge pull request #49 from kolayv/patch-2
replaced int to datetime
2018-06-15 23:10:50 +03:00
Kolay
fee449a233
replaced int to datetime 2018-06-15 00:35:46 +03:00
Kolay
dd0fb98376
must be use round 2018-06-15 00:32:55 +03:00
Alex Root Junior
a139ebee6e
Merge pull request #48 from surik00/dev-1.x
Babel is not in requirements
2018-06-11 14:08:52 +03:00
Suren Khorenyan
3adba29c27 Fix return typing 2018-06-11 00:31:26 +03:00
Suren Khorenyan
7e601d1c8d Update docstring for the user class 2018-06-11 00:28:14 +03:00
Suren Khorenyan
b7a67cd522 Babel is in requirements now 2018-06-10 13:41:53 +03:00
Alex Root Junior
239728ccc6
Merge pull request #46 from surik00/dev-1.x
Improve check in ExceptionsFilter
2018-06-07 23:47:20 +03:00
Suren Khorenyan
99bb5a9fef Improve check in ExceptionsFilter 2018-06-07 23:38:23 +03:00
Alex Root Junior
93fe82d7f1
Merge pull request #45 from gurland/master
Convert tabs to spaces
2018-06-02 12:09:25 +03:00
gurland
545d470e02 Convert tabs to spaces 2018-06-02 00:54:23 +03:00
Alex Root Junior
c88ee7ed52 Bump dev version 2018-05-27 22:15:22 +03:00
Alex Root Junior
e8e108ecae Oops. Bump [2] 2018-05-27 21:55:56 +03:00
Alex Root Junior
fae989879e Merge remote-tracking branch 'origin/master' 2018-05-27 21:54:54 +03:00
Alex Root Junior
7f5cb03dc6 Bump version 2018-05-27 21:52:39 +03:00
Alex Root Junior
c167c559d8 Add new error types: ButtonURLInvalid, URLHostIsEmpty, StartParamInvalid, ButtonDataInvalid. 2018-05-27 21:49:52 +03:00
Alex Root Junior
dc3f1b1c82 Merge remote-tracking branch 'origin/dev-1.x' into dev-1.x 2018-05-27 21:42:38 +03:00
Alex Root Junior
b39786e81a Fix crashing of polling process. 2018-05-27 21:42:26 +03:00
Alex Root Junior
11c25c6969
Merge pull request #44 from Olegt0rr/patch-12
CantRestrictSelf exception
2018-05-26 04:57:54 +03:00
Oleg A
693571f275
CantRestrictSelf exception
Exception CantRestrictSelf happens if admin try to restrict self
2018-05-26 01:13:04 +03:00
Alex Root Junior
5beaf866be
Merge pull request #43 from Olegt0rr/patch-11
Update Chat method and get_link method fix
2018-05-25 00:43:32 +03:00
Oleg A
09f540cc68
Update Chat method and get_link method fix 2018-05-25 00:21:30 +03:00
Alex Root Junior
232fc23fc3
Merge pull request #42 from Olegt0rr/patch-10
Add Chat.get_url() method
2018-05-23 00:15:52 +03:00
Oleg A
b109523cda
Add .get_url() method
Use this method to get chat link.
Private chat returns user link.
Other chat types return either username link (if they are public) or invite link (if they are private).
2018-05-23 00:10:34 +03:00
Alex Root Junior
2281afe2ca
Merge pull request #41 from Olegt0rr/patch-9
Converting group to supergroup event
2018-05-22 15:13:55 +03:00
Alex Root Junior
2f9272f6a4
Merge pull request #40 from Olegt0rr/patch-8
Chat.invite_link cache
2018-05-22 15:10:32 +03:00
Oleg A
69161403ba
Add chat migrate event to dataset 2018-05-22 02:21:44 +03:00
Oleg A
4b29adf430
Converting group to supergroup event
Ability to handle group converting events by content_type. 
I.e. 
```@dp.message_handler(content_types=types.ContentType.MIGRATE_FROM_CHAT_ID)```
2018-05-22 02:10:24 +03:00
Oleg A
0331460aba
Chat.invite_link cache
Once you get invite link for chat object - it will be cached
2018-05-22 01:41:59 +03:00
Alex Root Junior
f8f6eef5f6
Merge pull request #38 from surik00/dev-1.x
Add parse_mode to all Inline Query Results
2018-05-21 15:51:49 +03:00
Suren Khorenyan
2206b0ab11 Set default parse_mode in InlineQueryResults if this parameter is present 2018-05-21 15:15:32 +03:00