summary refs log tree commit diff
path: root/test_postgresql.sh (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-24s/URLs/variables in changelog v1.20.1 github/release-v1.20.1 release-v1.20.1Andrew Morgan1-1/+1
2020-09-24s/accidentally/incorrectly in changelogAndrew Morgan1-1/+1
2020-09-24Update changelog wordingAndrew Morgan1-1/+1
2020-09-241.20.1Andrew Morgan5-3/+17
2020-09-24Mark the shadow_banned column as boolean in synapse_port_db. (#8386)Patrick Cloke3-0/+2
2020-09-24Hotfix: disable autoescape by default when rendering Jinja2 templates (#8394)Andrew Morgan3-3/+12
#8037 changed the default `autoescape` option when rendering Jinja2 templates from `False` to `True`. This caused some bugs, noticeably around redirect URLs being escaped in SAML2 auth confirmation templates, causing those URLs to break for users. This change returns the previous behaviour as it stood. We may want to look at each template individually and see whether autoescaping is a good idea at some point, but for now lets just fix the breakage.
2020-09-24Add type annotations to SimpleHttpClient (#8372)Richard van der Hoff4-61/+143
2020-09-24Add new sequences to port DB script (#8387)Erik Johnston2-0/+25
2020-09-24Add EventStreamPosition type (#8388)Erik Johnston11-57/+100
The idea is to remove some of the places we pass around `int`, where it can represent one of two things: 1. the position of an event in the stream; or 2. a token that partitions the stream, used as part of the stream tokens. The valid operations are then: 1. did a position happen before or after a token; 2. get all events that happened before or after a token; and 3. get all events between two tokens. (Note that we don't want to allow other operations as we want to change the tokens to be vector clocks rather than simple ints)
2020-09-24Mark the shadow_banned column as boolean in synapse_port_db. (#8386)Patrick Cloke3-0/+2
2020-09-23Factor out `_send_dummy_event_for_room` (#8370)Richard van der Hoff2-48/+55
this makes it possible to use from the manhole, and seems cleaner anyway.
2020-09-23Improve logging of state resolution (#8371)Richard van der Hoff2-48/+17
I'd like to get a better insight into what we are doing with respect to state res. The list of state groups we are resolving across should be short (if it isn't, that's a massive problem in itself), so it should be fine to log it in ite entiretly. I've done some grepping and found approximately zero cases in which the "shortcut" code delivered the result, so I've ripped that out too.
2020-09-23Fix bug which caused failure on join with malformed membership events (#8385)Richard van der Hoff2-3/+8
2020-09-23Use `async with` for ID gens (#8383)Erik Johnston15-105/+144
This will allow us to hit the DB after we've finished using the generated stream ID.
2020-09-23Don't push if an user account has expired (#8353)Mathieu Velten4-5/+34
2020-09-23Do not check lint/t