Skip to content
Snippets Groups Projects
  1. Nov 16, 2022
    • Patrick Cloke's avatar
      Remove redundant types from comments. (#14412) · d8cc86ef
      Patrick Cloke authored
      Remove type hints from comments which have been added
      as Python type hints. This helps avoid drift between comments
      and reality, as well as removing redundant information.
      
      Also adds some missing type hints which were simple to fill in.
      Unverified
      d8cc86ef
  2. Aug 23, 2022
  3. Jun 14, 2022
  4. May 13, 2022
  5. Apr 27, 2022
  6. Feb 23, 2022
  7. Sep 29, 2021
  8. Sep 24, 2021
  9. Aug 17, 2021
  10. Jun 23, 2021
  11. May 06, 2021
  12. May 05, 2021
    • DeepBlueV7.X's avatar
      Leave out optional keys from /sync (#9919) · e9eb3549
      DeepBlueV7.X authored
      
      This leaves out all optional keys from /sync. This should be fine for all clients tested against conduit already, but it may break some clients, as such we should check, that at least most of them don't break horribly and maybe back out some of the individual changes. (We can probably always leave out groups for example, while the others may cause more issues.)
      
      Signed-off-by: default avatarNicolas Werner <nicolas.werner@hotmail.de>
      Unverified
      e9eb3549
  13. Apr 14, 2021
  14. Apr 09, 2021
  15. Feb 16, 2021
  16. Dec 15, 2020
  17. Nov 16, 2020
  18. Sep 08, 2020
  19. Aug 27, 2020
  20. Aug 18, 2020
  21. Aug 11, 2020
  22. Aug 06, 2020
  23. Aug 04, 2020
  24. May 22, 2020
  25. May 01, 2020
  26. Apr 04, 2020
    • Brendan Abolivier's avatar
      Server notices: Dissociate room creation/lookup from invite (#7199) · d73bf18d
      Brendan Abolivier authored
      Fixes #6815
      
      Before figuring out whether we should alert a user on MAU, we call get_notice_room_for_user to get some info on the existing server notices room for this user. This function, if the room doesn't exist, creates it and invites the user in it. This means that, if we decide later that no server notice is needed, the user gets invited in a room with no message in it. This happens at every restart of the server, since the room ID returned by get_notice_room_for_user is cached.
      
      This PR fixes that by moving the inviting bit to a dedicated function, that's only called when the server actually needs to send a notice to the user. A potential issue with this approach is that the room that's created by get_notice_room_for_user doesn't match how that same function looks for an existing room (i.e. it creates a room that doesn't have an invite or a join for the current user in it, so it could lead to a new room being created each time a user syncs), but I'm not sure this is a problem given it's cached until the server restarts, so that function won't run very often.
      
      It also renames get_notice_room_for_user into get_or_create_notice_room_for_user to make what it does clearer.
      Unverified
      d73bf18d
  27. Mar 24, 2020
  28. Oct 24, 2019
  29. Jul 30, 2019
    • Richard van der Hoff's avatar
      Remove non-functional 'expire_access_token' setting (#5782) · 8c97f641
      Richard van der Hoff authored
      The `expire_access_token` didn't do what it sounded like it should do. What it
      actually did was make Synapse enforce the 'time' caveat on macaroons used as
      access tokens, but since our access token macaroons never contained such a
      caveat, it was always a no-op.
      
      (The code to add 'time' caveats was removed back in v0.18.5, in #1656)
      Unverified
      8c97f641
  30. Jun 20, 2019
  31. May 13, 2019
  32. May 10, 2019
  33. Mar 21, 2019
  34. Mar 19, 2019
  35. Oct 25, 2018
  36. Sep 06, 2018
  37. Aug 24, 2018
  38. Aug 23, 2018
Loading