summary refs log tree commit diff
path: root/synapse/rest (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-03-02Always return a deferred from `get_current_state_deltas`. (#7019)Erik Johnston2-1/+4
This currently causes presence notify code to log exceptions when there is no state changes to process. This doesn't actually cause any problems as we'd simply do nothing anyway.
2020-03-02Fix py35-old CI by using native tox. (#7018)Erik Johnston2-6/+2
I'm not really sure how this was going wrong, but this seems like the right approach anyway.
2020-03-02remove spurious changelogRichard van der Hoff1-1/+0
2020-03-02Fixed set a user as an admin with the new API (#6928)Dirk Klimpel4-38/+194
Fix #6910
2020-03-01rst->mdMatthew Hodgson1-1/+1
2020-02-29Fix last date for ACMEv1 install (#7015)Uday Bansal2-1/+2
Support for getting TLS certificates through ACMEv1 ended on November 2019. Signed-off-by: Uday Bansal <43824981+udaybansal19@users.noreply.github.com>
2020-02-29Fix mounting of homeserver.yaml when it does not exist on host (#6913)Sandro1-2/+1
Signed-off-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
2020-02-28 Add some type annotations to the federation base & client classes (#6995)Patrick Cloke4-28/+45
2020-02-28Fixed set a user as an admin with the new API (#6928)Dirk Klimpel4-42/+199
Fix #6910
2020-02-27Don't refuse to start worker if media listener configured. (#7002)Erik Johnston2-14/+21
Instead lets just warn if the worker has a media listener configured but has the media repository disabled. Previously non media repository workers would just ignore the media listener.
2020-02-27set worker_app for frontend proxy test (#7003)Richard van der Hoff2-0/+6
to stop the federationhandler trying to do master stuff
2020-02-27Expose common commands via snap run interface to allow easier invocation (#6315)James2-5/+17
Signed-off-by: James Hebden <james@ec0.io>
2020-02-27Add some type annotations in `synapse.storage` (#6987)Richard van der Hoff8-84/+270
I cracked, and added some type definitions in synapse.storage.
2020-02-26Store room version on invite (#6983)Richard van der Hoff7-2/+78
When we get an invite over federation, store the room version in the rooms table. The general idea here is that, when we pull the invite out again, we'll want to know what room_version it belongs to (so that we can later redact it if need be). So we need to store it somewhere...
2020-02-26Cast a coroutine into a Deferred in the federation base (#6996)Patrick Cloke2-6/+9
Properly convert a coroutine into a Deferred in federation_base to fix an error when joining a room.
2020-02-26Port PresenceHandler to async/await (#6991)Erik Johnston7-115/+113
2020-02-26Updated warning for incorrect database collation/ctype (#6985)Uday Bansal2-3/+8
Signed-off-by: Uday Bansal <43824981+udaybansal19@users.noreply.github.com>
2020-02-26Ensure 'deactivated' parameter is a boolean on user admin API, Fix error ↵Andrew Morgan4-4/+68
handling of call to deactivate user (#6990)
2020-02-25Sanity-check database before running upgrades (#6982)Richard van der Hoff3-17/+33
Some of the database deltas rely on `config.server_name` being set correctly, so we should check that it is before running the deltas. Fixes #6870.
2020-02-25Merge worker apps into one. (#6964)Erik Johnston16-2327/+1052
2020-02-25contrib/docker: remove quotes for POSTGRES_INITDB_ARGS (#6984)Fridtjof Mund2-1/+2
I made a mistake in https://github.com/matrix-org/synapse/pull/6921 - the quotes break the postgres container's startup script (or docker-compose), which makes initdb fail: https://github.com/matrix-org/synapse/pull/6921#issuecomment-590657154 Signed-off-by: Fridtjof Mund <fridtjof@das-labor.org>
2020-02-24Remove redundant store_room call (#6979)Richard van der Hoff2-23/+1
`_process_received_pdu` is only called by `on_receive_pdu`, which ignores any events for unknown rooms, so this is redundant.
2020-02-24Upsert room version when we join over federation (#6968)Richard van der Hoff3-10/+30
This is intended as a precursor to storing room versions when we receive an invite over federation, but has the happy side-effect of fixing #3374 at last. In short: change the store_room with try/except to a proper upsert which updates the right