Commit graph

1918 commits

Author SHA1 Message Date
Alex Root Junior
5b20f81654
Formatting tools (#1172)
* Added base implementation of formatting utility

* Refactored and added docs

* Added changelog

* Coverage
2023-06-10 20:47:45 +03:00
latand
af4b9cc415 fix typing 2023-06-02 11:12:34 +03:00
latand
caba07a529 update changelog 2023-06-02 10:17:39 +03:00
latand
1abbf9a218 fix typehint 2023-06-02 10:15:20 +03:00
latan
6a3df4d6f3 removed auto_resolve_update_types from run_polling 2023-06-01 22:53:16 +03:00
latan
ce444a9044 change the default value for allowed updates to UNSET TYPE 2023-06-01 22:51:55 +03:00
latan
a5ffa37b69 make resolving update types by default in dispatcher.py 2023-06-01 22:49:04 +03:00
latan
e955d7cb3b add towncrier file for a feature 2023-05-23 13:24:29 +03:00
latan
b0386c9250 Add auto_resolve_update_types argument to start_polling method. 2023-05-23 13:09:33 +03:00
Nikita
c418689dc1
Fix markdown spoiler (#1176)
* Fix spoiler

* added a explanation

* Updated the TestTextDecoration.test_apply_single_entity

---------

Co-authored-by: = <=>
2023-05-13 14:10:15 +03:00
Alex Root Junior
68a6c2c192
Removed patreon, because it supports russian terrorists 2023-05-07 20:03:07 +03:00
Alex Root Junior
cf269e15f4
Added create_channel_bot_link function 2023-04-23 03:30:48 +03:00
Alex Root Junior
62a9f0cb6e
Removed Text filter (#1170)
* Removed Text filter

* Added changelog

* Clean docs

* Fixed pytz
2023-04-22 20:21:17 +03:00
Alex Root Junior
dad3cdc409
Fixed mypy 2023-04-22 19:54:56 +03:00
Alex Root Junior
c9a8dad5ee
Update dependencies 2023-04-22 19:48:04 +03:00
Alex Root Junior
942ba0d520
Forum topic in FSM (#1161)
* Base implementation

* Added tests, fixed arguments priority

* Use `Optional[X]` instead of `X | None`

* Added changelog

* Added tests
2023-04-22 19:35:41 +03:00
Alex Root Junior
1538bc2e2d
Bot API 6.7 (#1168)
* Added 6.7 features

* Update after release

* Added tests

* Added changelog
2023-04-22 18:09:59 +03:00
Alex Root Junior
aad2de4324
Improve callback data serialization (#1163)
* Improve callback data serialization

* Added tests and changelog
2023-04-21 00:17:28 +03:00
Alex Root Junior
fb3076d40f
Fix compatibility with Python 3.8-3.9 (#1162)
* Try to fix compatibility with Python 3.8-3.9

* Added changelog
2023-04-21 00:17:06 +03:00
Alex Root Junior
399ccb2b00
Update butcher 2023-04-20 23:44:52 +03:00
Andrey
2dd019d486
Fix typo (#1164) 2023-04-17 00:31:33 +03:00
Aleksandr
8d2bf20fb8
Added missing FORUM_TOPIC_EDITED value to content_type property (#1160)
* Added missing FORUM_TOPIC_EDITED value to content_type property

* Added changelog to CHANGES

* Fixed aiogram/filters/magic_data.py:21:41: C416 Unnecessary `dict` comprehension (rewrite using `dict()`)

* Resolve  #1155: Different signature of startup/shutdown events on polling and webhooks  (#1156)

* Code refactor
- Use 'or' istead of 'A if A else B'
- Raise new error from catched error: raise Error from e

* Fixed signature of startup/shutdown events
- Include the **dispatcher.workflow_data as the handler arguments

* Update deep_linking basic examples (#1151)

* skip if current router does not have observer for custom event (#1147)

* skip if current router does not have observer for custom event

* Test custom event in router

* Feature changelog file

* fix style

* Change `InlineQueryResultType.MPEG` to more correct (#1146)

* Change `InlineQueryResultType.MPEG` to `InlineQueryResultType.MPEG4GIF`

* Change regexp for parse entities

* Use code generator to fix types

* Add changelog

* fix(docs): fix wrong page link in docs (#1154)

* storage cleanup (#1144)

* storage cleanup

* storage cleanup

* Update API docs

* Added tests

* Fix tests

---------

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
Co-authored-by: Łukasz Tshipenchko <dev@zxc.sx>
Co-authored-by: Max Kotsiuruba <81016938+A5KET@users.noreply.github.com>
Co-authored-by: Andrey Tikhonov <andrey.tikhonov@quantori.com>
Co-authored-by: Desiders <47452083+Desiders@users.noreply.github.com>
Co-authored-by: Daniil <hum4noid@yandex.ru>
Co-authored-by: RootShinobi <111008396+RootShinobi@users.noreply.github.com>
2023-04-16 22:41:49 +03:00
Alex Root Junior
d15502c2af
Fixed contributing URL 2023-04-13 00:02:15 +03:00
Alex Root Junior
2c756a1689
Update API docs 2023-04-08 18:31:38 +03:00
RootShinobi
dbaf6fabcb
storage cleanup (#1144)
* storage cleanup

* storage cleanup
2023-04-08 18:01:11 +03:00
Daniil
d8a977f357
fix(docs): fix wrong page link in docs (#1154) 2023-04-08 17:54:08 +03:00
Desiders
46a7beb668
Change InlineQueryResultType.MPEG to more correct (#1146)
* Change `InlineQueryResultType.MPEG` to `InlineQueryResultType.MPEG4GIF`

* Change regexp for parse entities

* Use code generator to fix types

* Add changelog
2023-04-08 17:41:00 +03:00
Andrey Tikhonov
268b7e759d
skip if current router does not have observer for custom event (#1147)
* skip if current router does not have observer for custom event

* Test custom event in router

* Feature changelog file

* fix style
2023-04-08 17:39:48 +03:00
Max Kotsiuruba
99cf7028ec
Update deep_linking basic examples (#1151) 2023-04-08 17:38:56 +03:00
Łukasz Tshipenchko
6efef7137c
Resolve #1155: Different signature of startup/shutdown events on polling and webhooks (#1156)
* Code refactor
- Use 'or' istead of 'A if A else B'
- Raise new error from catched error: raise Error from e

* Fixed signature of startup/shutdown events
- Include the **dispatcher.workflow_data as the handler arguments
2023-04-08 17:38:11 +03:00
Alex Root Junior
5a99b78292
Fixed aiogram/filters/magic_data.py:21:41: C416 Unnecessary dict comprehension (rewrite using dict()) 2023-04-08 17:31:15 +03:00
Alex Root Junior
fea1b7b0a3
Reworked request builder (#1142)
* Reworked request builder

* Added more default values

* Update tests

* Fixed timestamp

* Fixed Py3.8 support

* Describe changes
2023-03-11 20:46:36 +02:00
Alex Root Junior
924a83966d
Update butcher - Added deprecation mechanism to schema and codegen 2023-03-11 17:43:01 +02:00
Alex Root Junior
f6020476e6
Update schema 2023-03-11 17:43:01 +02:00
Alex Root Junior
6570d0bab1
Bot API 6.6 (#1139)
* Added basic support of Bot API 6.6

* Update descriptions

* Added StickerFormat enum

* Bump version

* Refresh from docs

* Fixed CommandStart

* Fixed files uploading

* Cover new functionality

* Added changelog

* Update texts
2023-03-11 02:17:47 +02:00
Evgenii Petrovich
5adaf7a567
Update upload_file.rst | tiny grammar typos (#1133)
* Update upload_file.rst

small grammar typos

* changelog
2023-02-25 17:51:54 +02:00
Alex Root Junior
1098ac547b
Prettify disclaimer 2023-02-19 19:13:30 +02:00
Alex Root Junior
eb7a9f5cc8
Change version number in disclaimer 2023-02-19 18:24:15 +02:00
Alex Root Junior
295fae6905
Reformat disclaimer in changelog 2023-02-19 18:20:10 +02:00
Alex Root Junior
46218b8696
Towncrier build 2023-02-19 18:10:11 +02:00
Alex Root Junior
7efec4a5df
Towncrier build 2023-02-18 15:54:31 +02:00
Alex Root Junior
753954adb0
Update changelog 2023-02-18 15:52:39 +02:00
Alex Root Junior
d0b7135ca6
Reworked graceful shutdown (#1124)
* Reworked graceful shutdown

* Remove special errors from polling process

* Update dependencies

* Coverage

* Added changelog
2023-02-18 15:46:28 +02:00
Alex Root Junior
a332e88bc3
Fixed lines in FSM example 2023-02-13 00:55:53 +02:00
imsLmaooo
dc7c99763e
update ua docs: patch api/enums/*.po (#1126) 2023-02-12 22:05:17 +02:00
imsLmaooo
157df969d3
UA translation of chat_action.po from Bot Api (#1123)
* Update Ukrainian docs localization

* Update Ukrainian docs localization
2023-02-12 14:02:40 +02:00
Alex Root Junior
dc88a8c903
Removeseparators in readme 2023-02-12 03:19:31 +02:00
Alex Root Junior
2bec079158
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2023-02-12 03:19:01 +02:00
Alex Root Junior
0cec389a32
Update badges 2023-02-12 03:18:53 +02:00
Dmitry Anfimov
184ee1fbf8
[3.x] Check status code when downloading file (#1079)
* Check status code when downloading file and raise an error if someting bad happends

* Style fixes

* Add doc

* Use "towncrier create <issue>.<type>" for creating file
2023-02-12 02:56:11 +02:00