- Apr 29, 2018
-
-
Richard van der Hoff authored
Add py3 tests to tox with folders that work
-
Richard van der Hoff authored
more bytes strings
-
Richard van der Hoff authored
add missing comma
-
Richard van der Hoff authored
Use run_in_background in preference to preserve_fn
-
Richard van der Hoff authored
Construct HMAC as bytes on py3
-
Richard van der Hoff authored
Use six.moves.urlparse
-
- Apr 28, 2018
-
-
Adrian Tschira authored
Signed-off-by:
Adrian Tschira <nota@notafile.com>
-
Adrian Tschira authored
Signed-off-by:
Adrian Tschira <nota@notafile.com>
-
- Apr 27, 2018
-
-
Adrian Tschira authored
It's just a few tests, but it will at least prevent a few files from regressing. Also, it makes it easiert to check your code against py36 while writing it. Signed-off-by:
Adrian Tschira <nota@notafile.com>
-
Richard van der Hoff authored
Use deferred.addTimeout instead of time_bound_deferred
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Erik Johnston authored
-
Richard van der Hoff authored
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.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Twisted 16.0 doesn't have addTimeout, so let's backport it.
-
Richard van der Hoff authored
reraise exceptions more carefully
-
Neil Johnson authored
-
Neil Johnson authored
-
Richard van der Hoff authored
Miscellaneous fixes to python_dependencies
-
Richard van der Hoff authored
Improve exception handling for background processes
-
Richard van der Hoff authored
Add missing consumeErrors to improve exception handling
-
Richard van der Hoff authored
We need to be careful (under python 2, at least) that when we reraise an exception after doing some error handling, we actually reraise the original exception rather than anything that might have been raised (and handled) during the error handling.
-
Richard van der Hoff authored
In general we want defer.gatherResults to consumeErrors, rather than having exceptions hanging around and getting logged as CRITICAL unhandled errors.
-
Richard van der Hoff authored
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.
-
Neil Johnson authored
Changes in synapse v0.28.0-rc1 (2018-04-26) =========================================== Bug Fixes: * Fix quarantine media admin API and search reindex (PR #3130) * Fix media admin APIs (PR #3134) Changes in synapse v0.28.0-rc1 (2018-04-24) =========================================== Minor performance improvement to federation sending and bug fixes. (Note: This release does not include state resolutions discussed in matrix live) Features: * Add metrics for event processing lag (PR #3090) * Add metrics for ResponseCache (PR #3092) Changes: * Synapse on PyPy (PR #2760) Thanks to @Valodim! * move handling of auto_join_rooms to RegisterHandler (PR #2996) Thanks to @krombel! * Improve handling of SRV records for federation connections (PR #3016) Thanks to @silkeh! * Document the behaviour of ResponseCache (PR #3059) * Preparation for py3 (PR #3061, #3073, #3074, #3075, #3103, #3104, #3106, #3107, #3109, #3110) Thanks to @NotAFile! * update prometheus dashboard to use new metric names (PR #3069) Thanks to @krombel! * use python3-compatible prints (PR #3074) Thanks to @NotAFile! * Send federation events concurrently (PR #3078) * Limit concurrent event sends for a room (PR #3079) * Improve R30 stat definition (PR #3086) * Send events to ASes concurrently (PR #3088) * Refactor ResponseCache usage (PR #3093) * Clarify that SRV may not point to a CNAME (PR #3100) Thanks to @silkeh! * Use str(e) instead of e.message (PR #3103) Thanks to @NotAFile! * Use six.itervalues in some places (PR #3106) Thanks to @NotAFile! * Refactor store.have_events (PR #3117) Bug Fixes: * Return 401 for invalid access_token on logout (PR #2938) Thanks to @dklug! * Return a 404 rather than a 500 on rejoining empty rooms (PR #3080) * fix federation_domain_whitelist (PR #3099) * Avoid creating events with huge numbers of prev_events (PR #3113) * Reject events which have lots of prev_events (PR #3118)
-
Richard van der Hoff authored
-
- Apr 26, 2018
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
* add some doc about wtf this thing does * pin Twisted to < 18.4 * add explicit dep on six (fixes #3089)
-
Erik Johnston authored
Fix media admin APIs
-
Erik Johnston authored
- Apr 25, 2018
-
-
Erik Johnston authored
Fix quarantine media admin API
-
Erik Johnston authored
-
Erik Johnston authored
-
- Apr 24, 2018
-
-
Neil Johnson authored
Rephrase v0.28.0-rc1 summary
-
Neil Johnson authored
-
Neil Johnson authored
fix formatting on line break
-