summary refs log tree commit diff
path: root/.buildkite/docker-compose.py37.pg95.yaml (unfollow)
<
Commit message (Collapse)AuthorFilesLines
2019-09-24Add sid to next_link for email validation (#6097)J. Ryan Stinnett2-0/+11
2019-09-24docstrings and commentsRichard van der Hoff1-7/+21
2019-09-23Add submit_url response parameter to msisdn /requestToken (#6079)Andrew Morgan4-1/+16
Second part of solving #6076 Fixes #6076 We return a submit_url parameter on calls to POST */msisdn/requestToken so that clients know where to submit token information to.
2019-09-23Add an unstable feature flag for separate add/bind 3pid APIs (#6044)Andrew Morgan2-0/+3
Add a m.separate_add_and_bind flag set to True. See MSC2290's Backward Compatibility section for details.
2019-09-23Use the federation blacklist for requests to untrusted Identity Servers (#6000)Andrew Morgan5-4/+28
Uses a SimpleHttpClient instance equipped with the federation_ip_range_blacklist list for requests to identity servers provided by user input. Does not use a blacklist when contacting identity servers specified by account_threepid_delegates. The homeserver trusts the latter and we don't want to prevent homeserver admins from specifying delegates that are on internal IP addresses. Fixes #5935
2019-09-23Add m.id_access_token to /versions unstable_features (MSC2264) (#5974)Andrew Morgan2-0/+4
Adds a flag to /versions' unstable_features section indicating that this Synapse understands what an id_access_token is, as per MSC2264. Fixes #5927
2019-09-23Add m.require_identity_server to /versions unstable_flags (#5972)Andrew Morgan2-1/+14
As MSC2263 states, m.require_identity_server must be set to false when it does not require an identity server to be provided by the client for the purposes of email registration or password reset. Adds an m.require_identity_server flag to /versionss unstable_flags section. This will advertise that Synapse no longer needs id_server as a parameter.
2019-09-23Add POST submit_token endpoint for MSISDN (#6078)Andrew Morgan3-2/+80
First part of solving #6076
2019-09-23Implement MSC2290 (#6043)Andrew Morgan7-134/+203
Implements MSC2290. This PR adds two new endpoints, /unstable/account/3pid/add and /unstable/account/3pid/bind. Depending on the progress of that MSC the unstable prefix may go away. This PR also removes the blacklist on some 3PID tests which occurs in #6042, as the corresponding Sytest PR changes them to use the new endpoints. Finally, it also modifies the account deactivation code such that it doesn't just try to deactivate 3PIDs that were bound to the user's account, but any 3PIDs that were bound through the homeserver on that user's account.
2019-09-23Disable /register/available if registration is disabled (#6082)Andrew Morgan2-0/+6
Fixes #6066 This register endpoint should be disabled if registration is disabled, otherwise we're giving anyone the ability to check if a username exists on a server when we don't need to be. Error code is 403 (Forbidden) as that's the same returned by /register when registration is disabled.
2019-09-23Generalize email sending logging (#6075)Andrew Morgan2-1/+2
In ancient times Synapse would only send emails when it was notifying a user about a message they received... Now it can do all sorts of neat things! Change the logging so it's not just about notifications.
2019-09-23Return timeout error to user for identity server calls (#6073)Andrew Morgan3-11/+38
2019-09-23fix broken copyrightsMatthew Hodgson2-2/+2
2019-09-20Allow HS to send emails when adding an email to the HS (#6042)Andrew Morgan12-72/+359
2019-09-20Remove trailing slash ability from password reset's submit_token endpoint ↵Andrew Morgan2-1/+2
(#6074) Remove trailing slash ability from the password reset submit_token endpoint. Since we provide the link in an email, and have never sent it with a trailing slash, there's no point for us to accept them on the endpoint.
2019-09-20Fix exception when resetting retry timingsRichard van der Hoff2-1/+2
Fixes: > TypeError: set_destination_retry_timings() missing 1 required positional argument: 'retry_interval' Introduced in #6016.
2019-09-20More better loggingRichard van der Hoff1-1/+2
2019-09-20Ensure email validation link parameters are URL-encoded (#6063)Andrew Morgan2-4/+7
The validation links sent via email had their query parameters inserted without any URL-encoding. Surprisingly this didn't seem to cause any issues, but if a user were to put a `/` in their client_secret it could lead to problems.
2019-09-20Drop support for bind param on POST /account/3pid (MSC2290) (#6067)Andrew Morgan3-4/+10
As per [MSC2290](https://github.com/matrix-org/matrix-doc/pull/2290/files#diff-05cde9463e9209b701312b3baf2fb2ebR151), we're dropping the bind parameter from `/account/3pid`. This endpoint can now only be used for adding threepid's to the user's account on the homeserver.
2019-09-19Docker: support SYNAPSE_WORKER envvar (#6058)Michael Kaye3-1/+5
* Allow passing SYNAPSE_WORKER envvar * changelog.d * Document SYNAPSE_WORKER. Attempting to imply that you don't need to change this default unless you're in worker mode. Also aware that there's a bigger problem of attempting to document a complete working configuration of workers using docker, as we currently only document to use `synctl` for worker mode, and synctl doesn't work that way in docker.
2019-09-19Use unstable prefix for 3PID unbind API (#6062)J. Ryan Stinnett3-2/+3
2019-09-19Fix a bug with saml attribute maps.Richard van der Hoff3-7/+48
Fixes a bug where the default attribute maps were prioritised over user-specified ones, resulting in incorrect mappings. The problem is that if you call SPConfig.load() multiple times, it adds new attribute mappers to a list. So by calling it with the default config first, and then the user-specified config, we would always get the default mappers before the user-specified mappers. To solve this, let's merge the config dicts first, and then pass them to SPConfig.
2019-09-19Update 6037.featureRichard van der Hoff1-1/+1
2019-09-19Update the upgrade notes (#6050)Richard van der Hoff2-27/+54
* make it clear that if you installed from a package manager, you should use that to upgrade * Document the new way of getting the server version (cf #4878) * Write some words about downgrading.
2019-09-19better loggingRichard van der Hoff1-0/+2
2019-09-19Add some notes on rolling back to v1.3.1. (#6049)Richard van der Hoff2-0/+26
2019-09-19Undo the deletion of some tables (#6047)Richard van der Hoff3