summary refs log tree commit diff
path: root/synapse/handlers/message.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-22Propagate opentracing contexts through EDUs (#5852)Jorik Schellekens9-94/+234
Propagate opentracing contexts through EDUs Co-Authored-By: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2019-08-22Opentracing across workers (#5771)Jorik Schellekens5-83/+123
Propagate opentracing contexts across workers Also includes some Convenience modifications to opentracing for servlets, notably: - Add boolean to skip the whitelisting check on inject extract methods. - useful when injecting into carriers locally. Otherwise we'd always have to include our own servername and whitelist our servername - start_active_span_from_request instead of header - Add boolean to decide whether to extract context from a request to a servlet
2019-08-22Remove shared secret registration from client/r0/register endpointManuel Stahl2-53/+5
This type of registration was probably never used. It only includes the user name in the HMAC but not the password. Shared secret registration is still available via client/r0/admin/register. Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de>
2019-08-22Revert "Do not send consent notices if "no-consent-required" is set"Brendan Abolivier1-4/+0
This reverts commit 27a686e53b8ba3f2e2f102fae73e598c00ec0086.
2019-08-22Revert "Add "require_consent" parameter for registration"Brendan Abolivier3-18/+3
This reverts commit 3320aaab3a9bba3f5872371aba7053b41af9d0a0.
2019-08-22Do not send consent notices if "no-consent-required" is setHalf-Shot1-0/+4
2019-08-22Add "require_consent" parameter for registrationHalf-Shot3-3/+18
2019-08-22Opentrace e2e keys (#5855)Jorik Schellekens7-7/+142
Add opentracing tags and logs for e2e keys
2019-08-22Add missing index on users_in_public_rooms. (#5894)Richard van der Hoff2-0/+18
2019-08-22Servlet to purge old rooms (#5845)Richard van der Hoff6-0/+232
2019-08-22Improve error msg when key-fetch fails (#5896)Richard van der Hoff2-5/+8
There's no point doing a raise_from here, because the exception is always logged at warn with no stacktrace in the caller. Instead, let's try to give better messages to reduce confusion. In particular, this means that we won't log 'Failed to connect to remote server' when we don't even attempt to connect to the remote server due to blacklisting.
2019-08-21Drop some unused tables. (#5893)Richard van der Hoff4-47/+23
These tables are never used, so we may as well drop them.
2019-08-20Avoid deep recursion in appservice recovery (#5885)Richard van der Hoff2-18/+26
Hopefully, this will fix a stack overflow when recovering an appservice. The recursion here leads to a huge chain of deferred callbacks, which then overflows the stack when the chain completes. `inlineCallbacks` makes a better job of this if we use iteration instead. Clean up the code a bit too, while we're there.
2019-08-20Opentracing doc update (#5776)Jorik Schellekens2-27/+41
Update opentracing docs to use the unified 'trace' method
2019-08-20Refactor the Appservice scheduler codeRichard van der Hoff