Skip to content

Commit 21dde5c

Browse files
committed
Merge branch 'develop' into widget-effective-theme
2 parents 146db61 + ddf221b commit 21dde5c

File tree

406 files changed

+9465
-7108
lines changed

Some content is hidden

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

406 files changed

+9465
-7108
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ test/end-to-end-tests/lib/
77
src/component-index.js
88
# Auto-generated file
99
src/modules.ts
10+
src/modules.js

.eslintrc.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
2-
plugins: ["matrix-org"],
2+
plugins: ["matrix-org", "eslint-plugin-react-compiler"],
33
extends: ["plugin:matrix-org/babel", "plugin:matrix-org/react", "plugin:matrix-org/a11y"],
44
parserOptions: {
55
project: ["./tsconfig.json"],
@@ -170,6 +170,8 @@ module.exports = {
170170
"jsx-a11y/role-supports-aria-props": "off",
171171

172172
"matrix-org/require-copyright-header": "error",
173+
174+
"react-compiler/react-compiler": "error",
173175
},
174176
overrides: [
175177
{
@@ -262,6 +264,7 @@ module.exports = {
262264

263265
// These are fine in tests
264266
"no-restricted-globals": "off",
267+
"react-compiler/react-compiler": "off",
265268
},
266269
},
267270
{
@@ -271,6 +274,7 @@ module.exports = {
271274
},
272275
rules: {
273276
"react-hooks/rules-of-hooks": ["off"],
277+
"@typescript-eslint/no-floating-promises": ["error"],
274278
},
275279
},
276280
{

.github/CODEOWNERS

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@
33
/package.json @element-hq/element-web-team
44
/yarn.lock @element-hq/element-web-team
55

6-
/src/SecurityManager.ts @element-hq/element-crypto-web-reviewers
7-
/test/SecurityManager-test.ts @element-hq/element-crypto-web-reviewers
8-
/src/async-components/views/dialogs/security/ @element-hq/element-crypto-web-reviewers
9-
/src/components/views/dialogs/security/ @element-hq/element-crypto-web-reviewers
10-
/test/components/views/dialogs/security/ @element-hq/element-crypto-web-reviewers
11-
/src/stores/SetupEncryptionStore.ts @element-hq/element-crypto-web-reviewers
12-
/test/stores/SetupEncryptionStore-test.ts @element-hq/element-crypto-web-reviewers
6+
/src/SecurityManager.ts @element-hq/element-crypto-web-reviewers
7+
/test/SecurityManager-test.ts @element-hq/element-crypto-web-reviewers
8+
/src/async-components/views/dialogs/security/ @element-hq/element-crypto-web-reviewers
9+
/src/components/views/dialogs/security/ @element-hq/element-crypto-web-reviewers
10+
/test/components/views/dialogs/security/ @element-hq/element-crypto-web-reviewers
11+
/src/stores/SetupEncryptionStore.ts @element-hq/element-crypto-web-reviewers
12+
/test/stores/SetupEncryptionStore-test.ts @element-hq/element-crypto-web-reviewers
13+
/src/components/views/settings/tabs/user/EncryptionUserSettingsTab.tsx @element-hq/element-crypto-web-reviewers
14+
/src/src/components/views/settings/encryption/ @element-hq/element-crypto-web-reviewers
15+
/test/unit-tests/components/views/settings/encryption/ @element-hq/element-crypto-web-reviewers
16+
/playwright/e2e/settings/encryption-user-tab/ @element-hq/element-crypto-web-reviewers
17+
/src/components/views/dialogs/devtools/Crypto.tsx @element-hq/element-crypto-web-reviewers
1318

1419
# Ignore translations as those will be updated by GHA for Localazy download
1520
/src/i18n/strings

.github/labels.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,15 @@
235235
- name: "Z-Flaky-Test"
236236
description: "A test is raising false alarms"
237237
color: "ededed"
238+
- name: "Z-Flaky-Test-Chrome"
239+
description: "Flaky playwright test in Chrome"
240+
color: "ededed"
241+
- name: "Z-Flaky-Test-Firefox"
242+
description: "Flaky playwright test in Firefox"
243+
color: "ededed"
244+
- name: "Z-Flaky-Test-Webkit"
245+
description: "Flaky playwright test in Webkit"
246+
color: "ededed"
238247
- name: "Z-Flaky-Jest-Test"
239248
description: "A Jest test is raising false alarms"
240249
color: "ededed"

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,17 @@ jobs:
2727
- macos-14
2828
isDevelop:
2929
- ${{ github.event_name == 'push' && github.ref_name == 'develop' }}
30+
isPullRequest:
31+
- ${{ github.event_name == 'pull_request' }}
3032
# Skip the ubuntu-24.04 build for the develop branch as the dedicated CD build_develop workflow handles that
33+
# Skip the non-linux builds for pull requests as Windows is awfully slow, so run in merge queue only
3134
exclude:
3235
- isDevelop: true
3336
image: ubuntu-24.04
37+
- isPullRequest: true
38+
image: windows-2022
39+
- isPullRequest: true
40+
image: macos-14
3441
runs-on: ${{ matrix.image }}
3542
defaults:
3643
run:

.github/workflows/build_develop.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ jobs:
2626
R2_URL: ${{ vars.CF_R2_S3_API }}
2727
R2_PUBLIC_URL: "https://element-web-develop.element.io"
2828
steps:
29+
# Workaround for https://www.cloudflarestatus.com/incidents/t5nrjmpxc1cj
30+
- uses: unfor19/install-aws-cli-action@v1
31+
with:
32+
version: 2.22.35
33+
verbose: false
34+
arch: amd64
2935
- uses: actions/checkout@v4
3036

3137
- uses: actions/setup-node@v4

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,4 @@ jobs:
9696
projectName: ${{ env.SITE == 'staging.element.io' && 'element-web-staging' || 'element-web' }}
9797
directory: _deploy
9898
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
99+
branch: main

.github/workflows/dockerhub.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: Build and push
5353
id: build-and-push
54-
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc # v6
54+
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6
5555
with:
5656
context: .
5757
push: true

.github/workflows/end-to-end-tests.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ jobs:
114114
- Chrome
115115
- Firefox
116116
- WebKit
117+
- Dendrite
118+
- Pinecone
117119
runAllTests:
118120
- ${{ github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'X-Run-All-Tests') }}
119121
# Skip the Firefox & Safari runs unless this was a cron trigger or PR has X-Run-All-Tests label
@@ -122,6 +124,10 @@ jobs:
122124
project: Firefox
123125
- runAllTests: false
124126
project: WebKit
127+
- runAllTests: false
128+
project: Dendrite
129+
- runAllTests: false
130+
project: Pinecone
125131
steps:
126132
- uses: actions/checkout@v4
127133
with:

.github/workflows/static_analysis.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,3 @@ jobs:
132132

133133
- name: Run linter
134134
run: "yarn run lint:knip"
135-
136-
- name: Install Deps
137-
run: "scripts/layered.sh"
138-
139-
- name: Dead Code Analysis
140-
run: "yarn run analyse:unused-exports"

0 commit comments

Comments
 (0)