forked-synapse/synapse/rest/client/v2_alpha
Richard van der Hoff 2e3d90d67c Make the device id on e2e key upload optional
We should now be able to get our device_id from the access_token, so the
device_id on the upload request is optional. Where it is supplied, we should
check that it matches.

For active access_tokens without an associated device_id, we ought to register
the device in the devices table.

Also update the table on upgrade so that all of the existing e2e keys are
associated with real devices.
2016-07-26 23:38:12 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
_base.py GET /devices endpoint 2016-07-20 16:42:32 +01:00
account_data.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
account.py Add hs object 2016-07-14 10:25:52 +01:00
auth.py Split out the auth handler 2016-06-02 13:31:45 +01:00
devices.py Implement updating devices 2016-07-26 07:35:48 +01:00
filter.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
keys.py Make the device id on e2e key upload optional 2016-07-26 23:38:12 +01:00
openid.py Rename openid/token to openid/request_token 2016-05-05 15:15:00 +01:00
receipts.py Move the presence handler out of the Handlers object 2016-05-16 18:56:37 +01:00
register.py Implement deleting devices 2016-07-26 07:35:48 +01:00
report_event.py Add timestamp and auto incrementing ID 2016-05-04 15:19:12 +01:00
sync.py Move SyncHandler out of the Handlers object 2016-05-16 20:19:26 +01:00
tags.py Use parse_json_object_from_request to parse JSON out of request bodies 2016-03-11 16:41:03 +00:00
tokenrefresh.py Add device_id support to /login 2016-07-18 16:39:44 +01:00