| Commit message (Expand) | Author | Age | Files | Lines |
* | Capture the `Deferred` for request cancellation in `_AsyncResource` (#12694) | Sean Quah | 2022-05-10 | 1 | -1/+3 |
* | Add `@cancellable` decorator, for use on request handlers (#12586) | Sean Quah | 2022-05-10 | 1 | -0/+61 |
* | Improve logging for cancelled requests (#12587) | Sean Quah | 2022-05-04 | 1 | -0/+30 |
* | Fix logging of incorrect status codes for disconnected requests (#12580) | Sean Quah | 2022-04-28 | 1 | -3/+9 |
* | Remove unused `# type: ignore`s (#12531) | David Robertson | 2022-04-27 | 1 | -2/+2 |
* | Remove unnecessary pass statements. (#12206) | Patrick Cloke | 2022-03-11 | 1 | -1/+0 |
* | Convert all namedtuples to attrs. (#11665) | Patrick Cloke | 2021-12-30 | 1 | -4/+6 |
* | Various opentracing enhancements (#11619) | Richard van der Hoff | 2021-12-21 | 1 | -2/+17 |
* | Return JSON errors for unknown resources under /matrix/client. (#11602) | Patrick Cloke | 2021-12-20 | 1 | -3/+3 |
* | Add missing type hints to synapse.http. (#11571) | Patrick Cloke | 2021-12-14 | 1 | -37/+53 |
* | Add more type hints to synapse.util. (#11321) | Patrick Cloke | 2021-11-12 | 1 | -3/+3 |
* | Add type hints for most `HomeServer` parameters (#11095) | Sean Quah | 2021-10-22 | 1 | -7/+12 |
* | Catch AttributeErrors when calling registerProducer (#10995) | Brendan Abolivier | 2021-10-07 | 1 | -1/+4 |
* | Fix exception responding to request that has been closed (#10932) | Erik Johnston | 2021-09-28 | 1 | -3/+11 |
* | Encode JSON responses on a thread in C, mk2 (#10905) | Erik Johnston | 2021-09-28 | 1 | -15/+57 |
* | Add reactor to `SynapseRequest` and fix up types. (#10868) | Erik Johnston | 2021-09-24 | 1 | -2/+2 |
* | Use inline type hints in various other places (in `synapse/`) (#10380) | Jonathan de Jong | 2021-07-15 | 1 | -4/+4 |
* | Drop Origin & Accept from Access-Control-Allow-Headers value (#10114) | Michael[tm] Smith | 2021-06-23 | 1 | -1/+1 |
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -1/+0 |
* | Fix additional type hints from Twisted upgrade. (#9518) | Patrick Cloke | 2021-03-03 | 1 | -11/+18 |
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -27/+45 |
* | Split out a separate endpoint to complete SSO registration (#9262) | Richard van der Hoff | 2021-02-01 | 1 | -0/+7 |
* | Implement MSC2858 support (#9183) | Richard van der Hoff | 2021-01-27 | 1 | -8/+36 |
* | Fix buglet in DirectRenderJsonResource (#8897) | Richard van der Hoff | 2020-12-10 | 1 | -3/+5 |
* | Allow Date header through CORS (#8804) | Nicolas Chamo | 2020-12-01 | 1 | -1/+1 |
* | Remove special case of pretty printing JSON responses for curl (#8833) | Tulir Asokan | 2020-11-27 | 1 | -24/+5 |
* | Merge pull request #8678 from matrix-org/rav/fix_frozen_events | Richard van der Hoff | 2020-10-28 | 1 | -3/+1 |
|\ |
|
| * | remove unused imports | Richard van der Hoff | 2020-10-28 | 1 | -2/+0 |
| * | Remove frozendict_json_encoder and support frozendicts everywhere | Richard van der Hoff | 2020-10-28 | 1 | -1/+1 |
* | | Fix typos and spelling errors. (#8639) | Patrick Cloke | 2020-10-23 | 1 | -3/+3 |
|/ |
|
* | Don't bother responding to client requests that have already disconnected (#8... | Andrew Morgan | 2020-10-06 | 1 | -0/+5 |
* | Enable mypy checking for unreachable code and fix instances. (#8432) | Patrick Cloke | 2020-10-01 | 1 | -2/+2 |
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
* | Switch the JSON byte producer from a pull to a push producer. (#8116) | Patrick Cloke | 2020-08-19 | 1 | -32/+43 |
* | Iteratively encode JSON responses to avoid blocking the reactor. (#8013) | Patrick Cloke | 2020-08-18 | 1 | -8/+89 |
* | Reduce unnecessary whitespace in JSON. (#7372) | David Vo | 2020-08-07 | 1 | -2/+3 |
* | Implement handling of HTTP HEAD requests. (#7999) | Patrick Cloke | 2020-08-03 | 1 | -5/+11 |
* | Return an empty body for OPTIONS requests. (#7886) | Patrick Cloke | 2020-07-24 | 1 | -19/+5 |
* | fix an incorrect comment | Richard van der Hoff | 2020-07-22 | 1 | -2/+2 |
* | Add types to the server code and remove unused parameter (#7813) | Patrick Cloke | 2020-07-10 | 1 | -30/+41 |
* | Merge different Resource implementation classes (#7732) | Erik Johnston | 2020-07-03 | 1 | -175/+190 |
* | Merge branch 'master' into develop | Patrick Cloke | 2020-07-02 | 1 | -8/+68 |
|\ |
|
| * | Ensure that HTML pages served from Synapse include headers to avoid embedding. | Patrick Cloke | 2020-07-02 | 1 | -8/+68 |
* | | Replace all remaining six usage with native Python 3 equivalents (#7704) | Dagfinn Ilmari Mannsåker | 2020-06-16 | 1 | -2/+2 |
|/ |
|
* | Clean up exception handling in SAML2ResponseResource (#7614) | Richard van der Hoff | 2020-06-03 | 1 | -12/+31 |
* | Fix missing CORS headers on OPTION responses (#7560) | Erik Johnston | 2020-05-22 | 1 | -1/+1 |
* | Return 200 OK for all OPTIONS requests (#7534) | Patrick Cloke | 2020-05-22 | 1 | -3/+20 |
* | Tiny optimisation for _get_handler_for_request (#6950) | Richard van der Hoff | 2020-02-19 | 1 | -1/+3 |
* | Implement RedirectException (#6687) | Richard van der Hoff | 2020-01-15 | 1 | -4/+9 |
* | Remove usage of deprecated logger.warn method from codebase (#6271) | Andrew Morgan | 2019-10-31 | 1 | -1/+1 |
* | Trace non-JSON APIs, /media, /key etc | Erik Johnston | 2019-10-11 | 1 | -1/+1 |
* | Add opentracing to all client servlets (#5983) | Jorik Schellekens | 2019-09-05 | 1 | -1/+12 |
* | Fix servlet metric names (#5734) | Jorik Schellekens | 2019-07-24 | 1 | -13/+28 |
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -1/+1 |
* | Fix media repo breaking (#5593) | Amber Brown | 2019-07-02 | 1 | -10/+16 |
* | Make the http server handle coroutine-making REST servlets (#5475) | Amber Brown | 2019-06-29 | 1 | -36/+41 |
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -36/+44 |
* | Log tracebacks correctly | Erik Johnston | 2019-02-25 | 1 | -4/+4 |
* | Cleanup top level request exception logging | Erik Johnston | 2019-02-18 | 1 | -3/+3 |
* | Fix URL preview bugs (type error when loading cache from db, content-type inc... | Amber Brown | 2018-11-08 | 1 | -4/+4 |
* | Fix spurious exceptions when client closes conncetion | Erik Johnston | 2018-09-20 | 1 | -14/+35 |
* | Merge pull request #3701 from matrix-org/rav/use_producer_for_responses | Richard van der Hoff | 2018-08-17 | 1 | -4/+13 |
|\ |
|
| * | Use a producer to stream back responses | Richard van der Hoff | 2018-08-15 | 1 | -4/+13 |
* | | Refactor request logging code | Richard van der Hoff | 2018-08-15 | 1 | -47/+23 |
|/ |
|
* | Be more careful which errors we send back over the C-S API | Richard van der Hoff | 2018-08-01 | 1 | -9/+5 |
* | Python 3: Convert some unicode/bytes uses (#3569) | Amber Brown | 2018-08-02 | 1 | -10/+25 |
* | run isort | Amber Brown | 2018-07-09 | 1 | -19/+19 |
* | Attempt to be more performant on PyPy (#3462) | Amber Brown | 2018-06-28 | 1 | -3/+2 |
* | Merge remote-tracking branch 'origin/develop' into 3218-official-prom | Amber Brown | 2018-05-22 | 1 | -2/+74 |
|\ |
|
| * | Merge pull request #3213 from matrix-org/rav/consent_handler | Richard van der Hoff | 2018-05-16 | 1 | -2/+74 |
| |\ |
|
| | * | ConsentResource to gather policy consent from users | Richard van der Hoff | 2018-05-15 | 1 | -2/+74 |
* | | | rest of the changes | Amber Brown | 2018-05-21 | 1 | -2/+2 |
|/ / |
|
* / | Set Server header in SynapseRequest | Richard van der Hoff | 2018-05-10 | 1 | -10/+4 |
|/ |
|
* | Remove redundant request_handler decorator | Richard van der Hoff | 2018-05-10 | 1 | -7/+2 |
* | Factor wrap_request_handler_with_logging out of wrap_request_handler | Richard van der Hoff | 2018-05-10 | 1 | -54/+66 |
* | Remove include_metrics param | Richard van der Hoff | 2018-05-10 | 1 | -17/+7 |
* | Move outgoing_responses_counter handling to RequestMetrics | Richard van der Hoff | 2018-05-10 | 1 | -4/+0 |
* | Bump requests_counter in wrapped_request_handler | Richard van der Hoff | 2018-05-10 | 1 | -4/+11 |
* | Move RequestMetrics handling into SynapseRequest.processing() | Richard van der Hoff | 2018-05-10 | 1 | -13/+6 |
* | Make RequestMetrics take a raw time rather than a clock | Richard van der Hoff | 2018-05-10 | 1 | -2/+2 |
* | Move request_id management into SynapseRequest | Richard van der Hoff | 2018-05-10 | 1 | -15/+16 |
* | Move RequestsMetrics to its own file | Richard van der Hoff | 2018-05-09 | 1 | -124/+4 |
* | more bytes strings | Adrian Tschira | 2018-04-29 | 1 | -1/+1 |
* | Merge pull request #3061 from NotAFile/add-some-byte-strings | Richard van der Hoff | 2018-04-09 | 1 | -2/+2 |
|\ |
|
| * | Add b prefixes to some strings that are bytes in py3 | Adrian Tschira | 2018-04-04 | 1 | -2/+2 |
* | | Revert "Merge pull request #3066 from matrix-org/rav/remove_redundant_metrics" | Richard van der Hoff | 2018-04-09 | 1 | -0/+26 |
* | | Add response size metrics | Erik Johnston | 2018-04-06 | 1 | -0/+7 |
* | | Remove redundant metrics which were deprecated in 0.27.0. | Richard van der Hoff | 2018-04-04 | 1 | -26/+0 |
|/ |
|
* | Add Cache-Control headers to all JSON APIs | Erik Johnston | 2018-03-21 | 1 | -0/+1 |
* | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2018-03-19 | 1 | -2/+0 |
|\ |
|
| * | Replace ujson with simplejson | Erik Johnston | 2018-03-15 | 1 | -3/+2 |
* | | Replace some ujson with simplejson to make it work | Erik Johnston | 2018-03-16 | 1 | -1/+2 |
* | | Add some docstrings to help figure this out | Richard van der Hoff | 2018-03-09 | 1 | -2/+26 |
* | | Add a metric which increments when a request is received | Richard van der Hoff | 2018-03-09 | 1 | -2/+10 |
* | | refactor JsonResource | Richard van der Hoff | 2018-03-09 | 1 | -32/+46 |
* | | Merge remote-tracking branch 'origin/develop' into rav/track_db_scheduling | Richard van der Hoff | 2018-01-17 | 1 | -9/+9 |
|\ \ |
|
| * \ | Merge pull request #2793 from matrix-org/rav/db_txn_time_in_millis | Richard van der Hoff | 2018-01-17 | 1 | -1/+3 |
| |\ \ |
|
| * | | | Fix 'NoneType' object has no attribute 'writeHeaders' | Richard van der Hoff | 2018-01-16 | 1 | -9/+9 |
* | | | | Track DB scheduling delay per-request | Richard van der Hoff | 2018-01-16 | 1 | -0/+7 |
| |/ /
|/| | |
|
* | | | Track db txn time in millisecs | Richard van der Hoff | 2018-01-16 | 1 | -1/+3 |
|/ / |
|
* | | Reorganise request and block metrics | Richard van der Hoff | 2018-01-15 | 1 | -14/+42 |
* | | Update http request metrics before calling servlet | Richard van der Hoff | 2018-01-09 | 1 | -11/+19 |
|/ |
|
* | Improve tracebacks on exceptions | Richard van der Hoff | 2017-11-27 | 1 | -3/+9 |
* | replace 'except:' with 'except Exception:' | Richard van der Hoff | 2017-10-23 | 1 | -1/+1 |
* | Initial group server implementation | Erik Johnston | 2017-07-10 | 1 | -1/+3 |
* | allow Authorization header which handling got implemented in #1098 | Krombel | 2017-06-16 | 1 | -1/+1 |
* | Set CORs headers on responses from the media repo | Mark Haines | 2016-11-02 | 1 | -5/+18 |
* | Add exception logging. Fix typo | Erik Johnston | 2016-08-22 | 1 | -3/+3 |
* | Allow request handlers to override metric name | Erik Johnston | 2016-08-22 | 1 | -21/+31 |
* | Use top level measure | Erik Johnston | 2016-08-22 | 1 | -15/+1 |
* | Add a top level measure | Erik Johnston | 2016-08-19 | 1 | -45/+46 |
* | Remove redundant measure | Erik Johnston | 2016-08-19 | 1 | -35/+34 |
* | Measure http.server render | Erik Johnston | 2016-08-19 | 1 | -28/+30 |
* | Log when adding listeners | Richard van der Hoff | 2016-07-25 | 1 | -0/+1 |
* | Fix more typos in per-request metrics | Mark Haines | 2016-04-28 | 1 | -4/+5 |
* | Fix typo in request metrics | Mark Haines | 2016-04-28 | 1 | -1/+1 |
* | Add a comment explaining why automatic metric reporting is disabled for JsonR... | Mark Haines | 2016-04-28 | 1 | -0/+4 |
* | Check if report_metrics is True | Mark Haines | 2016-04-28 | 1 | -3/+4 |
* | Report per request metrics for all of the things using request_handler | Mark Haines | 2016-04-28 | 1 | -38/+63 |
* | Intern all the things | Erik Johnston | 2016-03-23 | 1 | -4/+6 |
* | Catch the exceptions thrown by twisted when you write to a closed connection | Mark Haines | 2016-02-12 | 1 | -1/+20 |
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 1 | -3/+2 |
* | Add metrics to pushers | Erik Johnston | 2016-02-08 | 1 | -0/+10 |
* | Allowing tagging log contexts | Erik Johnston | 2016-02-03 | 1 | -15/+26 |
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
* | Fix typo | Daniel Wagner-Hall | 2015-12-16 | 1 | -1/+1 |
* | Include errcode on Internal Server Error | Daniel Wagner-Hall | 2015-12-14 | 1 | -2/+5 |
* | Track the time spent in the database per request. | Mark Haines | 2015-12-07 | 1 | -0/+15 |
* | Add metrics to track the cpu on the main thread consumed by each type of request | Mark Haines | 2015-12-04 | 1 | -0/+17 |
* | Host /unstable and /r0 versions of r0 APIs | Daniel Wagner-Hall | 2015-12-01 | 1 | -6/+7 |
* | Remove syutil dependency in favour of smaller single-purpose libraries | Mark Haines | 2015-08-24 | 1 | -6/+6 |
* | Don't 500 if a group is missing from the regex | Mark Haines | 2015-07-06 | 1 | -1/+1 |
* | Disable twisted access logging. Move access logging to SynapseRequest object | Erik Johnston | 2015-06-15 | 1 | -58/+32 |
* | Log more when we have processed the request | Erik Johnston | 2015-06-15 | 1 | -2/+12 |
* | Create SynapseRequest that overrides __repr__ to not print access_token | Erik Johnston | 2015-06-15 | 1 | -11/+3 |
* | Make http.server request logging more verbose, but redact access_tokens | Erik Johnston | 2015-06-15 | 1 | -2/+12 |
* | Remove log line | Erik Johnston | 2015-05-29 | 1 | -1/+0 |
* | Add config option to turn off freezing events. Use new encode_json api and uj... | Erik Johnston | 2015-05-29 | 1 | -4/+13 |
* | Fix up leak. Add warnings. | Erik Johnston | 2015-05-08 | 1 | -2/+4 |
* | Unused import | David Baker | 2015-04-30 | 1 | -1/+1 |
* | Doesn't look like this is used anymore | David Baker | 2015-04-30 | 1 | -13/+0 |
* | Merge branch 'develop' into csauth | David Baker | 2015-04-24 | 1 | -97/+124 |
|\ |
|
| * | Combine the request wrappers in rest/media/v1 and http/server into a single w... | Mark Haines | 2015-04-21 | 1 | -3/+12 |
| * | Split out the JsonResource request logging and error handling into a separate... | Mark Haines | 2015-04-21 | 1 | -94/+113 |
* | | Explain how I justified to myself making JsonResource not always send JSON. | David Baker | 2015-04-01 | 1 | -0/+7 |
* | | Completely replace fallback auth for C/S V2: | David Baker | 2015-04-01 | 1 | -2/+5 |
* | | Make docs a bit more true | David Baker | 2015-03-31 | 1 | -1/+1 |
* | | Grammar and deduplication | David Baker | 2015-03-31 | 1 | -5/+4 |
|/ |
|
* | Add a DistributionMetric to HTTP request/response processing time in the server | Paul "LeoNerd" Evans | 2015-03-16 | 1 | -0/+9 |
* | actually uphold the bind_host parameter. in theory should make ipv6 binds wor... | Matthew Hodgson | 2015-03-14 | 1 | -1/+6 |
* | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+5 |
* | Count incoming HTTP requests per servlet that responds | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -7/+11 |
* | 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 | -0/+14 |
* | Slightly reduce the insane amounts of indentation in main http server respons... | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -21/+23 |
* | Use git aware version string in User-Agent and Server headers | Erik Johnston | 2015-02-18 | 1 | -9/+18 |
* | Fix bug where variable was not always defined | Erik Johnston | 2015-02-11 | 1 | -2/+1 |
* | Log when we receive a request, when we send a response and how long it took t... | Erik Johnston | 2015-02-09 | 1 | -2/+21 |
* | Oops: second part of commit dc938606 | David Baker | 2015-01-22 | 1 | -6/+2 |
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -2/+2 |
* | Set a content-length for JSON responses | Mark Haines | 2015-01-06 | 1 | -0/+1 |
* | Include version in User-Agent and Server headers | Mark Haines | 2014-12-22 | 1 | -3/+6 |
* | Fix tests and remove debug logging | Erik Johnston | 2014-12-12 | 1 | -4/+0 |
* | Consistently url decode and decode as utf 8 the URL parts | Erik Johnston | 2014-12-12 | 1 | -1/+11 |
* | Get uploads working with new media repo | Mark Haines | 2014-12-02 | 1 | -2/+2 |
* | Write the upload portion of version 1 of the media repository | Mark Haines | 2014-12-02 | 1 | -7/+14 |
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -2/+1 |
* | Use module loggers rather than the root logger. Exceptions caused by bad clie... | Mark Haines | 2014-11-20 | 1 | -1/+1 |
* | Add a request-id to each log line | Mark Haines | 2014-10-30 | 1 | -1/+12 |
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has... | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
* | move contentrepo class to it's own file | Mark Haines | 2014-09-03 | 1 | -162/+1 |
* | Set status message for ratelimit error responses | Mark Haines | 2014-09-03 | 1 | -5/+9 |
* | given everything's apparently gone https:// by default for c-s, change this h... | Matthew Hodgson | 2014-09-01 | 1 | -1/+5 |
* | missed a s#/matrix#/_matrix/g | Matthew Hodgson | 2014-08-31 | 1 | -1/+1 |
* | For the content repo, don't just use homeserver.hostname as that might not in... | Erik Johnston | 2014-08-24 | 1 | -1/+3 |
* | Make the content repo work with in daemon mode. Return the full url on upload... | Erik Johnston | 2014-08-22 | 1 | -6/+20 |
* | Reduce the amount of incredibly spammy stack traces. Expected errors (e.g. Sy... | Kegan Dougal | 2014-08-19 | 1 | -1/+13 |
* | Small amounts of cleanup and bonus round comments. | Kegan Dougal | 2014-08-18 | 1 | -4/+8 |
* | Implemented GETs for the ContentRepoResource. It all actually appears to be w... | Kegan Dougal | 2014-08-18 | 1 | -11/+60 |
* | hs: Make the uploads directory if it doesn't exist. Namespace uploads by the ... | Kegan Dougal | 2014-08-18 | 1 | -5/+46 |
* | Auth content uploads. Added a mapping function from request > filename. Added... | Kegan Dougal | 2014-08-18 | 1 | -12/+32 |
* | Added /matrix/content path, HS resource_for_content_repo attribute and FileUp... | Kegan Dougal | 2014-08-18 | 1 | -0/+28 |
* | If the web client is enabled, automatically redirect root '/' to the web clie... | Kegan Dougal | 2014-08-14 | 1 | -0/+17 |
* | Removed http_server from HomeServer. Updated unit tests to use either resourc... | Kegan Dougal | 2014-08-14 | 1 | -9/+3 |
* | Start phasing out HttpServer: we should be using Resources instead. Added res... | Kegan Dougal | 2014-08-14 | 1 | -0/+5 |
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
* | Just say yes to OPTIONS requests, since we want to turn on CORS headers for a... | Erik Johnston | 2014-08-12 | 1 | -0/+5 |
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+181 |