Skip to content
Snippets Groups Projects
  1. Oct 15, 2021
  2. Oct 13, 2021
  3. Sep 21, 2021
    • David Robertson's avatar
      Always add local users to the user directory (#10796) · 60453315
      David Robertson authored
      
      It's a simplification, but one that'll help make the user directory logic easier
      to follow with the other changes upcoming. It's not strictly required for those
      changes, but this will help simplify the resulting logic that listens for
      `m.room.member` events and generally make the logic easier to follow.
      
      This means the config option `search_all_users` ends up controlling the
      search query only, and not the data we store. The cost of doing so is an
      extra row in the `user_directory` and `user_directory_search` tables for
      each local user which
      
      - belongs to no public rooms
      - belongs to no private rooms of size ≥ 2
      
      I think the cost of this will be marginal (since they'll already have entries
       in `users` and `profiles` anyway).
      
      As a small upside, a homeserver whose directory was built with this
      change can toggle `search_all_users` without having to rebuild their
      directory.
      
      Co-authored-by: default avatarRichard van der Hoff <1389908+richvdh@users.noreply.github.com>
      60453315
  4. Sep 13, 2021
  5. Sep 06, 2021
  6. Aug 31, 2021
  7. Aug 21, 2021
  8. Aug 17, 2021
  9. Aug 06, 2021
  10. Aug 03, 2021
  11. Aug 02, 2021
  12. Jul 20, 2021
  13. Jul 16, 2021
  14. Jul 08, 2021
  15. Jul 07, 2021
  16. Jul 05, 2021
  17. Jun 21, 2021
  18. Jun 18, 2021
    • Brendan Abolivier's avatar
      Standardise the module interface (#10062) · 1b3e398b
      Brendan Abolivier authored
      This PR adds a common configuration section for all modules (see docs). These modules are then loaded at startup by the homeserver. Modules register their hooks and web resources using the new `register_[...]_callbacks` and `register_web_resource` methods of the module API.
      1b3e398b
  19. Jun 17, 2021
  20. Jun 16, 2021
  21. Jun 10, 2021
  22. May 26, 2021
  23. May 24, 2021
  24. May 14, 2021
  25. May 11, 2021
  26. May 05, 2021
    • Erik Johnston's avatar
      Limit how often GC happens by time. (#9902) · 1fb9a2d0
      Erik Johnston authored
      Synapse can be quite memory intensive, and unless care is taken to tune
      the GC thresholds it can end up thrashing, causing noticable performance
      problems for large servers. We fix this by limiting how often we GC a
      given generation, regardless of current counts/thresholds.
      
      This does not help with the reverse problem where the thresholds are set
      too high, but that should only happen in situations where they've been
      manually configured.
      
      Adds a `gc_min_seconds_between` config option to override the defaults.
      
      Fixes #9890.
      1fb9a2d0
  27. May 04, 2021
  28. Apr 20, 2021
  29. Apr 19, 2021
  30. Apr 06, 2021
    • Andrew Morgan's avatar
      Add a Synapse Module for configuring presence update routing (#9491) · 04819239
      Andrew Morgan authored
      At the moment, if you'd like to share presence between local or remote users, those users must be sharing a room together. This isn't always the most convenient or useful situation though.
      
      This PR adds a module to Synapse that will allow deployments to set up extra logic on where presence updates should be routed. The module must implement two methods, `get_users_for_states` and `get_interested_users`. These methods are given presence updates or user IDs and must return information that Synapse will use to grant passing presence updates around.
      
      A method is additionally added to `ModuleApi` which allows triggering a set of users to receive the current, online presence information for all users they are considered interested in. This is the equivalent of that user receiving presence information during an initial sync. 
      
      The goal of this module is to be fairly generic and useful for a variety of applications, with hard requirements being:
      
      * Sending state for a specific set or all known users to a defined set of local and remote users.
      * The ability to trigger an initial sync for specific users, so they receive all current state.
      04819239
  31. Mar 31, 2021
  32. Mar 30, 2021
  33. Mar 29, 2021
    • Richard van der Hoff's avatar
      Update the OIDC sample config (#9695) · 4bbd5354
      Richard van der Hoff authored
      I've reiterated the advice about using `oidc` to migrate, since I've seen a few
      people caught by this.
      
      I've also removed a couple of the examples as they are duplicating the OIDC
      documentation, and I think they might be leading people astray.
      4bbd5354
  34. Mar 23, 2021
  35. Mar 16, 2021
Loading