summary refs log tree commit diff
path: root/synapse/federation/units.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-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 Cloke2020-08-271-3/+1
|
* Add typing to synapse.federation.sender (#6871)Erik Johnston2020-02-071-3/+20
|
* Link the send loop with the edus contextsJorik Schellekens2019-09-051-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 Schellekens2019-08-221-0/+3
| | | | | Propagate opentracing contexts through EDUs Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
* Run Black. (#5482)Amber Brown2019-06-201-26/+7
|
* Clean up event accesses and testsErik Johnston2018-11-021-3/+0
| | | | | This is in preparation to refactor FrozenEvent to support different event formats for different room versions
* Remove pdu_failures from transactionsTravis Ralston2018-07-301-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 isortAmber Brown2018-07-091-2/+1
|
* transaction_id, destination twiceDamir Manapov2018-05-101-2/+0
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Fix pep8 codestyle warningsMark Haines2014-11-201-1/+0
|
* Merge PDUs and Events into one objectMark Haines2014-11-141-78/+1
|
* SYN-103: Remove "origin" and "destination" keys from edusMark Haines2014-11-131-5/+4
|
* PEP8Erik Johnston2014-11-101-4/+3
|
* Finish redaction algorithm.Erik Johnston2014-11-101-4/+2
|
* Add support for sending failuresErik Johnston2014-11-041-0/+1
|
* Remove unused importsErik Johnston2014-11-041-3/+0
|
* Fix bugs in generating event signatures and hashingErik Johnston2014-11-031-9/+2
|
* Rename PDU fields to match that of events.Erik Johnston2014-11-031-66/+12
|
* fix pyflakes warningsMark Haines2014-10-271-0/+2
|
* Remove signatures from pdu when computing hashes to use for prev pdus, make ↵Mark Haines2014-10-171-1/+1
| | | | sure is_state is a boolean.
* Merge branch 'develop' into event_signingMark Haines2014-10-171-8/+9
|\ | | | | | | | | Conflicts: synapse/federation/replication.py
| * keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵Mark Haines2014-10-171-0/+1
| | | | | | | | schema
| * SPEC-7: Rename 'ts' to 'origin_server_ts'Mark Haines2014-10-171-8/+8
| |
* | Rename 'meta' to 'unsigned'Mark Haines2014-10-171-1/+0
| |
* | move 'age' into 'meta' subdict so that it is clearer that it is not part of ↵Mark Haines2014-10-171-1/+5
| | | | | | | | the signed data
* | Include hashes of previous pdus when referencing themMark Haines2014-10-161-1/+9
| |
* | persist hashes and origin signatures for PDUsMark Haines2014-10-151-1/+16
|/
* SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin ↵Mark Haines2014-10-141-2/+6
| | | | from the transaction itself
* SYN-75 sign at the request level rather than the transaction levelMark Haines2014-10-131-0/+5
|
* SYN-75 Verify signatures on server to server transactionsMark Haines2014-09-301-3/+0
|
* Make the state resolution use actual power levels rather than taking them ↵Erik Johnston2014-09-121-0/+1
| | | | from a Pdu key.
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* Add all the necessary checks to make banning work.Erik Johnston2014-09-011-0/+1
|
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-131-0/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+236