Skip to content
Snippets Groups Projects
  1. 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.
      Unverified
      04819239
  2. Mar 31, 2021
  3. Mar 30, 2021
  4. 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.
      Unverified
      4bbd5354
  5. Mar 23, 2021
  6. Mar 16, 2021
  7. Mar 09, 2021
  8. Feb 22, 2021
  9. Feb 19, 2021
  10. Feb 18, 2021
  11. Feb 12, 2021
  12. Feb 11, 2021
  13. Feb 04, 2021
  14. Feb 03, 2021
  15. Feb 02, 2021
  16. Feb 01, 2021
  17. Jan 29, 2021
  18. Jan 28, 2021
  19. Jan 27, 2021
  20. Jan 26, 2021
  21. Jan 21, 2021
  22. Jan 20, 2021
  23. Jan 15, 2021
    • Richard van der Hoff's avatar
      Land support for multiple OIDC providers (#9110) · 9de6b941
      Richard van der Hoff authored
      This is the final step for supporting multiple OIDC providers concurrently.
      
      First of all, we reorganise the config so that you can specify a list of OIDC providers, instead of a single one. Before:
      
          oidc_config:
             enabled: true
             issuer: "https://oidc_provider"
             # etc
      
      After:
      
          oidc_providers:
           - idp_id: prov1
             issuer: "https://oidc_provider"
      
           - idp_id: prov2
             issuer: "https://another_oidc_provider"
      
      The old format is still grandfathered in.
      
      With that done, it's then simply a matter of having OidcHandler instantiate a new OidcProvider for each configured provider.
      Unverified
      9de6b941
  24. Jan 13, 2021
    • Richard van der Hoff's avatar
      Give the user a better error when they present bad SSO creds · 5310808d
      Richard van der Hoff authored
      If a user tries to do UI Auth via SSO, but uses the wrong account on the SSO
      IdP, try to give them a better error.
      
      Previously, the UIA would claim to be successful, but then the operation in
      question would simply fail with "auth fail". Instead, serve up an error page
      which explains the failure.
      5310808d
  25. Jan 05, 2021
  26. Dec 29, 2020
  27. Dec 18, 2020
Loading