- Apr 09, 2021
-
-
Patrick Cloke authored
-
- Apr 06, 2021
-
-
Andrew Morgan authored
At the moment, if you'd like to share presence between local or remote users, those users must be sharing a room together. This isn't always the most convenient or useful situation though. This PR adds a module to Synapse that will allow deployments to set up extra logic on where presence updates should be routed. The module must implement two methods, `get_users_for_states` and `get_interested_users`. These methods are given presence updates or user IDs and must return information that Synapse will use to grant passing presence updates around. A method is additionally added to `ModuleApi` which allows triggering a set of users to receive the current, online presence information for all users they are considered interested in. This is the equivalent of that user receiving presence information during an initial sync. The goal of this module is to be fairly generic and useful for a variety of applications, with hard requirements being: * Sending state for a specific set or all known users to a defined set of local and remote users. * The ability to trigger an initial sync for specific users, so they receive all current state.
-
- Feb 16, 2021
-
-
Eric Eastwood authored
- 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
-
- Jan 05, 2021
-
-
Patrick Cloke authored
An experimental room version ("org.matrix.msc2176") contains the new redaction rules for testing.
-
- Jul 22, 2020
-
-
Patrick Cloke authored
-
- May 15, 2020
-
-
Patrick Cloke authored
-
- May 05, 2020
-
-
Erik Johnston authored
This caused `prev_state_ids` to be incorrect if the state event was not replacing an existing state entry.
-
- Mar 09, 2020
-
-
Patrick Cloke authored
-
- Feb 07, 2020
-
-
Richard van der Hoff authored
... and use it in places where it's trivial to do so. This will make it easier to pass room versions into the FrozenEvent constructors.
-
- Jan 29, 2020
-
-
Richard van der Hoff authored
I'm going to need another copy (hah!) of this.
-
- Jun 20, 2019
-
-
Amber Brown authored
-
- Oct 24, 2018
-
-
Richard van der Hoff authored
Broadly three things here: * disable W504 which seems a bit whacko * remove a bunch of `as e` expressions from exception handlers that don't use them * use `r""` for strings which include backslashes Also, we don't use pep8 any more, so we can get rid of the duplicate config there.
-
- Aug 10, 2018
-
-
black authored
-
- Jul 09, 2018
-
-
Amber Brown authored
-
- Jan 17, 2017
-
-
Erik Johnston authored
-
- Nov 22, 2016
-
-
Kegan Dougal authored
-
Kegan Dougal authored
-
- Nov 21, 2016
-
-
Kegan Dougal authored
-
Kegan Dougal authored
-
Kegan Dougal authored
Also make it an inclusive not exclusive filter, as the spec demands.
-
- Feb 19, 2016
-
-
Mark Haines authored
-
- Jan 07, 2016
-
-
Matthew Hodgson authored
-
- Oct 16, 2015
-
-
Paul "LeoNerd" Evans authored
-
- Dec 16, 2014
-
-
Erik Johnston authored
-
- Nov 11, 2014
-
-
Erik Johnston authored
-
- Sep 12, 2014
-
-
Paul "LeoNerd" Evans authored
Have all unit tests import from our own subclass of trial's unittest TestCase; set up logging in ONE PLACE ONLY
-
- Sep 03, 2014
-
-
Matthew Hodgson authored
fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch.
-
- Aug 13, 2014
-
-
Matthew Hodgson authored
add in copyrights to everything, not just the synapse subdir, and add a copyrighter.pl whilst we're at it
-
- Aug 12, 2014
-
-
matrix.org authored
-