summary refs log tree commit diff
path: root/synapse/handlers/room_member_worker.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Implement knock feature (#6739)Sorunome2021-06-091-2/+53
| | | | | | This PR aims to implement the knock feature as proposed in https://github.com/matrix-org/matrix-doc/pull/2403 Signed-off-by: Sorunome mail@sorunome.de Signed-off-by: Andrew Morgan andrewm@element.io
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
| | | | | | | Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
* Import HomeServer from the proper module. (#9665)Patrick Cloke2021-03-231-1/+1
|
* Add type hints to the room member handler. (#9631)Patrick Cloke2021-03-171-2/+8
|
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-4/+2
| | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
| | | | | | | This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py
* Remove some unused distributor signals (#8216)Patrick Cloke2020-09-091-9/+0
| | | | | Removes the `user_joined_room` and stops calling it since there are no observers. Also cleans-up some other unused signals and related code.
* `update_membership` declaration: now always returns an event id. (#7809)Richard van der Hoff2020-07-091-1/+1
|
* Generate real events when we reject invites (#7804)Richard van der Hoff2020-07-091-8/+9
| | | | | | | | Fixes #2181. The basic premise is that, when we fail to reject an invite via the remote server, we can generate our own out-of-band leave event and persist it as an outlier, so that we have something to send to the client.
* Add ability to wait for replication streams (#7542)Erik Johnston2020-05-221-5/+6
| | | | | | | The idea here is that if an instance persists an event via the replication HTTP API it can return before we receive that event over replication, which can lead to races where code assumes that persisting an event immediately updates various caches (e.g. current state of the room). Most of Synapse doesn't hit such races, so we don't do the waiting automagically, instead we do so where necessary to avoid unnecessary delays. We may decide to change our minds here if it turns out there are a lot of subtle races going on. People probably want to look at this commit by commit.
* Add type hints to room member handlers (#7513)Patrick Cloke2020-05-151-7/+21
|
* Update the room member handler to use async/await. (#7507)Patrick Cloke2020-05-151-12/+9
|
* Propagate reason in remotely rejected invitesErik Johnston2019-11-281-1/+4
|
* Replace returnValue with return (#5736)Amber Brown2019-07-231-1/+1
|
* Remove support for invite_3pid_guest. (#5625)Richard van der Hoff2019-07-051-12/+0
| | | | | | | | | This has never been documented, and I'm not sure it's ever been used outside sytest. It's quite a lot of poorly-maintained code, so I'd like to get rid of it. For now I haven't removed the database table; I suggest we leave that for a future clearout.
* Run Black. (#5482)Amber Brown2019-06-201-6/+2
|
* Use new helper base class for membership requestsErik Johnston2018-07-311-24/+17
|
* run isortAmber Brown2018-07-091-2/+3
|
* s/join/joined/ in notify_user_membership_changeErik Johnston2018-03-141-1/+1
|
* Split RoomMemberWorkerHandler to separate fileErik Johnston2018-03-141-0/+102