- Mar 20, 2017
-
-
Richard van der Hoff authored
Logcontext docs
-
Richard van der Hoff authored
Apparently the github RST renderer doesn't like Note blocks.
-
Richard van der Hoff authored
A few fixes to logcontext things
-
Richard van der Hoff authored
Avoid resetting state on rejected events
-
- Mar 18, 2017
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Fix a bug in ``logcontext.preserve_fn`` which made it leak context into the reactor, and add a test for it. Also, get rid of ``logcontext.reset_context_after_deferred``, which tried to do the same thing but had its own, different, set of bugs.
-
Richard van der Hoff authored
This fixes a class of 'Unexpected logcontext' messages, which were happening because the logcontext was somewhat arbitrarily swapping between the sentinel and the `run` logcontext.
-
Richard van der Hoff authored
background_updates was using `call_later` in a way that leaked the logcontext into the reactor. We could have rewritten it to do it properly, but given that we weren't using the fancier facilities provided by `call_later`, we might as well just use `async.sleep`, which does the logcontext stuff properly.
-
- Mar 17, 2017
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
When we get a rejected event, give it the same state_group as its prev_event, rather than no state_group at all. This should fix https://github.com/matrix-org/synapse/issues/1935.
-
Richard van der Hoff authored
A few non-functional changes: * A bunch of docstrings to document types * Split `EventsStore._persist_events_txn` up a bit. Hopefully it's a bit more readable. * Rephrase `EventFederationStore._update_min_depth_for_room_txn` to avoid mind-bending conditional. * Rephrase rejected/outlier conditional in `_update_outliers_txn` to avoid mind-bending conditional.
-
Richard van der Hoff authored
Queue up federation PDUs while a room join is in progress
-
- Mar 16, 2017
-
-
Erik Johnston authored
Implement no op for room stream in sync
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
- Mar 15, 2017
-
-
Richard van der Hoff authored
This just takes the existing `room_queues` logic and moves it out to `on_receive_pdu` instead of `_process_received_pdu`, which ensures that we don't start trying to fetch prev_events and whathaveyou until the join has completed.
-
Erik Johnston authored
Add fallback to last_active_ts if it beats the last sync time on a presence timeout.
-
Erik Johnston authored
Format presence events on the edges instead of reformatting them multiple times
-
Erik Johnston authored
-
Will Hunt authored
-
Erik Johnston authored
-
Will Hunt authored
-
Will Hunt authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
David Baker authored
Handle PartialDownloadError in CAS login
-
Richard van der Hoff authored
Fix assertion to stop transaction queue getting wedged
-
Richard van der Hoff authored
... 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.
-
Erik Johnston authored
Add some metrics on notifier
-
Erik Johnston authored
-
Erik Johnston authored
Phone number registration / login support v2
-
Richard van der Hoff authored
to correctly reset the context when we fire off a deferred we aren't going to wait for.
-
- Mar 14, 2017
-
-
Richard van der Hoff authored
Fix routing loop when fetching remote media
-
Richard van der Hoff authored
-
Erik Johnston authored
Reduce number of spurious sync result generations.
-
Erik Johnston authored
Speed up public room list
-
Erik Johnston authored
-