- Sep 24, 2021
-
-
David Robertson authored
* Improve typing in user_directory files This makes the user_directory.py in storage pass most of mypy's checks (including `no-untyped-defs`). Unfortunately that file is in the tangled web of Store class inheritance so doesn't pass mypy at the moment. The handlers directory has already been mypyed. Co-authored-by:
reivilibre <olivier@librepush.net>
-
- Sep 20, 2021
-
-
Patrick Cloke authored
Adds missing type hints to methods in the synapse.handlers module and requires all methods to have type hints there. This also removes the unused construct_auth_difference method from the FederationHandler.
-
- Sep 15, 2021
-
-
Patrick Cloke authored
-
Patrick Cloke authored
Including admin, consent, key, synapse, and media. All REST servlets (the synapse.rest module) now require typed method definitions.
-
- Sep 14, 2021
-
-
reivilibre authored
Also enables Mypy for related tests.
-
- Sep 10, 2021
-
-
reivilibre authored
-
- Sep 06, 2021
-
-
David Robertson authored
-
- Sep 03, 2021
-
-
Patrick Cloke authored
Additionally this enforce type hints on all function signatures inside of the synapse.rest.client package.
-
- Aug 27, 2021
-
-
Richard van der Hoff authored
Turns out that the functionality added in #10546 to skip TLS was incompatible with older Twisted versions, so we need to be a bit more inventive. Also, add a test to (hopefully) not break this in future. Sadly, testing TLS is really hard.
-
- Aug 24, 2021
-
-
Patrick Cloke authored
-
- Aug 20, 2021
-
-
David Robertson authored
-
- Aug 19, 2021
-
-
Patrick Cloke authored
A user will still see this room if it is in a local cache, but it will not reappear if clearing the cache and reloading.
-
- Aug 18, 2021
-
-
Dirk Klimpel authored
-
- Aug 16, 2021
-
-
Michael Telatynski authored
-
- Aug 11, 2021
-
-
Patrick Cloke authored
And ensure that the file is checked via mypy.
-
- Jul 14, 2021
-
-
Patrick Cloke authored
-
- Jul 05, 2021
-
-
Erik Johnston authored
-
- Jun 17, 2021
-
-
Brendan Abolivier authored
Fixes #9778 ACME v1 has been fully decommissioned for existing installs on June 1st 2021(see https://community.letsencrypt.org/t/end-of-life-plan-for-acmev1/88430/27), so we can now safely remove it from Synapse.
-
- Jun 08, 2021
-
-
Patrick Cloke authored
-
- Jun 04, 2021
-
-
Richard van der Hoff authored
-
- May 24, 2021
-
-
Patrick Cloke authored
-
- May 20, 2021
-
-
Erik Johnston authored
Instead of parsing the full response to `/send_join` into Python objects (which can be huge for large rooms) and *then* parsing that into events, we instead use ijson to stream parse the response directly into `EventBase` objects.
-
- May 05, 2021
-
-
Erik Johnston authored
This will double count slightly in the presence of interned strings. It's off by default as it can consume a lot of resources.
-
- Apr 27, 2021
-
-
Andrew Morgan authored
I went through and removed a bunch of cruft that was lying around for compatibility with old Python versions. This PR also will now prevent Synapse from starting unless you're running Python 3.6+.
-
- Apr 05, 2021
-
-
Jonathan de Jong authored
-
- Mar 26, 2021
-
-
Erik Johnston authored
Running `dmypy run` will do a `mypy` check while spinning up a daemon that makes rerunning `dmypy run` a lot faster. `dmypy` doesn't support `follow_imports = silent` and has `local_partial_types` enabled, so this PR enables those options and fixes the issues that were newly raised. Note that `local_partial_types` will be enabled by default in upcoming mypy releases.
-
- Mar 24, 2021
-
-
Patrick Cloke authored
-
- Mar 09, 2021
-
-
Patrick Cloke authored
-
- Mar 04, 2021
-
-
Richard van der Hoff authored
This great big stack of commits is a a whole load of hoop-jumping to make it easier to store additional values in login tokens, and then to actually store the SSO Identity Provider in the login token. (Making use of that data will follow in a subsequent PR.)
-
- Feb 17, 2021
-
-
Patrick Cloke authored
-
- Jan 28, 2021
-
-
Patrick Cloke authored
This finishes adding type hints to the `synapse.handlers` module.
-
- Jan 26, 2021
-
-
Patrick Cloke authored
With this change all handlers except the e2e_* ones have type hints enabled.
-
- Jan 20, 2021
-
-
Richard van der Hoff authored
-
- Jan 07, 2021
-
-
Richard van der Hoff authored
-
- Jan 04, 2021
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Dec 30, 2020
-
-
Patrick Cloke authored
-
- Dec 29, 2020
-
-
Patrick Cloke authored
-
- Dec 17, 2020
-
-
Richard van der Hoff authored
... and disable coverage tracking for mypy and friends.
-
- Dec 16, 2020
-
-
Patrick Cloke authored
This improves type hinting and should use less memory.
-