summary refs log tree commit diff
path: root/synapse/push/emailpusher.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-05-22Convert sending mail to async/await. (#7557)Erik Johnston1-22/+16
Mainly because sometimes the email push code raises exceptions where the stack traces have gotten lost, which is hopefully fixed by this.
2020-05-22Use a non-empty RelayState for user interactive auth with SAML. (#7552)Patrick Cloke2-1/+5
2020-05-22On upgrade room only send canonical alias once. (#7547)Erik Johnston2-55/+61
Instead of doing a complicated dance of deleting and moving aliases one by one, which sends a canonical alias update into the old room for each one, lets do it all in one go. This also changes the function to move *all* local alias events to the new room, however that happens later on anyway.
2020-05-22Fix exception reporting due to HTTP request errors. (#7556)Erik Johnston4-4/+24
These are business as usual errors, rather than stuff we want to log at error.
2020-05-22synapse.metrics: implement detailed memory usage reporting on PyPy (#7536)Ivan Shapovalov2-1/+79
PyPy's gc.get_stats() returns an object containing detailed allocator statistics which could be beneficial to collect as metrics. Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name>
2020-05-22Refresh apt cache when building dh_virtualenv docker image (#7555)Richard van der Hoff2-2/+5
When we tried to build debs for 1.13.0, the build failed because docker used a base docker image which had a stale apt cache. Fixes: #7540
2020-05-22Fix stacktrace mangling in `patch_inline_callbacks` (#7554)Richard van der Hoff2-2/+8
`Failure()` is more cunning than `Failure(e)`.
2020-05-22mypy for synapse.http.site (#7553)Richard van der Hoff3-3/+8
2020-05-22Fix some DETECTED VIOLATIONS in the config file (#7550)Richard van der Hoff8-55/+72
consistency ftw
2020-05-21Retry to sync out of sync device lists (#7453)Brendan Abolivier4-20/+158
When a call to `user_device_resync` fails, we don't currently mark the remote user's device list as out of sync, nor do we retry to sync it. https://github.com/matrix-org/synapse/pull/6776 introduced some code infrastructure to mark device lists as stale/out of sync. This commit uses that code infrastructure to mark device lists as out of sync if processing an incoming device list update makes the device handler realise that the device list is out of sync, but we can't resync right now. It also adds a looping call to retry all failed resync every 30s. This shouldn't cause too much spam in the logs as this commit also removes the "Failed to handle device list update for..." warning logs when catching `NotRetryingDestination`. Fixes #7418
2020-05-21Stub out GET presence requests in the frontend proxy (#7545)Richard van der Hoff2-17/+5
We don't really make any promises about returning accurate presence data when presence is disabled, so we may as well just return a static response, rather than making the master handle a request.
2020-05-21Ensure worker config exists in systemd service (#7528)David Vo2-1/+2
2020-05-21add a commentRichard van der Hoff1-0/+3
2020-05-21Fix bug in persist events when dealing with non member types. (#7548)Erik Johnston2-2/+3
`_is_server_still_joined` will throw if it is given state updates with non-user ID state keys with local user leaves. This is actually rarely a problem since local leaves almost always get persisted by themselves. (I discovered this on a branch that was otherwise broken, so I haven't seen this in the wild)
2020-05-20Update CONTRIBUTING.md (#7541)Richard van der Hoff1-15/+4
2020-05-20Remove Ubuntu Cosmic and Disco which are both EOL. (#7539)Patrick Cloke2-2/+1
2020-05-20Hash passwords earlier in the password reset process (#7538)Patrick Cloke5-11/+33
This now matches the logic of the registration process as modified in 56db0b1365965c02ff539193e26c333b7f70d101 / #7523.
2020-05-20Minor clarifications to the TURN docs (#7533)Richard van der Hoff2-15/+43
2020-05-19Update changelog based on feedback. v1.13.0 github/release-v1.13.0 release-v1.13.0Patrick Cloke1-1/+1
2020-05-19Move warnings in the changelog and re-iterate changes to branches.Patrick Cloke1-18/+32
2020-05-191.13.0Patrick Cloke4-4/+16
2020-05-19update dh-virtualenv (#7526)Richard van der Hoff5-11/+11
2020-05-19synctl warns when no process is stopped and avoids start (#6598)Romain Bouyé2-3/+29
* If an error occurs when stopping a process synctl now logs a warning. * During a restart, synctl will avoid attempting to start Synapse if an error occurs during stopping Synapse.
2020-05-19Improve API doc readability (#7527)Paul Tötterman1-10/+11
2020-05-19Omit displayname or avatar_url if they aren't set instead of returning null ↵Aaron Raimist2-2/+7
(#7497) Per https://github.com/matrix-org/matrix-doc/issues/1436#issuecomment-410089470 they should be omitted instead of returning null or "". They aren't marked as required in the spec. Fixes https://github.com/matrix-org/synapse/issues/7333 Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-05-181.13.0rc3 v1.13.0rc3Patrick Cloke3-2/+10
2020-05-18Hash passwords earlier in the registration process (#7523)Patrick Cloke4-31/+31
2020-05-18Allow ReplicationRestResource to be added to workers (#7515)Erik Johnston3-5/+13
This allows workers to talk to each other over HTTP replication.
2020-05-18