Commit Graph

43 Commits (98fd558382226b347d78e5f6e6782c6e74c25e69)

Author SHA1 Message Date
Shay 5ab7146e19
Add Synapse-Trace-Id to access-control-expose-headers header (#14974) 2 years ago
Patrick Cloke 9d8a3234ba
Respond with proper error responses on unknown paths. (#14621) 2 years ago
Hugh Nimmo-Smith 4eaf3eb840
Implementation of HTTP 307 response for MSC3886 POST endpoint (#14018) 2 years ago
Patrick Cloke 32fc3b7ba4
Remove configuration options for direct TCP replication. (#13647) 2 years ago
reivilibre 7bc110a19e
Generalise the `@cancellable` annotation so it can be used on functions other than just servlet methods. (#13662) 2 years ago
Dirk Klimpel e2ed1b7155
Use literals in place of `HTTPStatus` constants in tests (#13463) 2 years ago
David Robertson b977867358
Rate limit joins per-room (#13276) 2 years ago
David Robertson f1145563f6
Extra type annotations in `test_server` (#13124) 2 years ago
Sean Quah 3c1c40d843
Clean up the test code for client disconnections (#12929) 3 years ago
Sean Quah dffecade7d
Respect the `@cancellable` flag for `DirectServe{Html,Json}Resource`s (#12698) 3 years ago
Erik Johnston 50022cff96
Add reactor to `SynapseRequest` and fix up types. (#10868) 3 years ago
Richard van der Hoff 3ff2251754
Improved validation for received requests (#9817) 4 years ago
Richard van der Hoff 59d24c5bef
pass a reactor into SynapseSite (#9874) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Richard van der Hoff 394516ad1b Remove spurious "SynapseRequest" result from `make_request" 4 years ago
Richard van der Hoff 5bcf6e8289 Skip redundant check on `request.args` 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 9debe657a3 pass a Site into make_request 4 years ago
Patrick Cloke 2f4d60a5ba
Iteratively encode JSON responses to avoid blocking the reactor. (#8013) 4 years ago
Patrick Cloke 6812509807
Implement handling of HTTP HEAD requests. (#7999) 4 years ago
Patrick Cloke 6a080ea184
Return an empty body for OPTIONS requests. (#7886) 4 years ago
Richard van der Hoff 1ec688bf21
Downgrade warning on client disconnect to INFO (#7928) 4 years ago
Erik Johnston 5cdca53aa0
Merge different Resource implementation classes (#7732) 4 years ago
Dagfinn Ilmari Mannsåker a3f11567d9
Replace all remaining six usage with native Python 3 equivalents (#7704) 5 years ago
Richard van der Hoff 03619324fc
Create a ListenerConfig object (#7681) 5 years ago
Erik Johnston 2901f54359
Fix missing CORS headers on OPTION responses (#7560) 5 years ago
Patrick Cloke 4429764c9f
Return 200 OK for all OPTIONS requests (#7534) 5 years ago
Richard van der Hoff 8f5d7302ac
Implement RedirectException (#6687) 5 years ago
Andrew Morgan 4548d1f87e
Remove unnecessary parentheses around return statements (#5931) 5 years ago
Jorik Schellekens cf2972c818
Fix servlet metric names (#5734) 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
Amber Brown 58f6c48183
Use native UPSERTs where possible (#4306) 6 years ago
Richard van der Hoff 884a561447 Fix some tests which leaked logcontexts 6 years ago
Amber Brown e62f7f17b3
Remove some boilerplate in tests (#4156) 6 years ago
Amber Brown aeca5a5ed5
Add a regression test for logging on failed connections (#3912) 6 years ago
Amber Brown a87af25fbb Fix the tests 6 years ago
Amber Brown 99dd975dae
Run tests under PostgreSQL (#3423) 6 years ago
Amber Brown 2511f3f8a0
Test fixes for Python 3 (#3647) 6 years ago
Amber Brown bc006b3c9d
Refactor REST API tests to use explicit reactors (#3351) 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Amber Brown cd6bcdaf87
Better testing framework for homeserver-using things (#3446) 7 years ago