Alex Root Junior
c3844bb18f
Added detection of API Errors and fixed coverage
2021-08-01 00:34:50 +03:00
Alex Root Junior
ac2b0bb198
[3.x] Bot API 5.3 + Improvements ( #618 )
...
* Regenerate API
* Update code
* Fixed command filter for photos
* Fix tests so they are able to run
* Test new and renamed API methods
* Reformat files
* Fix outer_middleware resolution (#637 ) (#640 )
* Fix outer_middleware resolution (#637 )
* Reformat files
* Reorder routers when resolve middlewares
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
* Added possibility to use empty callback data factory filter
* Rename KeyboardConstructor to KeyboardBuilder
* Fixed type
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
2021-07-29 00:40:50 +03:00
Forevka
125fc22ff9
Added ability to specify which update bot need to receive and process while using polling mode ( #617 )
...
* provide allowed_updates in polling mode
2021-07-05 01:41:27 +03:00
Alex Root Junior
5790c431d0
Fixed typing
2021-06-19 02:16:40 +03:00
Alex Root Junior
ac1f0efde8
Make endless long-polling
2021-06-19 01:16:51 +03:00
Alex Root Junior
83d6ab48c5
Backport and improvements ( #601 )
...
* Backport RedisStorage, deep-linking
* Allow prereleases for aioredis
* Bump dependencies
* Correctly skip Redis tests on Windows
* Reformat tests code and bump Makefile
2021-06-15 01:45:31 +03:00
Alex Root Junior
79f21416c8
Added lost files
2021-05-25 01:00:58 +03:00
Alex Root Junior
f022b4441c
Added more aliases, refactor CallbackData factory, added base exceptions classification mechanism
2021-05-25 00:56:44 +03:00
Alex Root Junior
0e72d8e65b
[3.0] Bot API 5.1 + FSM + Utils ( #525 )
...
* Regenerate corresponding to Bot API 5.1
* Added base of FSM. Markup constructor and small refactoring
* Fix dependencies
* Fix mypy windows error
* Move StatesGroup.get_root() from meta to class
* Fixed chat and user constraints
* Update pipeline
* Remove docs pipeline
* Added GLOBAL_USER FSM strategy
* Reformat code
* Fixed Dispatcher._process_update
* Bump Bot API 5.2. Added integration with MagicFilter
* Coverage
2021-05-11 23:04:32 +03:00
Alex Root Junior
4008a3114d
Upgrade architecture + 5.0 Bot API ( #469 )
...
Upgrade architecture + 5.0 Bot API (#469 )
* Moved `methods`, `types` and `client` to root package
* Removed update handler from routers to dispatcher
* Reworked events propagation mechanism to handlers
* Reworked inner middlewares logic (very small change)
* Updated to Bot API 5.0
* Initial migration from MkDocs to Sphinx + config for readthedocs
2021-01-26 21:20:52 +02:00
Martin Winks
aed3642385
feat(helpers): implement new descriptor with default value getter ( #336 )
...
* feat(helpers): implement new descriptor with default value getter
* perf(descriptor): use weakref
refuse weak reference to a value in WeakRefDict instead of polluting instance namespace
* chore(descriptor): rename descriptor class
rename `DefaultProperty` to `Default`
* style(fmt): lint code
2020-05-31 18:01:28 +03:00
Alex Root Junior
7f26ec9935
Implement new middlewares
2020-05-26 00:23:35 +03:00
Alex Root Junior
2380e14dd9
Fix phone_number and bot_command entity types generation
2020-05-02 02:43:19 +03:00
Alex Root Junior
a64359a6de
Update text decorations. Fix 'mention' generator and emoji offsets.
2020-05-02 01:56:01 +03:00
Alex Root Junior
9f00a02e4d
"noqa: F811" in aiogram/utils/mixins.py
2020-04-11 20:58:57 +03:00
Alex Root Junior
33003f2026
Add support of Bot API 4.7. Bump version
2020-04-11 20:15:03 +03:00
Boger
4298406bd2
Add check for owner class in Item
2020-03-28 18:47:42 +03:00
Boger
45cfa5b3c9
Fix coverage with no cover for unreachable code
2020-03-25 16:28:24 +03:00
Boger
23c632b37b
Fix style errors
2020-03-25 15:57:25 +03:00
Boger
7db1572fd3
Return DataMixin
2020-03-25 15:49:43 +03:00
Boger
fac69e52b7
💩 First iteration
2020-03-18 18:15:49 +03:00
Alex Root Junior
0a1909f0f4
Supports language in message entity pre
2020-01-27 23:48:33 +02:00
Alex Root Junior
dae96590c3
Update text decorations.
2019-12-31 17:56:12 +02:00
Alex Root Junior
1d2c6c91d0
Update and cover markdown utils
2019-12-25 23:12:08 +02:00
Alex Root Junior
81e6c98088
Refactor text decorations
2019-12-25 17:47:27 +02:00
Alex Root Junior
6275bf885c
Add text decorations utility. Provide nested message entities
2019-12-25 00:38:03 +02:00
jrootjunior
97acf956e9
Allow to disable builtin filters for router
2019-12-13 11:08:33 +02:00
Alex Root Junior
dadedc80a9
Add possibility to include router via string
2019-12-12 00:28:37 +02:00
jrootjunior
2451b88ff5
Disable old API exceptions
2019-12-11 15:25:28 +02:00
Alex Root Junior
b82a1a6fb0
Add prototype of class-based handlers
2019-12-03 00:03:15 +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
jrootjunior
cd12b54ec2
Cover BaseBot context manager
2019-11-26 11:13:48 +02:00
Alex Root Junior
de115452fd
Add Router
2019-11-23 19:54:04 +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
bdae5fb026
Clean project
2019-11-15 12:17:57 +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
f8d255b353
Prevent to serialize text as date when rapidjson is used
2019-10-29 22:36:43 +02: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
Alex Root Junior
dbda878114
Fix renamed_argument decorator. Return results.
2019-08-28 00:34:32 +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
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
be622ca559
Refactor some redundant elifs
2019-08-11 23:42:18 +03:00