summary refs log tree commit diff
path: root/scripts-dev/tail-synapse.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-09Add AllowEncodedSlashes to apache (#5068)colonelkrud1-0/+2
* Add AllowEncodedSlashes to apache Add `AllowEncodedSlashes On` to apache config to support encoding for v3 rooms. "The AllowEncodedSlashes setting is not inherited by virtual hosts, and virtual hosts are used in many default Apache configurations, such as the one in Ubuntu. The workaround is to add the AllowEncodedSlashes setting inside a <VirtualHost> container (/etc/apache2/sites-available/default in Ubuntu)." Source: https://stackoverflow.com/questions/4390436/need-to-allow-encoded-slashes-on-apache * change allowencodedslashes to nodecode
2019-05-09remove instructions for jessie installation (#5164)Richard van der Hoff1-16/+5
We don't ship jessie packages, so these were a bit misleading.
2019-05-09Run `black` on per_destination_queueRichard van der Hoff1-35/+39
... mostly to fix pep8 fails
2019-05-09Limit the number of EDUs in transactions to 100 as expected by receiver (#5138)Quentin Dufour3-27/+32
Fixes #3951.
2019-05-08Fix bogus imports in tests (#5154)Brendan Abolivier4-5/+7
2019-05-08add options to require an access_token to GET /profile and /publicRooms on ↵Matthew Hodgson9-13/+252
CS API (#5083) 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.
2019-05-08Do checks on aliases for incoming m.room.aliases events (#5128)Brendan Abolivier7-8/+225
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.