- 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.
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Paul Tötterman authored
Fixes redirect loop Signed-off-by:
Paul Tötterman <paul.totterman@iki.fi>
-
- Mar 25, 2021
-
-
Quentin Gliech authored
On NixOS, `bash` isn't under `/bin/bash` but rather in some directory in `$PATH`. Locally, I've been patching those scripts to make them work. `/usr/bin/env` seems to be the only [portable way](https://unix.stackexchange.com/questions/29608/why-is-it-better-to-use-usr-bin-env-name-instead-of-path-to-name-as-my ) to use binaries from the PATH as interpreters. Signed-off-by:
Quentin Gliech <quentingliech@gmail.com>
-
Serban Constantin authored
Make it clearer in the source install step that the platform specific prerequisites must be installed first. Signed-off-by:
Serban Constantin <serban.constantin@gmail.com>
-
Andrew Morgan authored
Split off from https://github.com/matrix-org/synapse/pull/9491 Adds a storage method for getting the current presence of all local users, optionally excluding those that are offline. This will be used by the code in #9491 when a PresenceRouter module informs Synapse that a given user should have `"ALL"` user presence updates routed to them. Specifically, it is used here: https://github.com/matrix-org/synapse/blob/b588f16e391d664b11f43257eabf70663f0c6d59/synapse/handlers/presence.py#L1131-L1133 Note that there is a `get_all_presence_updates` function just above. That function is intended to walk up the table through stream IDs, and is primarily used by the presence replication stream. I could possibly make use of it in the PresenceRouter-related code, but it would be a bit of a bodge.
-
- Mar 24, 2021
-
-
Erik Johnston authored
Broke in #9640 Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
Patrick Cloke authored
-
Jonathan de Jong authored
-
Richard van der Hoff authored
When we hit an unknown room in the space tree, see if there are other servers that we might be able to poll to get the data. Fixes: #9447
-
Ben Banfield-Zanin authored
-
Patrick Cloke authored
This fixes an error ("Cannot determine consistent method resolution order (MRO)") when running mypy with a cache.
-
Patrick Cloke authored
-
Patrick Cloke authored
-
- Mar 23, 2021
-
-
Erik Johnston authored
It's legitimate behaviour to try and join a bunch of rooms at once.
-
Jonathan de Jong authored
-
Richard van der Hoff authored
Builds on the work done in #9643 to add a federation API for space summaries. There's a bit of refactoring of the existing client-server code first, to avoid too much duplication.
-
Patrick Cloke authored
-
- Mar 22, 2021
-
-
Andrew Morgan authored
Addresses https://github.com/matrix-org/synapse-dinsic/issues/70 This PR causes `ProxyAgent` to attempt to extract credentials from an `HTTPS_PROXY` env var. If credentials are found, a `Proxy-Authorization` header ([details](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization)) is sent to the proxy server to authenticate against it. The headers are *not* passed to the remote server. Also added some type hints.
-
Ankit Dobhal authored
- Merge 'isinstance' calls. - Remove unnecessary dict call outside of comprehension. - Use 'sys.exit()' calls.
-
Erik Johnston authored
-
Brendan Abolivier authored
Implement MSC3026: busy presence state
-
- Mar 19, 2021
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Richard van der Hoff authored
-
- Mar 18, 2021
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
This is very bare-bones for now: federation will come soon, while pagination is descoped for now but will come later.
-
Brendan Abolivier authored
-
Dirk Klimpel authored
-
Erik Johnston authored
Currently federation catchup will send the last *local* event that we failed to send to the remote. This can cause issues for large rooms where lots of servers have sent events while the remote server was down, as when it comes back up again it'll be flooded with events from various points in the DAG. Instead, let's make it so that all the servers send the most recent events, even if its not theirs. The remote should deduplicate the events, so there shouldn't be much overhead in doing this. Alternatively, the servers could only send local events if they were also extremities and hope that the other server will send the event over, but that is a bit risky.
-
Brendan Abolivier authored
-