Skip to content
Snippets Groups Projects
  1. Nov 03, 2021
  2. Oct 29, 2021
  3. Oct 28, 2021
  4. Sep 30, 2021
  5. Sep 22, 2021
  6. Aug 17, 2021
  7. Aug 04, 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. Nov 17, 2020
  15. Oct 09, 2020
    • Andrew Morgan's avatar
      Allow modules to create and send events into rooms (#8479) · 66ac4b1e
      Andrew Morgan authored
      This PR allows Synapse modules making use of the `ModuleApi` to create and send non-membership events into a room. This can useful to have modules send messages, or change power levels in a room etc. Note that they must send event through a user that's already in the room.
      
      The non-membership event limitation is currently arbitrary, as it's another chunk of work and not necessary at the moment.
      66ac4b1e
  16. Oct 07, 2020
  17. Oct 05, 2020
    • Andrew Morgan's avatar
      Allow ThirdPartyEventRules modules to manipulate public room state (#8292) · 0991a2da
      Andrew Morgan authored
      This PR allows `ThirdPartyEventRules` modules to view, manipulate and block changes to the state of whether a room is published in the public rooms directory.
      
      While the idea of whether a room is in the public rooms list is not kept within an event in the room, `ThirdPartyEventRules` generally deal with controlling which modifications can happen to a room. Public rooms fits within that idea, even if its toggle state isn't controlled through a state event. 
      0991a2da
  18. Aug 26, 2020
  19. Jun 16, 2020
Loading