summary refs log tree commit diff
path: root/synapse/storage/devices.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Select distinct devices from DBErik Johnston2017-03-061-1/+1
| | | | | Otherwise we might pull out tonnes of duplicate user_ids and this can make synapse sad.
* Fix upErik Johnston2017-03-031-4/+4
|
* Add index to device_lists_streamErik Johnston2017-03-011-0/+7
|
* Clobber old device list stream entriesErik Johnston2017-03-011-0/+10
|
* Fix up txn nameErik Johnston2017-02-281-1/+1
|
* Cache get_user_devices_from_cacheErik Johnston2017-02-271-45/+73
|
* Fix deletion of old sent devices correctlyErik Johnston2017-01-311-5/+17
|
* Only fetch with row ts and count > 1Erik Johnston2017-01-311-1/+2
|
* Fix clearing out old device list outbound pokesErik Johnston2017-01-311-2/+7
|
* Noop device key changes if they're the sameErik Johnston2017-01-301-0/+1
|
* Fix queryErik Johnston2017-01-301-1/+1
|
* Rename funcErik Johnston2017-01-301-1/+1
|
* Clear out old destination pokes.Erik Johnston2017-01-301-0/+42
|
* Always use the latest stream_id, sent or unsentErik Johnston2017-01-301-4/+4
|
* Add ts column to device_lists_outbound_pokesErik Johnston2017-01-271-0/+3
|
* Hook device list updates to replicationErik Johnston2017-01-271-0/+15
|
* CommentErik Johnston2017-01-271-0/+2
|
* SQL param orderingErik Johnston2017-01-271-1/+1
|
* User if rather than forErik Johnston2017-01-271-1/+4
|
* Better nameErik Johnston2017-01-271-1/+1
|
* Remove unused paramErik Johnston2017-01-271-2/+1
|
* Handle users leaving roomsErik Johnston2017-01-261-0/+8
|
* Add commentsErik Johnston2017-01-261-2/+35
|
* Implement device key caching over federationErik Johnston2017-01-261-12/+189
|
* Fix up sending of m.device_list_update edusErik Johnston2017-01-251-20/+20
|
* Add basic implementation of local device list changesErik Johnston2017-01-251-9/+160
|
* Log the types and values when failing to store devicesMark Haines2016-09-071-2/+6
|
* Implement updating devicesRichard van der Hoff2016-07-261-1/+26
| | | | You can update the displayname of devices now.
* Implement deleting devicesRichard van der Hoff2016-07-261-0/+15
|
* GET /devices endpointRichard van der Hoff2016-07-201-1/+21
| | | | | | | implement a GET /devices endpoint which lists all of the user's devices. It also returns the last IP where we saw that device, so there is some dancing to fish that out of the user_ips table.
* Add device_id support to /loginRichard van der Hoff2016-07-181-0/+77
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.