- Jun 01, 2019
-
-
Richard van der Hoff authored
-
- May 31, 2019
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
- May 28, 2019
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
When enabling the account validity feature, Synapse will look at startup for registered account without an expiration date, and will set one equals to 'now + validity_period' for them. On large servers, it can mean that a large number of users will have the same expiration date, which means that they will all be sent a renewal email at the same time, which isn't ideal. In order to mitigate this, this PR allows server admins to define a 'max_delta' so that the expiration date is a random value in the [now + validity_period ; now + validity_period + max_delta] range. This allows renewal emails to be progressively sent over a configured period instead of being sent all in one big batch.
-
- May 23, 2019
-
-
Andrew Morgan authored
Replaces DEFAULT_ROOM_VERSION constant with a method that first checks the config, then returns a hardcoded value if the option is not present. That hardcoded value is now located in the server.py config file.
-
- May 21, 2019
-
-
Amber Brown authored
-
- May 20, 2019
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
- May 17, 2019
-
-
Brendan Abolivier authored
If account validity is enabled in the server's configuration, this job will run at startup as a background job and will stick an expiration date to any registered account missing one.
-
Erik Johnston authored
As users aren't allowed to react with the same emoji more than once.
-
- May 16, 2019
-
-
Erik Johnston authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Erik Johnston authored
-
Erik Johnston authored
-
- May 15, 2019
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- May 13, 2019
-
-
Amber Brown authored
Migrate all tests to use the dict-based config format instead of hanging items off HomeserverConfig (#5171)
-
David Baker authored
-
- May 10, 2019
-
-
Amber Brown authored
-
- May 08, 2019
-
-
Brendan Abolivier authored
-
Matthew Hodgson authored
This commit adds two config options: * `restrict_public_rooms_to_local_users` Requires auth to fetch the public rooms directory through the CS API and disables fetching it through the federation API. * `require_auth_for_profile_requests` When set to `true`, requires that requests to `/profile` over the CS API are authenticated, and only returns the user's profile if the requester shares a room with the profile's owner, as per MSC1301. MSC1301 also specifies a behaviour for federation (only returning the profile if the server asking for it shares a room with the profile's owner), but that's currently really non-trivial to do in a not too expensive way. Next step is writing down a MSC that allows a HS to specify which user sent the profile query. In this implementation, Synapse won't send a profile query over federation if it doesn't believe it already shares a room with the profile's owner, though. Groups have been intentionally omitted from this commit.
-
Brendan Abolivier authored
Follow-up to #5124 Also added a bunch of checks to make sure everything (both the stuff added on #5124 and this PR) works as intended.
-
- May 02, 2019
-
-
Richard van der Hoff authored
-
- May 01, 2019
-
-
Richard van der Hoff authored
It doesn't really belong under rest/client/v1 any more.
-
- Apr 17, 2019
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
- Apr 09, 2019
-
-
Brendan Abolivier authored
-
- Apr 04, 2019
-
-
Brendan Abolivier authored
-
- Apr 03, 2019
-
-
Erik Johnston authored
-
- Apr 01, 2019
-
-
Richard van der Hoff authored
Collect all the things that make room-versions different to one another into one place, so that it's easier to define new room versions.
-
- Mar 21, 2019
-
-
Amber Brown authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-