anonymousland-synapse/synapse
Richard van der Hoff fa74fcf512 Work around email-spamming Riot bug
5d9546f9 introduced a change to synapse behaviour, in that failures in the
interactive-auth process would return the flows and params data as well as an
error code (as specced in https://github.com/matrix-org/matrix-doc/pull/397).

That change exposed a bug in Riot which would make it request a new validation
token (and send a new email) each time it got a 401 with a `flows` parameter
(see https://github.com/vector-im/vector-web/issues/2447 and the fix at
https://github.com/matrix-org/matrix-react-sdk/pull/510).

To preserve compatibility with broken versions of Riot, grandfather in the old
behaviour for the email validation stage.
2016-10-11 11:34:40 +01:00
..
api Update comments 2016-09-22 12:54:22 +01:00
app Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
appservice Log if rejecting 3PE query metadata result due to type check 2016-09-09 15:11:31 +01:00
config Remove support for aggregate room lists 2016-09-15 09:28:15 +01:00
crypto Preserve some logcontexts 2016-08-24 11:58:40 +01:00
events Add comments 2016-09-05 10:41:27 +01:00
federation Time out typing over federation 2016-09-23 14:00:52 +01:00
handlers Work around email-spamming Riot bug 2016-10-11 11:34:40 +01:00
http Pass since/from parameters over federation 2016-09-15 10:36:19 +01:00
metrics Make psutil optional 2016-08-08 11:12:21 +01:00
push _id field must uniquely identify different conditions 2016-09-19 10:34:01 +01:00
replication Fix public room pagination for client_reader app 2016-09-16 14:48:21 +01:00
rest window.postmessage for Interactive Auth fallback 2016-10-06 18:16:59 +01:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Merge pull request #1145 from matrix-org/erikj/fix_reindex 2016-09-29 13:53:48 +01:00
streams Add store-and-forward direct-to-device messaging 2016-08-25 17:35:37 +01:00
util Change get_pos_of_last_change to return upper bound 2016-09-15 15:12:07 +01:00
__init__.py Bump changelog and version 2016-10-05 14:40:38 +01:00
notifier.py Explicitly specify state_key for history_visibility fetching 2016-09-02 14:53:46 +01:00
python_dependencies.py Accept optional token to public room list 2016-09-15 09:08:57 +01:00
server.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
server.pyi Fix login with m.login.token 2016-08-08 16:40:39 +01:00
state.py Merge pull request #1121 from matrix-org/erikj/public_room_paginate 2016-09-15 13:27:09 +01:00
types.py Shuffle things around to make unit tests work 2016-09-22 11:08:12 +01:00
visibility.py Replace context.current_state with context.current_state_ids 2016-08-25 17:32:22 +01:00