Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-04-21 | Remove redundant try/except clauses | Richard van der Hoff | 1 | -23/+11 | |
The `except SynapseError` clauses were pointless because the wrapped functions would never throw a `SynapseError` (they either throw a `CodeMessageException` or a `RuntimeError`). The `except CodeMessageException` is now also pointless because the caller treats all exceptions equally, so we may as well just throw the `CodeMessageException`. | |||||
2017-04-21 | Broaden the conditions for locally_rejecting invites | Richard van der Hoff | 1 | -1/+7 | |
The logic for marking invites as locally rejected was all well and good, but didn't happen when the remote server returned a 500, or wasn't reachable, or had no DNS, or whatever. Just expand the except clause to catch everything. Fixes https://github.com/matrix-org/synapse/issues/761. | |||||
2017-04-21 | Remove redundant function | Richard van der Hoff | 1 | -10/+5 | |
inline `reject_remote_invite`, which only existed to make tracing the callflow more difficult. | |||||
2017-04-21 | Fix some lies, and other clarifications, in docstrings | Richard van der Hoff | 4 | -19/+88 | |
The documentation on get_json has been wrong ever since the very first commit to synapse... | |||||
2017-04-18 | m.read_marker -> m.fully_read (#2128) | Luke Barnard | 3 | -9/+9 | |
Also: - change the REST endpoint to have a "S" on the end (so it's now /read_markers) - change the content of the m.read_up_to event to have the key "event_id" instead of "marker". | |||||
2017-04-17 | Update README.rst | Mark Felder | 1 | -1/+1 | |
The FreeBSD port has been moved to the net-im category | |||||
2017-04-13 | Correct logic in is_event_after | Luke Barnard | 1 | -1/+1 | |
2017-04-12 | Simplify is_event_after logic | Luke Barnard | 2 | -12/+6 | |
2017-04-12 | More null-guard changes | Luke Barnard | 1 | -4/+4 | |
2017-04-12 | Remove Unused ref to hs | Luke Barnard | 1 | -1/+0 | |
2017-04-12 | Move a space | Luke Barnard | 1 | -2/+2 | |
2017-04-12 | Only notify user, not entire room | Luke Barnard | 1 | -3/+1 | |
2017-04-12 | Remove comment, simplify null-guard | Luke Barnard | 1 | -4/+1 | |
2017-04-12 | Add some comments | Erik Johnston | 1 | -0/+15 | |
2017-04-12 | Remove last reference to worker_replication_url | Erik Johnston | 1 | -1/+2 | |
2017-04-12 | Comment | Erik Johnston | 1 | -2/+1 | |
2017-04-12 | Reuse get_interested_parties | Erik Johnston | 2 | -19/+8 | |
2017-04-12 | Handle no previous RM | Luke Barnard | 1 | -1/+4 | |
2017-04-11 | travis flake8.. | Luke Barnard | 1 | -0/+1 | |
2017-04-11 | flake8 | Luke Barnard | 1 | -1/+0 | |
2017-04-11 | Refactor event ordering check to events store | Luke Barnard | 2 | -28/+32 | |
2017-04-11 | Copyright | Luke Barnard | 1 | -1/+1 | |
2017-04-11 | Add a counter metric for successfully-sent transactions | Paul "LeoNerd" Evans | 1 | -0/+3 | |
2017-04-11 | flake8 | Luke Barnard | 3 | -5/+4 | |
2017-04-11 | Bail on where clause instead | Erik Johnston | 1 | -3/+4 | |
2017-04-11 | Don't bother with outer check for now | Erik Johnston | 1 | -3/+0 | |
2017-04-11 | Update replication docs | Erik Johnston | 1 | -22/+4 | |
2017-04-11 | Update workers docs | Erik Johnston | 1 | -10/+5 | |
2017-04-11 | Move get_presence_list_* to SlaveStore | Erik Johnston | 3 | -24/+13 | |
2017-04-11 | Comment | Erik Johnston | 2 | -1/+9 | |
2017-04-11 | Move get_interested_parties | Erik Johnston | 2 | -38/+36 | |
2017-04-11 | Comments | Erik Johnston | 2 | -9/+10 | |
2017-04-11 | Move get_interested_remotes back to presence handler | Erik Johnston | 2 | -38/+55 | |
2017-04-11 | Comments | Erik Johnston | 1 | -1/+14 | |
2017-04-11 | Finish implementing RM endpoint | Luke Barnard | 5 | -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-11 | Initial commit of RM server-side impl | lukebarnard | 2 | -0/+153 | |
(See https://docs.google.com/document/d/1UWqdS-e1sdwkLDUY0wA4gZyIkRp-ekjsLZ8k6g_Zvso/edit#heading=h.lndohpg8at5u) | |||||
2017-04-11 | Bump changelog github/release-v0.20.0 release-v0.20.0 | Erik Johnston | 1 | -1/+1 | |
2017-04-11 | Remove test of replication resource | Erik Johnston | 1 | -204/+0 | |
2017-04-11 | Fix getting latest device IP for user with no devices | Erik Johnston | 1 | -0/+5 | |
2017-04-11 | Remove HTTP replication APIs | Erik Johnston | 5 | -753/+0 | |
2017-04-10 | trust a hypothetical future riot.im IS | Matthew Hodgson | 1 | -0/+1 | |
2017-04-10 | Use generators | Erik Johnston | 1 | -2/+2 | |
2017-04-10 | Dedupe KeyedEdu and Devices federation repl traffic | Erik Johnston | 1 | -6/+9 | |
2017-04-10 | Reduce federation presence replication traffic | Erik Johnston | 6 | -80/+139 | |
This is mainly done by moving the calculation of where to send presence updates from the presence handler to the transaction queue, so we only need to send the presence event (and not the destinations) across the replication connection. Before we were duplicating by sending the full state across once per destination. | |||||
2017-04-10 | Typo | Erik Johnston | 1 | -1/+1 | |
2017-04-10 | Rename variable | Erik Johnston | 1 | -7/+7 | |
2017-04-10 | Up replication ping timeout | Erik Johnston | 1 | -2/+4 | |
2017-04-10 | Revert to sending the same data type as before | Erik Johnston | 1 | -2/+2 | |
2017-04-10 | Change name | Erik Johnston | 1 | -2/+2 | |
2017-04-10 | Comments | Erik Johnston | 2 | -6/+8 | |
2017-04-07 | When we do an invite rejection, save the signed leave event to the db | Richard van der Hoff | 1 | -4/+4 | |
During a rejection of an invite received over federation, we ask a remote server to make us a `leave` event, then sign it, then send that with `send_leave`. We were saving the *unsigned* version of the event (which has a different event id to the signed version) to our db (and sending it to the clients), whereas other servers in the room will have seen the *signed* version. We're not aware of any actual problems that caused, except that it makes the database confusing to look at and generally leaves the room in a weird state. | |||||
2017-04-07 | Comment | Erik Johnston | 1 | -0/+9 | |
2017-04-07 | Comment | Erik Johnston | 1 | -2/+15 | |
2017-04-07 | Add logging | Erik Johnston | 1 | -0/+8 | |
2017-04-07 | Fix up federation SendQueue and document types | Erik Johnston | 2 | -91/+221 | |
2017-04-07 | Speed up get_current_state_ids | Erik Johnston | 1 | -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-07 | Bump version and changelog | Erik Johnston | 2 | -1/+10 | |
2017-04-06 | fix typo in synctl help | Kim Brose | 1 | -1/+1 | |
2017-04-06 | Use iteritems | Erik Johnston | 1 | -2/+2 | |
2017-04-06 | Comment | Erik Johnston | 1 | -1/+1 | |
2017-04-06 | Document types of the replication streams | Erik Johnston | 1 | -28/+76 | |
2017-04-06 | Docs | Erik Johnston | 1 | -0/+7 | |
2017-04-06 | Fix incorrect type when using InvalidateCacheCommand | Erik Johnston | 1 | -1/+1 | |
2017-04-05 | Support authenticated SMTP | Daniel Dent | 2 | -1/+21 | |
Closes (SYN-714) #1385 Signed-off-by: Daniel Dent <matrixcontrib@contactdaniel.net> | |||||
2017-04-05 | Add log lines | Erik Johnston | 1 | -1/+2 | |
2017-04-05 | Rearrange metrics | Erik Johnston | 2 | -19/+31 | |
2017-04-05 | Fix typo | Erik Johnston | 1 | -2/+2 | |
2017-04-05 | Fixup some metrics for tcp repl | Erik Johnston | 2 | -0/+19 | |
2017-04-05 | Don't immediately notify the master about users whose syncs have gone away | Erik Johnston | 1 | -4/+36 | |
2017-04-05 | Don't double json encode typing replication data | Erik Johnston | 2 | -6/+2 | |
2017-04-05 | Don't double json encode federation replication data | Erik Johnston | 2 | -13/+10 | |
2017-04-04 | Add comment | Erik Johnston | 1 | -0/+5 | |
2017-04-04 | Deduplicate new deviceinbox rows for replication | Erik Johnston | 1 | -4/+7 | |
2017-04-04 | Add the appropriate amount of preserve_fn | Erik Johnston | 4 | -17/+19 | |
2017-04-04 | Fiddle tcp replication logging | Erik Johnston | 1 | -2/+2 | |
2017-04-04 | Advance replication streams even if nothing is listening | Erik Johnston | 3 | -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-04 | Remove unused worker config option | Erik Johnston | 1 | -1/+0 | |
2017-04-04 | Shuffle and comment synchrotron presence | Erik Johnston | 1 | -9/+11 | |
2017-04-04 | Move where we ack federation | Erik Johnston | 1 | -7/+16 | |
2017-04-03 | Accept join events from all servers | Richard van der Hoff | 2 | -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-03 | Remove spurious yield | Richard van der Hoff | 1 | -1/+1 | |