Commit Graph

30 Commits (8a4b3738f3dcf49f70c08204ad457559dcef4112)

Author SHA1 Message Date
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