summary refs log tree commit diff
path: root/synapse/handlers/_base.py (unfollow)
Commit message (Collapse)AuthorFilesLines
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-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-13