Skip to content
Snippets Groups Projects
  1. Oct 26, 2021
  2. Oct 22, 2021
  3. Oct 20, 2021
  4. Oct 19, 2021
  5. Oct 18, 2021
  6. Oct 15, 2021
  7. Oct 13, 2021
  8. Oct 12, 2021
  9. Oct 11, 2021
  10. Oct 08, 2021
  11. Oct 06, 2021
  12. Oct 05, 2021
  13. Sep 29, 2021
  14. Sep 27, 2021
  15. Sep 24, 2021
    • Brendan Abolivier's avatar
      Add a spamchecker callback to allow or deny room creation based on invites (#10898) · b10257e8
      Brendan Abolivier authored
      This is in the context of creating new module callbacks that modules in https://github.com/matrix-org/synapse-dinsic can use, in an effort to reconcile the spam checker API in synapse-dinsic with the one in mainline.
      
      This adds a callback that's fairly similar to user_may_create_room except it also allows processing based on the invites sent at room creation.
      b10257e8
    • David Robertson's avatar
      Update postgresql testing script (#10906) · ea01d4c2
      David Robertson authored
      
      - Use sytest:bionic. Sytest:latest is two years old (do we want
        CI to push out latest at all?) and comes with Python 3.5, which we
        explictly no longer support. The script now runs under PostgreSQL 10
        as a result.
      - Advertise script in the docs
      - Move pg testing script to scripts-dev directory
      - Write to host as the script's exector, not root
      
      A few changes to make it speedier to re-run the tests:
      
      - Create blank DB in the container, not the script, so we don't have to
        `initdb` each time
      - Use a named volume to persist the tox environment, so we don't have to
        fetch and install a bunch of packages from PyPI each time
      
      Co-authored-by: default avatarreivilibre <olivier@librepush.net>
      ea01d4c2
  16. Sep 22, 2021
  17. Sep 21, 2021
    • Patrick Cloke's avatar
      Refactor oEmbed previews (#10814) · ba7a91ae
      Patrick Cloke authored
      The major change is moving the decision of whether to use oEmbed
      further up the call-stack. This reverts the _download_url method to
      being a "dumb" functionwhich takes a single URL and downloads it
      (as it was before #7920).
      
      This also makes more minor refactorings:
      
      * Renames internal variables for clarity.
      * Factors out shared code between the HTML and rich oEmbed
        previews.
      * Fixes tests to preview an oEmbed image.
      ba7a91ae
    • David Robertson's avatar
      Always add local users to the user directory (#10796) · 60453315
      David Robertson authored
      
      It's a simplification, but one that'll help make the user directory logic easier
      to follow with the other changes upcoming. It's not strictly required for those
      changes, but this will help simplify the resulting logic that listens for
      `m.room.member` events and generally make the logic easier to follow.
      
      This means the config option `search_all_users` ends up controlling the
      search query only, and not the data we store. The cost of doing so is an
      extra row in the `user_directory` and `user_directory_search` tables for
      each local user which
      
      - belongs to no public rooms
      - belongs to no private rooms of size ≥ 2
      
      I think the cost of this will be marginal (since they'll already have entries
       in `users` and `profiles` anyway).
      
      As a small upside, a homeserver whose directory was built with this
      change can toggle `search_all_users` without having to rebuild their
      directory.
      
      Co-authored-by: default avatarRichard van der Hoff <1389908+richvdh@users.noreply.github.com>
      60453315
  18. Sep 17, 2021
  19. Sep 13, 2021
  20. Sep 10, 2021
  21. Sep 08, 2021
  22. Sep 07, 2021
  23. Sep 06, 2021
  24. Sep 02, 2021
  25. Sep 01, 2021
Loading