summary refs log tree commit diff
path: root/synapse/logging (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-26Review comments and warning formattingRichard van der Hoff3-23/+29
2019-09-25Update sample configRichard van der Hoff1-7/+7
2019-09-25clarity and refactorNeil Johnson1-47/+41
2019-09-25Apply suggestions from code review Neil Johnson1-6/+6
Clarity Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2019-09-25improve clarityNeil Johnson1-1/+1
2019-09-23blackNeil Johnson1-1/+4
2019-09-23update sample configNeil Johnson1-2/+2
2019-09-23add further warning for setting trusted_key_serversNeil Johnson2-20/+45
2019-09-23Explicitly log when a homeserver does not have the 'trusted_key_servers' ↵Neil Johnson2-0/+19
config field configured.
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-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-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-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-21/+3
This is a partial revert of #5893. The problem is that if we drop these tables in the same release as removing the code that writes to them, it prevents users users from being able to roll back to a previous release. So let's leave the tables in place for now, and remember to drop them in a subsequent release. (Note that these tables haven't been *read* for *years*, so any missing rows resulting from a temporary upgrade to vNext won't cause a problem.)
2019-09-19Remove POST method from password reset submit_token endpoint (#6056)Andrew Morgan2-17/+1
Removes the POST method from `/password_reset/<medium>/submit_token/` as it's only used by phone number verification which Synapse does not support yet.
2019-09-18Fix typo in account_threepid_delegates config (#6028)Jorik Schellekens3-2/+3
2019-09-18Give appropriate exit codes when synctl fails (#5992)Jorik Schellekens2-4/+40
2019-09-18Fix logcontext spam on non-Linux platforms (#6059)J. Ryan Stinnett2-2/+12
This checks whether the current platform supports thread resource usage tracking before logging a warning to avoid log spam. Fixes https://github.com/matrix-org/synapse/issues/6055
2019-09-18fix sample configRichard van der Hoff1-1/+1
this was apparently broken by #6040.
2019-09-17v2 3PID Invites (part of MSC2140) (#5979)Andrew Morgan2-23/+82
3PID invites require making a request to an identity server to check that the invited 3PID has an Matrix ID linked, and if so, what it is. These requests are being made on behalf of a user. The user will supply an identity server and an access token for that identity server. The homeserver will then forward this request with the access token (using an `Authorization` header) and, if the given identity server doesn't support v2 endpoints, will fall back to v1 (which doesn't require any access tokens). Requires: ~~#5976~~
2019-09-17(#5849) Convert rst to markdown (#6040)dstipp41-2192/+2088
Converting some of the rst documentation to markdown. Attempted to preserve whitespace and line breaks to minimize cosmetic change.
2019-09-17Fix race condition in room stats. (#6029)Erik Johnston2-4/+11
Broke in #5971 Basically the bug is that if get_current_state_deltas returns no new updates and we then take the max pos, its possible that we miss an update that happens in between the two calls. (e.g. get_current_state_deltas looks up to stream pos 5, then an event persists and so getting the max stream pos returns 6, meaning that next time we check for things with a stream pos bigger than 6)
2019-09-17Add 'failure_ts' column to 'destinations' table (#6016)Richard van der Hoff7-12/+195
Track the time that a server started failing at, for general analysis purposes.
2019-09-14Fix well-known lookups with the federation certificate whitelist (#5997)Amber Brown5-15/+63
2019-09-13Add developer docs for using SAML without a server (#6032)Travis Ralston2-0/+38