summary refs log tree commit diff
path: root/synapse/handlers (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-04-12Handle no previous RMLuke Barnard1-1/+4
2017-04-11travis flake8..Luke Barnard1-0/+1
2017-04-11flake8Luke Barnard1-1/+0
2017-04-11Refactor event ordering check to events storeLuke Barnard2-28/+32
2017-04-11CopyrightLuke Barnard1-1/+1
2017-04-11flake8Luke Barnard3-5/+4
2017-04-11Finish implementing RM endpointLuke Barnard5-48/+67
- This change causes a 405 to be sent if "m.read_marker" is set via /account_data - This also fixes-up the RM endpoint so that it actually Works.
2017-04-11Initial commit of RM server-side impllukebarnard2-0/+153
(See https://docs.google.com/document/d/1UWqdS-e1sdwkLDUY0wA4gZyIkRp-ekjsLZ8k6g_Zvso/edit#heading=h.lndohpg8at5u)
2017-04-10trust a hypothetical future riot.im ISMatthew Hodgson1-0/+1
2017-04-10TypoErik Johnston1-1/+1
2017-04-10Rename variableErik Johnston1-7/+7
2017-04-10Up replication ping timeoutErik Johnston1-2/+4
2017-04-10Revert to sending the same data type as beforeErik Johnston1-2/+2
2017-04-10Change nameErik Johnston1-2/+2
2017-04-10CommentsErik Johnston2-6/+8
2017-04-07CommentErik Johnston1-0/+9
2017-04-07CommentErik Johnston1-2/+15
2017-04-07Add loggingErik Johnston1-0/+8
2017-04-07Fix up federation SendQueue and document typesErik Johnston2-91/+221
2017-04-07Speed up get_current_state_idsErik Johnston1-10/+17
Using _simple_select_list is fairly expensive for functions that return a lot of rows and/or get called a lot. (This is because it carefully constructs a list of dicts). get_current_state_ids gets called a lot on startup and e.g. when the IRC bridge decided to send tonnes of joins/leaves (as it invalidates the cache). We therefore replace it with a custon txn function that builds up the final result dict without building up and intermediate representation.
2017-04-06fix typo in synctl helpKim Brose1-1/+1
2017-04-06Use iteritemsErik Johnston1-2/+2
2017-04-06CommentErik Johnston1-1/+1
2017-04-06Document types of the replication streamsErik Johnston1-28/+76
2017-04-06DocsErik Johnston1-0/+7
2017-04-06Fix incorrect type when using InvalidateCacheCommandErik Johnston1-1/+1
2017-04-05Support authenticated SMTPDaniel Dent2-1/+21
Closes (SYN-714) #1385 Signed-off-by: Daniel Dent <matrixcontrib@contactdaniel.net>
2017-04-05Add log linesErik Johnston1-1/+2
2017-04-05Rearrange metricsErik Johnston2-19/+31
2017-04-05Fix typoErik Johnston1-2/+2
2017-04-05Fixup some metrics for tcp replErik Johnston2-0/+19
2017-04-05Don't immediately notify the master about users whose syncs have gone awayErik Johnston1-4/+36
2017-04-05Don't double json encode typing replication dataErik Johnston2-6/+2
2017-04-05Don't double json encode federation replication dataErik Johnston2-13/+10
2017-04-04Add commentErik Johnston1-0/+5
2017-04-04Deduplicate new deviceinbox rows for replicationErik Johnston1-4/+7
2017-04-04Add the appropriate amount of preserve_fnErik Johnston4-17/+19
2017-04-04Fiddle tcp replication loggingErik Johnston1-2/+2
2017-04-04Advance replication streams even if nothing is listeningErik Johnston3-6/+15
Otherwise the streams don't advance and steadily fall behind, so when a worker does connect either a) they'll be streamed lots of old updates or b) the connection will fail as the streams are too far behind.
2017-04-04Remove unused worker config optionErik Johnston1-1/+0
2017-04-04Shuffle and comment synchrotron presenceErik Johnston1-9/+11
2017-04-04Move where we ack federationErik Johnston1-7/+16
2017-04-03Accept join events from all serversRichard van der Hoff2-5/+19
Make sure that we accept join events from any server, rather than just the origin server, to make the federation join dance work correctly. (Fixes #1893).
2017-04-03Remove spurious yi