MatrixSynapse/synapse/storage
Richard van der Hoff f863a52cea Add device_id support to /login
Add a 'devices' table to the storage, as well as a 'device_id' column to
refresh_tokens.

Allow the client to pass a device_id, and initial_device_display_name, to
/login. If login is successful, then register the device in the devices table
if it wasn't known already. If no device_id was supplied, make one up.

Associate the device_id with the access token and refresh token, so that we can
get at it again later. Ensure that the device_id is copied from the refresh
token to the access_token when the token is refreshed.
2016-07-18 16:39:44 +01:00
..
engines Optionally make committing to postgres asynchronous. 2016-06-20 17:53:38 +01:00
schema Add device_id support to /login 2016-07-18 16:39:44 +01:00
util
__init__.py Add device_id support to /login 2016-07-18 16:39:44 +01:00
_base.py Feature: Add deactivate account admin API 2016-06-30 15:40:58 +01:00
account_data.py Don't hit DB for noop replications queries 2016-06-08 11:33:30 +01:00
appservice.py
background_updates.py
client_ips.py
devices.py Add device_id support to /login 2016-07-18 16:39:44 +01:00
directory.py
end_to_end_keys.py
event_federation.py
event_push_actions.py Use true/false for boolean parameter inclusive to avoid potential for sqli, and possibly make the code clearer 2016-07-05 10:39:13 +01:00
events.py Fix /purge_history bug 2016-07-15 14:23:15 +01:00
filtering.py
keys.py
media_repository.py Implement purge_media_cache admin API 2016-06-29 14:57:59 +01:00
openid.py
prepare_database.py Track approximate last access time for remote media 2016-06-29 11:41:20 +01:00
presence.py Don't hit DB for noop replications queries 2016-06-08 11:33:30 +01:00
profile.py Add the create_profile method back since the tests use it 2016-06-17 19:20:47 +01:00
push_rule.py Don't hit DB for noop replications queries 2016-06-08 11:33:30 +01:00
pusher.py
receipts.py
registration.py Add device_id support to /login 2016-07-18 16:39:44 +01:00
rejections.py
room.py more pep8 2016-06-24 11:45:23 +01:00
roommember.py
search.py
signatures.py
state.py
stream.py Merge branch 'erikj/shared_secret' into erikj/test2 2016-07-06 14:46:31 +01:00
tags.py Don't hit DB for noop replications queries 2016-06-08 11:33:30 +01:00
transactions.py