Skip to content
Snippets Groups Projects
  1. Apr 21, 2021
  2. Apr 20, 2021
  3. Apr 13, 2021
  4. Apr 12, 2021
  5. Apr 09, 2021
  6. Apr 08, 2021
  7. Apr 06, 2021
    • Andrew Morgan's avatar
      Don't report anything from GaugeBucketCollector metrics until data is present (#8926) · 0d87c6bd
      Andrew Morgan authored
      This PR modifies `GaugeBucketCollector` to only report data once it has been updated, rather than initially reporting a value of 0. Fixes zero values being reported for some metrics on startup until a background job to update the metric's value runs later.
      Unverified
      0d87c6bd
    • 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.
      Unverified
      04819239
    • Patrick Cloke's avatar
      Add type hints to expiring cache. (#9730) · 44bb8810
      Patrick Cloke authored
      Unverified
      44bb8810
Loading