summary refs log tree commit diff
path: root/synapse/handlers/e2e_room_keys.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactor and convert `Linearizer` to async (#12357)Sean Quah2022-04-051-7/+7
| | | | | | | | | | | Refactor and convert `Linearizer` to async. This makes a `Linearizer` cancellation bug easier to fix. Also refactor to use an async context manager, which eliminates an unlikely footgun where code that doesn't immediately use the context manager could forget to release the lock. Signed-off-by: Sean Quah <seanq@element.io>
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-1/+1
| | | | | | | The presence of this method was confusing, and mostly present for backwards compatibility. Let's get rid of it. Part of #11733
* Add type hints to `synapse/storage/databases/main/e2e_room_keys.py` (#11549)Sean Quah2021-12-141-5/+10
|
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Import HomeServer from the proper module. (#9665)Patrick Cloke2021-03-231-1/+1
|
* Add type hints to E2E handler. (#9232)Patrick Cloke2021-01-281-33/+58
| | | This finishes adding type hints to the `synapse.handlers` module.
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-1/+1
|
* Convert E2E key and room key handlers to async/await. (#7851)Patrick Cloke2020-07-151-42/+33
|
* Ensure etag is a string for GET room_keys/version response (#7691)Hubert Chathi2020-06-151-0/+1
|
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-4/+2
|
* LintBrendan Abolivier2020-03-061-2/+1
|
* Mention the session ID in the error messageBrendan Abolivier2020-03-061-2/+3
|
* LintBrendan Abolivier2020-03-061-1/+2
|
* Make sure that is_verified is a boolean when processing room keysBrendan Abolivier2020-03-061-0/+6
|
* add etag and count to key backup endpoints (#5858)Hubert Chathi2019-11-271-50/+80
|
* make version optional in body of e2e backup version updateHubert Chathi2019-10-091-2/+2
| | | | to agree with latest version of the MSC
* Opentrace e2e keys (#5855)Jorik Schellekens2019-08-221-2/+26
| | | Add opentracing tags and logs for e2e keys
* Replace returnValue with return (#5736)Amber Brown2019-07-231-4/+4
|
* Run Black. (#5482)Amber Brown2019-06-201-23/+15
|
* make sure version is in body and wrap in linearizer queueHubert Chathi2019-02-081-11/+26
| | | | also add tests
* re-try to make isort happyHubert Chathi2019-02-061-1/+1
|
* fix import to make isort happyHubert Chathi2019-02-061-2/+7
|
* add new endpoint to update backup versionsHubert Chathi2019-02-061-1/+33
|
* return proper error codes for some 404sHubert Chathi2019-02-061-4/+16
|
* handle empty backups according to latest spec proposal (#4123)Hubert Chathi2018-11-051-7/+15
| | | fixes #4056
* Linting soothes the savage PEP8 monsterDavid Baker2018-10-121-4/+9
|
* PR feedback pt. 1David Baker2018-10-121-20/+21
|
* Apparently this blank line is Very ImportantDavid Baker2018-10-091-0/+1
|
* be python3 compatibleDavid Baker2018-10-091-2/+3
|
* try to make flake8 and isort happyHubert Chathi2018-09-061-1/+1
|
* update to newer Synapse APIsHubert Chathi2018-08-241-1/+1
|
* support DELETE /version with no argsMatthew Hodgson2018-08-121-1/+1
|
* implement remaining tests and make them workMatthew Hodgson2018-08-121-7/+28
|
* switch get_current_version_info back to being get_version_infoMatthew Hodgson2018-08-121-4/+7
|
* fix flakesMatthew Hodgson2018-08-121-2/+2
|
* fix typosMatthew Hodgson2018-08-121-1/+2
|
* add a tonne of docstring; make upload_room_keys properly assert versionMatthew Hodgson2018-08-121-8/+103
|
* more docstring for the e2e_room_keys restMatthew Hodgson2018-08-121-2/+0
|
* fix factoring out of _should_replace_room_keyMatthew Hodgson2018-08-121-3/+4
|
* rename room_key_version table correctly, and fix opt argsMatthew Hodgson2018-08-121-3/+3
|
* blindly incorporate PR review - needs testing & fixingMatthew Hodgson2018-08-121-30/+58
|
* make /room_keys/version workMatthew Hodgson2018-08-121-7/+11
|
* implement /room_keys/version too (untested)Matthew Hodgson2018-08-121-5/+42
|
* make it work and fix pep8Matthew Hodgson2018-08-121-26/+43
|
* interim WIP checkin; doesn't build yetMatthew Hodgson2018-08-121-15/+31
|
* total WIP skeleton for /room_keys APIMatthew Hodgson2018-08-121-0/+60