summary refs log tree commit diff
path: root/synapse/groups/attestations.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/develop' into rav/use_run_in_backgroundRichard van der Hoff2018-04-271-20/+24
|\
| * Improve exception handling for background processesRichard van der Hoff2018-04-271-20/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were a bunch of places where we fire off a process to happen in the background, but don't have any exception handling on it - instead relying on the unhandled error being logged when the relevent deferred gets garbage-collected. This is unsatisfactory for a number of reasons: - logging on garbage collection is best-effort and may happen some time after the error, if at all - it can be hard to figure out where the error actually happened. - it is logged as a scary CRITICAL error which (a) I always forget to grep for and (b) it's not really CRITICAL if a background process we don't care about fails. So this is an attempt to add exception handling to everything we fire off into the background.
* | Use run_in_background in preference to preserve_fnRichard van der Hoff2018-04-271-2/+2
|/ | | | | | While I was going through uses of preserve_fn for other PRs, I converted places which only use the wrapped function once to use run_in_background, to avoid creating the function object.
* Revert "Merge branch 'master' of github.com:matrix-org/synapse into develop"Erik Johnston2017-11-071-1/+10
| | | | | This reverts commit f9b255cd62fe724e16b2222f6af623b2d39282ab, reversing changes made to 1bd654dabde776bbb7ee365c115b307cd6a110b8.
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2017-11-071-10/+1
|\
| * Revert "Add jitter to validity period of attestations"Erik Johnston2017-10-271-12/+1
| |
* | Merge branch 'erikj/attestation_jitter' of github.com:matrix-org/synapse ↵Erik Johnston2017-10-271-1/+11
|\| | | | | | | into develop
| * Add jitter to validity period of attestationsErik Johnston2017-10-271-1/+12
| | | | | | | | | | This helps ensure that the renewals of attestations are spread out more evenly.
* | Merge branch 'erikj/attestation_local_fix' of github.com:matrix-org/synapse ↵Erik Johnston2017-10-271-4/+16
|\ \ | | | | | | | | | into develop
| * | Import loggerErik Johnston2017-10-271-0/+5
| | |
| * | FixupErik Johnston2017-10-271-3/+3
| | |
| * | Remove incorrect attestationsErik Johnston2017-10-271-0/+1
| | |
| * | Log if we try to do attestations for our own user and groupErik Johnston2017-10-271-2/+8
| |/
* / Add comment about attestationsErik Johnston2017-10-271-0/+22
|/
* Fix typo in group attestation handlingErik Johnston2017-10-191-1/+2
|
* Fix typoErik Johnston2017-10-191-1/+1
|
* CommentErik Johnston2017-07-111-5/+8
|
* TypoErik Johnston2017-07-111-1/+1
|
* CommentsErik Johnston2017-07-111-2/+2
|
* CommentsErik Johnston2017-07-111-1/+28
|
* Initial group server implementationErik Johnston2017-07-101-0/+120