* 'develop' of github.com:matrix-org/synapse: (79 commits)
Reduce the number of calls to `resource.getrusage` (#7183)
Remove some `run_in_background` calls in replication code (#7203)
Revert "Revert "Merge pull request #7153 from matrix-org/babolivier/sso_whitelist_login_fallback""
Revert "Revert "Improve the UX of the login fallback when using SSO (#7152)""
Revert "Merge pull request #7153 from matrix-org/babolivier/sso_whitelist_login_fallback"
Revert "Improve the UX of the login fallback when using SSO (#7152)"
tweak changelog
1.12.3
Update docstring per review comments
Fix device list update stream ids going backward (#7158)
Fix the debian build in a better way. (#7212)
Fix changelog wording
1.12.2
Pin Pillow>=4.3.0,<7.1.0 to fix dep issue
1.12.1
review comment
1.12.1
Support SAML in the user interactive authentication workflow. (#7102)
Allow admins to create aliases when they are not in the room (#7191)
Update postgres.md (#7119)
...
* 'develop' of github.com:matrix-org/synapse: (214 commits)
Clean up some LoggingContext stuff (#7120)
Fix CAS redirect url (#6634)
Newsfile
Fix starting workers when federation sending not split out.
Use the proper error code when a canonical alias that does not exist is used. (#7109)
Update pre-built package name for FreeBSD (#7107). (#7107)
Convert `*StreamRow` classes to inner classes (#7116)
matrix.org was fine
Update CHANGES.md
changelog typos
1.12.0 changelog
1.12.0
Fix processing of `groups` stream, and use symbolic names for streams (#7117)
Set Referrer-Policy to no-referrer for media (#7009)
Clean-up some auth/login REST code (#7115)
Improve database configuration docs (#6988)
Remove concept of a non-limited stream. (#7011)
Convert some of the media REST code to async/await (#7110)
Fix a bug in the federation API which could cause occasional "Failed to get PDU" errors (#7089).
more changelog
...
... and set it everywhere it's called.
while we're here, rename it for consistency with `check_user_in_room` (and to
help check that I haven't missed any instances)
* Remove redundant python2 support code
`str.decode()` doesn't exist on python3, so presumably this code was doing
nothing
* Filter out pushers with corrupt data
When we get a row with unparsable json, drop the row, rather than returning a
row with null `data`, which will then cause an explosion later on.
* Improve logging when we can't start a pusher
Log the ID to help us understand the problem
* Make email pusher setup more robust
We know we'll have a `data` member, since that comes from the database. What we
*don't* know is if that is a dict, and if that has a `brand` member, and if
that member is a string.
We were doing this in a number of places which meant that some login
code paths incremented the counter multiple times.
It was also applying ratelimiting to UIA endpoints, which was probably
not intentional.
In particular, some custom auth modules were calling
`check_user_exists`, which incremented the counters, meaning that people
would fail to login sometimes.