Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-03-15 | Fix assertion to stop transaction queue getting wedged | Richard van der Hoff | 6 | -5/+29 | |
... and update some docstrings to correctly reflect the types being used. get_new_device_msgs_for_remote can return a long under some circumstances, which was being stored in last_device_list_stream_id_by_dest, and was then upsetting things on the next loop. | |||||
2017-03-15 | Add some metrics on notifier | Erik Johnston | 1 | -0/+6 | |
2017-03-14 | Reduce spurious calls to generate sync | Erik Johnston | 1 | -13/+31 | |
2017-03-14 | Address review comments | Richard van der Hoff | 2 | -20/+31 | |
- don't blindly proxy all HTTPRequestExceptions - log unexpected exceptions at error - avoid `isinstance` - improve docs on `from_http_response_exception` | |||||
2017-03-14 | re-refactor exception heirarchy | Richard van der Hoff | 1 | -16/+14 | |
Give CodeMessageException back its `msg` attribute, and use that to hold the HTTP status message for HttpResponseException. | |||||
2017-03-14 | Handle PartialDownloadError in CAS login | David Baker | 1 | -1/+8 | |
2017-03-14 | Fix current_state_events table to not lie | Erik Johnston | 1 | -3/+28 | |
If we try and persist two state events that have the same ancestor we calculate the wrong current state when persisting those events. | |||||
2017-03-14 | Use extend instead of += | David Baker | 1 | -4/+4 | |
2017-03-14 | Oops, remove print | David Baker | 1 | -1/+0 | |
2017-03-13 | Implement _simple_delete_many_txn, use it to delete devices | Luke Barnard | 4 | -11/+101 | |
(But this doesn't implement the same for deleting access tokens or e2e keys. Also respond to code review. | |||||
2017-03-13 | Fix registration for broken clients | David Baker | 1 | -4/+22 | |
Only offer msisdn flows if the x_show_msisdn option is given. | |||||
2017-03-13 | Support registration / login with phone number | David Baker | 9 | -50/+395 | |
Changes from https://github.com/matrix-org/synapse/pull/1971 | |||||
2017-03-13 | Flake | Luke Barnard | 1 | -0/+2 | |
2017-03-13 | Implement delete_devices API | Luke Barnard | 1 | -0/+47 | |
This implements the proposal here https://docs.google.com/document/d/1C-25Gqz3TXy2jIAoeOKxpNtmme0jI4g3yFGqv5GlAAk for deleting multiple devices at once in a single request. | |||||
2017-03-13 | Fix routing loop when fetching remote media | Richard van der Hoff | 4 | -14/+102 | |
When we proxy a media request to a remote server, add a query-param, which will tell the remote server to 404 if it doesn't recognise the server_name. This should fix a routing loop where the server keeps forwarding back to itself. Also improves the error handling on remote media fetches, so that we don't always return a rather obscure 502. | |||||
2017-03-13 | Add new storage function to slave store | Erik Johnston | 1 | -0/+4 | |
2017-03-13 | Bring example log config into line with default | Richard van der Hoff | 1 | -2/+4 | |
2017-03-13 | Add helpful texts to logger config options | Richard van der Hoff | 1 | -5/+7 | |
2017-03-13 | Comments | Erik Johnston | 1 | -0/+12 | |
2017-03-13 | Revert "Support registration & login with phone number" | Erik Johnston | 9 | -395/+50 | |
2017-03-13 | Assume rooms likely haven't changed | Erik Johnston | 2 | -8/+14 | |
2017-03-10 | Get current state by using current_state_events table | Erik Johnston | 5 | -31/+52 | |
2017-03-10 | Add an option to disable stdio redirect | Richard van der Hoff | 1 | -1/+12 | |
This makes it tractable to run synapse under pdb. | |||||
2017-03-10 | Refactor logger config for workers | Richard van der Hoff | 9 | -13/+26 | |
- to make it easier to add more config options. | |||||
2017-03-10 | Reread log config on SIGHUP | Richard van der Hoff | 1 | -10/+19 | |
When we are using a log_config file, reread it on SIGHUP. | |||||
2017-03-10 | Fix it for the workers | Erik Johnston | 1 | -0/+8 | |
2017-03-10 | Noop repated delete device inbox calls from /sync | Erik Johnston | 2 | -4/+38 | |
2017-03-10 | Add setdefault key to ExpiringCache | Erik Johnston | 1 | -0/+7 | |
2017-03-09 | Move FederationServer._handle_new_pdu to FederationHandler | Richard van der Hoff | 2 | -198/+198 | |
Unfortunately this significantly increases the size of the already-rather-big FederationHandler, but the code fits more naturally here, and it paves the way for the tighter integration that I need between handling incoming PDUs and doing the join dance. Other than renaming the existing `FederationHandler.on_receive_pdu` to `_process_received_pdu` to make way for it, this just consists of the move, and replacing `self.handler` with `self` and `self` with `self.replication_layer`. | |||||
2017-03-09 | Move sig check out of _handle_new_pdu | Richard van der Hoff | 1 | -12/+36 | |
When we receive PDUs via `get_missing_events`, we have already checked their sigs, so there is no need to do it again. | |||||
2017-03-09 | Factor _get_missing_events_for_pdu out of _handle_new_pdu | Richard van der Hoff | 1 | -62/+82 | |
This should be functionally identical: it just seeks to improve readability by reducing indentation. | |||||
2017-03-09 | Fix docstring | Richard van der Hoff | 1 | -2/ |