Commit Graph

753 Commits (214f3b7d215ef57e4482834afc72b280614b9c06)

Author SHA1 Message Date
David Robertson 95a038c106
Unify HTTP query parameter type hints (#12415) 3 years ago
David Robertson a7293ef16f Bump `black` and `click` versions (#12320) 3 years ago
David Robertson a2b00a4486
Bump `black` and `click` versions (#12320) 3 years ago
Patrick Cloke bc9dff1d95
Remove unnecessary pass statements. (#12206) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Richard van der Hoff 7273011f60
Faster joins: Support for calling `/federation/v1/state` (#12013) 3 years ago
Patrick Cloke a121507cfe
Adds misc missing type hints (#11953) 3 years ago
Denis Kasak 337f38cac3
Implement a content type allow list for URL previews (#11936) 3 years ago
David Robertson d8df8e6c14
Don't print HTTPStatus.* in "Processed..." logs (#11827) 3 years ago
Patrick Cloke 02d99f044e
Apply a timeout to reading the body when fetching a file. (#11784) 3 years ago
Patrick Cloke 10a88ba91c
Use auto_attribs/native type hints for attrs classes. (#11692) 3 years ago
Fr3shTea 0201c6371c
Fix SimpleHttpClient not sending Accept header in `get_json` (#11677) 3 years ago
Patrick Cloke cbd82d0b2d
Convert all namedtuples to attrs. (#11665) 3 years ago
Richard van der Hoff 2215954147
Various opentracing enhancements (#11619) 3 years ago
Richard van der Hoff 60fa4935b5
Improve opentracing for incoming HTTP requests (#11618) 3 years ago
Patrick Cloke 3e0cfd447e
Return JSON errors for unknown resources under /matrix/client. (#11602) 3 years ago
Sean Quah 0147b3de20
Add missing type hints to `synapse.logging.context` (#11556) 3 years ago
Olivier Wilkinson (reivilibre) 4dd9ea8f4f Revert "Revert accidental fast-forward merge from v1.49.0rc1" 3 years ago
Patrick Cloke 33abbc3278
Add missing type hints to synapse.http. (#11571) 3 years ago
Dirk Klimpel 941ebe49ff
Use HTTPStatus constants in place of literals in `synapse.http` (#11543) 3 years ago
Dirk Klimpel b3bcacf3c1
Add missing `errcode` to `parse_string` and `parse_boolean` (#11542) 3 years ago
Sean Quah 158d73ebdd Revert accidental fast-forward merge from v1.49.0rc1 3 years ago
Eric Eastwood a6f1a3abec
Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445) 3 years ago
Patrick Cloke b64b6d12d4
Add more type hints to synapse.util. (#11321) 3 years ago
David Robertson 1bfd141205
Type hints for the remaining two files in `synapse.http`. (#11164) 3 years ago
Sean Quah 2b82ec425f
Add type hints for most `HomeServer` parameters (#11095) 3 years ago
David Robertson 797ee7812d
Relax `ignore-missing-imports` for modules that have stubs now and update mypy (#11006) 3 years ago
Brendan Abolivier 52aefd5086
Catch AttributeErrors when calling registerProducer (#10995) 3 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 3 years ago
Erik Johnston 37bb93d181
Fix exception responding to request that has been closed (#10932) 3 years ago
Erik Johnston 707d5e4e48
Encode JSON responses on a thread in C, mk2 (#10905) 3 years ago
Erik Johnston 50022cff96
Add reactor to `SynapseRequest` and fix up types. (#10868) 3 years ago
Patrick Cloke 47854c71e9
Use direct references for configuration variables (part 4). (#10893) 3 years ago
Andrew Morgan aa2c027792
Remove unnecessary parentheses around tuples returned from methods (#10889) 3 years ago
Erik Johnston b25a494779
Add types to http.site (#10867) 3 years ago
Patrick Cloke 8c7a531e27
Use direct references for some configuration variables (part 2) (#10812) 3 years ago
Sean Quah 14b8c0476f
Prevent logging context going missing on federation request timeout (#10810) 3 years ago
Erik Johnston 66d72b7e17
Change logging of puppeted requests to better differentiate users (#10779) 3 years ago
Patrick Cloke ecbfa4fe4f
Additional type hints for client REST servlets (part 5) (#10736) 3 years ago
Dirk Klimpel 0c3565da4c
Additional type hints for the proxy agent and SRV resolver modules. (#10608) 3 years ago
Michael Telatynski 0ace38b7b3
Experimental support for MSC3266 Room Summary API. (#10394) 3 years ago
Dirk Klimpel 339c3918e1
support federation queries through http connect proxy (#10475) 3 years ago
Richard van der Hoff d9cb658c78
Fix up type hints for Twisted 21.7 (#10490) 3 years ago
Dirk Klimpel 076deade02
allow specifying https:// proxy (#10411) 3 years ago
Richard van der Hoff d8324b8238
Fix a handful of type annotations. (#10446) 3 years ago
Patrick Cloke 590cc4e888
Add type hints to additional servlet functions (#10437) 3 years ago
Patrick Cloke 5db118626b
Add a return type to parse_string. (#10438) 3 years ago
Jonathan de Jong 95e47b2e78
[pyupgrade] `synapse/` (#10348) 3 years ago
Jonathan de Jong bdfde6dca1
Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381) 3 years ago
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 3 years ago