anonymousland-synapse/synapse
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
..
api Fix 500 ISE when sending alias event without a state_key 2016-07-15 18:58:25 +01:00
app Merge branch 'master' into develop 2016-06-23 11:17:48 +01:00
appservice Move the AS handler out of the Handlers object. 2016-05-31 13:53:48 +01:00
config Update password config comment 2016-07-06 12:18:19 +09:00
crypto Uncommit accidentally commited edit to cipher list 2016-05-10 18:44:32 +02:00
events Add sensible __eq__ operators inside the tests. 2016-04-07 16:41:37 +01:00
federation Linearize some federation endpoints based on (origin, room_id) 2016-06-17 16:43:45 +01:00
handlers Add device_id support to /login 2016-07-18 16:39:44 +01:00
http Work around TLS bug in twisted 2016-06-15 10:39:08 +01:00
metrics Don't track total objects as its too expensive to calculate 2016-06-07 17:00:45 +01:00
push even more pep8 2016-06-24 11:47:11 +01:00
replication pep8 2016-06-24 11:44:57 +01:00
rest Add device_id support to /login 2016-07-18 16:39:44 +01:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Add device_id support to /login 2016-07-18 16:39:44 +01:00
streams Hook up the push rules to the notifier 2016-03-03 14:57:45 +00:00
util Add ReadWriteLock 2016-07-05 15:23:17 +01:00
__init__.py Bump version and changelog 2016-07-07 16:33:00 +01:00
notifier.py Notify users for events in rooms they join. 2016-06-07 11:33:36 +01:00
python_dependencies.py Rework ldap integration with ldap3 2016-06-22 17:51:59 +02:00
server.py Add device_id support to /login 2016-07-18 16:39:44 +01:00
state.py Comment 2016-07-15 09:29:54 +01:00
types.py Make get_domain_from_id throw SynapseError on invalid ID 2016-06-14 13:25:29 +01:00
visibility.py move filter_events_for_client out of base handler 2016-05-11 13:42:37 +01:00