Commit graph

1082 commits

Author SHA1 Message Date
Alex RootJunior
23f68628d5 Deep-linking filter based on commands handler 2019-04-18 00:33:39 +03:00
Alex RootJunior
beca19b5e2 Implements opportunity to change request timeouts 2019-04-17 23:24:23 +03:00
Alex RootJunior
71c49fd08b Small changes 2019-04-16 00:22:22 +03:00
Alex RootJunior
fe7735b96d Update Telegram IP addresses 2019-04-16 00:20:44 +03:00
Alex RootJunior
129787db5c Update message 2019-04-16 00:04:05 +03:00
Alex RootJunior
b7e13daeae Update chat member 2019-04-16 00:03:02 +03:00
Alex RootJunior
599e87ec13 Bump polls to latest API version (Naming and location) 2019-04-15 23:38:17 +03:00
Alex RootJunior
43022a7810 More errors. 2019-04-13 04:57:24 +03:00
Alex RootJunior
96a4db6376 Fix error prefix cleaner 2019-04-13 04:44:49 +03:00
Alex RootJunior
411202de45 More poll errors 2019-04-13 04:41:35 +03:00
Alex RootJunior
e2e2d9c9fe Implemented polls [From test API] 2019-04-11 00:32:46 +03:00
Alex Root Junior
2a6f36b19b
Merge pull request #119 from gabbhack/dev-2.x
Optimize filter checking
2019-04-08 11:30:59 +03:00
Alex Root Junior
a6ec39bbaf
Merge pull request #121 from gabbhack/dev-2.x1
Add delete_reply_markup to Message
2019-04-08 08:05:50 +03:00
Nikita
1eefb237a2 Add delete_reply_markup to Message 2019-04-08 09:43:03 +05:00
Nikita
9ac2dc4f4f Update __init__.py 2019-04-07 21:34:02 +05:00
Alex RootJunior
25bdb9cf4d Fix #117: TypeError with LazyProxy object in keyboards 2019-04-07 14:13:54 +03:00
Alex Root Junior
f228329b01
Merge pull request #118 from gabbhack/dev-2.x1
Fix dev_requirements.txt
2019-04-07 13:50:55 +03:00
Alex Root Junior
d13f961038
Merge pull request #120 from Latand/patch-1
Update callback_data.py
2019-04-07 13:49:27 +03:00
Kostiantyn Kriuchkov
db18d54b21
Update callback_data.py
Can't pass 0 to value, raises error 'ValueError: Value for {part} is not passed!'
2019-04-06 20:26:58 +01: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
Nikita
35f0451d81 Fix dev_requirements.txt 2019-04-06 22:43:46 +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