Skip to content
Snippets Groups Projects
  1. May 24, 2019
  2. May 23, 2019
  3. May 21, 2019
  4. May 16, 2019
  5. May 15, 2019
  6. May 13, 2019
  7. May 10, 2019
  8. May 08, 2019
    • Matthew Hodgson's avatar
      add options to require an access_token to GET /profile and /publicRooms on CS API (#5083) · c0e0740b
      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.
      c0e0740b
  9. May 06, 2019
  10. May 03, 2019
  11. May 02, 2019
  12. May 01, 2019
  13. Apr 25, 2019
  14. Apr 17, 2019
  15. Apr 09, 2019
  16. Apr 08, 2019
  17. Apr 04, 2019
  18. Mar 20, 2019
  19. Mar 19, 2019
    • Erik Johnston's avatar
      Add option to disable search room lists · 213c98c0
      Erik Johnston authored
      This disables both local and remote room list searching.
      213c98c0
    • Erik Johnston's avatar
      Update sample config · 855bf465
      Erik Johnston authored
      855bf465
    • Richard van der Hoff's avatar
      Comment out most options in the generated config. (#4863) · fd463b4f
      Richard van der Hoff authored
      Make it so that most options in the config are optional, and commented out in
      the generated config.
      
      The reasons this is a good thing are as follows:
      
      * If we decide that we should change the default for an option, we can do so,
        and only those admins that have deliberately chosen to override that option
        will be stuck on the old setting.
      
      * It moves us towards a point where we can get rid of the super-surprising
        feature of synapse where the default settings for the config come from the
        generated yaml.
      
      * It makes setting up a test config for unit testing an order of magnitude
        easier (see forthcoming PR).
      
      * It makes the generated config more consistent, and hopefully easier for users
        to understand.
      Unverified
      fd463b4f
  20. Mar 18, 2019
  21. Mar 15, 2019
  22. Mar 13, 2019
  23. Mar 11, 2019
  24. Mar 07, 2019
  25. Mar 05, 2019
    • Brendan Abolivier's avatar
      Update sample config · c23e8c33
      Brendan Abolivier authored
      c23e8c33
    • Brendan Abolivier's avatar
      Add rate-limiting on registration (#4735) · a4c3a361
      Brendan Abolivier authored
      
      * Rate-limiting for registration
      
      * Add unit test for registration rate limiting
      
      * Add config parameters for rate limiting on auth endpoints
      
      * Doc
      
      * Fix doc of rate limiting function
      
      Co-Authored-By: default avatarbabolivier <contact@brendanabolivier.com>
      
      * Incorporate review
      
      * Fix config parsing
      
      * Fix linting errors
      
      * Set default config for auth rate limiting
      
      * Fix tests
      
      * Add changelog
      
      * Advance reactor instead of mocked clock
      
      * Move parameters to registration specific config and give them more sensible default values
      
      * Remove unused config options
      
      * Don't mock the rate limiter un MAU tests
      
      * Rename _register_with_store into register_with_store
      
      * Make CI happy
      
      * Remove unused import
      
      * Update sample config
      
      * Fix ratelimiting test for py2
      
      * Add non-guest test
      Unverified
      a4c3a361
  26. Mar 04, 2019
Loading