Commit graph

34 commits

Author SHA1 Message Date
Alex Root Junior
7844a663a9 Bump Telegram Bot API version
Change request timeout mechanism
Bump package version
2020-06-14 17:14:10 +03:00
Alex Root Junior
28382ebf5f
Add bump_versions.py script (#338)
* Add bump_versions.py script
* Fix pipeline
2020-05-27 01:24:06 +03:00
Alex Root Junior
bafc2ff341 Update middlewares docs 2020-05-26 20:26:29 +03:00
Alex Root Junior
7f26ec9935 Implement new middlewares 2020-05-26 00:23:35 +03:00
Alex Root Junior
02e6bd971b
Merge branch 'dev-3.x' into dev-3.x 2020-05-13 22:33:46 +03:00
mpa
c083fcd99a tests(deprecated):
add new check_deprecated context manager for version check, use mark.parametrize from pytest for observer deprecation tests
2020-05-12 16:07:16 +04:00
Egor
17a07f10dc fix: make pre-commit a dev requirement 2020-05-06 17:27:51 +03:00
Egor
5a86e0ac4c feat: add pre-commit hook support 2020-05-06 13:00:06 +03:00
Alex Root Junior
b097680f3c Fix package 2020-05-06 01:42:40 +03:00
Martin Winks
15bcc0ba9f
feat(proxy): proxy for aiohttp,base sessions (#284)
* feat(proxy): proxy for aiohttp,base sessions

Add support for proxies in aiohttp session with aiohttp_socks library,
edit BaseSession class to support proxies for other sessions in future.

* fix(annotation): missing underscore before "private" typevar

* chore: remove redundant of proxy_url schema for socks version

* test: add missing test

Add missing test, remove BaseSession.cfg and switch to
implementing class' "private" traits, add aiohttp_socks in dependency list as
optional and extra.

* feat(session):

Implement asyncio session for requests [wip]

* feat(proxy chain): Chained proxy support in aiohttp session

Add ChainProxyConnector support, !pin pydantic to "1.4", add
documentation on aiohttp connector.

* style(mypy): apply linter changes

* tests(mock): remove await for magic mock

* fix dangling dependency

* refactor(generic):

get rid of generic behaviour for base session
2020-05-02 16:12:53 +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
e9fef19129 Fix compatibility with pydantic 1.5 (temporary) 2020-04-28 12:07:01 +03:00
Alex Root Junior
33003f2026 Add support of Bot API 4.7. Bump version 2020-04-11 20:15:03 +03:00
Boger
fac69e52b7 💩 First iteration 2020-03-18 18:15:49 +03:00
Alex Root Junior
3f5c51e805 Add webhook feed method to Dispatcher 2020-02-22 00:59:10 +02:00
Alex Root Junior
7053a9ad4e Bump lockfile 2020-02-02 22:50:30 +02:00
jrootjunior
795912bff6 improve docs 2020-01-28 14:03:29 +02:00
Alex Root Junior
5ddc53e296 Bump dependencies 2020-01-25 19:04:48 +02:00
Alex Root Junior
58b6b3e0fe Disable uvloop for windows 2020-01-22 00:14:14 +02:00
Alex Root Junior
8e5cb067df Use AsyncMock with python 3.8 instead of asynctest 2020-01-11 21:15:46 +02:00
Alex Root Junior
d2606b389a Update dependencies 2020-01-05 20:12:35 +02:00
Alex Root Junior
cf4e39993b Update dependencies 2019-12-26 01:39:48 +02:00
Alex Root Junior
390648aae6 Bump poetry 2019-12-15 21:52:18 +02:00
Alex Root Junior
39bd51fc68 Bump poetry.lock 2019-12-12 00:29:49 +02:00
Alex Root Junior
b943ea2207 Update dependencies and fix typing for TelegramAPIServer 2019-12-11 22:45:09 +02:00
jrootjunior
9d78e82f8c Cover Command filter 2019-12-04 18:04:29 +02:00
Alex Root Junior
71def6449f Make speedups extras [fast] will install uvloop 2019-11-20 01:32:15 +02:00
Alex Root Junior
a1d74a91b7 Update dependencies and add ipython 2019-11-20 01:09:54 +02:00
Alex Root Junior
f166d83392 Update docs and pipeline 2019-11-17 23:40:52 +02:00
Alex Root Junior
65331e1fda Add autogenerated docs for types and methods 2019-11-16 22:32:05 +02:00
Alex Root Junior
a24708d589 Add tests for BaseSession and TelegramAPIServer 2019-11-16 00:52:18 +02:00
jrootjunior
013ee3d496 Add aiofiles to dependencies list. 2019-11-15 14:09:05 +02:00
jrootjunior
65815e509f Clean obsolete code and change configs 2019-11-15 12:44:24 +02:00
jrootjunior
bdae5fb026 Clean project 2019-11-15 12:17:57 +02:00