Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use auto_attribs/native type hints for attrs classes. (#11692) | Patrick Cloke | 2022-01-13 | 1 | -3/+3 |
| | |||||
* | 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>` | ||||
* | Add additional type hints to the storage module. (#8980) | Patrick Cloke | 2020-12-30 | 1 | -2/+3 |
| | |||||
* | Stop sub-classing object (#8249) | Patrick Cloke | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | Move storage classes into a main "data store". | Erik Johnston | 2019-10-21 | 1 | -194/+0 |
| | | | | | This is in preparation for having multiple data stores that offer different functionality, e.g. splitting out state or event storage. | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -1/+1 |
| | |||||
* | Fix key verification when key stored with null valid_until_ms | Erik Johnston | 2019-06-10 | 1 | -0/+8 |
| | | | | | | | | | | Some keys are stored in the synapse database with a null valid_until_ms which caused an exception to be thrown when using that key. We fix this by treating nulls as zeroes, i.e. they keys will match verification requests with a minimum_valid_until_ms of zero (i.e. don't validate ts) but will not match requests with a non-zero minimum_valid_until_ms. Fixes #5391. | ||||
* | Store key validity time in the storage layer | Richard van der Hoff | 2019-05-23 | 1 | -10/+21 |
| | | | | | | | | This is a first step to checking that the key is valid at the required moment. The idea here is that, rather than passing VerifyKey objects in and out of the storage layer, we instead pass FetchKeyResult objects, which simply wrap the VerifyKey and add a valid_until_ts field. | ||||
* | Rewrite store_server_verify_key to store several keys at once (#5234) | Richard van der Hoff | 2019-05-23 | 1 | -26/+39 |
| | | | | | Storing server keys hammered the database a bit. This replaces the implementation which stored a single key, with one which can do many updates at once. | ||||
* | Rewrite Datastore.get_server_verify_keys | Richard van der Hoff | 2019-04-09 | 1 | -28/+46 |
| | | | | Rewrite this so that it doesn't hammer the database. | ||||
* | Remove unused server_tls_certificates functions (#5028) | Richard van der Hoff | 2019-04-08 | 1 | -48/+1 |
| | | | | These have been unused since #4120, and with the demise of perspectives, it is unlikely that they will ever be used again. | ||||
* | Fix docstring on get_server_keys_json | Richard van der Hoff | 2019-04-04 | 1 | -2/+2 |
| | |||||
* | Run black on the rest of the storage module (#4996) | Amber Brown | 2019-04-03 | 1 | -27/+18 |
| | |||||
* | Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase ↵ | Amber Brown | 2018-10-20 | 1 | -1/+1 |
| | | | | on py3) (#4068) | ||||
* | clearer logging when things fail, too | Richard van der Hoff | 2018-09-06 | 1 | -0/+1 |
| | |||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -6/+8 |
| | |||||
* | add remaining memoryview changes | Adrian Tschira | 2018-05-29 | 1 | -3/+3 |
| | |||||
* | use memoryview in py3 | Adrian Tschira | 2018-05-29 | 1 | -0/+8 |
| | | | | Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | Misc. py3 fixes | Adrian Tschira | 2018-05-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Adrian Tschira <nota@notafile.com> | ||||
* | Invalidate signing key cache when we gat an update | Richard van der Hoff | 2017-09-20 | 1 | -17/+24 |
| | | | | This might make the cache slightly more efficient. | ||||
* | fix up some key verif docstrings | Richard van der Hoff | 2017-03-21 | 1 | -2/+3 |
| | |||||
* | Add more key storage funcs into slave store | Erik Johnston | 2016-07-28 | 1 | -18/+16 |
| | |||||
* | Split out a FederationReader process | Erik Johnston | 2016-07-21 | 1 | -0/+4 |
| | |||||
* | Fix relative imports so they work in both py3 and py27 | Mark Haines | 2016-03-08 | 1 | -1/+1 |
| | |||||
* | Add descriptions | Erik Johnston | 2016-02-03 | 1 | -0/+1 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Remove syutil dependency in favour of smaller single-purpose libraries | Mark Haines | 2015-08-24 | 1 | -1/+1 |
| | |||||
* | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 1 | -1/+2 |
| | |||||
* | Change Cache to not use *args in its interface | Erik Johnston | 2015-08-07 | 1 | -1/+1 |
| | |||||
* | Add support for using keyword arguments with cached functions | Erik Johnston | 2015-07-27 | 1 | -3/+2 |
| | |||||
* | Implement bulk verify_signed_json API | Erik Johnston | 2015-06-26 | 1 | -19/+31 |
| | |||||
* | SYN-367: Use upsert rather than insert_or_replace | Mark Haines | 2015-04-30 | 1 | -2/+6 |
| | |||||
* | Merge branch 'develop' into key_distribution | Mark Haines | 2015-04-29 | 1 | -6/+10 |
|\ | | | | | | | | | Conflicts: synapse/config/homeserver.py | ||||
| * | Fix unicode support | Erik Johnston | 2015-04-02 | 1 | -4/+10 |
| | | |||||
| * | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -2/+2 |
| | | |||||
| * | Fix unicode database support | Erik Johnston | 2015-03-25 | 1 | -2/+2 |
| | | |||||
| * | Remove uses of REPLACE and ON CONFLICT IGNORE to make the SQL more portable. | Erik Johnston | 2015-03-23 | 1 | -2/+0 |
| | | |||||
* | | Implement remote key lookup api | Mark Haines | 2015-04-22 | 1 | -13/+22 |
| | | |||||
* | | Add methods for storing and retrieving the raw key json | Mark Haines | 2015-04-15 | 1 | -0/+56 |
|/ | |||||
* | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-11 | 1 | -2/+2 |
| | |||||
* | Add a description to storage layer's _execute_and_decode() | Paul "LeoNerd" Evans | 2015-03-11 | 1 | -1/+3 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Fix pep8 warnings | Mark Haines | 2014-10-30 | 1 | -1/+2 |
| | |||||
* | Fix pyflakes warnings | Mark Haines | 2014-10-27 | 1 | -1/+0 |
| | |||||
* | Respond with more helpful error messages for unsigned requests | Mark Haines | 2014-10-13 | 1 | -0/+2 |
| | |||||
* | SYN-75 Verify signatures on server to server transactions | Mark Haines | 2014-09-30 | 1 | -31/+44 |
| | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 1 | -1/+1 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Fix homeserver config parsing | Mark Haines | 2014-09-01 | 1 | -1/+1 |
| | |||||
* | Add store for server certificates and keys | Mark Haines | 2014-08-28 | 1 | -0/+103 |