Commit graph

937 commits

Author SHA1 Message Date
Alex Root Junior
e37395b161 Maximum coverage 2019-11-28 23:52:02 +02:00
Alex Root Junior
6fadb8feb2 Add Dispatcher.feed_raw_update for processing raw updates 2019-11-28 23:48:33 +02:00
Alex Root Junior
57f6d7d9a5 Enable uvloop if available 2019-11-28 23:21:30 +02:00
Alex Root Junior
562e339262 Improve typing and reformat code 2019-11-28 23:21:19 +02:00
Alex Root Junior
c674b5547b Add token validation util, fix deepcopy of sessions and make bot hashable and comparable 2019-11-28 23:12:44 +02:00
Alex Root Junior
93a330c1f2 Add logging for receiving updates 2019-11-27 01:26:24 +02:00
jrootjunior
55496ab9ca Partially cover dispatcher 2019-11-26 11:41:23 +02:00
jrootjunior
fa42dcdce2 Cover base filter 2019-11-26 11:25:44 +02:00
jrootjunior
cd12b54ec2 Cover BaseBot context manager 2019-11-26 11:13:48 +02:00
jrootjunior
b5ab2fd153 Full router coverage 2019-11-26 11:01:54 +02:00
Alex Root Junior
21c8ad4ec3 Pass kwargs to observer from Dispatcher.feed_update 2019-11-25 23:27:38 +02:00
Alex Root Junior
23dbd88487 Full coverage of observers 2019-11-25 23:21:01 +02:00
Alex Root Junior
a1e840af89 Remove unused imports 2019-11-24 22:54:37 +02:00
Alex Root Junior
8204b6af52 Partially add tests for telegram event observer 2019-11-24 22:31:53 +02:00
Alex Root Junior
fd6e78ddf7 Add tests for EventObserver 2019-11-24 01:03:47 +02:00
Alex Root Junior
8e3867fbd7 Typing in dispatcher package 2019-11-24 00:16:25 +02:00
Alex Root Junior
de115452fd Add Router 2019-11-23 19:54:04 +02:00
Alex Root Junior
0acdb24c3c No cover if TYPE_CHECKING 2019-11-23 17:03:14 +02:00
Alex Root Junior
71def6449f Make speedups extras [fast] will install uvloop 2019-11-20 01:32:15 +02:00
Alex Root Junior
9bc1aae0f5 Test InputFile 2019-11-20 00:32:19 +02:00
Alex Root Junior
23abe35212 Update tests for all methods 2019-11-19 22:44:12 +02:00
Alex Root Junior
2d6a9e4ff7 Fix validation error for empty files in request 2019-11-19 00:05:45 +02:00
jrootjunior
ef956f7ec2 Add API methods testing prototype 2019-11-18 17:44:07 +02:00
Alex Root Junior
a46cd6d001 Small refactoring of telegram api server 2019-11-17 22:20:29 +02:00
Alex Root Junior
0e35b6f55e More tests for session 2019-11-17 01:12:39 +02:00
Alex Root Junior
7dc2a0ddaf Update tests and small refactoring 2019-11-16 22:32:26 +02:00
Alex Root Junior
a24708d589 Add tests for BaseSession and TelegramAPIServer 2019-11-16 00:52:18 +02:00
Alex Root Junior
c824b298c9 More tests (Helper and contextinstance) 2019-11-15 23:36:08 +02:00
jrootjunior
a6573656d0 Add tests for DataMixin 2019-11-15 14:09:37 +02:00
jrootjunior
65815e509f Clean obsolete code and change configs 2019-11-15 12:44:24 +02:00
jrootjunior
bdae5fb026 Clean project 2019-11-15 12:17:57 +02:00
Alex Root Junior
a83dd3ca63 Fix EditMessageMedia 2019-11-14 22:38:00 +02:00
Alex Root Junior
54a77b369e Context instance mixin for BaseBot 2019-11-14 22:20:53 +02:00
Alex Root Junior
49526814d9 Reformat descriptions (long lines) 2019-11-14 22:19:33 +02:00
jrootjunior
6c0bd76a63 Fix input media. And allow to edit media 2019-11-14 16:39:34 +02:00
jrootjunior
8a4b2a16dd Fix typing 2019-11-14 15:21:22 +02:00
jrootjunior
b54805662f Allow to customize JSON library 2019-11-14 15:07:57 +02:00
jrootjunior
a2bc73e347 Allow to send datetime/timedelta values 2019-11-14 14:56:09 +02:00
jrootjunior
4189c3e798 Regenerate code 2019-11-14 14:44:17 +02:00
jrootjunior
5d1c54aa17 Allow to send thumbs 2019-11-14 12:24:27 +02:00
jrootjunior
dd0ee7124b Allow to send media groups 2019-11-14 11:58:44 +02:00
Alex Root Junior
5797ab6c99 Allow to send files 2019-11-14 02:05:08 +02:00
Alex Root Junior
9d980c4b61 Update methods. Add generated files configurator 2019-11-14 00:44:09 +02:00
Alex Root Junior
87393f2475 Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x
# Conflicts:
#	README.md
#	README.rst
#	aiogram/__init__.py
#	aiogram/bot/bot.py
#	aiogram/contrib/fsm_storage/redis.py
#	aiogram/contrib/middlewares/logging.py
#	aiogram/dispatcher/dispatcher.py
#	aiogram/dispatcher/filters/__init__.py
#	aiogram/dispatcher/filters/builtin.py
#	aiogram/dispatcher/filters/filters.py
#	aiogram/dispatcher/filters/state.py
#	aiogram/dispatcher/handler.py
#	aiogram/dispatcher/webhook.py
#	aiogram/types/base.py
#	aiogram/types/chat.py
#	aiogram/types/chat_member.py
#	aiogram/types/input_media.py
#	aiogram/types/message.py
#	aiogram/utils/callback_data.py
#	aiogram/utils/deprecated.py
#	aiogram/utils/exceptions.py
#	aiogram/utils/executor.py
#	aiogram/utils/helper.py
#	aiogram/utils/json.py
#	aiogram/utils/mixins.py
#	aiogram/utils/payload.py
#	dev_requirements.txt
#	docs/source/index.rst
#	examples/callback_data_factory.py
#	examples/check_user_language.py
#	examples/echo_bot.py
#	examples/finite_state_machine_example.py
#	examples/i18n_example.py
#	examples/inline_bot.py
#	examples/media_group.py
#	examples/middleware_and_antiflood.py
#	examples/payments.py
#	examples/proxy_and_emojize.py
#	examples/regexp_commands_filter_example.py
#	examples/throtling_example.py
#	examples/webhook_example.py
#	examples/webhook_example_2.py
#	setup.py
#	tests/test_bot.py
#	tests/test_token.py
#	tests/types/dataset.py
2019-11-03 22:19:44 +02:00
Alex Root Junior
278999761c Add new autogenerated methods and types and add prototype of sessions. 2019-11-03 22:14:41 +02:00
Alex Root Junior
d5f5cea665 Bump version to 2.4 2019-10-29 22:42:31 +02: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