summary refs log tree commit diff
path: root/synapse/config/captcha.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-24add monthly active users to phonehome statsNeil Johnson3-15/+31
2019-05-24Fix appservice timestamp massaging (#5233)Tulir Asokan2-1/+7
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2019-05-24Add missing blank line in config (#5249)Richard van der Hoff3-0/+3
2019-05-24Don't bundle aggs for /state and /members etc APIsErik Johnston1-0/+3
2019-05-23Add config option for setting homeserver's default room version (#5223)Andrew Morgan7-10/+57
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.
2019-05-23Fix remote_key_resourceRichard van der Hoff1-3/+3
2019-05-23Factor out KeyFetchers from KeyRingRichard van der Hoff3-146/+204
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.
2019-05-23Store key validity time in the storage layerRichard van der Hoff6-46/+122
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.
2019-05-23Simplify process_v2_response (#5236)Richard van der Hoff2-21/+30
* Pass time_added_ms into process_v2_response * Simplify process_v2_response We can merge old_verify_keys into verify_keys, and reduce the number of dicts flying around.
2019-05-23Remove unused VerifyKey.expired and .time_added fields (#5235)Richard van der Hoff2-3/+1
These were never used, and poking arbitary data into objects from other packages seems confusing at best.
2019-05-23Rewrite store_server_verify_key to store several keys at once (#5234)Richard van der Hoff5-87/+96
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.
2019-05-23Simplifications and comments in do_auth (#5227)Richard van der Hoff3-121/+183
I was staring at this function trying to figure out wtf it was actually doing. This is (hopefully) a non-functional refactor which makes it a bit clearer.
2019-05-22Run black on synapse.crypto.keyring (#5232)Richard van der Hoff2-149/+138
2019-05-220.99.5.1 v0.99.5.1Neil Johnson3-3/+11
2019-05-22Revert "0.99.5"Neil Johnson3-11/+3
This reverts commit c31e375ade1b59a7fe38628337e9e1aa3de91feb.
2019-05-220.99.5Neil Johnson3-3/