Commit Graph

128 Commits (b18cd25e42711d99c62a098203f59f4e12f3fca7)

Author SHA1 Message Date
Richard van der Hoff f4697b5ec1
Fix UnboundLocalError in post_urlencoded_get_json (#4460) 6 years ago
Amber Brown ea6abf6724
Fix IP URL previews on Python 3 (#4215) 6 years ago
Erik Johnston a334e1cace Update to use new timeout function everywhere. 6 years ago
Amber Brown bc9af88a2d fix 6 years ago
Amber Brown 7c27c4d51c
merge (#3576) 6 years ago
Amber Brown 2d2828dcbc
Port http/ to Python 3 (#3771) 6 years ago
Amber Brown b37c472419
Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) 6 years ago
Richard van der Hoff 01e93f48ed Kill off MatrixCodeMessageException 6 years ago
Amber Brown a97c845271
Move v1-only APIs into their own module & isolate deprecated ones (#3460) 6 years ago
Krombel 78a9ddcf9a rerun isort with latest version 6 years ago
Krombel 4a27000548 check isort by travis 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Amber Brown 6350bf925e
Attempt to be more performant on PyPy (#3462) 7 years ago
Amber Brown 77ac14b960
Pass around the reactor explicitly (#3385) 7 years ago
Michael Telatynski 330432031b
redact_uri in two missed log paths 7 years ago
Michael Telatynski e6cbf47773
factor out uri redaction into a method on http 7 years ago
Michael Telatynski 09503126df
Strip `access_token` from outgoing requests using existing regex 7 years ago
Amber Brown 53cc2cde1f cleanup 7 years ago
Amber Brown df9f72d9e5 replacing portions 7 years ago
Adrian Tschira 4f2f5171b7 replace stringIO imports 7 years ago
Richard van der Hoff 9d2c1b8429 Backport deferred.addTimeout 7 years ago
Richard van der Hoff 1ea904b9f0 Use deferred.addTimeout instead of time_bound_deferred 7 years ago
Richard van der Hoff 02ba118f81 Increase http conn pool size 7 years ago
Richard van der Hoff 2c8526cac7 Use a connection pool for the SimpleHttpClient 7 years ago
Richard van der Hoff 173567a7f2 Docstring for post_urlencoded_get_json 7 years ago
Richard van der Hoff 0d8e3ad48b Fix logcontext leaks in httpclient 7 years ago
Richard van der Hoff 12ef02dc3d SimpleHTTPClient: add support for headers 7 years ago
Kegan Dougal d0debb2116 Remember how twisted works 8 years ago
Kegan Dougal c2ddd773bc Include the clock 8 years ago
Kegan Dougal 7dd3bf5e24 Rewrite SimpleHttpClient.request to include timeouts 8 years ago
David Baker 482a2ad122 No need for the exception variable 8 years ago
David Baker c0380402bc List caught expection types 8 years ago
David Baker 5fd12dce01 Remove debugging 8 years ago
David Baker c366276056 Fix get_json 8 years ago
David Baker 1a9255c12e Use CodeMessageException subclass instead 8 years ago
David Baker a46982cee9 Need the HTTP status code 8 years ago
David Baker 70caf49914 Do the same for get_json 8 years ago
David Baker a1595cec78 Don't error for 3xx responses 8 years ago
David Baker a90a0f5c8a Propagate errors sensibly from proxied IS requests 8 years ago
Johannes Löthberg 0648e76979 Remove spurious newline 8 years ago
Johannes Löthberg d3bd94805f Fixup for #1689 and #1690 8 years ago
Glyph 6e18805ac2 IPv6 support for client.py 8 years ago
Richard van der Hoff 255c229f23 Work around TLS bug in twisted 9 years ago
Mark Haines eb79110beb Clean up the blacklist/whitelist handling. 9 years ago
Matthew Hodgson 792def4928 add a url_preview_ip_range_whitelist config param so we can whitelist the matrix.org IP space 9 years ago
Erik Johnston f505575f69 Make InsecureInterceptableContextFactory work with SpiderEndpoint 9 years ago
Matthew Hodgson 83b2f83da0 actually throw meaningful errors 9 years ago
Matthew Hodgson dafef5a688 Add url_preview_enabled config option to turn on/off preview_url endpoint. defaults to off. 9 years ago
Matthew Hodgson 8b98a7e8c3 pep8 9 years ago
Matthew Hodgson 7426c86eb8 add a persistent cache of URL lookups, and fix up the in-memory one to work 9 years ago