Commit Graph

135 Commits (5625abe503569f3ffddcc4a2c0d6aa5aad3f188d)

Author SHA1 Message Date
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Erik Johnston 95d38afe96 Don't log exception when failing to fetch remote content. 6 years ago
Andrew Morgan 5a4b328f52 Add ability to blacklist ip ranges for federation traffic (#5043) 6 years ago
Andrew Morgan 2f48c4e1ae
URL preview blacklisting fixes (#5155) 6 years ago
Richard van der Hoff c88bc53903
Fix TaskStopped exceptions when outbound requests time out (#4690) 6 years ago
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