summary refs log tree commit diff
path: root/synapse/handlers/auth.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-12-31Merged commit 'deff8f628' into anoa/dinsic_release_1_23_1Andrew Morgan1-4/+20
2020-12-30Allow users to click account renewal links multiple times without hitting an ↵Andrew Morgan16-258/+408
'Invalid Token' page (#74)
2020-12-29Support PyJWT v2.0.0. (#8986)Patrick Cloke2-4/+13
Tests were broken due to an API changing. The code used in Synapse proper should be compatible with both versions already.
2020-12-14Allow per-room profile to be used for server notice user (#8799)Mathieu Velten2-1/+10
This applies even if the feature is disabled at the server level with `allow_per_room_profiles`. The server notice not being a real user it doesn't have an user profile.
2020-12-11Remove the CI requirement for newsfiles (#73)Andrew Morgan1-11/+0
We don't use newsfiles for DINUM releases anyways, so a CI requirement for them does not make sense.
2020-12-11Fix users info for remote users (#71)Mathieu Velten2-2/+2
2020-12-11Update mypy to 0.790 to resolve mypy CI errors (#72)Andrew Morgan4-7/+9
2020-11-16Remove redundant `HomeserverTestCase.render`Richard van der Hoff44-629/+0
2020-11-16Remove redundant calls to `render()`Richard van der Hoff13-106/+32
2020-11-16Make `make_request` actually render the requestRichard van der Hoff9-68/+57
remove the stubbing out of `request.process`, so that `requestReceived` also renders the request via the appropriate resource. Replace render() with a stub for now.
2020-11-16Fix the URL in the URL preview testsRichard van der Hoff1-19/+22
the preview resource is mointed at preview_url, not url_preview
2020-11-16Move `wait_until_result` into `FakeChannel` (#8758)Richard van der Hoff3-25/+24
FakeChannel has everything we need, and this more accurately models the real flow.
2020-11-16fixup testRichard van der Hoff1-0/+1
2020-11-16Generalise _locally_reject_invite (#8751)Andrew Morgan2-17/+20
`_locally_reject_invite` generates an out-of-band membership event which can be passed to clients, but not other homeservers. This is used when we fail to reject an invite over federation. If this happens, we instead just generate a leave event locally and send it down /sync, allowing clients to reject invites even if we can't reach the remote homeserver. A similar flow needs to be put in place for rescinding knocks. If we're unable to contact any remote server from the room we've tried to knock on, we'd still like to generate and store the leave event locally. Hence the need to reuse, and thus generalise, this method. Separated from #6739.
2020-11-16Rename `create_test_json_resource` to `create_test_resource` (#8759)Richard van der Hoff7-23/+16
The root resource isn't necessarily a JsonResource, so rename this method accordingly, and update a couple of test classes to use the method rather than directly manipulating self.resource.
2020-11-16Add a `custom_headers` param to `