summary refs log tree commit diff
path: root/scripts-dev/tail-synapse.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-10Send 3PID bind requests as JSON dataBrendan Abolivier2-1/+2
2019-07-10Don't bundle aggregations when retrieving the original event (#5654)Andrew Morgan2-2/+13
A fix for PR #5626, which returned the original event content as part of a call to /relations. Only problem was that we were attempting to aggregate the relations on top of it when we did so. We now set bundle_aggregations to False in the get_event call. We also do this when pulling the relation events as well, because edits of edits are not something we'd like to support here.
2019-07-10Add a linting script (#5627)Andrew Morgan2-0/+13
Add a dev script to cover all the different linting steps.
2019-07-10Correct pep517 flag in readme (#5651)Bruno Windels2-1/+2
2019-07-09remove unused and unnecessary check for FederationDeniedError (#5645)Hubert Chathi2-4/+2
FederationDeniedError is a subclass of SynapseError, which is a subclass of CodeMessageException, so if e is a FederationDeniedError, then this check for FederationDeniedError will never be reached since it will be caught by the check for CodeMessageException above. The check for CodeMessageException does almost the same thing as this check (since FederationDeniedError initialises with code=403 and msg="Federation denied with %s."), so may as well just keep allowing it to handle this case.
2019-07-09Include the original event in /relations (#5626)Andrew Morgan4-4/+12
When asking for the relations of an event, include the original event in the response. This will mostly be used for efficiently showing edit history, but could be useful in other circumstances.
2019-07-08Remove access-token support from RegistrationHandler.register (#5641)Richard van der Hoff8-81/+44
Nothing uses this now, so we can remove the dead code, and clean up the API. Since we're changing the shape of the return value anyway, we take the opportunity to give the method a better name.
2019-07-08LintBrendan Abolivier1-2/+2