Skip to content

Commit a57d85d

Browse files
Famedly Release/v1.145 (#230)
# Famedly Synapse Release v1.145.0_1 ### Famedly Additions for v1.145.0_1 - fix: typo in changelog (FrenchGithubUser) - chore: remove dependabot config as we use renovate instead (FrenchGithubUser) - chore: bump Github actions versions in Famedly workflows ([\#229](#229)) (jason-famedly) Checklist: - depends on: famedly/complement#9 ### Notes for Famedly: - **Add memberships endpoint to the admin API. This is useful for forensics and T&S purposes. (element-hq/synapse#19260 - **Server admins can bypass the quarantine media check when downloading media by setting the admin_unsafely_bypass_quarantine query parameter to true on Client-Server API media download requests. (element-hq/synapse#19275 - **Admin API: add worker support to GET /_synapse/admin/v2/users/<user_id>. (element-hq/synapse#19281 - **Add rate limit conf to user directory endpoint (element-hq/synapse#19291
2 parents ee78b8c + 31e48d2 commit a57d85d

File tree

122 files changed

+4403
-1719
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+4403
-1719
lines changed

.ci/before_build_wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ if command -v yum &> /dev/null; then
77
fi
88

99
# Install a Rust toolchain
10-
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.82.0 -y --profile minimal
10+
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y --profile minimal

.ci/scripts/auditwheel_wrapper.py

Lines changed: 0 additions & 146 deletions
This file was deleted.

.ci/scripts/prepare_old_deps.sh

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/docker.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
3232

3333
- name: Checkout repository
34-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
34+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3535

3636
- name: Extract version from pyproject.toml
3737
# Note: explicitly requesting bash will mean bash is invoked with `-eo pipefail`, see
@@ -75,7 +75,7 @@ jobs:
7575
touch "${{ runner.temp }}/digests/${digest#sha256:}"
7676
7777
- name: Upload digest
78-
uses: actions/upload-artifact@v5
78+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
7979
with:
8080
name: digests-${{ matrix.suffix }}
8181
path: ${{ runner.temp }}/digests/*
@@ -95,7 +95,7 @@ jobs:
9595
- build
9696
steps:
9797
- name: Download digests
98-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
98+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
9999
with:
100100
path: ${{ runner.temp }}/digests
101101
pattern: digests-*

.github/workflows/docs-pr-netlify.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/workflows/docs-pr.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: GitHub Pages
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
16+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1717
with:
1818
# Fetch all history so that the schema_versions script works.
1919
fetch-depth: 0
@@ -39,7 +39,7 @@ jobs:
3939
cp book/welcome_and_overview.html book/index.html
4040
4141
- name: Upload Artifact
42-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
42+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
4343
with:
4444
name: book
4545
path: book
@@ -50,7 +50,7 @@ jobs:
5050
name: Check links in documentation
5151
runs-on: ubuntu-latest
5252
steps:
53-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
53+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5454

5555
- name: Setup mdbook
5656
uses: peaceiris/actions-mdbook@ee69d230fe19748b7abf22df32acaa93833fad08 # v2.0.0

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- pre
5555

5656
steps:
57-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
57+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5858
with:
5959
# Fetch all history so that the schema_versions script works.
6060
fetch-depth: 0

.github/workflows/famedly-tests.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,14 +342,28 @@ jobs:
342342
go-version-file: complement/go.mod
343343

344344
# use p=1 concurrency as GHA boxes are underpowered and don't like running tons of synapses at once.
345-
- run: |
345+
- name: Run Complement Tests
346+
id: run_complement_tests
347+
# -p=1: We're using `-p 1` to force the test packages to run serially as GHA boxes
348+
# are underpowered and don't like running tons of Synapse instances at once.
349+
# -json: Output JSON format so that gotestfmt can parse it.
350+
#
351+
# tee /tmp/gotest.log: We tee the output to a file so that we can re-process it
352+
# later on for better formatting with gotestfmt. But we still want the command
353+
# to output to the terminal as it runs so we can see what's happening in
354+
# real-time.
355+
run: |
346356
set -o pipefail
347-
COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -p 1 -json 2>&1 | synapse/.ci/scripts/gotestfmt
357+
COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -p 1 -json 2>&1 | tee /tmp/gotest.log
348358
shell: bash
349359
env:
350360
POSTGRES: ${{ (matrix.database == 'Postgres') && 1 || '' }}
351361
WORKERS: ${{ (matrix.arrangement == 'workers') && 1 || '' }}
352-
name: Run Complement Tests
362+
363+
- name: Formatted Complement test logs
364+
# Always run this step if we attempted to run the Complement tests.
365+
if: always() && steps.run_complement_tests.outcome != 'skipped'
366+
run: cat /tmp/gotest.log | gotestfmt -hide "successful-downloads,empty-packages"
353367

354368
cargo-test:
355369
runs-on: ubuntu-latest

.github/workflows/fix_lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
21+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2222

2323
- name: Install Rust
2424
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master

0 commit comments

Comments
 (0)