Skip to content

Commit 1023829

Browse files
committed
Merge branch 'develop' into florianduros/assign-section-room
2 parents cf27be9 + 9df7182 commit 1023829

123 files changed

Lines changed: 3998 additions & 3548 deletions

File tree

Some content is hidden

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

.github/actions/download-verify-element-tarball/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ runs:
1111
using: composite
1212
steps:
1313
- name: Download release tarball
14-
uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1
14+
uses: robinraju/release-downloader@28fc21f50d76778e7023361aa1f863e717d3d56f # v1
1515
with:
1616
tag: ${{ inputs.tag }}
1717
fileName: element-*.tar.gz*

.github/renovate.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,39 @@
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
33
"extends": ["github>matrix-org/renovate-config-element-web"],
44
"postUpdateOptions": ["pnpmDedupe"],
5+
"stopUpdatingLabel": "X-Blocked",
56
"packageRules": [
67
{
8+
"description": "Group all testcontainers docker digests",
79
"groupName": "testcontainers docker digests",
810
"groupSlug": "testcontainers-docker",
911
"matchDepTypes": ["testcontainers-docker"],
1012
"matchPackageNames": ["*"]
13+
},
14+
{
15+
"description": "Separate updates to overrides from other groups",
16+
"matchDepTypes": ["pnpm.overrides"],
17+
"groupSlug": null
18+
},
19+
{
20+
"description": "Disable any major updates to overrides as this almost always is wrong",
21+
"matchDepTypes": ["pnpm.overrides"],
22+
"matchUpdateTypes": ["major"],
23+
"enabled": false
1124
}
1225
],
1326
"customManagers": [
1427
{
28+
"description": "Update testcontainers docker digests",
1529
"customType": "regex",
1630
"datasourceTemplate": "docker",
1731
"versioningTemplate": "loose",
18-
"description": "Update testcontainers docker digests",
1932
"managerFilePatterns": ["**/testcontainers/*.ts"],
2033
"matchStrings": ["\\s+\"(?<depName>[^@]+):(?<currentValue>[^@]+)@(?<currentDigest>sha256:[a-f0-9]+)\""],
2134
"depTypeTemplate": "testcontainers-docker"
2235
},
2336
{
37+
"description": "Update element-desktop hakDependencies",
2438
"customType": "jsonata",
2539
"managerFilePatterns": ["/(^|/)package\\.json$/"],
2640
"fileFormat": "json",

.github/workflows/build-and-test.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ jobs:
206206
needs: prepare_ed
207207
name: "Desktop Windows"
208208
uses: ./.github/workflows/build_desktop_windows.yaml
209+
# Skip Windows builds on PRs, as the Linux amd64 build is enough of a smoke test and includes the screenshot tests
210+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests')
209211
strategy:
210212
matrix:
211213
arch: [x64, ia32, arm64]
@@ -223,10 +225,13 @@ jobs:
223225
arch: [amd64, arm64]
224226
runAllTests:
225227
- ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests') }}
226-
# We ship static sqlcipher builds, so delegate testing the system builds to the merge queue
227228
exclude:
229+
# We ship static sqlcipher builds, so delegate testing the system builds to the merge queue
228230
- runAllTests: false
229231
sqlcipher: system
232+
# Additionally skip arm64 system builds on PRs, as the amd64 test is enough for a smoke test and includes the screenshot tests
233+
- runAllTests: false
234+
arch: arm64
230235
with:
231236
sqlcipher: ${{ matrix.sqlcipher }}
232237
arch: ${{ matrix.arch }}
@@ -236,6 +241,9 @@ jobs:
236241
needs: prepare_ed
237242
name: "Desktop macOS"
238243
uses: ./.github/workflows/build_desktop_macos.yaml
244+
# Skip macOS builds on PRs, as the Linux amd64 build is enough of a smoke test and includes the screenshot tests
245+
# and we have a very low limit of concurrent macos runners (5) across the Github org.
246+
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests')
239247
with:
240248
blob_report: true
241249

.github/workflows/build_desktop_linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
- name: "Get modified files"
127127
id: changed_files
128128
if: steps.cache.outputs.cache-hit != 'true' && github.event_name == 'pull_request' && github.repository == 'element-hq/element-web'
129-
uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46
129+
uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47
130130
with:
131131
files: |
132132
apps/desktop/dockerbuild/**

.github/workflows/build_desktop_test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ jobs:
9797
PW_TAG: ${{ inputs.project }}
9898
ELEMENT_DESKTOP_EXECUTABLE: ${{ steps.executable.outputs.path }}
9999
ARGS: ${{ inputs.args }}
100+
DEBUG: pw:browser
100101

101102
- name: Upload blob report
102103
if: always() && inputs.blob_report

.github/workflows/cd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
persist-credentials: false
3232

3333
- name: Install Cosign
34-
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3
34+
uses: sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1
3535

3636
- name: Set up QEMU
3737
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4

.github/workflows/docker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
persist-credentials: false
2727

2828
- name: Install Cosign
29-
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3
29+
uses: sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1
3030
if: github.event_name != 'pull_request'
3131

3232
- name: Set up QEMU

.github/workflows/update-jitsi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: "pnpm vendor:jitsi"
2828

2929
- name: Create Pull Request
30-
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8
30+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
3131
with:
3232
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
3333
branch: actions/jitsi-update

CONTRIBUTING.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,21 @@ As for your PR description, it should include these things:
4949
Please **_do not use force push_** in your PRs. Doing so means we can't see what
5050
has changed. We use squash merge to get a "clean" git history.
5151

52+
### Adding a new feature or enhancement
53+
54+
To make a great product with a great user experience, all the small efforts need to go in the same direction and be aligned and consistent with each other.
55+
56+
Before making your contribution, please consider the following:
57+
58+
- One product can’t do everything well. Element is focusing on private end-to-end encrypted messaging and voice - this can either be for consumers (e.g. friends and family) or for professional teams and organizations. Public forums and other types of chats without E2EE remain supported but are not the primary use case in case UX compromises need to be made.
59+
- There are 3 platforms - Web/Desktop, [Android](https://github.com/element-hq/element-x-android) and [iOS](https://github.com/element-hq/element-x-ios). These platforms need to have feature parity and design consistency. For some features, supporting all platforms is a must have, in some cases exceptions can be made to have it on one platform only.
60+
- To make sure your idea fits both from a design/solution and use case perspective, please open a new issue (or find an existing issue) in [element-meta](https://github.com/element-hq/element-meta/issues) repository describing the use case and how you plan to tackle it. Do not just describe what feature is missing, explain why the users need it with a couple of real life examples from the field.
61+
- In case of an existing issue, please comment that you're planning to contribute. If you create a new issue, please specify that in the issue. In such a case we will try to review the issue ASAP and provide you with initial feedback so you can be confident if and at which conditions your contributions will be accepted.
62+
63+
Once we know that you want to contribute and have confirmed that the new feature is overall aligned with the product direction, the designers of the core team will help you with the designs and any other type of guidance when it comes to the user experience. We will try to unblock you as quickly as we can, but it may not be instant. Having a clear understanding of the use case and the impact of the feature will help us with the prioritization and faster responses.
64+
65+
Only once all of the above is met should you open a PR with your proposed changes.
66+
5267
### Changelogs
5368

5469
There's no need to manually add Changelog entries: we use information in the

apps/desktop/.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
24.14.1
1+
24.15.0

0 commit comments

Comments
 (0)