Skip to content
Snippets Groups Projects
  1. Jan 05, 2022
  2. Jan 03, 2022
    • Shay's avatar
      Drop Bionic from Debian builds (#11633) · 13c974ed
      Shay authored
      * update Trove classifiers to remove py36
      
      * stop building bionic
      
      * update dh-virtualenv
      
      * newsfragment
      
      * fix newsfragment
      
      * update version refs
      
      * another try at correct tag
      
      * Update changelog
      13c974ed
  3. Dec 14, 2021
  4. Dec 07, 2021
    • Sean Quah's avatar
      Revert accidental fast-forward merge from v1.49.0rc1 · 158d73eb
      Sean Quah authored
      Revert "Sort internal changes in changelog"
      Revert "Update CHANGES.md"
      Revert "1.49.0rc1"
      Revert "Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505) (#11527)"
      Revert "Refactors in `_generate_sync_entry_for_rooms` (#11515)"
      Revert "Correctly register shutdown handler for presence workers (#11518)"
      Revert "Fix `ModuleApi.looping_background_call` for non-async functions (#11524)"
      Revert "Fix 'delete room' admin api to work on incomplete rooms (#11523)"
      Revert "Correctly ignore invites from ignored users (#11511)"
      Revert "Fix the test breakage introduced by #11435 as a result of concurrent PRs (#11522)"
      Revert "Stabilise support for MSC2918 refresh tokens as they have now been merged into the Matrix specification. (#11435)"
      Revert "Save the OIDC session ID (sid) with the device on login (#11482)"
      Revert "Add admin API to get some information about federation status (#11407)"
      Revert "Include bundled aggregations in /sync and related fixes (#11478)"
      Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505)"
      Revert "Update backward extremity docs to make it clear that it does not indicate whether we have fetched an events' `prev_events` (#11469)"
      Revert "Support configuring the lifetime of non-refreshable access tokens separately to refreshable access tokens. (#11445)"
      Revert "Add type hints to `synapse/tests/rest/admin` (#11501)"
      Revert "Revert accidental commits to develop."
      Revert "Newsfile"
      Revert "Give `tests.server.setup_test_homeserver` (nominally!) the same behaviour"
      Revert "Move `tests.utils.setup_test_homeserver` to `tests.server`"
      Revert "Convert one of the `setup_test_homeserver`s to `make_test_homeserver_synchronous`"
      Revert "Disambiguate queries on `state_key` (#11497)"
      Revert "Comments on the /sync tentacles (#11494)"
      Revert "Clean up tests.storage.test_appservice (#11492)"
      Revert "Clean up `tests.storage.test_main` to remove use of legacy code. (#11493)"
      Revert "Clean up `tests.test_visibility` to remove legacy code. (#11495)"
      Revert "Minor cleanup on recently ported doc pages  (#11466)"
      Revert "Add most of the missing type hints to `synapse.federation`. (#11483)"
      Revert "Avoid waiting for zombie processes in `synctl stop` (#11490)"
      Revert "Fix media repository failing when media store path contains symlinks (#11446)"
      Revert "Add type annotations to `tests.storage.test_appservice`. (#11488)"
      Revert "`scripts-dev/sign_json`: support for signing events (#11486)"
      Revert "Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445)"
      Revert "Port wiki pages to documentation website (#11402)"
      Revert "Add a license header and comment. (#11479)"
      Revert "Clean-up get_version_string (#11468)"
      Revert "Link background update controller docs to summary (#11475)"
      Revert "Additional type hints for config module. (#11465)"
      Revert "Register the login redirect endpoint for v3. (#11451)"
      Revert "Update openid.md"
      Revert "Remove mention of OIDC certification from Dex (#11470)"
      Revert "Add a note about huge pages to our Postgres doc (#11467)"
      Revert "Don't start Synapse master process if `worker_app` is set (#11416)"
      Revert "Expose worker & homeserver as entrypoints in `setup.py` (#11449)"
      Revert "Bundle relations of relations into the `/relations` result. (#11284)"
      Revert "Fix `LruCache` corruption bug with a `size_callback` that can return 0 (#11454)"
      Revert "Eliminate a few `Any`s in `LruCache` type hints (#11453)"
      Revert "Remove unnecessary `json.dumps` from `tests.rest.admin` (#11461)"
      Revert "Merge branch 'master' into develop"
      
      This reverts commit 26b5d232.
      This reverts commit bce4220f.
      This reverts commit 966b5d0f.
      This reverts commit 088d748f.
      This reverts commit 14d593f7.
      This reverts commit 2a3ec6fa.
      This reverts commit eccc49d7.
      This reverts commit b1ecd19c.
      This reverts commit 9c55dedc.
      This reverts commit 2d42e586.
      This reverts commit 2f053f3f.
      This reverts commit a15a893d.
      This reverts commit 8b4b153c.
      This reverts commit 494ebd73.
      This reverts commit a77c3698.
      This reverts commit 4eb77965.
      This reverts commit 637df95d.
      This reverts commit e5f426cd.
      This reverts commit 8cd68b81.
      This reverts commit 6cae125e.
      This reverts commit 7be88fbf.
      This reverts commit b3fd99b7.
      This reverts commit f7ec6e7d.
      This reverts commit 5640992d.
      This reverts commit d26808dd.
      This reverts commit f91624a5.
      This reverts commit 16d39a54.
      This reverts commit 8a4c2969.
      This reverts commit 49e1356e.
      This reverts commit d2279f47.
      This reverts commit b50e39df.
      This reverts commit 858d80bf.
      This reverts commit 435f0448.
      This reverts commit f61462e1.
      This reverts commit a6f1a3ab.
      This reverts commit 84dc50e1.
      This reverts commit ed635d32.
      This reverts commit 7b62791e.
      This reverts commit 153194c7.
      This reverts commit f44d729d.
      This reverts commit a265fbd3.
      This reverts commit b9fef1a7.
      This reverts commit b0eb64ff.
      This reverts commit f1795463.
      This reverts commit 70cbb1a5.
      This reverts commit 42bf0204.
      This reverts commit 379f2650.
      This reverts commit 7ff22d6d.
      This reverts commit 5a0b652d.
      This reverts commit 432a174b.
      This reverts commit b14f8a1b, reversing
      changes made to e713855d.
      158d73eb
  5. Nov 26, 2021
  6. Nov 23, 2021
    • Shay's avatar
      Remove code invalidated by deprecated config flag... · 7cebaf96
      Shay authored
      Remove code invalidated by deprecated config flag 'trust_identity_servers_for_password_resets' (#11395)
      
      * remove background update code related to deprecated config flag
      
      * changelog entry
      
      * update changelog
      
      * Delete 11394.removal
      
      Duplicate, wrong number
      
      * add no-op background update and change newfragment so it will be consolidated with associated work
      
      * remove unused code
      
      * Remove code associated with deprecated flag from legacy docker dynamic config file
      
      Co-authored-by: default avatarreivilibre <oliverw@matrix.org>
      7cebaf96
  7. Nov 17, 2021
  8. Nov 01, 2021
  9. Oct 22, 2021
  10. Oct 21, 2021
  11. Sep 28, 2021
  12. Sep 24, 2021
    • 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
  13. Sep 08, 2021
  14. Aug 17, 2021
  15. Aug 01, 2021
  16. Jul 21, 2021
  17. Jul 14, 2021
  18. Jul 08, 2021
  19. Jun 17, 2021
  20. Jun 07, 2021
  21. May 24, 2021
  22. May 05, 2021
  23. Apr 14, 2021
    • Andrew Morgan's avatar
      Add a dockerfile for running a set of Synapse worker processes (#9162) · 7e460ec2
      Andrew Morgan authored
      This PR adds a Dockerfile and some supporting files to the `docker/` directory. The Dockerfile's intention is to spin up a container with:
      
      * A Synapse main process.
      * Any desired worker processes, defined by a `SYNAPSE_WORKERS` environment variable supplied at runtime.
      * A redis for worker communication.
      * A nginx for routing traffic.
      * A supervisord to start all worker processes and monitor them if any go down.
      
      Note that **this is not currently intended to be used in production**. If you'd like to use Synapse workers with Docker, instead make use of the official image, with one worker per container. The purpose of this dockerfile is currently to allow testing Synapse in worker mode with the [Complement](https://github.com/matrix-org/complement/) test suite.
      
      `configure_workers_and_start.py` is where most of the magic happens in this PR. It reads from environment variables (documented in the file) and creates all necessary config files for the processes. It is the entrypoint of the Dockerfile, and thus is run any time the docker container is spun up, recreating all config files in case you want to use a different set of workers. One can specify which workers they'd like to use by setting the `SYNAPSE_WORKERS` environment variable (as a comma-separated list of arbitrary worker names) or by setting it to `*` for all worker processes. We will be using the latter in CI.
      
      Huge thanks to @MatMaul for helping get this all working :tada: This PR is paired with its equivalent on the Complement side: https://github.com/matrix-org/complement/pull/62.
      
      Note, for the purpose of testing this PR before it's merged: You'll need to (re)build the base Synapse docker image for everything to work (`matrixdotorg/synapse:latest`). Then build the worker-based docker image on top (`matrixdotorg/synapse:workers`). 
      7e460ec2
    • Andrew Morgan's avatar
      Add note to docker docs explaining platform support (#9801) · f16c6cf5
      Andrew Morgan authored
      Context is in https://github.com/matrix-org/synapse/issues/9764#issuecomment-818615894.
      
      I struggled to find a more official link for this. The problem occurs when using WSL1 instead of WSL2, which some Windows platforms (at least Server 2019) still don't have. Docker have updated their documentation to paint a much happier picture now given WSL2's support.
      
      The last sentence here can probably be removed once WSL1 is no longer around... though that will likely not be for a very long time.
      f16c6cf5
  24. Apr 08, 2021
  25. Mar 30, 2021
  26. Mar 26, 2021
  27. Mar 25, 2021
  28. Mar 22, 2021
  29. Mar 16, 2021
  30. Feb 22, 2021
  31. Feb 15, 2021
  32. Jan 29, 2021
  33. Jan 19, 2021
  34. Jan 12, 2021
    • Dan Callahan's avatar
      Fix failures in Debian packaging (#9079) · fa6deb29
      Dan Callahan authored
      Debian package builds were failing for two reasons:
      
       1. Python versions prior to 3.7 throw exceptions when attempting to print
          Unicode characters under a "C" locale. (#9076)
      
       2. We depended on `dh-systemd` which no longer exists in Debian Bullseye, but
          is necessary in Ubuntu Xenial. (#9073)
      
      Setting `LANG="C.UTF-8"` in the build environment fixes the first issue.
      See also: https://bugs.python.org/issue19846
      
      
      
      The second issue is a bit trickier. The dh-systemd package was merged into
      debhelper version 9.20160709 and a transitional package left in its wake.
      
      The transitional dh-systemd package was removed in Debian Bullseye.
      
      However, Ubuntu Xenial ships an older debhelper, and still needs dh-systemd.
      
      Thus, builds were failing on Bullseye since we depended on a package which had
      ceased existing, but we couldn't remove it from the debian/control file and our
      build scripts because we still needed it for Ubuntu Xenial.
      
      We can fix the debian/control issue by listing dh-systemd as an alternative to
      the newer versions of debhelper. Since dh-systemd declares that it depends on
      debhelper, Ubuntu Xenial will select its older dh-systemd which will in turn
      pull in its older debhelper, resulting in no change from the status quo. All
      other supported releases will satisfy the debhelper dependency constraint and
      skip the dh-systemd alternative.
      
      Build scripts were fixed by unconditionally attempting to install dh-systemd on
      all releases and suppressing failures.
      
      Once we drop support for Ubuntu Xenial, we can revert most of this commit and
      rely on the version constraint on debhelper in debian/control.
      
      Fixes #9076
      Fixes #9073
      
      Signed-off-by: default avatarDan Callahan <danc@element.io>
      fa6deb29
  35. Dec 09, 2020
Loading