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)
|
2 years ago |
Sean Quah
|
dffecade7d
Respect the `@cancellable` flag for `DirectServe{Html,Json}Resource`s (#12698)
|
2 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)
|
3 years ago |
Richard van der Hoff
|
59d24c5bef
pass a reactor into SynapseSite (#9874)
|
3 years ago |
Eric Eastwood
|
0a00b7ff14
Update black, and run auto formatting over the codebase (#9381)
|
3 years ago |
Richard van der Hoff
|
394516ad1b
Remove spurious "SynapseRequest" result from `make_request"
|
3 years ago |
Richard van der Hoff
|
5bcf6e8289
Skip redundant check on `request.args`
|
3 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)
|
4 years ago |
Richard van der Hoff
|
03619324fc
Create a ListenerConfig object (#7681)
|
4 years ago |
Erik Johnston
|
2901f54359
Fix missing CORS headers on OPTION responses (#7560)
|
4 years ago |
Patrick Cloke
|
4429764c9f
Return 200 OK for all OPTIONS requests (#7534)
|
4 years ago |
Richard van der Hoff
|
8f5d7302ac
Implement RedirectException (#6687)
|
4 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)
|
5 years ago |
Amber Brown
|
58f6c48183
Use native UPSERTs where possible (#4306)
|
5 years ago |
Richard van der Hoff
|
884a561447
Fix some tests which leaked logcontexts
|
6 years ago |