- Jun 01, 2019
-
-
Richard van der Hoff authored
-
- May 31, 2019
-
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
- May 30, 2019
-
-
Erik Johnston authored
-
- May 29, 2019
-
-
Amber Brown authored
-
Erik Johnston 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 24, 2019
-
-
Richard van der Hoff authored
The list of server names was redundant, since it was equivalent to the keys on the server_to_deferred map. This reduces the number of large lists being passed around, and has the benefit of deduplicating the entries in `wait_on`.
-
- May 23, 2019
-
-
Richard van der Hoff authored
-
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.
-
Richard van der Hoff authored
Rather than have three methods which have to have the same interface, factor out a separate interface which is provided by three implementations. I find it easier to grok the code this way.
-
Richard van der Hoff authored
This is a first step to checking that the key is valid at the required moment. The idea here is that, rather than passing VerifyKey objects in and out of the storage layer, we instead pass FetchKeyResult objects, which simply wrap the VerifyKey and add a valid_until_ts field.
-
Richard van der Hoff authored
Storing server keys hammered the database a bit. This replaces the implementation which stored a single key, with one which can do many updates at once.
-
- May 21, 2019
-
-
Amber Brown authored
-
- May 20, 2019
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
ReidAnderson 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
-
-
Amber Brown authored
-
Erik Johnston authored
-
Erik Johnston authored
-
- May 14, 2019
-
-
Erik Johnston authored
-
Erik Johnston authored
This is in preparation for reaction work which requires it.
-
- May 13, 2019
-
-
Amber Brown authored
Migrate all tests to use the dict-based config format instead of hanging items off HomeserverConfig (#5171)
-
Andrew Morgan authored
-
David Baker authored
-
David Baker authored
-
- May 10, 2019
-
-
Andrew Morgan authored
Prevents a SynapseError being raised inside of a IResolutionReceiver and instead opts to just return 0 results. This thus means that we have to lump a failed lookup and a blacklisted lookup together with the same error message, but the substitute should be generic enough to cover both cases.
-
Amber Brown authored
-