Commit graph

37 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
8e54cce58e Bump pre-commit config 2020-05-13 22:58:58 +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
Alex Root Junior
d4a2d2ea5e Include meta file 2020-05-05 23:42:09 +03:00
Alex Root Junior
6be0b36305
Dev 3.x api 4.8 (#317)
* AIOG-T-20 Bot API 4.8

* AIOG-T-20 Update aliases

* AIOG-T-20 Add parse mode passing in sendPoll method

* AIOG-T-20 Small changes in docs

* AIOG-T-20 Revert overriding remove keyboard default value and add tests

* AIOG-T-20 Bot API 4.8
2020-05-02 23:01:32 +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
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
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
d9314a9d53 Bump versions 2020-01-25 18:32:47 +02:00
Alex Root Junior
682d1e40e9 Update pyproject.toml 2020-01-22 00:38:36 +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
ffb0cdf88f Telegram Bot API 4.5 2020-01-11 19:47:39 +02:00
Alex Root Junior
d2606b389a Update dependencies 2020-01-05 20:12:35 +02:00
Alex Root Junior
390648aae6 Bump poetry 2019-12-15 21:52:18 +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
jrootjunior
3a0a1eb23c Update package information 2019-11-18 18:05:47 +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
d09b72ce6e Update license years 2019-11-15 12:18:21 +02:00
Alex RootJunior
7c51b1a7d7 Add Black and Flake8 2019-06-29 19:53:18 +03:00