Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-10-10 | pep8 | David Baker | 2 | -3/+5 | |
2017-10-10 | Don't KeyError if no power_levels event | David Baker | 1 | -1/+3 | |
2017-10-10 | Use notification levels in power_levels | David Baker | 3 | -12/+22 | |
Rather than making the condition directly require a specific power level. This way the level require to notify a room can be configured per room. | |||||
2017-10-10 | There was already a constant for this | David Baker | 1 | -3/+4 | |
also update copyright | |||||
2017-10-10 | More optimisation | David Baker | 1 | -6/+9 | |
2017-10-10 | What year is it!? Who's the president!? | David Baker | 1 | -1/+1 | |
2017-10-09 | fed server: process PDUs for different rooms in parallel | Richard van der Hoff | 1 | -19/+34 | |
With luck, this will give a real-time improvement when there are many rooms and the server ends up calling out to fetch missing events. | |||||
2017-10-09 | Fed server: use a linearizer for ongoing transactions | Richard van der Hoff | 1 | -1/+29 | |
We don't want to process the same transaction multiple times concurrently, so use a linearizer. | |||||
2017-10-09 | fed server: refactor on_incoming_transaction | Richard van der Hoff | 1 | -24/+29 | |
Move as much as possible to after the have_responded check, and reduce the number of times we iterate over the pdu list. | |||||
2017-10-09 | Fed server: Move origin-check code to _handle_received_pdu | Richard van der Hoff | 1 | -24/+24 | |
The response-building code expects there to be an entry in the `results` list for each entry in the pdu_list, so the early `continue` was messing this up. That doesn't really matter, because all that the federation client does is log any errors, but it's pretty poor form. | |||||
2017-10-09 | Fix up comment | Erik Johnston | 1 | -1/+2 | |
2017-10-06 | Fix up logcontext handling in (federation) TransactionQueue | Richard van der Hoff | 1 | -16/+32 | |
Avoid using preserve_context_over_function, which has problems with respect to logcontexts. | |||||
2017-10-06 | Fix logcontext handling for concurrently_execute | Richard van der Hoff | 1 | -2/+2 | |
Avoid preserve_context_over_deferred, which is broken. | |||||
2017-10-06 | Fix up deferred handling in federation.py | Richard van der Hoff | 1 | -24/+21 | |
* Avoid preserve_context_over_deferred, which is broken * set consumeErrors=True on defer.gatherResults, to avoid spurious "unhandled failure" erros | |||||
2017-10-05 | some comments in the state res code | Richard van der Hoff | 1 | -0/+13 | |
2017-10-05 | Spam checking: add the invitee to user_may_invite | David Baker | 3 | -8/+10 | |
2017-10-05 | Make be faster | David Baker | 1 | -3/+3 | |
2017-10-05 | Add fastpath optimisation | David Baker | 1 | -3/+9 | |
2017-10-05 | pep8 | David Baker | 1 | -0/+3 | |
2017-10-05 | They're called rooms | David Baker | 1 | -4/+4 | |
2017-10-05 | Get rule type right | David Baker | 1 | -1/+1 | |
2017-10-05 | Support for channel notifications | David Baker | 3 | -8/+59 | |
Add condition type to check the sender's power level and add a base rule using it for @channel notifications. | |||||
2017-10-05 | Use better method for word boundary searching | David Baker | 1 | -11/+3 | |
From https://github.com/matrix-org/matrix-js-sdk/commit/ebc95667b8a5777d13e5d3c679972bedae022fd5 | |||||
2017-10-05 | Don't corrupt cache | Erik Johnston | 1 | -0/+1 | |
2017-10-05 | pep8 | David Baker | 1 | -0/+1 | |
2017-10-05 | Fix notif kws that start/end with non-word chars | David Baker | 1 | -2/+21 | |
Only prepend / append word bounary characters if the search expression starts or ends with a word character, otherwise they don't work because there's no word bounary between whitespace and a non-word char. | |||||
2017-10-04 | spam check room publishing | David Baker | 2 | -0/+26 | |
2017-10-04 | un-double indent | David Baker | 1 | -1/+1 | |
2017-10-04 | Add room creation checks to spam checker | David Baker | 3 | -0/+47 | |
Lets the spam checker deny attempts to create rooms and add aliases to them. | |||||
2017-10-03 | s/roomid/room_id/ | David Baker | 1 | -2/+2 | |
2017-10-03 | pass room id too | David Baker | 3 | -4/+6 | |
2017-10-03 | Federation was passing strings anyway | David Baker | 1 | -1/+1 | |
so pass string everywhere | |||||
2017-10-03 | this shouldn't be debug | David Baker | 1 | -2/+2 | |
2017-10-03 | better logging | David Baker | 1 | -4/+9 | |
2017-10-03 | Actually write warpper function | David Baker | 1 | -0/+16 | |
2017-10-03 | Skip spam check for admin users | David Baker | 1 | -8/+8 | |
2017-10-03 | Invalidate cache | Erik Johnston | 1 | -0/+3 | |
2017-10-03 | Update comments | Erik Johnston | 2 | -1/+8 | |
2017-10-03 | Fix param name & lint | David Baker | 1 | -2/+4 | |
2017-10-03 | Allow spam checker to reject invites too | David Baker | 2 | -6/+18 | |
2017-10-03 | Remove spurious line feed | Erik Johnston | 1 | -1/+0 | |
2017-10-03 | Ignore incoming events for rooms that we have left | Erik Johnston | 2 | -0/+55 | |
When synapse receives an event for a room its not in over federation, it double checks with the remote server to see if it is in fact in the room. This is done so that if the server has forgotten about the room (usually as a result of the database being dropped) it can recover from it. However, in the presence of state resets in large rooms, this can cause a lot of work for servers that have legitimately left. As a hacky solution that supports both cases we drop incoming events for rooms that we have explicitly left. This means that we no longer support the case of servers having forgotten that they've rejoined a room, but that is sufficiently rare that we're not going to support it for now. | |||||
2017-10-02 | Bump version and changelog v0.23.1 | Erik Johnston | 2 | -1/+9 | |
2017-10-02 | Make 'affinity' package optional | Erik Johnston | 2 | -2/+17 | |
2017-10-02 | Move quit_with_error | Erik Johnston | 2 | -10/+11 | |
2017-10-02 | Bump version and change log github/release-v0.23.0 release-v0.23.0 | Erik Johnston | 2 | -1/+7 | |
2017-10-02 | Drop search values with nul characters | Richard van der Hoff | 1 | -4/+7 | |
https://github.com/matrix-org/synapse/issues/2187 contains a report of a port failing due to nul characters somewhere in the search table. Let's try dropping the offending rows. | |||||
2017-09-30 | Unfreeze event before serializing with ujson | Jeremy Cline | 1 | -1/+2 | |
In newer versions of https://github.com/esnme/ultrajson, ujson does not serialize frozendicts (introduced in esnme/ultrajson@53f85b1). Although the PyPI version is still 1.35, Fedora ships with a build from commit esnme/ultrajson@2f1d487. This causes the serialization to fail if the distribution-provided package is used. This runs the event through the unfreeze utility before serializing it. Thanks to @ignatenkobrain for tracking down the root cause. fixes #2351 Signed-off-by: Jeremy Cline <jeremy@jcline.org> | |||||
2017-09-28 | Only log if we've removed media | Erik Johnston | 1 | -2/+4 | |
2017-09-28 | Improve logging of failures in matrixfederationclient | Richard van der Hoff | 1 | -7/+6 | |
* don't log exception types twice * not all exceptions have a meaningful 'message'. Use the repr rather than attempting to build a string ourselves. | |||||
2017-09-28 | Handle SERVFAILs when doing AAAA lookups for federation (#2477) | Richard van der Hoff | 1 | -5/+17 | |
... to cope with people with broken dnssec setups, mostly | |||||
2017-09-28 | Up the limits on number of url cache entries to delete at one time | Erik Johnston | 1 | -2/+2 | |
2017-09-28 | Add old indices | Erik Johnston | 1 | -0/+2 | |
2017-09-28 | Clear up expired url cache every 10s | Erik Johnston | 1 | -1/+1 | |
2017-09-28 | Actually assign result to variable | Erik Johnston | 1 | -1/+1 | |
2017-09-28 | Only pull out local media that were for url cache | Erik Johnston | 1 | -1/+1 | |
2017-09-28 | Fix typo in url cache expiry timer | Erik Johnston | 1 | -1/+1 | |
2017-09-28 | Support new and old style media id formats | Erik Johnston | 1 | -31/+81 | |
2017-09-28 | Fix typo | Erik Johnston | 1 | -3/+3 | |
2017-09-28 | Change expires column to expires_ts | Erik Johnston | 3 | -10/+29 | |
2017-09-28 | More brackets | Erik Johnston | 1 | -1/+1 | |
2017-09-28 | Delete expired url cache data | Erik Johnston | 5 | -5/+208 | |
2017-09-28 | Fix /joined_members |