Commit graph

27 commits

Author SHA1 Message Date
Gabben
de3c5c1a8d
Download feature and URLInputFile (#332)
* Fix How to upload docs

* Rename BaseBot to Bot

* Add download_file method

* Add download method

* Add URLInputFile

* Add Downloadable to __init__ and __all__

* Fix ImportError for Python 3.7

* Related pages

* Improving docs

* Some speed

* staticmethod to classmethod
2020-05-27 01:25:13 +03:00
Alex Root Junior
bafc2ff341 Update middlewares docs 2020-05-26 20:26:29 +03:00
mpa
df4ba87dfc feat(timeout):
implement (class-bound, instance-bound, request-bound) session timeout
for requests. fix docs config, fix aiohttp session docs links.
2020-05-06 02:42:54 +04: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
0fbd2819f9 Add filters and class based handler for errors 2020-04-12 23:20:44 +03:00
Alex Root Junior
5b6ec599b1 Add middlewares (API + Docs + Tests) 2020-04-12 20:27:32 +03:00
Alex Root Junior
33003f2026 Add support of Bot API 4.7. Bump version 2020-04-11 20:15:03 +03:00
jrootjunior
5daf3b2162 Move TODO to external page in docs 2020-01-30 18:02:23 +02:00
jrootjunior
fcb8a414e9 Fix style of types/methods list 2020-01-30 17:03:03 +02:00
jrootjunior
795912bff6 improve docs 2020-01-28 14:03:29 +02:00
Alex Root Junior
e80ab3d3c0 Update mkdocs nav 2020-01-24 01:14:30 +02:00
Alex Root Junior
895b727ddf More class based handlers 2020-01-21 23:33:44 +02:00
Alex Root Junior
6f56f24296 Fix domains in mkdocs.yml 2020-01-11 20:19:43 +02:00
Alex Root Junior
8726963bc2 Reformat code and fix Makefile 2020-01-11 20:01:49 +02:00
Alex Root Junior
1d9e80a4dc Add docs for ContentTypesFilter 2019-12-11 21:42:56 +02:00
Alex Root Junior
90e8c108ef Add docs for command filter 2019-12-09 21:21:15 +02:00
Alex Root Junior
62bce34b49 Add docs for class-based handlers 2019-12-03 00:37:53 +02:00
Alex Root Junior
2a731f7ce2 Update filters doc page 2019-11-30 00:43:19 +02:00
Alex Root Junior
40b6a61e70 Add text filter and mechanism for registering builtin filters 2019-11-29 23:16:11 +02:00
Alex Root Junior
9adc2f91bd Add base documentation of Dispatcher (not ready, not fully documented) 2019-11-27 01:27:08 +02:00
Alex Root Junior
c9e490bcee Add Google Metrics 2019-11-20 01:46:18 +02:00
Alex Root Junior
d5b892fbec Add overview for reports 2019-11-20 00:40:14 +02:00
Alex Root Junior
fa6732542d Add instruction how to upload files 2019-11-20 00:10:52 +02:00
jrootjunior
b4a94d8441 Update Makefile and mkdocs.yml 2019-11-18 14:57:11 +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
jrootjunior
bdae5fb026 Clean project 2019-11-15 12:17:57 +02:00