| Commit message (Expand) | Author | Age | Files | Lines |
* | Add tests for blacklisting reactor/agent. (#9563) | Patrick Cloke | 2021-03-11 | 1 | -12/+14 |
* | Create a SynapseReactor type which incorporates the necessary reactor interfa... | Patrick Cloke | 2021-03-08 | 1 | -2/+3 |
* | (Hopefully) stop leaking file descriptors in media repo. (#9497) | Patrick Cloke | 2021-03-01 | 1 | -2/+29 |
* | Add support for no_proxy and case insensitive env variables (#9372) | Tim Leung | 2021-02-26 | 1 | -6/+4 |
* | Reduce the memory usage of previewing media files. (#9421) | Patrick Cloke | 2021-02-18 | 1 | -14/+12 |
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -2/+5 |
* | Properly raise an exception when the body exceeds the max size. (#9145) | Patrick Cloke | 2021-01-18 | 1 | -1/+1 |
* | Avoid raising the body exceeded error multiple times. (#9108) | Patrick Cloke | 2021-01-15 | 1 | -1/+11 |
* | Reduce scope of exception handler. (#9106) | Patrick Cloke | 2021-01-13 | 1 | -5/+5 |
* | Don't apply the IP range blacklist to proxy connections (#9084) | Marcus | 2021-01-12 | 1 | -0/+1 |
* | Add a maximum size for well-known lookups. (#8950) | Patrick Cloke | 2020-12-16 | 1 | -14/+18 |
* | Apply an IP range blacklist to push and key revocation requests. (#8821) | Patrick Cloke | 2020-12-02 | 1 | -14/+32 |
* | Add additional type hints to HTTP client. (#8812) | Patrick Cloke | 2020-11-25 | 1 | -83/+128 |
* | Tell Black to format code for Python 3.5 (#8664) | Dan Callahan | 2020-10-27 | 1 | -1/+1 |
* | Fix handling of connection timeouts in outgoing http requests (#8400) | Richard van der Hoff | 2020-09-29 | 1 | -21/+33 |
* | Add type annotations to SimpleHttpClient (#8372) | Richard van der Hoff | 2020-09-24 | 1 | -56/+131 |
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -4/+4 |
* | Be stricter about JSON that is accepted by Synapse (#8106) | Patrick Cloke | 2020-08-19 | 1 | -5/+6 |
* | Reduce INFO logging (#8050) | Erik Johnston | 2020-08-11 | 1 | -1/+1 |
* | Convert the SimpleHttpClient to async. (#8016) | Patrick Cloke | 2020-08-04 | 1 | -31/+24 |
* | Ensure the msg property of HttpResponseException is a string. (#7979) | Patrick Cloke | 2020-07-29 | 1 | -4/+12 |
* | Ensure that calls to `json.dumps` are compatible with the standard library js... | Patrick Cloke | 2020-07-15 | 1 | -2/+2 |
* | Fix client reader sharding tests (#7853) | Erik Johnston | 2020-07-15 | 1 | -1/+23 |
* | Do not use canonicaljson to magically handle decoding bytes from JSON. (#7802) | Patrick Cloke | 2020-07-10 | 1 | -7/+7 |
* | Replace all remaining six usage with native Python 3 equivalents (#7704) | Dagfinn Ilmari Mannsåker | 2020-06-16 | 1 | -5/+3 |
* | Allow configuration of Synapse's cache without using synctl or environment va... | Amber Brown | 2020-05-11 | 1 | -2/+4 |
* | Implement OpenID Connect-based login (#7256) | Quentin Gliech | 2020-05-08 | 1 | -0/+7 |
* | Share SSL contexts for non-federation requests (#7094) | Richard van der Hoff | 2020-03-17 | 1 | -3/+0 |
* | Support for routing outbound HTTP requests via a proxy (#6239) | Richard van der Hoff | 2019-11-01 | 1 | -2/+15 |
* | Remove usage of deprecated logger.warn method from codebase (#6271) | Andrew Morgan | 2019-10-31 | 1 | -2/+2 |
* | Edit SimpleHttpClient to reference that header keys can be passed as str or b... | Andrew Morgan | 2019-09-27 | 1 | -6/+6 |
* | Trace how long it takes for the send trasaction to complete, including retrys... | Jorik Schellekens | 2019-09-05 | 1 | -36/+51 |
* | Remove unused methods from c/s api v1 in register.py (#5963) | Andrew Morgan | 2019-09-02 | 1 | -33/+1 |
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -15/+13 |
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -1/+1 |
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -18/+10 |
* | Don't log exception when failing to fetch remote content. | Erik Johnston | 2019-06-07 | 1 | -4/+9 |
* | Add ability to blacklist ip ranges for federation traffic (#5043) | Andrew Morgan | 2019-05-13 | 1 | -4/+2 |
* | URL preview blacklisting fixes (#5155) | Andrew Morgan | 2019-05-10 | 1 | -20/+25 |
* | Fix TaskStopped exceptions when outbound requests time out (#4690) | Richard van der Hoff | 2019-02-20 | 1 | -3/+12 |
* | Fix UnboundLocalError in post_urlencoded_get_json (#4460) | Richard van der Hoff | 2019-01-24 | 1 | -2/+3 |
* | Fix IP URL previews on Python 3 (#4215) | Amber Brown | 2018-12-22 | 1 | -134/+243 |
* | Update to use new timeout function everywhere. | Erik Johnston | 2018-09-19 | 1 | -2/+2 |
* | fix | Amber Brown | 2018-09-15 | 1 | -3/+3 |
* | merge (#3576) | Amber Brown | 2018-09-14 | 1 | -4/+10 |
* | Port http/ to Python 3 (#3771) | Amber Brown | 2018-09-06 | 1 | -51/+31 |
* | Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678) | Amber Brown | 2018-08-10 | 1 | -1/+1 |
* | Kill off MatrixCodeMessageException | Richard van der Hoff | 2018-08-01 | 1 | -34/+27 |
* | Move v1-only APIs into their own module & isolate deprecated ones (#3460) | Amber Brown | 2018-07-19 | 1 | -2/+4 |
* | run isort | Amber Brown | 2018-07-09 | 1 | -23/+25 |
* | Attempt to be more performant on PyPy (#3462) | Amber Brown | 2018-06-28 | 1 | -1/+1 |
* | Pass around the reactor explicitly (#3385) | Amber Brown | 2018-06-22 | 1 | -3/+3 |
* | redact_uri in two missed log paths | Michael Telatynski | 2018-06-06 | 1 | -2/+2 |
* | factor out uri redaction into a method on http | Michael Telatynski | 2018-06-05 | 1 | -6/+2 |
* | Strip `access_token` from outgoing requests using existing regex | Michael Telatynski | 2018-06-02 | 1 | -1/+6 |
* | cleanup | Amber Brown | 2018-05-22 | 1 | -1/+2 |
* | replacing portions | Amber Brown | 2018-05-21 | 1 | -14/+6 |
* | replace stringIO imports | Adrian Tschira | 2018-04-28 | 1 | -2/+2 |
* | Backport deferred.addTimeout | Richard van der Hoff | 2018-04-27 | 1 | -2/+4 |
* | Use deferred.addTimeout instead of time_bound_deferred | Richard van der Hoff | 2018-04-23 | 1 | -12/+8 |
* | Increase http conn pool size | Richard van der Hoff | 2018-01-29 | 1 | -1/+6 |
* | Use a connection pool for the SimpleHttpClient | Richard van der Hoff | 2018-01-20 | 1 | -1/+8 |
* | Merge pull request #2586 from matrix-org/rav/frontend_proxy_auth_header | Richard van der Hoff | 2017-10-27 | 1 | -28/+80 |
|\ |
|
| * | Docstring for post_urlencoded_get_json | Richard van der Hoff | 2017-10-27 | 1 | -0/+11 |
| * | SimpleHTTPClient: add support for headers | Richard van der Hoff | 2017-10-26 | 1 | -28/+69 |
* | | Fix logcontext leaks in httpclient | Richard van der Hoff | 2017-10-26 | 1 | -10/+9 |
|/ |
|
* | Remember how twisted works | Kegan Dougal | 2017-05-05 | 1 | -2/+2 |
* | Include the clock | Kegan Dougal | 2017-05-05 | 1 | -0/+1 |
* | Rewrite SimpleHttpClient.request to include timeouts | Kegan Dougal | 2017-05-05 | 1 | -13/+19 |
* | No need for the exception variable | David Baker | 2017-05-03 | 1 | -1/+1 |
* | List caught expection types | David Baker | 2017-05-03 | 1 | -1/+1 |
* | Remove debugging | David Baker | 2017-04-26 | 1 | -2/+1 |
* | Fix get_json | David Baker | 2017-04-26 | 1 | -5/+4 |
* | Use CodeMessageException subclass instead | David Baker | 2017-04-25 | 1 | -44/+20 |
* | Need the HTTP status code | David Baker | 2017-04-21 | 1 | -5/+5 |
* | Do the same for get_json | David Baker | 2017-04-21 | 1 | -8/+21 |
* | Don't error for 3xx responses | David Baker | 2017-04-21 | 1 | -1/+1 |
* | Propagate errors sensibly from proxied IS requests | David Baker | 2017-04-21 | 1 | -0/+30 |
* | Remove spurious newline | Johannes Löthberg | 2016-12-12 | 1 | -1/+0 |
* | Fixup for #1689 and #1690 | Johannes Löthberg | 2016-12-12 | 1 | -4/+7 |
* | IPv6 support for client.py | Glyph | 2016-12-11 | 1 | -16/+11 |
* | Work around TLS bug in twisted | Richard van der Hoff | 2016-06-15 | 1 | -2/+26 |
* | Clean up the blacklist/whitelist handling. | Mark Haines | 2016-05-16 | 1 | -2/+1 |
* | add a url_preview_ip_range_whitelist config param so we can whitelist the mat... | Matthew Hodgson | 2016-05-01 | 1 | -2/+4 |
* | Make InsecureInterceptableContextFactory work with SpiderEndpoint | Erik Johnston | 2016-04-19 | 1 | -1/+4 |
* | actually throw meaningful errors | Matthew Hodgson | 2016-04-08 | 1 | -5/+16 |
* | Add url_preview_enabled config option to turn on/off preview_url endpoint. de... | Matthew Hodgson | 2016-04-08 | 1 | -5/+39 |
* | pep8 | Matthew Hodgson | 2016-04-03 | 1 | -4/+10 |
* | add a persistent cache of URL lookups, and fix up the in-memory one to work | Matthew Hodgson | 2016-04-03 | 1 | -3/+3 |
* | support gzip compression, and don't pass through error msgs | Matthew Hodgson | 2016-04-02 | 1 | -3/+8 |
* | handle spidered relative images correctly | Matthew Hodgson | 2016-03-31 | 1 | -1/+1 |
* | sync in changes from matrixfederationclient | Matthew Hodgson | 2016-03-31 | 1 | -2/+6 |
* | handle requests with missing content-length headers (e.g. YouTube) | Matthew Hodgson | 2016-03-31 | 1 | -7/+26 |
* | implement redirects | Matthew Hodgson | 2016-03-29 | 1 | -3/+3 |
* | make it work | Matthew Hodgson | 2016-03-29 | 1 | -1/+2 |
* | make it build | Matthew Hodgson | 2016-03-29 | 1 | -1/+1 |
* | Merge branch 'develop' into matthew/preview_urls | Matthew Hodgson | 2016-03-27 | 1 | -2/+15 |
|\ |
|
| * | pep8 | David Baker | 2016-03-08 | 1 | -2/+5 |
| * | Encode unicode objects given to post_urlencode* otherwise urllib.urlencode ch... | David Baker | 2016-03-08 | 1 | -2/+12 |
* | | initial WIP of a tentative preview_url endpoint - incomplete, untested, exper... | Matthew Hodgson | 2016-01-24 | 1 | -0/+81 |
|/ |
|
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
* | Verify third party ID server certificates | Daniel Wagner-Hall | 2015-10-16 | 1 | -4/+0 |
* | Fix previous merge to s/version_string/user_agent/ | Erik Johnston | 2015-10-10 | 1 | -2/+2 |
* | Add get_raw method to SimpleHttpClient, use this in CAS auth rather than requ... | Steven Hammerton | 2015-10-10 | 1 | -19/+36 |
* | Use space not dash as delimiter | Daniel Wagner-Hall | 2015-10-06 | 1 | -1/+1 |
* | Use space not dash as delimiter | Daniel Wagner-Hall | 2015-10-06 | 1 | -1/+1 |
* | Preserve version string in user agent | Daniel Wagner-Hall | 2015-10-05 | 1 | -3/+3 |
* | Allow synapse's useragent to be customized | Daniel Wagner-Hall | 2015-10-02 | 1 | -6/+9 |
* | Rename context factory | Daniel Wagner-Hall | 2015-09-15 | 1 | -3/+3 |
* | Fix random formatting | Daniel Wagner-Hall | 2015-09-09 | 1 | -1/+2 |
* | Allow configuration to ignore invalid SSL certs | Daniel Wagner-Hall | 2015-09-09 | 1 | -2/+23 |
* | Remove syutil dependency in favour of smaller single-purpose libraries | Mark Haines | 2015-08-24 | 1 | -1/+2 |
* | Fix log context when sending requests | Erik Johnston | 2015-06-19 | 1 | -5/+5 |
* | Log requests and responses sent via http.client | Erik Johnston | 2015-06-15 | 1 | -3/+15 |
* | Correctly pass connection pool parameter | Erik Johnston | 2015-05-28 | 1 | -1/+1 |
* | Up maxPersistentPerHost count | Erik Johnston | 2015-05-28 | 1 | -0/+1 |
* | Add connection pooling to SimpleHttpClient | Erik Johnston | 2015-05-28 | 1 | -2/+4 |
* | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 1 | -1/+5 |
* | New registration for C/S API v2. Only ReCAPTCHA working currently. | David Baker | 2015-03-30 | 1 | -0/+2 |
* | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+7 |
* | Use _ instead of . as a metric namespacing separator, for Prometheus | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -2/+2 |
* | Rename Metrics' "keys" to "labels" | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -2/+2 |
* | Add vector counters to HTTP clients and servers; count the requests by method... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -1/+22 |
* | Pull out all uses of the underlying HTTP user agent .request() method into a ... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -5/+10 |
* | Fix bug which prevented the HS pushing events to the AS due to FrozenEvents | Kegan Dougal | 2015-03-02 | 1 | -1/+1 |
* | Use git aware version string in User-Agent and Server headers | Erik Johnston | 2015-02-18 | 1 | -5/+5 |
* | Merge pull request #50 from matrix-org/application-services | Mark Haines | 2015-02-13 | 1 | -10/+57 |
|\ |
|
| * | Minor tweaks based on PR feedback. | Kegan Dougal | 2015-02-11 | 1 | -1/+2 |
| * | Add SimpleHttpClient.put_json with the same semantics as get_json. | Kegan Dougal | 2015-02-04 | 1 | -2/+46 |
| * | Update user/alias query APIs to use new format of SimpleHttpClient.get_json | Kegan Dougal | 2015-02-04 | 1 | -0/+3 |
| * | Modify API for SimpleHttpClient.get_json and update usages. | Kegan Dougal | 2015-02-04 | 1 | -10/+9 |
* | | Use encode_canonical_json for http client | Erik Johnston | 2015-02-11 | 1 | -1/+3 |
* | | Blunty replace json with simplejson | Erik Johnston | 2015-02-11 | 1 | -1/+1 |
|/ |
|
* | Merge branch 'develop' into pushers | David Baker | 2015-01-13 | 1 | -3/+9 |
|\ |
|
| * | SYN-231: User agent header broken | Mark Haines | 2015-01-08 | 1 | -3/+3 |
| * | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| * | Include version in User-Agent and Server headers | Mark Haines | 2014-12-22 | 1 | -2/+8 |
* | | More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP p... | David Baker | 2014-11-21 | 1 | -0/+19 |
|/ |
|
* | Fix pep8 and pyflakes warnings | Mark Haines | 2014-11-20 | 1 | -3/+4 |
* | Separate out the matrix http client completely because just about all of its ... | David Baker | 2014-11-20 | 1 | -322/+29 |
* | Refactor the HTTP clients a little. | David Baker | 2014-11-20 | 1 | -79/+75 |
* | CaptchaServerHttpClient should extend the base, not matrix http client. | David Baker | 2014-11-20 | 1 | -1/+1 |
* | SYN-141: Encode query params as UTF-8. | Mark Haines | 2014-11-18 | 1 | -1/+7 |
* | Merge branch 'develop' into request_logging | Mark Haines | 2014-10-30 | 1 | -3/+4 |
|\ |
|
| * | Fix pep8 warnings | Mark Haines | 2014-10-30 | 1 | -4/+7 |
* | | Add a request-id to each log line | Mark Haines | 2014-10-30 | 1 | -11/+15 |
|/ |
|
* | Add get_json method to 3pid http client. Better logging for errors in 3pid re... | Mark Haines | 2014-10-20 | 1 | -1/+39 |
* | remove debugging logging for signing requests | Mark Haines | 2014-10-14 | 1 | -4/+0 |
* | Verify signatures for server2server requests | Mark Haines | 2014-10-13 | 1 | -3/+7 |
* | SYN-75 sign at the request level rather than the transaction level | Mark Haines | 2014-10-13 | 1 | -7/+45 |
* | Replace on_send_callback with something a bit clearer so that we can sign mes... | Mark Haines | 2014-10-13 | 1 | -11/+35 |
* | Fix pyflakes errors | Mark Haines | 2014-10-02 | 1 | -8/+2 |
* | Add a keyword argument to get_json to avoid retrying on DNS failures. Rather ... | Mark Haines | 2014-10-02 | 1 | -8/+1 |
* | Split PlainHttpClient into separate clients for talking to Identity servers a... | Mark Haines | 2014-10-02 | 1 | -144/+146 |
* | remove "red", "blue" and "green" server_name mappings | Mark Haines | 2014-10-01 | 1 | -7/+0 |
* | Fix 'age' key to update on retries | Erik Johnston | 2014-09-15 | 1 | -3/+10 |
* | Captchas now work on registration. Missing x-forwarded-for config arg support... | Kegan Dougal | 2014-09-05 | 1 | -1/+27 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into develop | David Baker | 2014-09-03 | 1 | -4/+22 |
|\ |
|
| * | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has... | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| * | Make retrying requests on DNS failures configurable, and turn off retrying on... | Kegan Dougal | 2014-09-03 | 1 | -6/+19 |
| * | hs: Updated synapse.http.client to handle DNSLookupErrors and bail immediately. | Kegan Dougal | 2014-09-03 | 1 | -1/+6 |
* | | Add support for registering with a threepid to the HS (get credentials from t... | David Baker | 2014-09-03 | 1 | -5/+35 |
|/ |
|
* | Fix SSL for federation http client | Mark Haines | 2014-09-01 | 1 | -1/+1 |
* | Enable SSL for s2s http client | Mark Haines | 2014-09-01 | 1 | -2/+6 |
* | fix http client GET parameters; somehow missing named param. how could this h... | Matthew Hodgson | 2014-08-14 | 1 | -2/+2 |
* | Update get_json()'s documentation to match the actual observed behaviour | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -4/+3 |
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+246 |