| Commit message (Expand) | Author | Age | Files | Lines |
* | Pull in netaddr type hints. (#15231) | Patrick Cloke | 2023-03-09 | 1 | -1/+1 |
* | Bump black from 22.12.0 to 23.1.0 (#15103) | dependabot[bot] | 2023-02-22 | 2 | -2/+1 |
* | Fix-up type hints in tests/server.py. (#15084) | Patrick Cloke | 2023-02-17 | 2 | -4/+6 |
* | Use mypy 1.0 (#15052) | David Robertson | 2023-02-16 | 2 | -26/+25 |
* | Properly typecheck types.http (#14988) | David Robertson | 2023-02-07 | 12 | -183/+285 |
* | Remove redundant types from comments. (#14412) | Patrick Cloke | 2022-11-16 | 1 | -3/+4 |
* | Making parse_server_name more consistent (#14007) | Abdullah Osama | 2022-10-11 | 1 | -0/+3 |
* | Indicate what endpoint came back with a JSON response we were unable to parse... | Eric Eastwood | 2022-10-07 | 1 | -1/+3 |
* | Cancel the processing of key query requests when they time out. (#13680) | reivilibre | 2022-09-07 | 1 | -1/+9 |
* | Generalise the `@cancellable` annotation so it can be used on functions other... | reivilibre | 2022-08-31 | 1 | -1/+1 |
* | Use literals in place of `HTTPStatus` constants in tests (#13463) | Dirk Klimpel | 2022-08-05 | 1 | -2/+1 |
* | Fix `destination_is` errors seen in sentry. (#13041) | David Robertson | 2022-06-14 | 1 | -0/+14 |
* | Clean up the test code for client disconnections (#12929) | Sean Quah | 2022-06-07 | 2 | -69/+73 |
* | Test cancellation at every `await` during request handling (#12674) | Sean Quah | 2022-06-07 | 1 | -2/+450 |
* | Allow bigger responses to `/federation/v1/state` (#12877) | Richard van der Hoff | 2022-05-25 | 1 | -3/+3 |
* | Add some type hints to tests files (#12833) | Dirk Klimpel | 2022-05-23 | 2 | -7/+9 |
* | Respect the `@cancellable` flag for `RestServlet`s and `BaseFederationServlet... | Sean Quah | 2022-05-11 | 1 | -1/+59 |
* | Add helper class for testing request cancellation (#12630) | Sean Quah | 2022-05-10 | 2 | -0/+113 |
* | Replace assertEquals and friends with non-deprecated versions. (#12092) | Patrick Cloke | 2022-02-28 | 1 | -12/+12 |
* | Remove support for the webclient listener. (#11895) | Patrick Cloke | 2022-02-03 | 1 | -108/+0 |
* | Add a regression test for using both webclient and client resources simultane... | Andrew Morgan | 2022-01-20 | 1 | -0/+108 |
* | Prevent the media store from writing outside of the configured directory | Sean Quah | 2021-11-19 | 1 | -0/+3 |
* | Use direct references for configuration variables (part 6). (#10916) | Patrick Cloke | 2021-09-29 | 1 | -1/+1 |
* | Add reactor to `SynapseRequest` and fix up types. (#10868) | Erik Johnston | 2021-09-24 | 1 | -2/+6 |
* | support federation queries through http connect proxy (#10475) | Dirk Klimpel | 2021-08-11 | 2 | -109/+372 |
* | allow specifying https:// proxy (#10411) | Dirk Klimpel | 2021-07-27 | 1 | -58/+340 |
* | Allow providing credentials to `http_proxy` (#10360) | Dirk Klimpel | 2021-07-15 | 1 | -13/+52 |
* | [pyupgrade] `tests/` (#10347) | Jonathan de Jong | 2021-07-13 | 2 | -6/+4 |
* | Improved validation for received requests (#9817) | Richard van der Hoff | 2021-04-23 | 1 | -0/+83 |
* | Limit the size of HTTP responses read over federation. (#9833) | Richard van der Hoff | 2021-04-23 | 1 | -0/+59 |
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 10 | -10/+0 |
* | Use mock from the stdlib. (#9772) | Patrick Cloke | 2021-04-09 | 6 | -9/+6 |
* | Bugbear: Add Mutable Parameter fixes (#9682) | Jonathan de Jong | 2021-04-08 | 1 | -4/+11 |
* | Allow providing credentials to HTTPS_PROXY (#9657) | Andrew Morgan | 2021-03-22 | 1 | -0/+40 |
* | Add tests for blacklisting reactor/agent. (#9563) | Patrick Cloke | 2021-03-11 | 1 | -2/+124 |
* | (Hopefully) stop leaking file descriptors in media repo. (#9497) | Patrick Cloke | 2021-03-01 | 1 | -36/+55 |
* | Add support for no_proxy and case insensitive env variables (#9372) | Tim Leung | 2021-02-26 | 1 | -44/+73 |
* | Reduce the memory usage of previewing media files. (#9421) | Patrick Cloke | 2021-02-18 | 1 | -4/+5 |
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -4/+2 |
* | Support icons for Identity Providers (#9154) | Richard van der Hoff | 2021-01-20 | 1 | -1/+1 |
* | Avoid raising the body exceeded error multiple times. (#9108) | Patrick Cloke | 2021-01-15 | 2 | -2/+103 |
* | Merge branch 'master' into develop | Erik Johnston | 2021-01-13 | 1 | -0/+130 |
|\ |
|
| * | Don't apply the IP range blacklist to proxy connections (#9084) | Marcus | 2021-01-12 | 1 | -0/+130 |
* | | Handle bad JSON data being returned from the federation API. (#9070) | Patrick Cloke | 2021-01-12 | 1 | -1/+1 |
|/ |
|
* | Add a maximum size for well-known lookups. (#8950) | Patrick Cloke | 2020-12-16 | 1 | -0/+27 |
* | Remove spurious "SynapseRequest" result from `make_request" | Richard van der Hoff | 2020-12-15 | 1 | -2/+2 |
* | Replace `request.code` with `channel.code` | Richard van der Hoff | 2020-12-15 | 1 | -2/+2 |
* | Apply an IP range blacklist to push and key revocation requests. (#8821) | Patrick Cloke | 2020-12-02 | 1 | -0/+3 |
* | Remove redundant calls to `render()` | Richard van der Hoff | 2020-11-16 | 1 | -3/+1 |
* | use global make_request() directly where we have a custom Resource | Richard van der Hoff | 2020-11-15 | 1 | -6/+7 |
* | Fix handling of connection timeouts in outgoing http requests (#8400) | Richard van der Hoff | 2020-09-29 | 2 | -6/+188 |
* | Merge tag 'v1.20.0rc3' into develop | Patrick Cloke | 2020-09-11 | 2 | -0/+128 |
|\ |
|
| * | Fix the exception that is raised when invalid JSON is encountered. (#8291) | Patrick Cloke | 2020-09-10 | 2 | -0/+128 |
* | | Use TLSv1.2 for fake servers in tests (#8208) | Dan Callaghan | 2020-09-10 | 1 | -1/+1 |
|/ |
|
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 2 | -2/+2 |
* | Convert the well known resolver to async (#8214) | Patrick Cloke | 2020-09-01 | 1 | -6/+18 |
* | Reduce run-times of tests by advancing the reactor less (#7757) | Andrew Morgan | 2020-08-27 | 1 | -1/+1 |
* | Convert federation client to async/await. (#7975) | Patrick Cloke | 2020-07-30 | 1 | -14/+36 |
* | Convert the federation agent and related code to async/await. (#7874) | Patrick Cloke | 2020-07-23 | 2 | -37/+40 |
* | Merge different Resource implementation classes (#7732) | Erik Johnston | 2020-07-03 | 1 | -0/+62 |
* | Include a user agent in federation requests. (#7677) | Patrick Cloke | 2020-06-16 | 1 | -0/+10 |
* | Clean up some LoggingContext stuff (#7120) | Richard van der Hoff | 2020-03-24 | 3 | -9/+9 |
* | Share SSL contexts for non-federation requests (#7094) | Richard van der Hoff | 2020-03-17 | 1 | -3/+3 |
* | Support for routing outbound HTTP requests via a proxy (#6239) | Richard van der Hoff | 2019-11-01 | 3 | -3/+359 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/reliable_l... | Erik Johnston | 2019-08-22 | 1 | -35/+48 |
|\ |
|
| * | Change jitter to be a factor rather than absolute value | Erik Johnston | 2019-08-20 | 1 | -2/+2 |
| * | Retry well known on fail. | Erik Johnston | 2019-08-15 | 1 | -33/+46 |
* | | Remove test debugs | Erik Johnston | 2019-08-20 | 1 | -1/+0 |
* | | Refactor MatrixFederationAgent to retry SRV. | Erik Johnston | 2019-08-15 | 2 | -5/+66 |
|/ |
|
* | Retry well-known lookup before expiry. | Erik Johnston | 2019-08-13 | 1 | -0/+69 |
* | Move well known lookup into a separate clas | Erik Johnston | 2019-08-07 | 1 | -20/+19 |
* | Add a lower bound for TTL on well known results. | Erik Johnston | 2019-08-06 | 1 | -2/+2 |
* | Share SSL options for well-known requests | Erik Johnston | 2019-07-31 | 1 | -6/+6 |
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 3 | -4/+4 |
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 3 | -3/+3 |
* | Pass config_dir_path and data_dir_path into Config.read_config. (#5522) | Richard van der Hoff | 2019-06-24 | 1 | -1/+1 |
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 4 | -125/+124 |
* | fix ci on py2, again | Richard van der Hoff | 2019-06-10 | 1 | -1/+1 |
* | fix CI on python 2.7 | Richard van der Hoff | 2019-06-10 | 1 | -6/+4 |
* | Tests for SSL certs for federation connections | Richard van der Hoff | 2019-06-10 | 6 | -106/+343 |
* | Stop hardcoding trust of old matrix.org key (#5374) | Richard van der Hoff | 2019-06-06 | 1 | -0/+1 |
* | Validate federation server TLS certificates by default. | Richard van der Hoff | 2019-06-05 | 1 | -3/+9 |
* | Migrate all tests to use the dict-based config format instead of hanging item... | Amber Brown | 2019-05-13 | 1 | -1/+3 |
* | Add ability to blacklist ip ranges for federation traffic (#5043) | Andrew Morgan | 2019-05-13 | 1 | -0/+71 |
* | Run Black on the tests again (#5170) | Amber Brown | 2019-05-10 | 4 | -172/+113 |
* | Config option for verifying federation certificates (MSC 1711) (#4967) | Andrew Morgan | 2019-04-25 | 1 | -1/+2 |
* | lint | Andrew Morgan | 2019-03-20 | 1 | -1/+1 |
* | New test, fix issues | Andrew Morgan | 2019-03-20 | 1 | -0/+45 |
* | Fix comments. v0.99.2 -> v0.99.3 | Andrew Morgan | 2019-03-20 | 1 | -1/+1 |
* | Federation test fixed! | Andrew Morgan | 2019-03-20 | 1 | -2/+5 |
* | Better exception handling | Andrew Morgan | 2019-03-18 | 1 | -4/+1 |
* | Correct var name | Andrew Morgan | 2019-03-13 | 1 | -0/+54 |
* | i should have given up x3 | Andrew Morgan | 2019-03-13 | 1 | -39/+0 |
* | i should have given up x2 | Andrew Morgan | 2019-03-13 | 1 | -0/+39 |
* | Move ClientTLSOptionsFactory init out of refresh_certificates (#4611) | Richard van der Hoff | 2019-02-11 | 1 | -3/+1 |
* | Treat an invalid .well-known the same as an absent one | Richard van der Hoff | 2019-02-01 | 1 | -11/+70 |
* | Update federation routing logic to check .well-known before SRV | Richard van der Hoff | 2019-01-31 | 1 | -30/+21 |
* | Follow redirects on .well-known (#4520) | Richard van der Hoff | 2019-01-30 | 1 | -0/+97 |
* | Add a caching layer to .well-known responses (#4516) | Richard van der Hoff | 2019-01-30 | 1 | -4/+146 |
* | Relax requirement for a content-type on .well-known (#4511) | Richard van der Hoff | 2019-01-29 | 1 | -1/+0 |
* | Implement MSC1708 (.well-known lookups for server routing) (#4489) | Richard van der Hoff | 2019-01-29 | 3 | -7/+339 |
* | Use SimpleResolverComplexifier in tests (#4497) | Richard van der Hoff | 2019-01-29 | 1 | -4/+3 |
* | Handle IP literals explicitly | Richard van der Hoff | 2019-01-28 | 1 | -17/+2 |
* | Fix idna and ipv6 literal handling in MatrixFederationAgent (#4487) | Richard van der Hoff | 2019-01-28 | 1 | -1/+180 |
* | Fix Host header sent by MatrixFederationAgent (#4468) | Richard van der Hoff | 2019-01-25 | 2 | -1/+17 |
* | Look up the right SRV record | Richard van der Hoff | 2019-01-24 | 1 | -3/+9 |
* | lots more tests for MatrixFederationAgent | Richard van der Hoff | 2019-01-24 | 1 | -10/+79 |
* | Don't send IP addresses as SNI (#4452) | Richard van der Hoff | 2019-01-24 | 1 | -3/+60 |
* | Add a test for MatrixFederationAgent | Richard van der Hoff | 2019-01-22 | 1 | -0/+183 |
* | put resolve_service in an object | Richard van der Hoff | 2019-01-22 | 1 | -20/+18 |
* | Require that service_name be a byte string | Richard van der Hoff | 2019-01-22 | 1 | -4/+4 |
* | Make MatrixFederationClient use MatrixFederationAgent | Richard van der Hoff | 2019-01-22 | 1 | -0/+96 |
* | Refactor and bugfix for resove_service (#4427) | Richard van der Hoff | 2019-01-22 | 2 | -0/+223 |
* | Remove redundant WrappedConnection (#4409) | Richard van der Hoff | 2019-01-18 | 1 | -7/+47 |
* | Refactor request sending to have better excpetions (#4358) | Erik Johnston | 2019-01-08 | 1 | -3/+10 |
* | Merge branch 'master' into develop | Amber Brown | 2018-09-25 | 1 | -2/+2 |
|\ |
|
| * | Fix compatibility issue with older Twisted in tests. | Oleg Girko | 2018-09-25 | 1 | -2/+2 |
* | | Refactor matrixfederationclient to fix logging (#3906) | Richard van der Hoff | 2018-09-18 | 1 | -5/+38 |
|/ |
|
* | Attempt to figure out what's going on with timeouts (#3857) | Amber Brown | 2018-09-14 | 1 | -0/+157 |
* | Run black. | black | 2018-08-10 | 1 | -4/+2 |
* | run isort | Amber Brown | 2018-07-09 | 1 | -4/+2 |
* | More server_name validation | Richard van der Hoff | 2018-07-04 | 1 | -4/+13 |
* | Reject invalid server names (#3480) | Richard van der Hoff | 2018-07-03 | 2 | -0/+46 |