Skip to content
Snippets Groups Projects
  1. Oct 01, 2021
  2. Sep 30, 2021
  3. Sep 03, 2021
  4. Aug 17, 2021
  5. Aug 09, 2021
  6. Jul 28, 2021
  7. Jul 15, 2021
  8. Jul 13, 2021
  9. May 18, 2021
  10. Apr 14, 2021
  11. Apr 09, 2021
  12. 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
  13. Feb 16, 2021
  14. Jan 05, 2021
  15. Jul 22, 2020
  16. May 15, 2020
  17. May 05, 2020
  18. Mar 09, 2020
  19. Feb 07, 2020
  20. Jan 29, 2020
  21. Jun 20, 2019
  22. Oct 24, 2018
    • Richard van der Hoff's avatar
      Fix a number of flake8 errors · ef771cc4
      Richard van der Hoff authored
      Broadly three things here:
      
      * disable W504 which seems a bit whacko
      * remove a bunch of `as e` expressions from exception handlers that don't use
        them
      * use `r""` for strings which include backslashes
      
      Also, we don't use pep8 any more, so we can get rid of the duplicate config
      there.
      ef771cc4
  23. Aug 10, 2018
  24. Jul 09, 2018
  25. Jan 17, 2017
  26. Nov 22, 2016
  27. Nov 21, 2016
  28. Feb 19, 2016
  29. Jan 07, 2016
  30. Oct 16, 2015
  31. Dec 16, 2014
  32. Nov 11, 2014
  33. Sep 12, 2014
  34. Sep 03, 2014
  35. Aug 13, 2014
Loading