Merge branch 'develop' into toger5/force_ec_video_rooms
This commit is contained in:
commit
f10214a9dd
24 changed files with 9435 additions and 9249 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -3,6 +3,8 @@ on:
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
push:
|
push:
|
||||||
branches: [develop, master]
|
branches: [develop, master]
|
||||||
|
merge_group:
|
||||||
|
types: [checks_requested]
|
||||||
# develop pushes and repository_dispatch handled in build_develop.yaml
|
# develop pushes and repository_dispatch handled in build_develop.yaml
|
||||||
env:
|
env:
|
||||||
# These must be set for fetchdep.sh to get the right branch
|
# These must be set for fetchdep.sh to get the right branch
|
||||||
|
|
2
.github/workflows/build_debian.yaml
vendored
2
.github/workflows/build_debian.yaml
vendored
|
@ -61,7 +61,7 @@ jobs:
|
||||||
dpkg-gencontrol -v"$VERSION" -ldebian/tmp/DEBIAN/changelog
|
dpkg-gencontrol -v"$VERSION" -ldebian/tmp/DEBIAN/changelog
|
||||||
dpkg-deb -Zxz --root-owner-group --build debian/tmp element-web.deb
|
dpkg-deb -Zxz --root-owner-group --build debian/tmp element-web.deb
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: element-web.deb
|
name: element-web.deb
|
||||||
path: element-web.deb
|
path: element-web.deb
|
||||||
|
|
2
.github/workflows/build_develop.yml
vendored
2
.github/workflows/build_develop.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
||||||
|
|
||||||
- run: mv dist/element-*.tar.gz dist/develop.tar.gz
|
- run: mv dist/element-*.tar.gz dist/develop.tar.gz
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: webapp
|
name: webapp
|
||||||
path: dist/develop.tar.gz
|
path: dist/develop.tar.gz
|
||||||
|
|
2
.github/workflows/dockerhub.yaml
vendored
2
.github/workflows/dockerhub.yaml
vendored
|
@ -46,7 +46,7 @@ jobs:
|
||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@31cebacef4805868f9ce9a0cb03ee36c32df2ac4 # v5
|
uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c # v5
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
vectorim/element-web
|
vectorim/element-web
|
||||||
|
|
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
|
@ -99,7 +99,7 @@ jobs:
|
||||||
run: mdbook build
|
run: mdbook build
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v2
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ./book
|
path: ./book
|
||||||
|
|
||||||
|
@ -112,4 +112,4 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v3
|
uses: actions/deploy-pages@v4
|
||||||
|
|
17
.github/workflows/downstream-artifacts.yml
vendored
Normal file
17
.github/workflows/downstream-artifacts.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
name: Build downstream artifacts
|
||||||
|
on:
|
||||||
|
merge_group:
|
||||||
|
types: [checks_requested]
|
||||||
|
pull_request: {}
|
||||||
|
push:
|
||||||
|
branches: [develop, master]
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
jobs:
|
||||||
|
build-element-web:
|
||||||
|
name: Build element-web
|
||||||
|
uses: matrix-org/matrix-react-sdk/.github/workflows/element-web.yaml@develop
|
||||||
|
with:
|
||||||
|
element-web-sha: ${{ github.sha }}
|
||||||
|
react-sdk-repository: matrix-org/matrix-react-sdk
|
58
.github/workflows/end-to-end-tests.yaml
vendored
Normal file
58
.github/workflows/end-to-end-tests.yaml
vendored
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
# Triggers after the "Downstream artifacts" build has finished, to run the
|
||||||
|
# matrix-react-sdk playwright tests (with access to repo secrets)
|
||||||
|
|
||||||
|
name: matrix-react-sdk End to End Tests
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Build downstream artifacts"]
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.run_id }}
|
||||||
|
cancel-in-progress: ${{ github.event.workflow_run.event == 'pull_request' }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
playwright:
|
||||||
|
name: Playwright
|
||||||
|
# We only want to run the playwright tests on merge queue to prevent regressions
|
||||||
|
# from creeping in. They take a long time to run and consume multiple concurrent runners.
|
||||||
|
if: github.event.workflow_run.event == 'merge_group'
|
||||||
|
uses: matrix-org/matrix-react-sdk/.github/workflows/end-to-end-tests.yaml@develop
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
issues: read
|
||||||
|
statuses: write
|
||||||
|
pull-requests: read
|
||||||
|
deployments: write
|
||||||
|
with:
|
||||||
|
react-sdk-repository: matrix-org/matrix-react-sdk
|
||||||
|
secrets:
|
||||||
|
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
||||||
|
# We want to make the Playwright tests a required check for the merge queue.
|
||||||
|
#
|
||||||
|
# Unfortunately, github doesn't distinguish between "checks needed for branch
|
||||||
|
# protection" (ie, the things that must pass before the PR will even be added
|
||||||
|
# to the merge queue) and "checks needed in the merge queue". We just have to add
|
||||||
|
# the check to the branch protection list.
|
||||||
|
#
|
||||||
|
# Ergo, if we know we're not going to run the Playwright tests, we need to add a
|
||||||
|
# passing status check manually.
|
||||||
|
mark_skipped:
|
||||||
|
if: github.event.workflow_run.event != 'merge_group'
|
||||||
|
permissions:
|
||||||
|
statuses: write
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: Sibz/github-status-action@071b5370da85afbb16637d6eed8524a06bc2053e # v1
|
||||||
|
with:
|
||||||
|
authToken: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
state: success
|
||||||
|
description: Playwright skipped
|
||||||
|
|
||||||
|
# Keep in step with the `context` that is updated by `Sibz/github-status-action`
|
||||||
|
# in matrix-org/matrix-react-sdk/.github/workflows/end-to-end-tests.yaml.
|
||||||
|
context: "${{ github.workflow }} / end-to-end-tests"
|
||||||
|
|
||||||
|
sha: "${{ github.event.workflow_run.head_sha }}"
|
2
.github/workflows/pull_request.yaml
vendored
2
.github/workflows/pull_request.yaml
vendored
|
@ -2,6 +2,8 @@ name: Pull Request
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [opened, edited, labeled, unlabeled, synchronize]
|
types: [opened, edited, labeled, unlabeled, synchronize]
|
||||||
|
merge_group:
|
||||||
|
types: [checks_requested]
|
||||||
jobs:
|
jobs:
|
||||||
action:
|
action:
|
||||||
uses: matrix-org/matrix-js-sdk/.github/workflows/pull_request.yaml@develop
|
uses: matrix-org/matrix-js-sdk/.github/workflows/pull_request.yaml@develop
|
||||||
|
|
1
.github/workflows/sonarqube.yml
vendored
1
.github/workflows/sonarqube.yml
vendored
|
@ -13,3 +13,4 @@ jobs:
|
||||||
uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop
|
uses: matrix-org/matrix-js-sdk/.github/workflows/sonarcloud.yml@develop
|
||||||
secrets:
|
secrets:
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
|
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
|
2
.github/workflows/static_analysis.yaml
vendored
2
.github/workflows/static_analysis.yaml
vendored
|
@ -3,6 +3,8 @@ on:
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
push:
|
push:
|
||||||
branches: [develop, master]
|
branches: [develop, master]
|
||||||
|
merge_group:
|
||||||
|
types: [checks_requested]
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [element-web-notify]
|
types: [element-web-notify]
|
||||||
env:
|
env:
|
||||||
|
|
4
.github/workflows/tests.yaml
vendored
4
.github/workflows/tests.yaml
vendored
|
@ -3,6 +3,8 @@ on:
|
||||||
pull_request: {}
|
pull_request: {}
|
||||||
push:
|
push:
|
||||||
branches: [develop, master]
|
branches: [develop, master]
|
||||||
|
merge_group:
|
||||||
|
types: [checks_requested]
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [element-web-notify]
|
types: [element-web-notify]
|
||||||
env:
|
env:
|
||||||
|
@ -33,7 +35,7 @@ jobs:
|
||||||
run: "yarn coverage --ci --max-workers ${{ steps.cpu-cores.outputs.count }}"
|
run: "yarn coverage --ci --max-workers ${{ steps.cpu-cores.outputs.count }}"
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: coverage
|
name: coverage
|
||||||
path: |
|
path: |
|
||||||
|
|
2
.github/workflows/triage-incoming.yml
vendored
2
.github/workflows/triage-incoming.yml
vendored
|
@ -8,7 +8,7 @@ jobs:
|
||||||
automate-project-columns:
|
automate-project-columns:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: alex-page/github-project-automation-plus@7ffb872c64bd809d23563a130a0a97d01dfa8f43
|
- uses: alex-page/github-project-automation-plus@303f24a24c67ce7adf565a07e96720faf126fe36
|
||||||
with:
|
with:
|
||||||
project: Issue triage
|
project: Issue triage
|
||||||
column: Incoming
|
column: Incoming
|
||||||
|
|
2
.github/workflows/triage-unlabelled.yml
vendored
2
.github/workflows/triage-unlabelled.yml
vendored
|
@ -35,7 +35,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
- name: Move issue
|
- name: Move issue
|
||||||
uses: alex-page/github-project-automation-plus@7ffb872c64bd809d23563a130a0a97d01dfa8f43
|
uses: alex-page/github-project-automation-plus@303f24a24c67ce7adf565a07e96720faf126fe36
|
||||||
if: ${{ env.ALREADY_IN_BOARD == 'true' && env.SKIP_ACTION != 'true' }}
|
if: ${{ env.ALREADY_IN_BOARD == 'true' && env.SKIP_ACTION != 'true' }}
|
||||||
with:
|
with:
|
||||||
project: Issue triage
|
project: Issue triage
|
||||||
|
|
|
@ -28,6 +28,7 @@ src/vector/modernizr.js
|
||||||
|
|
||||||
# This file is owned, parsed, and generated by allchange, which doesn't comply with prettier
|
# This file is owned, parsed, and generated by allchange, which doesn't comply with prettier
|
||||||
/CHANGELOG.md
|
/CHANGELOG.md
|
||||||
|
/docs/changelogs
|
||||||
|
|
||||||
# Downloaded and already minified
|
# Downloaded and already minified
|
||||||
res/jitsi_external_api.min.js
|
res/jitsi_external_api.min.js
|
||||||
|
|
8943
CHANGELOG.md
8943
CHANGELOG.md
File diff suppressed because it is too large
Load diff
|
@ -124,7 +124,7 @@ must include:
|
||||||
|
|
||||||
1. Comprehensive unit tests written in Jest. These are located in `/test`.
|
1. Comprehensive unit tests written in Jest. These are located in `/test`.
|
||||||
2. "happy path" end-to-end tests.
|
2. "happy path" end-to-end tests.
|
||||||
These are located in `/cypress/e2e` in `matrix-react-sdk`, and
|
These are located in `/playwright/e2e` in `matrix-react-sdk`, and
|
||||||
are run using `element-web`. Ideally, you would also include tests for edge
|
are run using `element-web`. Ideally, you would also include tests for edge
|
||||||
and error cases.
|
and error cases.
|
||||||
|
|
||||||
|
|
1867
docs/changelogs/CHANGELOG-2022.md
Normal file
1867
docs/changelogs/CHANGELOG-2022.md
Normal file
File diff suppressed because it is too large
Load diff
1017
docs/changelogs/CHANGELOG-2023.md
Normal file
1017
docs/changelogs/CHANGELOG-2023.md
Normal file
File diff suppressed because it is too large
Load diff
6035
docs/changelogs/CHANGELOG-pre-2022.md
Normal file
6035
docs/changelogs/CHANGELOG-pre-2022.md
Normal file
File diff suppressed because it is too large
Load diff
|
@ -137,7 +137,7 @@ complete re-branding/private labeling, a more personalised experience can be ach
|
||||||
This setting is ignored if your homeserver provides `/.well-known/matrix/client` in its well-known location, and the JSON file
|
This setting is ignored if your homeserver provides `/.well-known/matrix/client` in its well-known location, and the JSON file
|
||||||
at that location has a key `m.tile_server` (or the unstable version `org.matrix.msc3488.tile_server`). In this case, the
|
at that location has a key `m.tile_server` (or the unstable version `org.matrix.msc3488.tile_server`). In this case, the
|
||||||
configuration found in the well-known location is used instead.
|
configuration found in the well-known location is used instead.
|
||||||
10. `welcome_user_id`: An optional user ID to start a DM with after creating an account. Defaults to nothing (no DM created).
|
10. `welcome_user_id`: **DEPRECATED** An optional user ID to start a DM with after creating an account. Defaults to nothing (no DM created).
|
||||||
11. `custom_translations_url`: An optional URL to allow overriding of translatable strings. The JSON file must be in a format of
|
11. `custom_translations_url`: An optional URL to allow overriding of translatable strings. The JSON file must be in a format of
|
||||||
`{"affected|translation|key": {"languageCode": "new string"}}`. See https://github.com/matrix-org/matrix-react-sdk/pull/7886 for details.
|
`{"affected|translation|key": {"languageCode": "new string"}}`. See https://github.com/matrix-org/matrix-react-sdk/pull/7886 for details.
|
||||||
12. `branding`: Options for configuring various assets used within the app. Described in more detail down below.
|
12. `branding`: Options for configuring various assets used within the app. Described in more detail down below.
|
||||||
|
|
15
package.json
15
package.json
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "element-web",
|
"name": "element-web",
|
||||||
"version": "1.11.52",
|
"version": "1.11.54",
|
||||||
"description": "A feature-rich client for Matrix.org",
|
"description": "A feature-rich client for Matrix.org",
|
||||||
"author": "New Vector Ltd.",
|
"author": "New Vector Ltd.",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -141,15 +141,16 @@
|
||||||
"allchange": "^1.0.6",
|
"allchange": "^1.0.6",
|
||||||
"babel-jest": "^29.0.0",
|
"babel-jest": "^29.0.0",
|
||||||
"babel-loader": "^9.0.0",
|
"babel-loader": "^9.0.0",
|
||||||
|
"babel-plugin-jsx-remove-data-test-id": "^3.0.0",
|
||||||
"buffer": "^6.0.3",
|
"buffer": "^6.0.3",
|
||||||
"chokidar": "^3.5.1",
|
"chokidar": "^3.5.1",
|
||||||
"concurrently": "^8.0.0",
|
"concurrently": "^8.0.0",
|
||||||
"copy-webpack-plugin": "^11.0.0",
|
"copy-webpack-plugin": "^12.0.0",
|
||||||
"cronstrue": "^2.41.0",
|
"cronstrue": "^2.41.0",
|
||||||
"css-loader": "^5.2.7",
|
"css-loader": "^5.2.7",
|
||||||
"css-minimizer-webpack-plugin": "^5.0.1",
|
"css-minimizer-webpack-plugin": "^5.0.1",
|
||||||
"dotenv": "^16.0.2",
|
"dotenv": "^16.0.2",
|
||||||
"eslint": "8.55.0",
|
"eslint": "8.56.0",
|
||||||
"eslint-config-google": "^0.14.0",
|
"eslint-config-google": "^0.14.0",
|
||||||
"eslint-config-prettier": "^9.0.0",
|
"eslint-config-prettier": "^9.0.0",
|
||||||
"eslint-plugin-deprecate": "0.8.4",
|
"eslint-plugin-deprecate": "0.8.4",
|
||||||
|
@ -157,7 +158,7 @@
|
||||||
"eslint-plugin-matrix-org": "^1.0.0",
|
"eslint-plugin-matrix-org": "^1.0.0",
|
||||||
"eslint-plugin-react": "^7.28.0",
|
"eslint-plugin-react": "^7.28.0",
|
||||||
"eslint-plugin-react-hooks": "^4.3.0",
|
"eslint-plugin-react-hooks": "^4.3.0",
|
||||||
"eslint-plugin-unicorn": "^49.0.0",
|
"eslint-plugin-unicorn": "^50.0.0",
|
||||||
"fake-indexeddb": "^5.0.0",
|
"fake-indexeddb": "^5.0.0",
|
||||||
"fetch-mock": "9.11.0",
|
"fetch-mock": "9.11.0",
|
||||||
"fetch-mock-jest": "^1.5.1",
|
"fetch-mock-jest": "^1.5.1",
|
||||||
|
@ -185,7 +186,7 @@
|
||||||
"postcss-preset-env": "^6.7.0",
|
"postcss-preset-env": "^6.7.0",
|
||||||
"postcss-scss": "^4.0.4",
|
"postcss-scss": "^4.0.4",
|
||||||
"postcss-simple-vars": "^5.0.2",
|
"postcss-simple-vars": "^5.0.2",
|
||||||
"prettier": "3.1.1",
|
"prettier": "3.2.2",
|
||||||
"process": "^0.11.10",
|
"process": "^0.11.10",
|
||||||
"proxy-agent": "^6.3.0",
|
"proxy-agent": "^6.3.0",
|
||||||
"raw-loader": "^4.0.2",
|
"raw-loader": "^4.0.2",
|
||||||
|
@ -194,8 +195,8 @@
|
||||||
"setimmediate": "^1.0.5",
|
"setimmediate": "^1.0.5",
|
||||||
"string-replace-loader": "3",
|
"string-replace-loader": "3",
|
||||||
"style-loader": "3",
|
"style-loader": "3",
|
||||||
"stylelint": "^16.0.0",
|
"stylelint": "^16.1.0",
|
||||||
"stylelint-config-standard": "^35.0.0",
|
"stylelint-config-standard": "^36.0.0",
|
||||||
"stylelint-scss": "^6.0.0",
|
"stylelint-scss": "^6.0.0",
|
||||||
"terser-webpack-plugin": "^5.3.9",
|
"terser-webpack-plugin": "^5.3.9",
|
||||||
"ts-node": "^10.9.1",
|
"ts-node": "^10.9.1",
|
||||||
|
|
|
@ -108,5 +108,11 @@
|
||||||
<audio id="remoteAudio"></audio>
|
<audio id="remoteAudio"></audio>
|
||||||
<!-- let CSS themes pass constants to the app -->
|
<!-- let CSS themes pass constants to the app -->
|
||||||
<div id="mx_theme_accentColor"></div><div id="mx_theme_secondaryAccentColor"></div><div id="mx_theme_tertiaryAccentColor"></div>
|
<div id="mx_theme_accentColor"></div><div id="mx_theme_secondaryAccentColor"></div><div id="mx_theme_tertiaryAccentColor"></div>
|
||||||
|
|
||||||
|
<!-- We eagerly create these containers to ensure their CSS stacking context order is sensible -->
|
||||||
|
<div id="mx_PersistedElement_container"></div>
|
||||||
|
<div id="mx_Dialog_StaticContainer"></div>
|
||||||
|
<div id="mx_Dialog_Container"></div>
|
||||||
|
<div id="mx_ContextualMenu_Container"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -319,6 +319,7 @@ module.exports = (env, argv) => {
|
||||||
loader: "babel-loader",
|
loader: "babel-loader",
|
||||||
options: {
|
options: {
|
||||||
cacheDirectory: true,
|
cacheDirectory: true,
|
||||||
|
plugins: enableMinification ? ["babel-plugin-jsx-remove-data-test-id"] : [],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue