forked-synapse/synapse/rest/client/v1
Adrian Tschira 6495dbb326 Burminate v1auth
This closes #2602

v1auth was created to account for the differences in status code between
the v1 and v2_alpha revisions of the protocol (401 vs 403 for invalid
tokens). However since those protocols were merged, this makes the r0
version/endpoint internally inconsistent, and violates the
specification for the r0 endpoint.

This might break clients that rely on this inconsistency with the
specification. This is said to affect the legacy angular reference
client. However, I feel that restoring parity with the spec is more
important. Either way, it is critical to inform developers about this
change, in case they rely on the illegal behaviour.

Signed-off-by: Adrian Tschira <nota@notafile.com>
2018-04-30 22:20:43 +02:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
admin.py add guard for None on purge_history api 2018-04-30 14:29:48 +02:00
base.py Burminate v1auth 2018-04-30 22:20:43 +02:00
directory.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
events.py Make synchrotron accept /events 2016-08-12 15:31:44 +01:00
initial_sync.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
login.py Use six.moves.urlparse 2018-04-15 21:22:43 +02:00
logout.py Return 401 for invalid access_token on logout 2018-03-02 22:01:27 -08:00
presence.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
profile.py replace 'except:' with 'except Exception:' 2017-10-23 15:52:32 +01:00
push_rule.py Load push rules in storage layer, so that they get cached 2016-06-03 11:10:00 +01:00
pusher.py Burminate v1auth 2018-04-30 22:20:43 +02:00
register.py Construct HMAC as bytes on py3 2018-04-29 00:19:41 +02:00
room.py Use six.moves.urlparse 2018-04-15 21:22:43 +02:00
voip.py add setting (on by default) to support TURN for guests 2017-03-15 12:22:18 +00:00