Commit graph

1795 commits

Author SHA1 Message Date
darksidecat
71eb5fc44e
fix #660 prepare parse mode for input_message_content (#661)
* fix #660 prepare parse mode for input_message_content of InlineQueryResult

* remove redundant get

* black lint

* add towncrier patch note
2021-08-17 00:08:36 +03:00
darksidecat
7cb0ac1ee2
add allow_sending_without_reply param to Message reply aliases (#663) 2021-08-17 00:07:38 +03:00
evgfilim1
0ca9f98baf
Improve .editorconfig (#658)
* Improve .editorconfig

This is a continuation of https://github.com/aiogram/aiogram/pull/653#pullrequestreview-721944497

* Fix wildcard

* Fixes from review comments
2021-08-05 22:25:13 +03:00
Alex Root Junior
058d858607 Update towncrier config 2021-08-03 23:50:10 +03:00
Oleg A
f2f276b8cf
refactor: remove redundant pytest marks (#654) 2021-08-03 23:40:14 +03:00
Oleg A
fff33e4ac9
Redis storage speedup globals (#652)
* chore: redis storage speedup globals #651

* chore: temp ignore aioredis typing issue

* Added patch-notes

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2021-08-03 23:39:04 +03:00
Oleg A
89f7debc85
Add .editorconfig support (#653)
* feat: add .editorconfig support

* Added record to changes list

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2021-08-03 23:10:18 +03:00
evgfilim1
18b268f0b6
Update installation instructions (#655)
* Update installation instructions

* Small fix for 2.x branch & make instructions brief

* Style fix
2021-08-03 02:06:52 +03:00
Alex Root Junior
f4ca858571 Added possibility to use notes without issue 2021-08-01 19:56:01 +03:00
Alex Root Junior
9114abe919
towncrier integration (#647)
* Added towncrier and clone changelog from GitHub Releases page

* Added record to changelog

* Extended makefile

* Fix typo

* Changed ref in changelog

* Auto-confirm towncrier question on build

Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
2021-08-01 19:08:03 +03:00
Alex Root Junior
16cf6419d3 Rename deployment script 2021-08-01 01:19:03 +03:00
Alex Root Junior
a19b6bcf3a Bump version // 2 2021-08-01 01:11:46 +03:00
Alex Root Junior
e5a7c69e17 Bump version 2021-08-01 01:09:43 +03:00
Alex Root Junior
5c1ea85e9d Remove frozenlist 2021-08-01 00:35:50 +03:00
Alex Root Junior
c3844bb18f Added detection of API Errors and fixed coverage 2021-08-01 00:34:50 +03:00
Alex Root Junior
4f2cc75951
Global filters for router (#644)
* Bump version

* Added more comments

* Cover registering global filters

* Reformat code

* Add more tests

* Rework event propagation to routers mechanism. Fixed compatibility with Python 3.10 syntax (match keyword)

* Fixed tests

* Fixed coverage

Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
2021-07-31 23:34:09 +03:00
Alex Root Junior
a70ecb767f Bump version 2021-07-29 00:42:53 +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
evgfilim1
4599913e18
Fix not all args are passed to handler function invocation (#633) 2021-07-18 14:10:51 +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
eee6589a2c Change Python version in docs index 2021-06-19 02:56:04 +03:00
Alex Root Junior
602fed00ff Oops. Enable sphinx dependencies 2021-06-19 02:43:55 +03:00
Alex Root Junior
5780d1840e Bump version 2021-06-19 02:42:56 +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
5296724a0f Small changes in tests 2021-06-15 02:01:57 +03:00
Alex Root Junior
7f0a9d8097 Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2021-06-15 02:00:58 +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
bc96bdd3b6 Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2021-06-07 21:07:15 +03:00
Aleksandr
32bc05130f
Added get_url() method for Message object and shifted_id property for Chat object (#585)
* Added get_url() method for Message object and shifted_id property for Chat object

* Added missing closing bracket to shifted_id description

* Added basic groups to skipped pattern, simplified code

* Return None instead of raising TypeError, removed redundant f-string

* Change get_url typing to Optional[str]

* Better shifted_id method

* get_url tests added

* Added whitespace (E226)

* Code format with black

* Parametrized test
2021-06-05 13:37:01 +03:00
Alex Root Junior
811ccd999a Bump version 2021-05-25 01:11:26 +03:00
Alex Root Junior
53da50045e Bump python version in README.md 2021-05-25 01:07:22 +03:00
Alex Root Junior
79f21416c8 Added lost files 2021-05-25 01:00:58 +03:00
Alex Root Junior
6253b25158 Remove compatibility with Python 3.7 2021-05-25 01:00:36 +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
9451a085d1 Added codecov badge 2021-05-13 22:23:49 +03:00
Alex Root Junior
442a813831 Added cache version 2021-05-13 22:15:26 +03:00
Alex Root Junior
9cf189ffd2 Cover 100% 2021-05-13 22:04:10 +03:00
Alex Root Junior
03ccebd8be Cover base and memory storage 2021-05-13 01:54:07 +03:00
Alex Root Junior
becbcecaf1 Increase max parallel jobs 2021-05-13 00:15:18 +03:00
Alex Root Junior
e1cd7268a1 Remove MkDocs 2021-05-13 00:13:09 +03:00
Alex Root Junior
7dd80d281f Added lost files 2021-05-12 23:56:03 +03:00
Alex Root Junior
782102561e Restore all OS in pipeline 2021-05-12 23:31:37 +03:00
Alex Root Junior
73028e7a11 Use bash by default. temporary disable all except Windows 2021-05-12 23:28:28 +03:00
Alex Root Junior
deacbe1649 Use bash by default 2021-05-12 23:28:05 +03:00
Alex Root Junior
74bd34b1a5 Added caching dependencies and black validation 2021-05-12 23:23:34 +03:00
Alex Root Junior
55861cb50d Use 3rd-party step for Poetry installaton (2) 2021-05-12 23:11:35 +03:00
Alex Root Junior
6d0238f0d4 Use 3rd-party step for Poetry installaton 2021-05-12 23:10:24 +03:00
Alex Root Junior
c25a63a2c8 Separate dependenties installation 2021-05-12 23:08:07 +03:00
Alex Root Junior
6009a39925 Change dependencies installation 2021-05-12 23:06:02 +03:00