Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
d65ef84
Fix `Build and push complement image` CI job not having Poetry for `c…
MadLittleMods Mar 17, 2026
0d4accb
Remove support for MSC3852: Expose user agent information on Device a…
reivilibre Mar 17, 2026
3d960d8
Add MSC3820 comment context to `RoomVersion` attributes (#19577)
MadLittleMods Mar 18, 2026
8201e58
Update and stabilize mutual rooms support (MSC2666) (#19511)
tulir Mar 18, 2026
261bfb7
Fix zeroing out remote quarantined media count (#19559)
turt2live Mar 18, 2026
edf5ce2
Allow using HTTP/2 over plaintext when introspecting tokens with MAS …
sandhose Mar 18, 2026
9069763
Bump actions/setup-go from 6.2.0 to 6.3.0 in the minor-and-patches gr…
dependabot[bot] Mar 18, 2026
9fe7cbf
Bump actions/upload-artifact from 6.0.0 to 7.0.0 (#19565)
dependabot[bot] Mar 18, 2026
f490c49
Bump pyasn1 from 0.6.2 to 0.6.3 (#19584)
dependabot[bot] Mar 19, 2026
9edbf56
Prevent sending registration emails if registration is disabled (#19585)
anoadragon453 Mar 19, 2026
2c412ba
complement.sh: ensure old complement checkout files are deleted; remo…
anoadragon453 Mar 20, 2026
b4282b8
Updates for experimental MSC4388 support (sign-in with QR code) (#19573)
hughns Mar 20, 2026
40d699b
Stable support for MSC4284 policy servers (#19503)
turt2live Mar 20, 2026
713aa7e
Hide successful, skipped Complement tests in the CI (#19590)
anoadragon453 Mar 23, 2026
963fc9e
Bump docker/metadata-action from 5.10.0 to 6.0.0 (#19600)
dependabot[bot] Mar 24, 2026
e0b08da
Bump docker/build-push-action from 6.19.2 to 7.0.0 (#19599)
dependabot[bot] Mar 24, 2026
71092aa
Bump docker/setup-buildx-action from 3.12.0 to 4.0.0 (#19598)
dependabot[bot] Mar 24, 2026
57ef7b9
Bump docker/login-action from 3.7.0 to 4.0.0 (#19597)
dependabot[bot] Mar 24, 2026
4b19411
Bump rustls-webpki from 0.103.4 to 0.103.10 (#19594)
dependabot[bot] Mar 24, 2026
8c3daff
Merge branch 'master' into develop
sandhose Mar 24, 2026
7fad50f
Limit outgoing to_device EDU size to 65536 (#18416)
MatMaul Mar 24, 2026
6c7e05f
Allow Synapse to start up even when discovery fails for an OpenID Con…
reivilibre Mar 24, 2026
40d35a9
Bump tokio from 1.49.0 to 1.50.0 (#19596)
dependabot[bot] Mar 25, 2026
f2b325f
Demystify and deprecate `HomeserverTestCase.pump()` (Twisted reactor/…
MadLittleMods Mar 25, 2026
f545aa4
Port `RoomVersion` to Rust (#19589)
erikjohnston Mar 26, 2026
539f708
Remove `redacted_because` from internal unsigned. (#19581)
erikjohnston Mar 26, 2026
0549307
Revert "Limit outgoing to_device EDU size to 65536" (#19614)
erikjohnston Mar 27, 2026
f772fad
Fix small comment typo in config output from the `demo/start.sh` scri…
nerdoc Mar 30, 2026
70c6796
Increase timeout for policy server requests (#19629)
turt2live Mar 30, 2026
582f976
Unprefix room_version & encryption from hierarchy API (#19576)
cloudrac3r Mar 31, 2026
4fc1b92
Bump actions/download-artifact from 7.0.0 to 8.0.1 (#19626)
dependabot[bot] Mar 31, 2026
90449b9
Bump the minor-and-patches group with 2 updates (#19624)
dependabot[bot] Mar 31, 2026
ec4b050
Bump requests from 2.32.5 to 2.33.0 (#19610)
dependabot[bot] Mar 31, 2026
84b3e5a
Bump dorny/paths-filter from 3.0.2 to 4.0.1 (#19625)
dependabot[bot] Mar 31, 2026
df1752e
Bump cryptography from 46.0.5 to 46.0.6 (#19622)
dependabot[bot] Mar 31, 2026
0ac72bc
Bump phonenumbers from 9.0.25 to 9.0.26 in the minor-and-patches grou…
dependabot[bot] Mar 31, 2026
51aa319
Bump once_cell from 1.21.3 to 1.21.4 in the patches group (#19623)
dependabot[bot] Mar 31, 2026
b0fc0b7
Lower the database `statement_timeout` to 10m (#19604)
MadLittleMods Mar 31, 2026
72711a3
1.151.0rc1
sandhose Mar 31, 2026
09d83f3
Fix `KNOWN_ROOM_VERSIONS.__contains__` raising TypeError for non-stri…
sandhose Apr 7, 2026
77b329a
1.151.0
sandhose Apr 7, 2026
cee606e
Mention the rc in the bug fix in the changelog
sandhose Apr 7, 2026
4ea109a
Fix the changelog
sandhose Apr 7, 2026
a7e5ffa
Merge remote-tracking branch 'upstream/release-v1.151' into famedly-r…
jason-famedly Apr 9, 2026
e2b4231
chore: The new complement linter found somethings to reformat
jason-famedly Apr 9, 2026
722f03f
bump: Synapse Token Authenticator to v0.13.1
jason-famedly Apr 9, 2026
070568b
bump: Synapse Invite Checker to v0.5.0
jason-famedly Apr 9, 2026
0ad7dee
release: Famedly Synapse v1.151.0_1
jason-famedly Apr 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .ci/complement_package.gotpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ which is under the Unlicense licence.
{{- with .TestCases -}}
{{- /* Passing tests are first */ -}}
{{- range . -}}
{{- if eq .Result "PASS" -}}
{{- if and (eq .Result "PASS") (not $settings.HideSuccessfulTests) -}}
::group::{{ "\033" }}[0;32m✅{{ " " }}{{- .Name -}}
{{- "\033" -}}[0;37m ({{if $settings.ShowTestStatus}}{{.Result}}; {{end}}{{ .Duration -}}
{{- with .Coverage -}}
Expand All @@ -49,7 +49,8 @@ which is under the Unlicense licence.

{{- /* Then skipped tests are second */ -}}
{{- range . -}}
{{- if eq .Result "SKIP" -}}
{{- /* Skipped tests are also purposefully hidden if "HideSuccessfulTests" is enabled */ -}}
{{- if and (eq .Result "SKIP") (not $settings.HideSuccessfulTests) -}}
::group::{{ "\033" }}[0;33m🚧{{ " " }}{{- .Name -}}
{{- "\033" -}}[0;37m ({{if $settings.ShowTestStatus}}{{.Result}}; {{end}}{{ .Duration -}}
{{- with .Coverage -}}
Expand Down
4 changes: 3 additions & 1 deletion .ci/scripts/calculate_builds.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ def set_output(key: str, value: str) -> None:
"sta-version": "0.13.0",
"fcs-version": "0.0.2",
},
"mod026": {"sic-version": "0.2.2", "sta-version": "0.13.1", "fcs-version": "0.0.2"},
"mod027": {"sic-version": "0.5.0", "sta-version": "0.13.1", "fcs-version": "0.0.2"},
}

# Adjust this section to decide what gets built and layered on top
# THIS IS THE SECTION TO EDIT, after you have added the new versions above
current_mod_packs_to_build = ["mod024", "mod025"]
current_mod_packs_to_build = ["mod026", "mod027"]

generated_jobs: list[dict[str, Any]] = []
for mod_pack_job in current_mod_packs_to_build:
Expand Down
21 changes: 0 additions & 21 deletions .ci/scripts/gotestfmt

This file was deleted.

1 change: 0 additions & 1 deletion .ci/scripts/setup_complement_prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ alias block='{ set +x; } 2>/dev/null; func() { echo "::group::$*"; set -x; }; fu
alias endblock='{ set +x; } 2>/dev/null; func() { echo "::endgroup::"; set -x; }; func'

block Install Complement Dependencies
sudo apt-get -qq update && sudo apt-get install -qqy libolm3 libolm-dev
go install -v github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
endblock

Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0

- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
Expand All @@ -41,20 +41,20 @@ jobs:
echo "SYNAPSE_VERSION=$(grep "^version" pyproject.toml | sed -E 's/version\s*=\s*["]([^"]*)["]/\1/')" >> $GITHUB_ENV

- name: Log in to DockerHub
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Log in to GHCR
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Tailscale
uses: tailscale/github-action@53acf823325fe9ca47f4cdaa951f90b4b0de5bb9 # v4.1.1
uses: tailscale/github-action@306e68a486fd2350f2bfc3b19fcd143891a4a2d8 # v4.1.2
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
audience: ${{ secrets.TS_AUDIENCE }}
Expand All @@ -79,15 +79,15 @@ jobs:
services/backend-repositories/secret/data/oci.element.io password | OCI_PASSWORD ;

- name: Login to Element OCI Registry
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
with:
registry: oci-push.vpn.infra.element.io
username: ${{ steps.import-secrets.outputs.OCI_USERNAME }}
password: ${{ steps.import-secrets.outputs.OCI_PASSWORD }}

- name: Build and push by digest
id: build
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
with:
push: true
labels: |
Expand All @@ -108,7 +108,7 @@ jobs:
touch "${{ runner.temp }}/digests/${digest#sha256:}"

- name: Upload digest
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: digests-${{ matrix.suffix }}
path: ${{ runner.temp }}/digests/*
Expand All @@ -129,29 +129,29 @@ jobs:
- build
steps:
- name: Download digests
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
path: ${{ runner.temp }}/digests
pattern: digests-*
merge-multiple: true

- name: Log in to DockerHub
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
if: ${{ startsWith(matrix.repository, 'docker.io') }}
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Log in to GHCR
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
if: ${{ startsWith(matrix.repository, 'ghcr.io') }}
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Tailscale
uses: tailscale/github-action@53acf823325fe9ca47f4cdaa951f90b4b0de5bb9 # v4.1.1
uses: tailscale/github-action@306e68a486fd2350f2bfc3b19fcd143891a4a2d8 # v4.1.2
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
audience: ${{ secrets.TS_AUDIENCE }}
Expand All @@ -176,20 +176,20 @@ jobs:
services/backend-repositories/secret/data/oci.element.io password | OCI_PASSWORD ;

- name: Login to Element OCI Registry
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
with:
registry: oci-push.vpn.infra.element.io
username: ${{ steps.import-secrets.outputs.OCI_USERNAME }}
password: ${{ steps.import-secrets.outputs.OCI_PASSWORD }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0

- name: Install Cosign
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0

- name: Calculate docker image tag
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
with:
images: ${{ matrix.repository }}
flavor: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
cp book/welcome_and_overview.html book/index.html

- name: Upload Artifact
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: book
path: book
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/famedly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ jobs:

- name: Run token-authenticator tests
working-directory: synapse-token-authenticator
run: hatch run pip install -r synapse-requirements.txt && hatch run cov
run: hatch run pip install -r synapse-requirements.txt && hatch test -p -c

- name: Display Hatch Environment Info
if: always()
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fix_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
toolchain: ${{ env.RUST_VERSION }}
components: clippy, rustfmt
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1

- name: Setup Poetry
uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2.0.0
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/latest_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
with:
toolchain: ${{ env.RUST_VERSION }}
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1

# The dev dependencies aren't exposed in the wheel metadata (at least with current
# poetry-core versions), so we install with poetry.
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
with:
toolchain: ${{ env.RUST_VERSION }}
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1

- run: sudo apt-get -qq install xmlsec1
- name: Set up PostgreSQL ${{ matrix.postgres-version }}
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
with:
toolchain: ${{ env.RUST_VERSION }}
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1

- name: Ensure sytest runs `pip install`
# Delete the lockfile so sytest will `pip install` rather than `poetry install`
Expand All @@ -172,7 +172,7 @@ jobs:
if: ${{ always() }}
run: /sytest/scripts/tap_to_gha.pl /logs/results.tap
- name: Upload SyTest logs
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
if: ${{ always() }}
with:
name: Sytest Logs - ${{ job.status }} - (${{ join(matrix.*, ', ') }})
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
- name: Prepare Complement's Prerequisites
run: synapse/.ci/scripts/setup_complement_prerequisites.sh

- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
with:
cache-dependency-path: complement/go.sum
go-version-file: complement/go.mod
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/push_complement_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,19 @@ jobs:
if: github.event_name == 'push'
with:
ref: master
# We use `poetry` in `complement.sh`
- uses: matrix-org/setup-python-poetry@5bbf6603c5c930615ec8a29f1b5d7d258d905aa4 # v2.0.0
with:
poetry-version: "2.2.1"
- name: Login to registry
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Work out labels for complement image
id: meta
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0
with:
images: ghcr.io/${{ github.repository }}/complement-synapse
tags: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0

- name: Set up docker layer caching
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
echo "ARTIFACT_NAME=${DISTRO#*:}" >> "$GITHUB_OUTPUT"

- name: Upload debs as artifacts
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: debs-${{ steps.artifact-name.outputs.ARTIFACT_NAME }}
path: debs/*
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
# musl: (TODO: investigate).
CIBW_TEST_SKIP: pp3*-* *musl*

- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: Wheel-${{ matrix.os }}
path: ./wheelhouse/*.whl
Expand All @@ -171,7 +171,7 @@ jobs:
- name: Build sdist
run: python -m build --sdist

- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
with:
name: Sdist
path: dist/*.tar.gz
Expand All @@ -187,7 +187,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- name: Build a tarball for the debs
# We need to merge all the debs uploads into one folder, then compress
# that.
Expand Down
Loading
Loading