summary refs log tree commit diff
path: root/synapse/handlers/device.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Cache empty responses from `/user/devices` (#11587)David Robertson2022-01-051-1/+9
* Make `get_device` return None if the device doesn't exist rather than raising...reivilibre2021-12-131-4/+6
* Save the OIDC session ID (sid) with the device on login (#11482)Quentin Gliech2021-12-061-0/+8
* Improve docstrings for methods related to sending EDUs to application service...Andrew Morgan2021-10-211-0/+4
* Add type hints to `synapse.storage.databases.main.client_ips` (#10972)Sean Quah2021-10-121-2/+13
* Remove the deprecated BaseHandler. (#11005)Patrick Cloke2021-10-081-5/+5
* Require type hints in the handlers module. (#10831)Patrick Cloke2021-09-201-1/+1
* Use inline type hints in `handlers/` and `rest/`. (#10382)Jonathan de Jong2021-07-161-7/+7
* Clear the resync bit after resyncing device lists (#9867)Richard van der Hoff2021-04-221-0/+7
* Remove `synapse.types.Collection` (#9856)Richard van der Hoff2021-04-221-2/+1
* Fix (final) Bugbear violations (#9838)Jonathan de Jong2021-04-201-8/+5
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Add type hints to expiring cache. (#9730)Patrick Cloke2021-04-061-2/+2
* Import HomeServer from the proper module. (#9665)Patrick Cloke2021-03-231-1/+1
* only save remote cross-signing keys if they're different from the current one...Hubert Chathi2021-03-171-4/+18
* Fix bad naming of storage function (#9637)Erik Johnston2021-03-171-1/+1
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-10/+20
* Add type hints to E2E handler. (#9232)Patrick Cloke2021-01-281-6/+6
* Add typing information to the device handler. (#8407)Patrick Cloke2020-10-071-35/+54
* Add support for MSC2697: Dehydrated devices (#8380)Hubert Chathi2020-10-071-2/+82
* Various clean ups to room stream tokens. (#8423)Erik Johnston2020-09-291-3/+1
* Create function to check for long names in devices (#8364)Dionysis Grigoropoulos2020-09-221-6/+24
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-2/+2
* Make `StreamToken.room_key` be a `RoomStreamToken` instance. (#8281)Erik Johnston2020-09-111-7/+5
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
* Move and rename `get_devices_with_keys_by_user` (#8204)Richard van der Hoff2020-09-011-1/+3
* Fix TypeError in synapse.notifier (#7880)Erik Johnston2020-07-171-0/+8
* Convert device handler to async/await (#7871)Patrick Cloke2020-07-171-136/+105
* Fix "There was no active span when trying to log." error (#7698)Erik Johnston2020-06-151-0/+1
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-8/+6
* Process cross-signing keys when resyncing device lists (#7594)Brendan Abolivier2020-06-011-1/+57
* Don't fail all of an iteration of the device list retry loop on error (#7609)Brendan Abolivier2020-06-011-15/+21
* Retry to sync out of sync device lists (#7453)Brendan Abolivier2020-05-211-7/+73
* Convert auth handler to async/await (#7261)Patrick Cloke2020-04-151-4/+8
* Add explanatory commentAndrew Morgan2020-03-301-1/+2
* blackDavid Baker2020-03-301-1/+3
* Just add own user ID to the list we track device changes forDavid Baker2020-03-301-3/+5
* Fix undefined variable & remove debug loggingDavid Baker2020-03-271-10/+2
* blackDavid Baker2020-03-271-4/+4
* Always send the user updates to their own device listDavid Baker2020-03-271-3/+16
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-1/+1
* Reject device display names that are too long (#6882)Patrick Cloke2020-02-101-1/+13
* Add support for putting fed user query API on workers (#6873)Erik Johnston2020-02-071-19/+16
* Check sender_key matches on inbound encrypted events. (#6850)Erik Johnston2020-02-051-1/+7
* Merge branch 'develop' into cross-signing_federationHubert Chathi2019-10-311-3/+4
|\
| * Merge pull request #6294 from matrix-org/erikj/add_state_storageErik Johnston2019-10-311-1/+2
| |\
| | * Port to use state storageErik Johnston2019-10-301-1/+2
| * | Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-2/+2
| |/
* | update to work with newer code, and fix formattingHubert Chathi2019-10-221-1/+1
* | implement federation parts of cross-signingHubert Chathi2019-10-221-1/+12
|/
* Merge branch 'develop' into cross-signing_keysHubert Chathi2019-09-041-2/+63
|\
| * Opentrace device lists (#5853)Jorik Schellekens2019-09-031-2/+63
* | Merge branch 'cross-signing_hidden' into cross-signing_keysHubert Chathi2019-08-011-85/+87
|\|
| * Update the device list cache when keys/query is called (#5693)Jorik Schellekens2019-07-291-72/+78
| * Replace returnValue with return (#5736)Amber Brown2019-07-231-13/+9
* | allow uploading keys for cross-signingHubert Chathi2019-07-251-0/+17
|/
* Rename get_users_whose_devices_changedErik Johnston2019-06-261-1/+1
* Refactor get_user_ids_changed to pull less from DBErik Johnston2019-06-261-6/+6
* Run Black. (#5482)Amber Brown2019-06-201-63/+49
* Merge pull request #4829 from matrix-org/erikj/device_list_seen_updatesErik Johnston2019-03-081-3/+7
|\
| * When re-syncing device lists reset the stateErik Johnston2019-03-071-3/+7
* | Add some debug logging for device list handlingErik Johnston2019-03-071-2/+38
|/
* Allow /keys/{changes,query} API to run on workerErik Johnston2019-03-041-2/+2
* Split DeviceHandler into master and workerErik Johnston2019-03-041-168/+174
* pep8Erik Johnston2019-02-181-1/+5
* Correctly handle HttpResponseExceptionErik Johnston2019-02-181-4/+4
* Correctly handle RequestSendFailed exceptionsErik Johnston2019-02-141-2/+2
* don't store more remote device lists if they have more than 1K devices (#4397)Richard van der Hoff2019-01-161-0/+19
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-1/+1
* s/becuase/because/gMatthew Hodgson2018-07-101-1/+1
* run isortAmber Brown2018-07-091-7/+9
* Consistently use six's iteritems and wrap lazy keys/values in list() if they'...Amber Brown2018-05-311-2/+2
* replace some iteritems with sixAdrian Tschira2018-05-191-6/+8
* replace old style error catching with 'as' keywordNotAFile2018-03-151-3/+3
* s/replication_client/federation_client/Erik Johnston2018-03-131-1/+1
* Split replication layer into twoErik Johnston2018-03-131-2/+1
* Split out edu/query registration to a separate classErik Johnston2018-03-131-2/+4
* Add federation_domain_whitelist option (#2820)Matthew Hodgson2018-01-221-0/+4
* Delete devices in various logout situationsRichard van der Hoff2017-11-291-1/+19
* Merge remote-tracking branch 'origin/develop' into rav/refactor_accesstoken_d...David Baker2017-11-011-2/+0
|\
| * Remove the last vestiges of refresh_tokensRichard van der Hoff2017-10-311-2/+0
* | Move access token deletion into auth handlerRichard van der Hoff2017-11-011-2/+3
|/
* Correctly handle leaving room in /key/changesErik Johnston2017-09-181-13/+12
* Fix typoErik Johnston2017-09-151-1/+1
* Handle joining/leaving rooms in /keys/changesErik Johnston2017-09-131-1/+38
* Add left section to /keys/changesErik Johnston2017-09-081-6/+16
* Send down device list change notif when member leaves/rejoins roomErik Johnston2017-09-071-1/+1
* Fix up client ips to read from pending dataErik Johnston2017-06-271-2/+2
* CommentErik Johnston2017-05-051-0/+6
* Add comment and TODOErik Johnston2017-05-051-0/+6
* Handle exceptions thrown in handling remote device list updatesErik Johnston2017-05-051-1/+16
* Don't recreate so many setsErik Johnston2017-03-161-8/+6
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/public_lis...Erik Johnston2017-03-141-0/+34
|\
| * Implement _simple_delete_many_txn, use it to delete devicesLuke Barnard2017-03-131-0/+34
* | Get current state by using current_state_events tableErik Johnston2017-03-101-1/+1
|/
* Don't keep around old stream IDs foreverErik Johnston2017-03-031-2/+9
* SpellingErik Johnston2017-03-031-2/+2
* Fix device list update to not constantly resyncErik Johnston2017-03-011-46/+115
* Fix bugs in the /keys/changes apiRichard van der Hoff2017-02-141-9/+29
* Measure new device list stuffErik Johnston2017-02-021-0/+4
* Use new get_users_who_share_room_with_userErik Johnston2017-02-021-11/+13
* Use stream_ordering_to_exterm for /keys/changesErik Johnston2017-02-021-9/+9
* Doc argsErik Johnston2017-02-011-0/+7
* Include newly joined users in /keys/changes APIErik Johnston2017-02-011-4/+35
* Implement /keys/changesErik Johnston2017-02-011-0/+16
* Use get_users_in_room and declare it iterableErik Johnston2017-01-301-1/+1
* Hook device list updates to replicationErik Johnston2017-01-271-16/+0
* Better nameErik Johnston2017-01-271-1/+3
* Handle users leaving roomsErik Johnston2017-01-261-1/+16
* Add commentsErik Johnston2017-01-261-3/+16
* Implement device key caching over federationErik Johnston2017-01-261-12/+73
* Fix up sending of m.device_list_update edusErik Johnston2017-01-251-0/+1
* Add basic implementation of local device list changesErik Johnston2017-01-251-12/+53
* make device IDs more useful for human disambiguationMatthew Hodgson2016-09-131-1/+1
* PEP8Richard van der Hoff2016-08-031-1/+1
* Default device_display_name to nullRichard van der Hoff2016-08-031-1/+1
* Delete e2e keys on device deleteRichard van der Hoff2016-07-271-0/+4
* Delete refresh tokens when deleting devicesRichard van der Hoff2016-07-261-2/+4
* Implement updating devicesRichard van der Hoff2016-07-261-0/+24
* Implement deleting devicesRichard van der Hoff2016-07-261-1/+26
* make /devices return a listRichard van der Hoff2016-07-211-5/+5
* Fix PEP8 errorsRichard van der Hoff2016-07-211-1/+1
* Implement GET /device/{deviceId}Richard van der Hoff2016-07-211-9/+37
* GET /devices endpointRichard van der Hoff2016-07-201-0/+27
* Add device_id support to /loginRichard van der Hoff2016-07-181-0/+71