Commit graph

1876 commits

Author SHA1 Message Date
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
Alex Root Junior
74db2c47e6 Small changes in documentation 2021-05-12 23:00:12 +03:00
Alex Root Junior
9f902ef232 Breaking news 2021-05-12 01:47:32 +03:00
Alex Root Junior
81427d0a8d Fix deploy pipeline 2021-05-12 00:15:06 +03:00
Alex Root Junior
5abd9ad0c4 Bump version. Added pipeline for test PyPi 2021-05-12 00:13:03 +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
a6f824a117 Revert docs pipeline 2021-02-07 19:25:13 +02:00
Alex Root Junior
d189853737 Increase timeout for MacOS pipelines. 2021-02-07 19:20:37 +02:00
Alex Root Junior
aebccd1139 Fix version parsing 2021-02-07 19:04:26 +02:00
Alex Root Junior
66f0868f45 Oops. Include lost files 2021-02-07 18:50:26 +02:00
Alex Root Junior
8a94dde7fb Pipeline bump version without venv 2021-02-07 18:48:16 +02:00
Alex Root Junior
322a98bc1b More docs 2021-02-07 18:43:43 +02: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
566b7ff282
fix(aiohttp-session): respect UNSET sentinel (#387)
* fix(aiohttp-session): respect UNSET sentinel

check if value is `UNSET` while building http request.

* Cover UNSET by tests

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2021-01-25 01:00:06 +02:00
Alex Root Junior
85265a34cd Rollback Python 3.9 2020-10-06 16:50:44 +03:00
Alex Root Junior
54bb4d3829 Increase required builds count for codecov 2020-10-06 16:48:27 +03:00
Alex Root Junior
880976b33d Enable Python 3.9 in pipeline 2020-10-06 16:47:44 +03:00
sabbyX
7ba153c7b1
HandlerObject: Unwrap handler before awaitable check (#435)
* Unwrap handler before awaitable check

* Remove unused 'type:ignore' comment

* Add wrapped handler tests
2020-10-04 18:26:34 +03:00
Alex Root Junior
6f53f15577 Reformat code 2020-06-27 16:59:52 +03:00
Alex Root Junior
46d01a6ae7 Fix explanation_parse_mode validation 2020-06-27 16:59:21 +03:00