Commit graph

869 commits

Author SHA1 Message Date
Suren Khorenyan
68a9df9222 Create OrderedHelper 2019-10-09 20:03:48 +03:00
skhortiuk
7ed44533bb Fixed missed IsReplyFilter import 2019-10-07 12:51:42 +03:00
Alex Root Junior
20e51ac84a
Merge pull request #210 from Arwichok/is_reply
add IsReplyFilter
2019-10-06 23:24:33 +03:00
Alex Root Junior
31f724ba4c
Merge pull request #211 from eboshare/patch-1
Fixed send_poll required params
2019-10-06 23:21:59 +03:00
Alex Root Junior
fb4eab7346 Prevent to trigger command filter with non-text messages 2019-10-06 23:17:49 +03:00
Vasiliy
f13a14c5ef
Fixed send_poll required params 2019-10-05 20:23:54 +04:00
Alex Root Junior
d92a77dbe2
Merge pull request #203 from Birdi7/fix-cache-lazy-gettext
Lazy_gettext in i18nMiddleware have enable_cache=False by default
2019-10-02 13:10:15 +03:00
Arwichok
000cd9aad8
Update aiogram/dispatcher/filters/builtin.py
Co-Authored-By: Alex Root Junior <jroot.junior@gmail.com>
2019-09-23 16:24:33 +03:00
Arwichok
615b5af00f reply True if msg == None and is_reply == False 2019-09-16 15:47:31 +03:00
Arwichok
0365173450 fix IsReplyFilter typing 2019-09-16 15:15:43 +03:00
Arwichok
f7fdaa1153 add IsReplyFilter 2019-09-16 14:50:23 +03:00
Alex Root Junior
4984c2313a
Merge pull request #201 from apatrushev/fix-199
process cancellation in dispatch polling
2019-09-04 13:58:34 +03:00
Alex Root Junior
d7546125a7
Merge pull request #202 from apatrushev/fix-200
fix set_result of close_waiter future on polling end
2019-09-04 10:07:56 +03:00
Arseny Boykov
d1720d8190
Merge branch 'dev-2.x' into Fix-html-entity 2019-09-03 02:31:55 +03:00
Arseny Boykov
1af668f1e0
Fix html user mention entity parse 2019-09-03 02:26:23 +03:00
Alex Root Junior
b8f1b57004 Use self.bot instead of bot_instance = self.bot 2019-09-01 19:52:34 +03:00
Alex Root Junior
e56be672a3 Safe close aiohttp session when delete bot instance 2019-09-01 14:46:51 +03:00
Alex Root Junior
6a089fd19f Add message.send_copy method 2019-09-01 14:42:09 +03:00
birdi
546b852747 Lazy_gettext in i18nMiddleware have enable_cache=False by default 2019-09-01 00:17:16 +03:00
Anton Patrushev
65c87e72f7 fix set_result of close_waiter future on polling end 2019-08-28 23:42:25 +02:00
Anton Patrushev
a4f684f6bf process cancellation in dispatch polling 2019-08-28 23:39:31 +02:00
Alex Root Junior
58a8f43e2c Merge remote-tracking branch 'origin/dev-2.x' into dev-2.x 2019-08-28 00:34:42 +03:00
Alex Root Junior
dbda878114 Fix renamed_argument decorator. Return results. 2019-08-28 00:34:32 +03:00
Evgen
1e75f59f57
Fix error with set_chat_permissions
I think it should work (I haven't tested it)
2019-08-27 13:28:11 +05:00
birdi
21127c3a7b Replace positional args with kwargs 2019-08-24 16:23:17 +03:00
birdi
6de53dd476 Fix stacklevel arguments in renamed arguments in the dispatcher 2019-08-24 16:14:49 +03:00
Alex Root Junior
3d4bdcc498 Fix Dispatcher.throttle(...) and rename user & chat arguments to user_id & chat_id 2019-08-23 23:29:59 +03:00
Alex Root Junior
9a30285d3b Update docs. 2019-08-17 00:08:04 +03:00
Alex Root Junior
19fc1b8d80 Bump deprecated util and fix warning from tests related with new permissions object. 2019-08-16 22:57:13 +03:00
Suren Khorenyan
7863f052d9 Refactor aiogram/utils/auth_widget.py
+ fix check auth widget token in BaseBot, fix tests
2019-08-16 22:36:11 +03:00
birdi
ed0d4796e7 Merge branch 'dev-2.x' into add-new-ways-throttle
# Conflicts:
#	examples/throtling_example.py
2019-08-15 17:06:10 +03:00
Alex Root Junior
23ceb1445e
Merge branch 'dev-2.x' into dev-2.x 2019-08-15 16:52:51 +03:00
Egor
95f83d7cef
Merge branch 'dev-2.x' into add_rename_argument_decorator 2019-08-15 16:48:35 +03:00
birdi
5a29eb0960 Add relax argument in executor.start_polling 2019-08-15 01:37:55 +03:00
birdi
026416a668 refactoring 2019-08-12 14:16:38 +03:00
birdi
9ea22a29fc fix docs 2019-08-12 14:16:05 +03:00
Suren Khorenyan
dfc334ef20 Minor refactor MessageEntity#parse 2019-08-11 23:45:31 +03:00
Suren Khorenyan
be622ca559 Refactor some redundant elifs 2019-08-11 23:42:18 +03:00
Suren Khorenyan
277eb8b701 Refactor TextFilter and its tests 2019-08-11 23:35:59 +03:00
Suren Khorenyan
f4339d10b0 Super minor refactor webhook and executor 2019-08-11 22:55:44 +03:00
birdi
e1cd68d4d3 fix quotes 2019-08-11 01:15:03 +03:00
birdi
f750ea13f5 fix typo 2019-08-11 00:09:44 +03:00
birdi
cc601a7e0d add support of stacklevel parameter in renamed_argument decorator 2019-08-11 00:07:30 +03:00
birdi
189753cf67 Add renamed_argument decorator for convenient warnings about
deprecated arguments
2019-08-10 23:42:49 +03:00
Suren Khorenyan
95fcaaeed7 Micro refactor 2019-08-10 22:09:29 +03:00
Suren Khorenyan
5846d3a6c2 More minor refactoring 2019-08-10 18:41:29 +03:00
Suren Khorenyan
a78b93c5cd Refactor examples/i18n_example.py 2019-08-10 17:55:39 +03:00
Suren Khorenyan
ad7238fda8 Some refactor 2019-08-10 00:08:11 +03:00
Suren Khorenyan
846f83f117 Some callback_data_factory.py refactor 2019-08-10 00:08:11 +03:00
Suren Khorenyan
61e1015c1e Minor refactor callback_data 2019-08-10 00:08:11 +03:00