summary refs log tree commit diff
path: root/demo (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-18Tweak wording in the changelog.Patrick Cloke1-2/+2
2020-09-181.20.0rc5Patrick Cloke6-5/+23
2020-09-181.19.3 v1.19.3 github/release-v1.19.3 release-v1.19.3Andrew Morgan4-2/+16
2020-09-18Use _check_sigs_and_hash_and_fetch to validate backfill requests (#8350)Andrew Morgan2-5/+4
This is a bit of a hack, as `_check_sigs_and_hash_and_fetch` is intended for attempting to pull an event from the database/(re)pull it from the server that originally sent the event if checking the signature of the event fails. During backfill we *know* that we won't have the event in our database, however it is still useful to be able to query the original sending server as the server we're backfilling from may be acting maliciously. The main benefit and reason for this change however is that `_check_sigs_and_hash_and_fetch` will drop an event during backfill if it cannot be successfully validated, whereas the current code will simply fail the backfill request - resulting in the client's /messages request silently being dropped. This is a quick patch to fix backfilling rooms that contain malformed events. A better implementation in planned in future.
2020-09-18Intelligently select extremities used in backfill. (#8349)Erik Johnston4-20/+67
Instead of just using the most recent extremities let's pick the ones that will give us results that the pagination request cares about, i.e. pick extremities only if they have a smaller depth than the pagination token. This is useful when we fail to backfill an extremity, as we no longer get stuck requesting that same extremity repeatedly.
2020-09-18Add flags to /versions about whether new rooms are encrypted by default. (#8343)Patrick Cloke2-0/+20
2020-09-18Fix ratelimiting for federation `/send` requests. (#8342)Erik Johnston4-17/+54
c.f. #8295 for rationale
2020-09-17blacklist MSC2753 sytests until it's implemented in synapse (#8285)Matthew Hodgson2-0/+9
Dendrite's implementing MSC2753 over at https://github.com/matrix-org/dendrite/pull/1370 to prove the implementation for MSC purposes, and so sytest has sprouted tests for it over at https://github.com/matrix-org/sytest/pull/944. But we don't want them to run on synapse until synapse implements it.
2020-09-16