Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert Transaction and Edu object to attrs (#10542) | Patrick Cloke | 2021-08-06 | 1 | -55/+35 |
| | | | | | Instead of wrapping the JSON into an object, this creates concrete instances for Transaction and Edu. This allows for improved type hints and simplified code. | ||||
* | 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>` | ||||
* | Bugbear: Add Mutable Parameter fixes (#9682) | Jonathan de Jong | 2021-04-08 | 1 | -2/+3 |
| | | | | | | | Part of #9366 Adds in fixes for B006 and B008, both relating to mutable parameter lint errors. Signed-off-by: Jonathan de Jong <jonathan@automatia.nl> | ||||
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -4/+4 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Convert calls of async database methods to async (#8166) | Patrick Cloke | 2020-08-27 | 1 | -3/+1 |
| | |||||
* | Add typing to synapse.federation.sender (#6871) | Erik Johnston | 2020-02-07 | 1 | -3/+20 |
| | |||||
* | Link the send loop with the edus contexts | Jorik Schellekens | 2019-09-05 | 1 | -0/+3 |
| | | | | | | The contexts were being filtered too early so the send loop wasn't being linked to them unless the destination was whitelisted. | ||||
* | Propagate opentracing contexts through EDUs (#5852) | Jorik Schellekens | 2019-08-22 | 1 | -0/+3 |
| | | | | | Propagate opentracing contexts through EDUs Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -26/+7 |
| | |||||
* | Clean up event accesses and tests | Erik Johnston | 2018-11-02 | 1 | -3/+0 |
| | | | | | This is in preparation to refactor FrozenEvent to support different event formats for different room versions | ||||
* | Remove pdu_failures from transactions | Travis Ralston | 2018-07-30 | 1 | -1/+0 |
| | | | The field is never read from, and all the opportunities given to populate it are not utilized. It should be very safe to remove this. | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -2/+1 |
| | |||||
* | transaction_id, destination twice | Damir Manapov | 2018-05-10 | 1 | -2/+0 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 1 | -1/+0 |
| | |||||
* | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 1 | -78/+1 |
| | |||||
* | SYN-103: Remove "origin" and "destination" keys from edus | Mark Haines | 2014-11-13 | 1 | -5/+4 |
| | |||||
* | PEP8 | Erik Johnston | 2014-11-10 | 1 | -4/+3 |
| | |||||
* | Finish redaction algorithm. | Erik Johnston | 2014-11-10 | 1 | -4/+2 |
| | |||||
* | Add support for sending failures | Erik Johnston | 2014-11-04 | 1 | -0/+1 |
| | |||||
* | Remove unused imports | Erik Johnston | 2014-11-04 | 1 | -3/+0 |
| | |||||
* | Fix bugs in generating event signatures and hashing | Erik Johnston | 2014-11-03 | 1 | -9/+2 |
| | |||||
* | Rename PDU fields to match that of events. | Erik Johnston | 2014-11-03 | 1 | -66/+12 |
| | |||||
* | fix pyflakes warnings | Mark Haines | 2014-10-27 | 1 | -0/+2 |
| | |||||
* | Remove signatures from pdu when computing hashes to use for prev pdus, make ↵ | Mark Haines | 2014-10-17 | 1 | -1/+1 |
| | | | | sure is_state is a boolean. | ||||
* | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-17 | 1 | -8/+9 |
|\ | | | | | | | | | Conflicts: synapse/federation/replication.py | ||||
| * | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵ | Mark Haines | 2014-10-17 | 1 | -0/+1 |
| | | | | | | | | schema | ||||
| * | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 1 | -8/+8 |
| | | |||||
* | | Rename 'meta' to 'unsigned' | Mark Haines | 2014-10-17 | 1 | -1/+0 |
| | | |||||
* | | move 'age' into 'meta' subdict so that it is clearer that it is not part of ↵ | Mark Haines | 2014-10-17 | 1 | -1/+5 |
| | | | | | | | | the signed data | ||||
* | | Include hashes of previous pdus when referencing them | Mark Haines | 2014-10-16 | 1 | -1/+9 |
| | | |||||
* | | persist hashes and origin signatures for PDUs | Mark Haines | 2014-10-15 | 1 | -1/+16 |
|/ | |||||
* | SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin ↵ | Mark Haines | 2014-10-14 | 1 | -2/+6 |
| | | | | from the transaction itself | ||||
* | SYN-75 sign at the request level rather than the transaction level | Mark Haines | 2014-10-13 | 1 | -0/+5 |
| | |||||
* | SYN-75 Verify signatures on server to server transactions | Mark Haines | 2014-09-30 | 1 | -3/+0 |
| | |||||
* | Make the state resolution use actual power levels rather than taking them ↵ | Erik Johnston | 2014-09-12 | 1 | -0/+1 |
| | | | | from a Pdu key. | ||||
* | 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. | ||||
* | Add all the necessary checks to make banning work. | Erik Johnston | 2014-09-01 | 1 | -0/+1 |
| | |||||
* | add in whitespace after copyright statements to improve legibility | Matthew Hodgson | 2014-08-13 | 1 | -0/+1 |
| | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 1 | -0/+236 |