Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove redundant types from comments. (#14412) | Patrick Cloke | 2022-11-16 | 1 | -2/+3 |
| | | | | | | | Remove type hints from comments which have been added as Python type hints. This helps avoid drift between comments and reality, as well as removing redundant information. Also adds some missing type hints which were simple to fill in. | ||||
* | Add missing types to opentracing. (#13345) | Patrick Cloke | 2022-07-21 | 1 | -2/+2 |
| | | | After this change `synapse.logging` is fully typed. | ||||
* | Refactor and convert `Linearizer` to async (#12357) | Sean Quah | 2022-04-05 | 1 | -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 Hoff | 2022-02-23 | 1 | -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 Quah | 2021-12-14 | 1 | -5/+10 |
| | |||||
* | Remove redundant "coding: utf-8" lines (#9786) | Jonathan de Jong | 2021-04-14 | 1 | -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 Cloke | 2021-03-23 | 1 | -1/+1 |
| | |||||
* | Add type hints to E2E handler. (#9232) | Patrick Cloke | 2021-01-28 | 1 | -33/+58 |
| | | | This finishes adding type hints to the `synapse.handlers` module. | ||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Convert E2E key and room key handlers to async/await. (#7851) | Patrick Cloke | 2020-07-15 | 1 | -42/+33 |
| | |||||
* | Ensure etag is a string for GET room_keys/version response (#7691) | Hubert Chathi | 2020-06-15 | 1 | -0/+1 |
| | |||||
* | Replace iteritems/itervalues/iterkeys with native versions. (#7692) | Patrick Cloke | 2020-06-15 | 1 | -4/+2 |
| | |||||
* | Lint | Brendan Abolivier | 2020-03-06 | 1 | -2/+1 |
| | |||||
* | Mention the session ID in the error message | Brendan Abolivier | 2020-03-06 | 1 | -2/+3 |
| | |||||
* | Lint | Brendan Abolivier | 2020-03-06 | 1 | -1/+2 |
| | |||||
* | Make sure that is_verified is a boolean when processing room keys | Brendan Abolivier | 2020-03-06 | 1 | -0/+6 |
| | |||||
* | add etag and count to key backup endpoints (#5858) | Hubert Chathi | 2019-11-27 | 1 | -50/+80 |
| | |||||
* | make version optional in body of e2e backup version update | Hubert Chathi | 2019-10-09 | 1 | -2/+2 |
| | | | | to agree with latest version of the MSC | ||||
* | Opentrace e2e keys (#5855) | Jorik Schellekens | 2019-08-22 | 1 | -2/+26 |
| | | | Add opentracing tags and logs for e2e keys | ||||
* | Replace returnValue with return (#5736) | Amber Brown | 2019-07-23 | 1 | -4/+4 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -23/+15 |
| | |||||
* | make sure version is in body and wrap in linearizer queue | Hubert Chathi | 2019-02-08 | 1 | -11/+26 |
| | | | | also add tests | ||||
* | re-try to make isort happy | Hubert Chathi | 2019-02-06 | 1 | -1/+1 |
| | |||||
* | fix import to make isort happy | Hubert Chathi | 2019-02-06 | 1 | -2/+7 |
| | |||||
* | add new endpoint to update backup versions | Hubert Chathi | 2019-02-06 | 1 | -1/+33 |
| | |||||
* | return proper error codes for some 404s | Hubert Chathi | 2019-02-06 | 1 | -4/+16 |
| | |||||
* | handle empty backups according to latest spec proposal (#4123) | Hubert Chathi | 2018-11-05 | 1 | -7/+15 |
| | | | fixes #4056 | ||||
* | Linting soothes the savage PEP8 monster | David Baker | 2018-10-12 | 1 | -4/+9 |
| | |||||
* | PR feedback pt. 1 | David Baker | 2018-10-12 | 1 | -20/+21 |
| | |||||
* | Apparently this blank line is Very Important | David Baker | 2018-10-09 | 1 | -0/+1 |
| | |||||
* | be python3 compatible | David Baker | 2018-10-09 | 1 | -2/+3 |
| | |||||
* | try to make flake8 and isort happy | Hubert Chathi | 2018-09-06 | 1 | -1/+1 |
| | |||||
* | update to newer Synapse APIs | Hubert Chathi | 2018-08-24 | 1 | -1/+1 |
| | |||||
* | support DELETE /version with no args | Matthew Hodgson | 2018-08-12 | 1 | -1/+1 |
| | |||||
* | implement remaining tests and make them work | Matthew Hodgson | 2018-08-12 | 1 | -7/+28 |
| | |||||
* | switch get_current_version_info back to being get_version_info | Matthew Hodgson | 2018-08-12 | 1 | -4/+7 |
| | |||||
* | fix flakes | Matthew Hodgson | 2018-08-12 | 1 | -2/+2 |
| | |||||
* | fix typos | Matthew Hodgson | 2018-08-12 | 1 | -1/+2 |
| | |||||
* | add a tonne of docstring; make upload_room_keys properly assert version | Matthew Hodgson | 2018-08-12 | 1 | -8/+103 |
| | |||||
* | more docstring for the e2e_room_keys rest | Matthew Hodgson | 2018-08-12 | 1 | -2/+0 |
| | |||||
* | fix factoring out of _should_replace_room_key | Matthew Hodgson | 2018-08-12 | 1 | -3/+4 |
| | |||||
* | rename room_key_version table correctly, and fix opt args | Matthew Hodgson | 2018-08-12 | 1 | -3/+3 |
| | |||||
* | blindly incorporate PR review - needs testing & fixing | Matthew Hodgson | 2018-08-12 | 1 | -30/+58 |
| | |||||
* | make /room_keys/version work | Matthew Hodgson | 2018-08-12 | 1 | -7/+11 |
| | |||||
* | implement /room_keys/version too (untested) | Matthew Hodgson | 2018-08-12 | 1 | -5/+42 |
| | |||||
* | make it work and fix pep8 | Matthew Hodgson | 2018-08-12 | 1 | -26/+43 |
| | |||||
* | interim WIP checkin; doesn't build yet | Matthew Hodgson | 2018-08-12 | 1 | -15/+31 |
| | |||||
* | total WIP skeleton for /room_keys API | Matthew Hodgson | 2018-08-12 | 1 | -0/+60 |