summary refs log tree commit diff
path: root/scripts-dev (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-01-15Fix typoBrendan Abolivier1-1/+1
2020-01-15Fix instantiation of message retention purge jobsBrendan Abolivier2-13/+48
When figuring out which topological token to start a purge job at, we need to do the following: 1. Figure out a timestamp before which events will be purged 2. Select the first stream ordering after that timestamp 3. Select info about the first event after that stream ordering 4. Build a topological token from that info In some situations (e.g. quiet rooms with a short max_lifetime), there might not be an event after the stream ordering at step 3, therefore we abort the purge with the error `No event found`. To mitigate that, this patch fetches the first event _before_ the stream ordering, instead of after.
2020-01-14Process EDUs in parallel with PDUs. (#6697)Erik Johnston2-12/+59
This means that things like to device messages don't get blocked behind processing PDUs, which can potentially take *ages*.
2020-01-14Fixup synapse.replication to pass mypy checks (#6667)Erik Johnston12-86/+105
2020-01-13Quarantine media by ID or user ID (#6681)Andrew Morgan7-11/+632
2020-01-13Document more supported endpoints for workers (#6698)Richard van der Hoff2-0/+5
2020-01-13Kill off RegistrationError (#6691)Richard van der Hoff4-17/+4
This is pretty pointless. Let's just use SynapseError.
2020-01-13Don't assign numeric IDs for empty usernames (#6690)Richard van der Hoff2-1/+2
Fix a bug where we would assign a numeric userid if somebody tried registering with an empty username
2020-01-13Allow additional_resources to implement Resource directly (#6686)Richard van der Hoff2-2/+12
AdditionalResource really doesn't add any value, and it gets in the way for resources which want to support child resources or the like. So, if the resource object already implements the IResource interface, don't bother wrapping it.