- Sep 20, 2017
-
-
Richard van der Hoff authored
If the verify_request.deferred has already completed, then `remove_deferreds` will be called immediately. It therefore might resolve the server_to_deferred deferred while there are still other requests for that server in flight. To avoid that, we should build the complete list of requests, and *then* add the callbacks.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Define that it is run with no log context, and make sure that happens. If we aren't careful to reset the logcontext, we can't bung the deferreds into defer.gatherResults etc. We don't actually do that directly, but we *do* resolve other deferreds from affected callbacks (notably the server_to_deferred map in _start_key_lookups), and those *do* get passed into defer.gatherResults. It turns out that this way ends up being least confusing.
-
Richard van der Hoff authored
... to make it easier to see what's going on.
-
Richard van der Hoff authored
This is a precursor to factoring some of this code out.
-
Richard van der Hoff authored
There's no need for this to be a nested definition; pulling it out not only makes it more efficient, but makes it easier to check that it's not accessing any local variables it shouldn't be.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
This might make the cache slightly more efficient.
-
Richard van der Hoff authored
preserve_fn is a no-op unless the wrapped function returns a Deferred. verify_json_objects_for_server returns a list, so this is doing nothing.
-
- Sep 19, 2017
-
-
Richard van der Hoff authored
Fix a bug where we could end up firing off multiple requests for server_keys for the same server at the same time.
-
Richard van der Hoff authored
- allows sysadmins the ability to lock down their servers so that people can't send their users room invites.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Demonstration of how you might add some hooks to filter out spammy events.
-
Richard van der Hoff authored
We should only kick guest users if the guest access event is authorised.
-
- Sep 18, 2017
-
-
Richard van der Hoff authored
I'm still unclear on what the intended behaviour for `verify_json_objects_for_server` is, but at least I now understand the behaviour of most of the things it calls...
-
Erik Johnston authored
Don't filter out current state events from timeline
-
Erik Johnston authored
-
David Baker authored
Add support for event_id_only push format
-
Erik Johnston authored
Correctly handle leaving room in /key/changes
-
David Baker authored
as really it's part of the event ID
-
David Baker authored
-
David Baker authored
Param in the data dict of a pusher that tells an HTTP pusher to send just the event_id of the event it's notifying about and the notification counts. For clients that want to go & fetch the body of the event themselves anyway.
-
Erik Johnston authored
-
Erik Johnston authored
Send down device list change notif when member leaves/rejoins room
-
- Sep 15, 2017
-
-
Erik Johnston authored
-
- Sep 14, 2017
-
-
Erik Johnston authored
-
- Sep 13, 2017
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- Sep 12, 2017
-
-
Erik Johnston authored
-
- Sep 08, 2017
-
-
Erik Johnston authored
-
- Sep 07, 2017
-
-
Erik Johnston authored
-
- Sep 06, 2017
-
-
Richard van der Hoff authored
do tox install with pip -e
-
- Sep 05, 2017
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
PR #2413 added an issue template, but just adding files to the project directory upsets the packaging scripts: we need to explicitly include or exclude them. Move the template into a .github directory to make that easy, and to de-clutter the root a bit.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
- this ensures we end up with a working virtualenv which we can use for other things.
-
- Sep 01, 2017
-
-
Erik Johnston authored
Document known to work postgres version
-
Paul Tötterman authored
-
Richard van der Hoff authored
.. because I want to make the 'install_and_run' script useful for non-synapse jobs, which do not accept --python. In any case we set up the path here, so sytest shouldn't be guessing it.
-
Richard van der Hoff authored
-