summary refs log tree commit diff
path: root/synapse/storage (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-19Be stricter about JSON that is accepted by Synapse (#8106)Patrick Cloke2-6/+17
2020-08-19Convert runWithConnection to async. (#8121)Patrick Cloke3-15/+15
2020-08-19Remove the unused inlineCallbacks code-paths in the caching code (#8119)Patrick Cloke3-52/+15
2020-08-19Separate `get_current_token` into two. (#8113)Erik Johnston6-20/+47
The function is used for two purposes: 1) for subscribers of streams to get a token they can use to get further updates with, and 2) for replication to track position of the writers of the stream. For streams with a single writer the two scenarios produce the same result, however the situation becomes complicated for streams with multiple writers. The current `MultiWriterIdGenerator` does not correctly handle the first case (which is not an issue as its only used for the `caches` stream which nothing subscribes to outside of replication).
2020-08-18Convert events worker database to async/await. (#8071)Patrick Cloke12-97/+106
2020-08-18Add a link to the matrix-synapse-rest-password-provider. (#8111)Patrick Cloke2-0/+2
2020-08-18Fix the return type of send_nonmember_events. (#8112)Patrick Cloke3-5/+17
2020-08-18Remove : from allowed client_secret chars (#8101)Andrew Morgan4-6/+16
Closes: https://github.com/matrix-org/synapse/issues/6766 Equivalent Sydent PR: https://github.com/matrix-org/sydent/pull/309 I believe it's now time to remove the extra allowed `:` from `client_secret` parameters.
2020-08-18Rename changelog from bugfix to misc.Patrick Cloke1-0/+0
2020-08-18Iteratively encode JSON responses to avoid blocking the reactor. (#8013)Patrick Cloke5-13/+94
2020-08-18Return the previous stream token if a non-member event is a duplicate. (#8093)Patrick Cloke2-10/+16
2020-08-18Add resources.consent conditional dependency back (#8107)Andrew Morgan2-20/+1
Turns out that part of the codebase (synapse.config.server) checks for this key explicitly. Remove that check.
2020-08-17Convert some of the general database methods to async (#8100)Patrick Cloke13-59/+69
2020-08-17Use the default templates when a custom template file cannot be found (#8037)Andrew Morgan15-290/+310
Fixes https://github.com/matrix-org/synapse/issues/6583
2020-08-17Changelog changes v1.19.0 github/release-v1.19.0 release-v1.19.0Olivier Wilkinson (reivilibre)1-5/+4
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2020-08-171.19.0Olivier Wilkinson (reivilibre)3-4/+10
2020-08-17Convert stream database to async/await. (#8074)Patrick Cloke11-227/+224
2020-08-14Add a shadow-banned flag to users. (#8092)Patrick Cloke12-12/+83
2020-08-14Convert pusher databases to async/await. (#8075)Patrick Cloke4-95/+90
2020-08-14Convert receipts and events databases to async/await. (#8076)Patrick Cloke4-82/+80
2020-08-14Add type hints to synapse.handlers.room (#8090)Erik Johnston3-39/+69
2020-08-14Remove some unused database functions. (#8085)Patrick Cloke7-244/+19
2020-08-14Convert misc database code to async (#8087)Patrick Cloke11-64/+39
2020-08-13Remove a space at the start of a changelog entry.Patrick Cloke1-1/+1
2020-08-13More changelog tweaks v1.19.0rc1Olivier Wilkinson (reivilibre)1-4/+4
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2020-08-13More changelog tweaksOlivier Wilkinson (reivilibre)1-4/+8
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2020-08-13Remove unwanted changelog lineOlivier Wilkinson (reivilibre)1-1/+0
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
2020-08-131.19.0rc1Olivier Wilkinson (reivilibre)72-71/+67
2020-08-13Run `remove_push_actions_from_staging` in foreground (#8081)Richard van der Hoff2-3/+2
If we got an error persisting an event, we would try to remove the push actions asynchronously, which would lead to a 'Re-starting finished log context' warning. I don't think there's any need for this to be asynchronous.
2020-08-13Drop federation transmission queues during a significant remote outage. (#7864)reivilibre2-0/+23
* Empty federation transmission queues when we are backing off. Fixes #7828. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> * Address feedback Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> * Reword newsfile
2020-08-13Fix unawaited coroutine error in tests. (#8072)Patrick Cloke2-10/+21
2020-08-12Convert the roommember database to async/await. (#8070)Patrick Cloke5-242/+116
2020-08-12Convert devices database to async/await. (#8069)Patrick Cloke5-176/+220
2020-08-12Add type hints to handlers.message and events.builder (#8067)Erik Johnston7-41/+61
2020-08-12Convert account data, device inbox, and censor events databases to ↵Patrick Cloke5-87/+99
async/await (#8063)
2020-08-12Convert appservice, group server, profile and more databases to async (#8066)Patrick Cloke9-116/+91
2020-08-12Fix typing for notifier (#8064)Erik Johnston6-16/+38
2020-08-11Convert tags and metrics databases to async/await (#8062)Patrick Cloke4-65/+64
2020-08-11Converts event_federation and registration databases to async/await (#8061)Patrick Cloke7-177/+150