Commit graph

892 commits

Author SHA1 Message Date
Oleg A
4523a1cab3 #239 added token type validation 2019-11-23 12:45:47 +03:00
Oleg A
f5d008938f #239 added check for right part of token exists; removed check for left part length 2019-11-23 11:46:50 +03:00
alex_shavelev
b9130e2e1c enable syntax 'key in dispatcher', issue #233 2019-11-14 19:15:44 +02:00
uburuntu
386a1586e0 enh: unify default as_html argument 2019-11-10 00:46:29 +03:00
Victor Usachev
9571669ca4 refactor(utils): reduce code duplication 2019-10-30 02:42:24 +03:00
Alex Root Junior
f8d255b353 Prevent to serialize text as date when rapidjson is used 2019-10-29 22:36:43 +02:00
Alex Root Junior
cb4f459597 Fix typing for until_date argument (can be datetime or timedelta) 2019-10-29 21:19:55 +02:00
Alex Root Junior
f03e2169c3 Merge remote-tracking branch 'origin/dev-2.x' into dev-2.x 2019-10-29 21:11:14 +02:00
dark0ghost
675def5013 add typing 2019-10-29 01:37:36 +03:00
Alex Root Junior
cf7786a467 Optimize Message.send_copy 2019-10-14 23:52:19 +03:00
Alex Root Junior
2843a66e61
Merge pull request #218 from Bunk100/patch-1
Update message.py
2019-10-14 23:50:03 +03:00
Alex Root Junior
bd90c726b5 Fix Bot.__del__ for cases when event loop is closed 2019-10-14 14:53:12 +03:00
Bunk100
a6c8e4c249
Update message.py 2019-10-12 23:06:41 +03:00
Bunk100
37e6428b7b
Update message.py
deleted parse_mode arg from send_copy args
2019-10-12 22:56:48 +03:00
Bunk100
bbfc994073
Update message.py 2019-10-12 18:42:24 +03:00
Bunk100
68ce9687ec
Update message.py 2019-10-12 18:38:13 +03:00
Bunk100
1cd4712eb4
Update message.py
Some fixes
2019-10-12 18:37:06 +03:00
Bunk100
b172faf89f
Update message.py 2019-10-12 18:22:44 +03:00
Bunk100
e57c761c40
Update message.py
Second attempt to fix reply_markup
2019-10-12 18:03:31 +03:00
Bunk100
1f177360c4
Update message.py 2019-10-12 17:59:32 +03:00
Bunk100
e32a45f4f8
Update message.py
Updated send_copy:
Added the ability to specify reply_markup, parse_mode
2019-10-12 17:52:27 +03:00
Alex Root Junior
7fb21ead9d
Merge pull request #217 from gabbhack/dev-2.x
Fix incorrect completion order.
2019-10-10 17:42:14 +03:00
Gabben
2f5415c1c9
Fix incorrect completion order. 2019-10-10 19:20:49 +05:00
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