summary refs log tree commit diff
path: root/synapse/replication/tcp/protocol.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-17Added explicit Python build tools to snap requirements (#7213)James2-0/+5
Signed-off-by: James Hebden <james@ec0.io>
2020-04-17Improve type checking in `replication.tcp.Stream` (#7291)Richard van der Hoff5-122/+143
The general idea here is to get rid of the type: ignore annotations on all of the current_token and update_function assignments, which would have caught #7290. After a bit of experimentation, it seems like the least-awful way to do this is to pass the offending functions in as parameters to the Stream constructor. Unfortunately that means that the concrete implementations no longer have the same constructor signature as Stream itself, which means that it gets hard to correctly annotate STREAMS_MAP. I've also introduced a couple of new types, to take out some duplication.
2020-04-17Clarify the comments for media_storage_providers options (#7272)Tristan Lins3-8/+7
2020-04-16Do not treat display names as globs for push rules. (#7271)Patrick Cloke4-30/+106
2020-04-16Fix 'generator object is not subscriptable' error (#7290)Richard van der Hoff2-1/+3
Some of the query functions return generators rather than lists, so we can't index into the result. Happily we already have a copy of the results. (think this was introduced in #7024)
2020-04-15Convert auth handler to async/await (#7261)Patrick Cloke10-170/+224
2020-04-15Add notes to the changelog about an additional SSO template. (#7259)Patrick Cloke2-4/+9
2020-04-15Allow specifying the value of Accept-Language header for URL previews (#7265)Andrew Morgan5-2/+116
2020-04-15Fix a potentially-huge sql query (#7274)Richard van der Hoff2-7/+17
We could end up looking up tens of thousands of events, which could cause large amounts of data to be logged to the postgres log.
2020-04-14Fix the parameters of a test fixture (#7243)Zay11Zay2-1/+2
2020-04-14Only register devices edu handler on the master process (#7255)Andrew Morgan2-7/+12
2020-04-13Add setting to nginx configuration to allow larger file uploads (#7251)Ryan Hovland2-0/+4
2020-04-13Check on room creation if the user is allowed to publish the room to the ↵PeerD2-0/+8
room directory. (#7260)
2020-04-11typosMatthew Hodgson2-2/+2
2020-04-09Default PL100 to enable encryption in a room (#7230)Andrew Morgan4-4/+299
2020-04-09Do not allow a deactivated user to login via SSO. (#7240)Patrick Cloke8-10/+110
2020-04-09Unblacklist /upgrade creates a new room (#7228)Andrew Morgan2-2/+1
This commit was originally merged in #7228 but reverted in #7254 as the associated sytest was not ready yet. Now that it is, we can merge this again.
2020-04-09Add matrix-synapse-shared-secret-auth as an example password provider (#7248)Andrew Morgan2-0/+2
2020-04-09Revert "Unblacklist /upgrade creates a new room (#7228)" (#7254)Andrew Morgan2-1/+2
This reverts commit 59f0ca8b87c15a314859d94978d90a8aa0e7543b.
2020-04-09Unblacklist /upgrade creates a new room (#7228)Andrew Morgan2-2/+1
2020-04-09Fix --help commandline argument (#7249)Richard van der Hoff2-16/+9
I don't really remember why this was so complicated; I think it dates back to the time when we had to instantiate the Config classes before we could call `add_arguments` - ie before #5597. In any case, I don't think there's a good reason for it any more, and the impact of it being complicated is that `--help` doesn't work correctly.
2020-04-09Make it clearer to the user that they haven't overridden onLogin/Register ↵Andrew Morgan3-3/+3
(#7237)
2020-04-09Upgrade jQuery to 3.x on fallback login/registration screens (#7236)Andrew Morgan9-16/+15
2020-04-08Fix bad merge of CHANGES.mdRichard van der Hoff1-5/+1
2020-04-08Remove redundant checks on `daemonize` from synctl (#7233)Richard van der Hoff2-9/+12
We pass --daemonize on the commandline, which (since at least #4853) overrides whatever the config file, so there is no need for it to be set in the config file.
2020-04-08Make systemd-with-workers doc official (#7234)Richard van der Hoff10-194/+134
Simplify and update this documentation, and make it part of the core dist.
2020-04-08Fix changelog for #7235Brendan Abolivier2-1/+1
2020-04-08Add documentation to password_providers config option (#7238)Andrew Morgan4-4/+32
2020-04-07bg update to clear out duplicate outbound_device_list_pokes (#7193)Richard van der Hoff6-13/+234
We seem to have some duplicates, which could do with being cleared out.
2020-04-07Convert delete_url_cache_media to async/await. (#7241)Patrick Cloke2-2/+3
2020-04-07Add typing