Commit graph

1918 commits

Author SHA1 Message Date
Alex Root Junior
94e11ce8e9
Small typo fix 2023-02-12 02:02:42 +02:00
Alex Root Junior
58868ec627
Added possibility to reply into webhook with files (#1120) 2023-02-12 02:00:42 +02:00
Alex Root Junior
84bc0e347b
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2023-02-12 01:27:39 +02:00
sheldy
bac90c8fa7
add new method for Router (#1117)
* add new method for Router

* add type hint, tests, changes file

* update tests

* Update aiogram/dispatcher/router.py

* Update tests/test_dispatcher/test_router.py

* Update router.py

---------

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2023-02-12 01:26:49 +02:00
Alex Root Junior
56097d6b53
Bump dependencies 2023-02-12 01:24:18 +02:00
Alex Root Junior
e8d279c8f2
Bump API version 2023-02-07 22:42:57 +02:00
Alex Root Junior
021ae5626f
Replaced error TypeError: TelegramEventObserver.__call__() got an unexpected keyword argument '<name>' with a more understandable (#1114)
* Explain why keyword filters is not supported

* Added changelog
2023-02-05 16:13:06 +02:00
Alex Root Junior
d07e8fc407
Extended logic filter arguments 2023-02-04 20:14:15 +02:00
Alex Root Junior
f704922fe2
Update changelog 2023-02-04 20:09:51 +02:00
Alex Root Junior
8a9cabb3df
Update codecov action 2023-02-04 19:57:48 +02:00
Alex Root Junior
e59d4652bf
Added full support of Bot API 6.5 (#1112)
* Added full support of Bot API 6.5

* Shut up, linters (Fixed errors)

* Oops. Added lost files.

* Fixed tests

* Added changes description

* Update description from docs

* Fixed anchors

* Update Butcher

* Added danger zone to changelog

* Type
2023-02-04 19:53:32 +02:00
Alex
3428924d63
ignore_case fix for aiogram.filters.command.Command() (#1107)
* ignore_case fix

* Create 1106.bugfix.rst

* better fix, added tests

* Update 1106.bugfix.rst

* fix, attempt to satisfy the linter

* not on purpose, single quotes in tests
2023-02-04 19:52:36 +02:00
Alex Root Junior
fad45c66aa
Update .readthedocs.yml
3.10 was missing at ReadTheDocs
2023-01-12 11:55:43 +02:00
Alex Root Junior
f4ce4431f9
Migrate to hatchling (#1095)
* Migrate to hatchling instead of poetry, ruff instead of flake8

* Migrate to hatchling instead of poetry, ruff instead of flake8

* Update tests suite

* venv?

* -m venv?

* Change dependencies

* Remove venv

* Change mypy config

* Added changelog

* Mark uvloop incompatible with pypy

* Update release script

* Use internal caching for dependencies

* Re-disable cov branches

* Added contributing guide
2023-01-12 02:49:58 +02:00
Alex Root Junior
04ccb390d5
Callback answer feature (#1091)
* Added callback answer feature

* Fixed typehints and tests

* Make context manager in tests compatible with Python 3.8
2023-01-08 16:49:34 +02:00
Alex Root Junior
2e59adefe6
Update docs 2023-01-07 23:52:33 +02:00
Alex Root Junior
d5f3e30215
Clean bot class & texts 2023-01-07 23:25:30 +02:00
Alex Root Junior
ea0987e7d9
Added lost text files 2023-01-07 22:42:01 +02:00
Alex Root Junior
c5f3569471
Update from API docs 2023-01-07 22:41:36 +02:00
Alex Root Junior
d8e943424a
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2023-01-07 22:36:09 +02:00
Alex Root Junior
730485e43a
Added full support of Bot API 6.4 (#1088)
* Remove warnings about pytest asyncio mode

* Update Bot API to 6.4

* Bump version

* Added changelog

* Update translations
2022-12-30 22:44:25 +02:00
Alex Root Junior
da0fb50e39
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2022-12-30 22:07:19 +02:00
Alex Root Junior
655b3a2d48
Remove warnings about pytest asyncio mode 2022-12-30 16:10:06 +02:00
Daria
b93b75804c
UA translation of index.po, download_file.po & upload_file.po from Bot API (#1080) 2022-12-15 21:34:46 +02:00
Daria
49f4c9d3bd
UA translation of class based handlers docs (#1076) 2022-12-15 21:34:36 +02:00
Daria
a0dbbcfd5d
UA translation of router & dispatcher docs 2022-12-10 21:13:28 +02:00
Alex Root Junior
4497b62910
Added lost files 2022-12-10 21:10:16 +02:00
Alex Root Junior
3ea73fbbbd
Add missing shortcuts, new enums, reworked old stuff (#1070)
* Render shortcuts

* Render docs

* Added enumerations

* Added docs

* Use enums, removed Helper

* Bump butcher

* Added InputMediaType enum

* Added MaskPositionPoint, InlineQueryResultType enums

* Update texts

* Added StickerType enum

* Cover tests

* Update docs

* Fixed imports

* Re-enabled all pre-commit hooks
2022-12-04 03:05:49 +02:00
Alex Root Junior
3438d2446d
Bump butcher 2022-11-21 01:12:50 +02:00
Alex Root Junior
d034c1ba9f
Adding new code-generator (Butcher) (#1069)
* Re-generate types

* Re-generate methods (only attributes)

* Added enums

* Base init generator

* Added butcher configs

* Fixed tests, bump butcher

* Added changelog

* Added enum docs

* Added templates for docs index

* Re-generate bot class, remove deprecated methods
2022-11-21 01:06:55 +02:00
Alex Root Junior
c7779abc50
Bump version 2022-11-19 20:32:36 +02:00
Alex Root Junior
780a3d80fd
Hide empty changelog from docs 2022-11-18 12:45:59 +02:00
Alex Root Junior
6494c3bfbc
Release 3.0.0-beta.6 2022-11-18 11:42:47 +02:00
Alex Root Junior
c1f4453070
Added TEST server endpoint 2022-11-18 11:27:21 +02:00
Alex Root Junior
37742a4f15
Added certifi (#1066)
* Added certifi

* Added changelog
2022-11-13 00:43:31 +02:00
KatantDev
0294bf2853
Fix for copy and forwarding in special topic (#1064)
* Fix for copy and forwarding in special topic

* Added changelog

Co-authored-by: katant <katantdev@mail.ru>
2022-11-08 00:06:57 +02:00
Alex Root Junior
34a91bfb69
Update docs config, fixed towncrier draft properties 2022-11-07 06:41:37 +02:00
Alex Root Junior
dedeff88ce
Added sphinxcontrib-towncrier integration 2022-11-07 06:35:55 +02:00
Desiders
08d35ed2b3
Removed an old now non-working feature from documentation (#1060)
* Removed an old now non-working feature

* Create 1060.doc.rst

* Removed unused `typing.Union`
2022-11-06 14:33:48 +02:00
Alex Root Junior
b287551590
Bot API 6.3 (#1063)
* Added API changes

* Added changelog

* Oops. Move changelog

* Update tests

* Remove experimental

* Added message content type

* Update message aliases

* Update changes

* Update texts

* Bump version

* Remove versionadded badge
2022-11-06 14:28:21 +02:00
Alex Root Junior
3ae5d904c9
Update texts 2022-11-02 22:46:44 +02:00
sheldy
b8cd06fd6f
add method for get user mention (#1049)
* add new method

* Create 1049.feature.rst

* update test_user

* after black and isort using

* after black and isort using

* adding new tests

* fix test

* update tests

* update test

* using create_tg_link function instead of new func

* Update user.py

* Update aiogram/types/user.py

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2022-11-02 22:40:19 +02:00
Alexander
45705faf12
Update redis.py (#1053)
I fixed a mistake in writing documentation in class RedisStorage

from/to:
aioredis -> redis
pip install aioredis -> pip install redis
2022-11-02 22:39:38 +02:00
v9lu
67fbee454a
Updated: message.py (#1047)
* Updated: message.py

-Fixed reply_invoice
-Fixed answer_invoice

* Updated: message.py

-Fixed reply_invoice
-Fixed answer_invoice

* Updated: message.py

-Fixed reply_invoice
-Fixed answer_invoice

* Create 1047.bugfix.rst

* Deleted aiogram/message.py

* Update CHANGES/1047.bugfix.rst

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2022-10-30 14:28:52 +02:00
Alex Root Junior
93f24e882d
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2022-10-26 22:22:56 +03:00
Alex Root Junior
958ffbc354
Added Python 3.11 package badge 2022-10-26 22:22:44 +03:00
Alex Root Junior
6db3778c6f
Tests on Python 3.11 (#1044)
* Try to use Python 3.11

* Remove `asynctest` dependency

* Fixed aiofiles tests

* Added changelog
2022-10-26 22:21:04 +03:00
Alex Root Junior
c7a85de579
Update pre-commit, disable poetry update on commit 2022-10-25 22:43:00 +03:00
Daria
1e60e10997
UA translation of filtering events docs (#1043)
* UA translation of filtering events docs

* Small changes in description

* Remove unused text

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2022-10-25 22:24:06 +03:00
Alex Root Junior
5c3f442866
Reformat code 2022-10-22 01:02:56 +03:00