Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-09-26 | Bump changelog and version | Erik Johnston | 2 | -1/+9 | |
2017-09-25 | Refactor to speed up incremental syncs | Erik Johnston | 1 | -5/+18 | |
2017-09-25 | Include review feedback | Max Dor | 1 | -5/+3 | |
2017-09-25 | Clarify recommended network setup | Max Dor | 1 | -15/+24 | |
2017-09-25 | Update CHANGES v0.23.0-rc1 | Erik Johnston | 1 | -3/+11 | |
2017-09-25 | Bump version and changes | Erik Johnston | 2 | -1/+25 | |
2017-09-25 | Fix logcontxt leak in keyclient (#2465) | Richard van der Hoff | 1 | -12/+5 | |
preserve_context_over_function doesn't do what you want it to do. | |||||
2017-09-22 | Do an AAAA lookup on SRV record targets (#2462) | Richard van der Hoff | 2 | -24/+118 | |
Support SRV records which point at AAAA records, as well as A records. Fixes https://github.com/matrix-org/synapse/issues/2405 | |||||
2017-09-22 | fix thinko'd docstring | Matthew Hodgson | 1 | -1/+1 | |
2017-09-22 | Fix device list when rejoining room (#2461) | Erik Johnston | 1 | -2/+14 | |
2017-09-20 | Fix logcontexts in _check_sigs_and_hashes | Richard van der Hoff | 2 | -60/+62 | |
2017-09-20 | Add some more tests for Keyring | Richard van der Hoff | 1 | -37/+140 | |
2017-09-20 | Fix logcontext handling in verify_json_objects_for_server | Richard van der Hoff | 1 | -8/+12 | |
preserve_context_over_fn is essentially broken, because (a) it pointlessly drops the current logcontext before calling its wrapped function, which means we don't get any useful logcontexts for _handle_key_deferred; (b) it wraps the resulting deferred in a _PreservingContextDeferred, which is very dangerous because you then can't yield on it without leaking context back into the reactor. Instead, let's specify that the resultant deferreds call their callbacks with no logcontext. | |||||
2017-09-20 | Turn _start_key_lookups into an inlineCallbacks function | Richard van der Hoff | 1 | -40/+37 | |
... which means that logcontexts can be correctly preserved for the stuff it does. get_server_verify_keys is now called with the logcontext, so needs to preserve_fn when it fires off its nested inlineCallbacks function. Also renames get_server_verify_keys to reflect the fact it's meant to be private. | |||||
2017-09-20 | Fix potential race in _start_key_lookups | Richard van der Hoff | 1 | -5/+8 | |
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. | |||||
2017-09-20 | Add some comments to _start_key_lookups | Richard van der Hoff | 1 | -0/+8 | |
2017-09-20 | Consistency for how verify_request.deferred is called | Richard van der Hoff | 1 | -13/+17 | |
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. | |||||
2017-09-20 | Factor out _start_key_lookups | Richard van der Hoff | 1 | -7/+17 | |
... to make it easier to see what's going on. | |||||
2017-09-20 | Replace `server_and_json` with `verify_requests` | Richard van der Hoff | 1 | -3/+3 | |
This is a precursor to factoring some of this code out. | |||||
2017-09-20 | pull out handle_key_deferred to top level | Richard van der Hoff | 1 | -43/+44 | |
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. | |||||
2017-09-20 | Fix incorrect key_ids in error message | Richard van der Hoff | 1 | -1/+1 | |
2017-09-20 | Invalidate signing key cache when we gat an update | Richard van der Hoff | 1 | -17/+24 | |
This might make the cache slightly more efficient. | |||||
2017-09-20 | Remove redundant `preserve_fn` | Richard van der Hoff | 1 | -2/+2 | |
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. | |||||
2017-09-19 | Fix concurrent server_key requests (#2458) | Richard van der Hoff | 2 | -4/+58 | |
Fix a bug where we could end up firing off multiple requests for server_keys for the same server at the same time. | |||||
2017-09-19 | Add a config option to block all room invites (#2457) | Richard van der Hoff | 5 | -0/+44 | |
- allows sysadmins the ability to lock down their servers so that people can't send their users room invites. | |||||
2017-09-19 | add some comments to on_exchange_third_party_invite_request | Richard van der Hoff | 1 | -0/+11 | |
2017-09-19 | PoC for filtering spammy events (#2456) | Richard van der Hoff | 3 | -17/+69 | |
Demonstration of how you might add some hooks to filter out spammy events. | |||||
2017-09-19 | Fix overzealous kicking of guest users (#2453) | Richard van der Hoff | 1 | -1/+1 | |
We should only kick guest users if the guest access event is authorised. | |||||
2017-09-18 | Clean up and document handling of logcontexts in Keyring (#2452) | Richard van der Hoff | 2 | -28/+110 | |
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... | |||||
2017-09-18 | Don't filter out current state events from timeline | Erik Johnston | 2 | -3/+18 | |
2017-09-18 | Also include the room_id | David Baker | 1 | -0/+1 | |
as really it's part of the event ID | |||||
2017-09-18 | Use .get - it's much shorter | David Baker | 1 | -1/+1 | |
2017-09-18 | Add support for event_id_only push format | David Baker | 1 | -0/+19 | |
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. | |||||
2017-09-18 | Correctly handle leaving room in /key/changes | Erik Johnston | 1 | -13/+12 | |
2017-09-15 | Fix typo | Erik Johnston | 1 | -1/+1 | |
2017-09-14 | Actually hook leave notifs up | Erik Johnston | 1 | -2/+3 | |
2017-09-13 | Handle joining/leaving rooms in /keys/changes | Erik Johnston | 1 | -1/+38 | |
2017-09-13 | Get left rooms | Erik Johnston | 1 | -3/+32 | |
2017-09-12 | In sync handle device lists for newly joined/left rooms | Erik Johnston | 1 | -2/+10 | |
2017-09-08 | Add left section to /keys/changes | Erik Johnston | 3 | -11/+19 | |
2017-09-07 | Send down device list change notif when member leaves/rejoins room | Erik Johnston | 3 | -14/+55 | |
2017-09-05 | Exclude the github issue template from our sdist (#2440) | Richard van der Hoff | 2 | -0/+1 | |
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. | |||||
2017-09-05 | do tox install with pip -e | Richard van der Hoff | 1 | -5/+29 | |
- this ensures we end up with a working virtualenv which we can use for other things. | |||||
2017-09-01 | Document known to work postgres version | Paul Tötterman | 1 | -0/+2 | |
2017-09-01 | Set --python when running sytest | Richard van der Hoff | 4 | -0/+4 | |
.. 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. | |||||
2017-09-01 | fix python path in jenkins scripts | Richard van der Hoff | 4 | -4/+4 | |
2017-09-01 | Set --python when running sytest | Richard van der Hoff | 4 | -0/+4 | |
.. 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. | |||||
2017-08-23 | Tweaks to the upgrade instructions | Richard van der Hoff | 1 | -33/+42 | |
2017-08-22 | test federation client: Allow server-name and key-file as options | Richard van der Hoff | 1 | -8/+28 | |
so that you don't necessarily need a config file. | |||||
2017-08-17 | Improvements to the federation test client | Richard van der Hoff | 1 | -7/+58 | |
Make it read the config file, primarily. | |||||
2017-08-17 | Update ISSUE_TEMPLATE.md | Tom Lant | 1 | -1/+5 | |
Added instructions for checking server version. | |||||
2017-08-17 | Update ISSUE_TEMPLATE.md | Tom Lant | 1 | -3/+10 | |
Responding to review comments. | |||||
2017-08-16 | Add prometheus config | Richard van der Hoff | 3 | -0/+436 | |
... from https://github.com/matrix-org/synapse-prometheus-config. | |||||
2017-08-16 | Fix user_dir startup | Richard van der Hoff | 1 | -1/+1 | |
Add missing parameter to _base.start_worker_reactor | |||||
2017-08-16 | Fix process startup | Richard van der Hoff | 1 | -10/+13 | |
escape the % that got added in 92168cb so that the process starts up ok. | |||||
2017-08-15 | explain why CPU affinity is a good idea | Matthew Hodgson | 1 | -0/+8 | |
2017-08-15 | Allow configuration of CPU affinity | Richard van der Hoff | 5 | -1/+23 | |
Make it possible to set the CPU affinity in the config file, so that we don't need to remember to do it manually every time. | |||||
2017-08-15 | Factor out common application start | Richard van der Hoff | 11 | -464/+248 | |
We have 10 copies of th |