Commit graph

963 commits

Author SHA1 Message Date
Nikita
9ac2dc4f4f Update __init__.py 2019-04-07 21:34:02 +05:00
Nikita
a927be5635 Update __init__.py 2019-04-06 22:49:53 +05:00
Nikita
9ee1a0cbed Optimize filter checking 2019-04-06 22:47:33 +05:00
Alex Root Junior
78aee861bb
Merge pull request #115 from Ars2014/dev-2.x
Update rethinkdb.py
2019-03-31 17:25:58 +03:00
Arslan 'Ars2014' Sakhapov
274969c6a4 Updated rethinkdb.py for using rethinkdb ver.2.4.1 and higher
Removed a connection pool as an excess
 Removed useless variables and classes
Added rethinkdb>=2.4.1 in dev_requirements.txt
2019-03-31 19:17:32 +05:00
Alex Root Junior
53971f4583
Merge pull request #114 from gabbhack/dev-2.x-my
Made Text filter ready for lazy_gettext
2019-03-31 16:09:46 +03:00
Alex Root Junior
e80c3006e9
Merge pull request #112 from gabbhack/dev-2.x
Some changes
2019-03-31 15:38:51 +03:00
Nikita
8340fd494c Update handler.py 2019-03-31 13:55:17 +05:00
Nikita
8b3f0b887d Update handler.py 2019-03-31 13:54:15 +05:00
Nikita
d6ab1a7afc Update handler.py
Now the func, specs and filters are put in the dataclass
2019-03-31 13:49:30 +05:00
Nikita
ad4c85eb77 Update message.py
- Add more answer_* methods
- Move some methods for beauty
2019-03-31 13:42:21 +05:00
Alex RootJunior
f984390244 Prevent errors in previous changes. 2019-03-30 23:59:21 +02:00
Alex RootJunior
91ceeed59a Allow to use separators longer than 1 symbols.
Allow to use not string values.
2019-03-30 22:51:29 +02:00
Alex RootJunior
4cc67ea03a Pass update from webhook to updates handler instead of Dispatcher.process_update 2019-03-30 22:42:36 +02:00
Alex RootJunior
ccb8245ada Fix logging filter 2019-03-30 22:06:20 +02:00
Nikita
585bbfaee7 Update Text filter
made the Text filter ready for lazy_gettext
2019-03-30 19:44:22 +05:00
Nikita
a977ae3318 Attempt to optimize
Now introspection takes place during handler registration. I am not sure about this implementation.
2019-03-28 16:22:03 +05:00
Nikita
088116e1c7 Reformat code 2019-03-24 00:15:09 +05:00
Nikita
d41d38d49f Update i18n.py 2019-03-24 00:01:36 +05:00
Nikita
28dc56cc88 Add lazy_gettext method 2019-03-23 23:58:49 +05:00
Nikita
183e664a75 Add answer method
This is the "reply" method with the name "answer" and the default argument reply=False
2019-03-22 22:01:26 +05:00
Nikita
23d3d98813 Add warnings 2019-03-22 21:50:41 +05:00
Nikita
81935aead5 Replace "send" in method names with "reply"
All reply-related methods used the prefix "reply", except for animation, venue and contact, which could be confusing
2019-03-22 21:09:32 +05:00
Alex RootJunior
39c8d859dc Implement logging filter for extending LogRecord by the data from Telegram Update object 2019-03-16 01:07:24 +02:00
Nikita
3a947407fc More "await" in RedisStorage and RedisStorage2 2019-03-10 22:04:19 +05:00
Alex Root Junior
843be46d19
Merge pull request #106 from aiogram/bot_from_context_exception
Raise Exception if there's no bot instance in context
2019-03-03 13:38:31 +02:00
Alex Root Junior
12c6ac06e4
Merge pull request #105 from aiogram/check_bot_instance
Check bot instance on Dispatcher __init__
2019-03-03 13:36:30 +02:00
Alex Root Junior
d9a9600295
Merge pull request #104 from Kylmakalle/patch-1
Some useful Message edit functions
2019-03-03 13:35:32 +02:00
Alex Root Junior
659ea6b223
Merge pull request #107 from aiogram/ssl_context-kwarg-deprecated
Replaced 'ssl_context' kwarg with 'ssl' cause: DeprecationWarning: ssl_context is deprecated, use ssl=context instead
2019-02-25 14:48:14 +02:00
Oleg A
7c0ada5897 Replaced 'ssl_context' kwarg with 'ssl' cause: DeprecationWarning: ssl_context is deprecated, use ssl=context instead 2019-02-25 15:43:18 +03:00
Oleg A
4e4bbdfc7e Raise Exception if there's no bot instance in context 2019-02-25 13:23:50 +03:00
Oleg A
3a38125619 Check bot instance on Dispatcher __init__ 2019-02-25 12:34:26 +03:00
Sergey
0045eaca24
Some useful Message edit functions
Message.edit_caption
Message.edit_media
Message.edit_reply_markup
2019-02-24 21:41:27 +03:00
Alex Root Junior
dd899c9ca0
Merge pull request #102 from Kylmakalle/patch-2
Fixed entities parsing for captions
2019-02-22 17:51:48 +02:00
Sergey
98173f64e1
Simplify code 2019-02-22 18:47:09 +03:00
Sergey
79677cb20f
Fixed entities parsing for captions 2019-02-22 18:39:02 +03:00
Alex Root Junior
c9595ead28
Merge pull request #98 from dmitry-sobolev/dev-2.x
DNS over socks proxy
2019-01-25 11:52:32 +02:00
Dmitry Sobolev
e73533d487 DNS over socks proxy 2019-01-25 13:16:52 +05:00
Alex Root Junior
ee925c687d Bump version 2019-01-13 00:50:13 +02:00
Alex Root Junior
640b0a72a8 Merge branch 'master' into dev-2.x 2019-01-13 00:49:15 +02:00
Alex Root Junior
2384b370a7 Implement message URL generator 2019-01-13 00:48:32 +02:00
Alex Root Junior
718a663036 Merge remote-tracking branch 'origin/dev-2.x' into dev-2.x 2019-01-13 00:13:13 +02:00
Alex Root Junior
3c07c223f4
Merge pull request #95 from Forden/patch-1
Docs fix
2019-01-13 00:11:56 +02:00
Forden
26082825e5
Update migration_1_to_2.rst 2019-01-13 00:53:35 +03:00
Forden
6d4f283338
Docs fix
Fixed error in Migration FAQ.
2019-01-13 00:43:03 +03:00
Alex Root Junior
9a4ed6a267
Merge pull request #94 from balki/dev-2.x
Add typehint for IDE autocomplete
2019-01-01 16:21:46 +02:00
Alex Root Junior
6fb644e4c8
Merge pull request #92 from gabbhack/patch-1
Fix Text filter for InlineQuery
2019-01-01 16:21:15 +02:00
balki
5aa34625c6 Add typehint for IDE autocomplete 2019-01-01 08:18:27 -05:00
Alex Root Junior
fc717902c6 Merge branch 'dev-2.x'
# Conflicts:
#	aiogram/__init__.py
2018-12-31 16:26:20 +02:00
Alex Root Junior
e9fba7327d Utils docs skeleton 2018-12-31 16:25:46 +02:00