Commit Graph

95 Commits (9752849e2b41968613ca244e86311d805bdd27df)

Author SHA1 Message Date
Richard van der Hoff 3ff2251754
Improved validation for received requests (#9817) 4 years ago
Richard van der Hoff 51a20914a8
Limit the size of HTTP responses read over federation. (#9833) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 0b3112123d
Use mock from the stdlib. (#9772) 4 years ago
Jonathan de Jong 2ca4e349e9
Bugbear: Add Mutable Parameter fixes (#9682) 4 years ago
Andrew Morgan 5b268997bd
Allow providing credentials to HTTPS_PROXY (#9657) 4 years ago
Patrick Cloke e55bd0e110
Add tests for blacklisting reactor/agent. (#9563) 4 years ago
Patrick Cloke 16ec8c3272
(Hopefully) stop leaking file descriptors in media repo. (#9497) 4 years ago
Tim Leung ddb240293a
Add support for no_proxy and case insensitive env variables (#9372) 4 years ago
Patrick Cloke 8ec2217103
Reduce the memory usage of previewing media files. (#9421) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Richard van der Hoff 0cd2938bc8
Support icons for Identity Providers (#9154) 4 years ago
Patrick Cloke 74dd906041
Avoid raising the body exceeded error multiple times. (#9108) 4 years ago
Marcus e385c8b473
Don't apply the IP range blacklist to proxy connections (#9084) 4 years ago
Patrick Cloke 723b19748a
Handle bad JSON data being returned from the federation API. (#9070) 4 years ago
Patrick Cloke ff5c4da128
Add a maximum size for well-known lookups. (#8950) 4 years ago
Richard van der Hoff 394516ad1b Remove spurious "SynapseRequest" result from `make_request" 4 years ago
Richard van der Hoff 7eebe4b3fc Replace `request.code` with `channel.code` 4 years ago
Patrick Cloke 30fba62108
Apply an IP range blacklist to push and key revocation requests. (#8821) 4 years ago
Richard van der Hoff be8fa65d0b Remove redundant calls to `render()` 4 years ago
Richard van der Hoff cfd895a22e use global make_request() directly where we have a custom Resource 4 years ago
Richard van der Hoff 1c262431f9
Fix handling of connection timeouts in outgoing http requests (#8400) 4 years ago
Patrick Cloke b86764662b
Fix the exception that is raised when invalid JSON is encountered. (#8291) 4 years ago
Dan Callaghan c312ee3cde
Use TLSv1.2 for fake servers in tests (#8208) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Patrick Cloke 5bf8e5f55b
Convert the well known resolver to async (#8214) 4 years ago
Andrew Morgan a466b67972
Reduce run-times of tests by advancing the reactor less (#7757) 4 years ago
Patrick Cloke c978f6c451
Convert federation client to async/await. (#7975) 4 years ago
Patrick Cloke 68cd935826
Convert the federation agent and related code to async/await. (#7874) 4 years ago
Erik Johnston 5cdca53aa0
Merge different Resource implementation classes (#7732) 4 years ago
Patrick Cloke ac51bd581a
Include a user agent in federation requests. (#7677) 5 years ago
Richard van der Hoff 39230d2171
Clean up some LoggingContext stuff (#7120) 5 years ago
Richard van der Hoff c37db0211e
Share SSL contexts for non-federation requests (#7094) 5 years ago
Richard van der Hoff 1cb84c6486
Support for routing outbound HTTP requests via a proxy (#6239) 5 years ago
Erik Johnston 7777d353bf Remove test debugs 5 years ago
Erik Johnston 1dec31560e Change jitter to be a factor rather than absolute value 5 years ago
Erik Johnston f299c5414c Refactor MatrixFederationAgent to retry SRV. 5 years ago
Erik Johnston e6e136decc Retry well known on fail. 5 years ago
Erik Johnston 17e1e80726 Retry well-known lookup before expiry. 5 years ago
Erik Johnston 107ad133fc Move well known lookup into a separate clas 5 years ago
Erik Johnston af9f1c0764 Add a lower bound for TTL on well known results. 5 years ago
Erik Johnston a9bcae9f50 Share SSL options for well-known requests 5 years ago
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
Richard van der Hoff c3c6b00d95
Pass config_dir_path and data_dir_path into Config.read_config. (#5522) 6 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff db74c4fc6c fix ci on py2, again 6 years ago
Richard van der Hoff 19780a521e fix CI on python 2.7 6 years ago
Richard van der Hoff e016681221 Tests for SSL certs for federation connections 6 years ago
Richard van der Hoff 9fbb20a531
Stop hardcoding trust of old matrix.org key (#5374) 6 years ago