- Nov 16, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
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.
-
Richard van der Hoff authored
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.
-
- Nov 15, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
- Nov 05, 2020
-
-
Dirk Klimpel authored
Add `displayname` to Shared-Secret Registration for admins to `POST /_synapse/admin/v1/register`
-
- Oct 30, 2020
-
-
Patrick Cloke authored
-
- Oct 22, 2020
-
-
Erik Johnston authored
-
- Oct 14, 2020
-
-
Erik Johnston authored
These are tests for #8439
-
- Oct 13, 2020
-
-
Erik Johnston authored
Should fix #3365.
-
- Oct 05, 2020
-
-
Richard van der Hoff authored
This is now redundant, and we can just call `handle_new_client_event` directly.
-
- Oct 02, 2020
-
-
Erik Johnston authored
-
- Sep 28, 2020
-
-
Erik Johnston authored
-
Richard van der Hoff authored
-
- Sep 18, 2020
-
-
Patrick Cloke authored
This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py
-
- Sep 10, 2020
-
-
Andrew Morgan authored
This PR adds a confirmation step to resetting your user password between clicking the link in your email and your password actually being reset. This is to better align our password reset flow with the industry standard of requiring a confirmation from the user after email validation.
-
- Sep 04, 2020
-
-
Patrick Cloke authored
-
- Aug 14, 2020
-
-
Patrick Cloke authored
-
- Aug 06, 2020
-
-
Patrick Cloke authored
-
- Aug 05, 2020
-
-
Erik Johnston authored
-
- Jul 22, 2020
-
-
Patrick Cloke authored
-
- Jun 16, 2020
-
-
Richard van der Hoff authored
This ended up being a bit more invasive than I'd hoped for (not helped by generic_worker duplicating some of the code from homeserver), but hopefully it's an improvement. The idea is that, rather than storing unstructured `dict`s in the config for the listener configurations, we instead parse it into a structured `ListenerConfig` object.
-
- Apr 29, 2020
-
-
Richard van der Hoff authored
* Factor out functions for injecting events into database I want to add some more flexibility to the tools for injecting events into the database, and I don't want to clutter up HomeserverTestCase with them, so let's factor them out to a new file. * Rework TestReplicationDataHandler This wasn't very easy to work with: the mock wrapping was largely superfluous, and it's useful to be able to inspect the received rows, and clear out the received list. * Fix AssertionErrors being thrown by EventsStream Part of the problem was that there was an off-by-one error in the assertion, but also the limit logic was too simple. Fix it all up and add some tests.
-
- Mar 31, 2020
-
-
Richard van der Hoff authored
This mostly just reduces the amount of "running from sentinel context" spam during unittest setup.
-
- Mar 27, 2020
-
-
Richard van der Hoff authored
-
- Mar 24, 2020
-
-
Richard van der Hoff authored
this is never set to anything other than "test", and is a source of unnecessary boilerplate.
-
Richard van der Hoff authored
* Pull Sentinel out of LoggingContext ... and drop a few unnecessary references to it * Factor out LoggingContext.current_context move `current_context` and `set_context` out to top-level functions. Mostly this means that I can more easily trace what's actually referring to LoggingContext, but I think it's generally neater. * move copy-to-parent into `stop` this really just makes `start` and `stop` more symetric. It also means that it behaves correctly if you manually `set_log_context` rather than using the context manager. * Replace `LoggingContext.alive` with `finished` Turn `alive` into `finished` and make it a bit better defined.
-
- Feb 18, 2020
-
-
Richard van der Hoff authored
per matrix-org/matrix-doc#2432
-
- Jan 31, 2020
-
-
Richard van der Hoff authored
... to make way for a forthcoming get_room_version which returns a RoomVersion object.
-
- Jan 20, 2020
-
-
Erik Johnston authored
-
- Jan 06, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
* Kill off redundant SynapseRequestFactory We already get the Site via the Channel, so there's no need for a dedicated RequestFactory: we can just use the right constructor. * Workaround for error when fetching notary's own key As a notary server, when we return our own keys, include all of our signing keys in verify_keys. This is a workaround for #6596.
-
- Dec 05, 2019
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
- Dec 04, 2019
-
-
Erik Johnston authored
-
- Nov 27, 2019
-
-
Amber Brown authored
-
- Jul 31, 2019
-
-
Amber Brown authored
-