mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
* Element Call video rooms ([\#9267](https://github.com/matrix-org/matrix-react-sdk/pull/9267)).
* Device manager - rename session ([\#9282](https://github.com/matrix-org/matrix-react-sdk/pull/9282)). * Allow widgets to read related events ([\#9210](https://github.com/matrix-org/matrix-react-sdk/pull/9210)). Contributed by @dhenneke. * Device manager - logout of other session ([\#9280](https://github.com/matrix-org/matrix-react-sdk/pull/9280)). * Device manager - logout current session ([\#9275](https://github.com/matrix-org/matrix-react-sdk/pull/9275)). * Device manager - verify other devices ([\#9274](https://github.com/matrix-org/matrix-react-sdk/pull/9274)). * Allow integration managers to remove users ([\#9211](https://github.com/matrix-org/matrix-react-sdk/pull/9211)). * Device manager - add verify current session button ([\#9252](https://github.com/matrix-org/matrix-react-sdk/pull/9252)). * Add NotifPanel dot back. ([\#9242](https://github.com/matrix-org/matrix-react-sdk/pull/9242)). Fixes #17641. * Implement MSC3575: Sliding Sync ([\#8328](https://github.com/matrix-org/matrix-react-sdk/pull/8328)). * Add the clipboard read permission for widgets ([\#9250](https://github.com/matrix-org/matrix-react-sdk/pull/9250)). Contributed by @stefanmuhle. * Make autocomplete pop-up wider in thread view ([\#9289](https://github.com/matrix-org/matrix-react-sdk/pull/9289)). * Fix soft crash around inviting invalid MXIDs in start DM on first message flow ([\#9281](https://github.com/matrix-org/matrix-react-sdk/pull/9281)). Fixes matrix-org/element-web-rageshakes#15060 and matrix-org/element-web-rageshakes#15140. * Fix in-reply-to previews not disappearing when swapping rooms ([\#9278](https://github.com/matrix-org/matrix-react-sdk/pull/9278)). * Fix invalid instanceof operand window.OffscreenCanvas ([\#9276](https://github.com/matrix-org/matrix-react-sdk/pull/9276)). Fixes #23275. * Fix memory leak caused by unremoved listener ([\#9273](https://github.com/matrix-org/matrix-react-sdk/pull/9273)). * Fix thumbnail generation when offscreen canvas fails ([\#9272](https://github.com/matrix-org/matrix-react-sdk/pull/9272)). Fixes #23265. * Prevent sliding sync from showing a room under multiple sublists ([\#9266](https://github.com/matrix-org/matrix-react-sdk/pull/9266)). * Fix tile crash around tooltipify links ([\#9270](https://github.com/matrix-org/matrix-react-sdk/pull/9270)). Fixes #23253. * Device manager - filter out nulled metadatas in device tile properly ([\#9251](https://github.com/matrix-org/matrix-react-sdk/pull/9251)). * Fix a sliding sync bug which could cause rooms to loop ([\#9268](https://github.com/matrix-org/matrix-react-sdk/pull/9268)). * Remove the grey gradient on images in bubbles in the timeline ([\#9241](https://github.com/matrix-org/matrix-react-sdk/pull/9241)). Fixes #21651. * Fix html export not including images ([\#9260](https://github.com/matrix-org/matrix-react-sdk/pull/9260)). Fixes #22059. * Fix possible soft crash from a race condition in space hierarchies ([\#9254](https://github.com/matrix-org/matrix-react-sdk/pull/9254)). Fixes matrix-org/element-web-rageshakes#15225. * Disable all types of autocorrect, -complete, -capitalize, etc on Spotlight's search field ([\#9259](https://github.com/matrix-org/matrix-react-sdk/pull/9259)). * Handle M_INVALID_USERNAME on /register/available ([\#9237](https://github.com/matrix-org/matrix-react-sdk/pull/9237)). Fixes #23161. * Fix issue with quiet zone around QR code ([\#9243](https://github.com/matrix-org/matrix-react-sdk/pull/9243)). Fixes #23199. -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEE6Vt2megLaKnq2aGaK6qbhVK9kEcFAmMzSRkRHHJlbGVhc2Vz QHJpb3QuaW0ACgkQK6qbhVK9kEe48RAAlPqk3yg9UHkxbOmc8J/gEl/sxq2NUlOm 9YNORLqcuttfpYkKV/2Mp1cEtjXOxFev7kOCTfR0JwfEM9Q3R6jhBXmOwC/fIbLU 8QUwDAxKslFSZ0xpLDXzpu/etas/+3eydYYNSAF9ljVVWX44Hq8M8v86s6/0cwjG 32mkniqW0petPByNOWK1HwpnZU93iczpvAdsChmLCJjtTewFXaUVoLZmvGffKtg4 To90ahoFEf74NjjEYzOEnUkZU+B1HSUrjqwXAIvLGuo6X8vi526oADymHFkKkMzo nBwcLzckj+Ic3eaFKxpFH21bnnTiKMlOCqb61/okDfYz6OgitS+mEXo6G7JuXAke tNyNazyEtNwn3V1gw1RXwQxnxEcTlC+O9o2y8/6wuUEz0KLKTxOz84lQ4w0zpJog m63B8FMwyqLGI62n/u2FebUvhpIdq2NfHVBYVeCLtjhg6aTYfo4JOVL8Y1ruxvVS b1MXqNtwQ5bUO3Mwa1JzTlmgcxo2iO59/uUGmwnXlhu9cusxhpcf/R4Ge5nefsvd 8rHZ3QqucK9ByZlqrTUlBPtZOU3eZ4gbEDbksO+6GIFx6ccuWiICT4uOlzfb5IMU 9VzmGi5F75hQ4Qoz/FPfruVSZqCvUB/drLgVewhgCtJ/jtAzC21WbdBtlzpohc+l dEGqe8FSuJQ= =wIk3 -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQJNBAABCAA3FiEEUMS2jJrglzPzHXqk10PFDIthmEwFAmM0Ff0ZHGNvZGV3b3Jr c0BzdXBlcmNhYmxlLm9ubAAKCRDXQ8UMi2GYTLfOD/4scRkQwuVMf7XQ4Mjd8iHf 7QjvNLoCWRNLvFYYYBBD563kiAVRNoKc5gad/+ivdz/zKeylxieyhrsUu2RYZ3+x itoIyO3fn8/vSXu2MCAc2buc+YibgggvbaDrY8pGG47lgOgtb1+nW/5Aep3oVEYC WN7wcAFoRmYI+iy/lOXcILYAI8JLog2oiYH/r3KypNzynCy9lpoMqXpU8fTSczAG KgW6QMnh9Xxnhxbzob2VYnK9t5PqGDNfb4sElUd8orEMHPeK/tKuBbjK8mciUod3 yLR8lRaRgoGWoDEb3ngNS5cAt5c9ZyxIVPGMjEua/AspVB+GTIZk3L5rI8Q/6jOe uLGTAW6xzpBDjsrplbMIHl7vDp4MibA3mTuycbO+oCOJTMKhzjQpN12RoSeTJgZw XNmUucwGrilVA26uS+y4Hj9CVTNbDevy9RhVZZtSP4hobGUFAMnhiyRG1Ni80inM DcxhP5DTSnMaOJJLVTuMg1LD3IaHyIQ8R547o4lfnYx2yffwfQliwZndaV+I8M+l fy5aLgQZ7D1wbdnJ29ZXby/SQe1YjP82qhbDw8whM791+CAXcdrsWDTB7liuQ7Kd 09eqPrWg/PXnZbAjLTJMHQLBLgqfz8XFdgPX2CWOgXRK6rXGf2TK57SPQjLnBGtZ 1Od75U8gKm3ofO8ONba42Q== =nTii -----END PGP SIGNATURE----- Merge tag 'v1.11.6' into sc * Element Call video rooms ([\#9267](https://github.com/matrix-org/matrix-react-sdk/pull/9267)). * Device manager - rename session ([\#9282](https://github.com/matrix-org/matrix-react-sdk/pull/9282)). * Allow widgets to read related events ([\#9210](https://github.com/matrix-org/matrix-react-sdk/pull/9210)). Contributed by @dhenneke. * Device manager - logout of other session ([\#9280](https://github.com/matrix-org/matrix-react-sdk/pull/9280)). * Device manager - logout current session ([\#9275](https://github.com/matrix-org/matrix-react-sdk/pull/9275)). * Device manager - verify other devices ([\#9274](https://github.com/matrix-org/matrix-react-sdk/pull/9274)). * Allow integration managers to remove users ([\#9211](https://github.com/matrix-org/matrix-react-sdk/pull/9211)). * Device manager - add verify current session button ([\#9252](https://github.com/matrix-org/matrix-react-sdk/pull/9252)). * Add NotifPanel dot back. ([\#9242](https://github.com/matrix-org/matrix-react-sdk/pull/9242)). Fixes #17641. * Implement MSC3575: Sliding Sync ([\#8328](https://github.com/matrix-org/matrix-react-sdk/pull/8328)). * Add the clipboard read permission for widgets ([\#9250](https://github.com/matrix-org/matrix-react-sdk/pull/9250)). Contributed by @stefanmuhle. * Make autocomplete pop-up wider in thread view ([\#9289](https://github.com/matrix-org/matrix-react-sdk/pull/9289)). * Fix soft crash around inviting invalid MXIDs in start DM on first message flow ([\#9281](https://github.com/matrix-org/matrix-react-sdk/pull/9281)). Fixes matrix-org/element-web-rageshakes#15060 and matrix-org/element-web-rageshakes#15140. * Fix in-reply-to previews not disappearing when swapping rooms ([\#9278](https://github.com/matrix-org/matrix-react-sdk/pull/9278)). * Fix invalid instanceof operand window.OffscreenCanvas ([\#9276](https://github.com/matrix-org/matrix-react-sdk/pull/9276)). Fixes #23275. * Fix memory leak caused by unremoved listener ([\#9273](https://github.com/matrix-org/matrix-react-sdk/pull/9273)). * Fix thumbnail generation when offscreen canvas fails ([\#9272](https://github.com/matrix-org/matrix-react-sdk/pull/9272)). Fixes #23265. * Prevent sliding sync from showing a room under multiple sublists ([\#9266](https://github.com/matrix-org/matrix-react-sdk/pull/9266)). * Fix tile crash around tooltipify links ([\#9270](https://github.com/matrix-org/matrix-react-sdk/pull/9270)). Fixes #23253. * Device manager - filter out nulled metadatas in device tile properly ([\#9251](https://github.com/matrix-org/matrix-react-sdk/pull/9251)). * Fix a sliding sync bug which could cause rooms to loop ([\#9268](https://github.com/matrix-org/matrix-react-sdk/pull/9268)). * Remove the grey gradient on images in bubbles in the timeline ([\#9241](https://github.com/matrix-org/matrix-react-sdk/pull/9241)). Fixes #21651. * Fix html export not including images ([\#9260](https://github.com/matrix-org/matrix-react-sdk/pull/9260)). Fixes #22059. * Fix possible soft crash from a race condition in space hierarchies ([\#9254](https://github.com/matrix-org/matrix-react-sdk/pull/9254)). Fixes matrix-org/element-web-rageshakes#15225. * Disable all types of autocorrect, -complete, -capitalize, etc on Spotlight's search field ([\#9259](https://github.com/matrix-org/matrix-react-sdk/pull/9259)). * Handle M_INVALID_USERNAME on /register/available ([\#9237](https://github.com/matrix-org/matrix-react-sdk/pull/9237)). Fixes #23161. * Fix issue with quiet zone around QR code ([\#9243](https://github.com/matrix-org/matrix-react-sdk/pull/9243)). Fixes #23199.
This commit is contained in:
commit
32c4e33cd4
2
.github/workflows/backport.yml
vendored
2
.github/workflows/backport.yml
vendored
@ -25,6 +25,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: tibdex/backport@v2
|
- uses: tibdex/backport@v2
|
||||||
with:
|
with:
|
||||||
labels_template: "<%= JSON.stringify(labels) %>"
|
labels_template: "<%= JSON.stringify([...labels, 'X-Release-Blocker']) %>"
|
||||||
# We can't use GITHUB_TOKEN here or CI won't run on the new PR
|
# We can't use GITHUB_TOKEN here or CI won't run on the new PR
|
||||||
github_token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
github_token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||||||
|
35
.github/workflows/static_analysis.yaml
vendored
35
.github/workflows/static_analysis.yaml
vendored
@ -79,38 +79,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Dead Code Analysis
|
- name: Dead Code Analysis
|
||||||
run: "yarn run analyse:unused-exports"
|
run: "yarn run analyse:unused-exports"
|
||||||
|
|
||||||
tsc-strict:
|
|
||||||
name: Typescript Strict Error Checker
|
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
pull-requests: read
|
|
||||||
checks: write
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Get diff lines
|
|
||||||
id: diff
|
|
||||||
uses: Equip-Collaboration/diff-line-numbers@v1.0.0
|
|
||||||
with:
|
|
||||||
include: '["\\.tsx?$"]'
|
|
||||||
|
|
||||||
- name: Detecting files changed
|
|
||||||
id: files
|
|
||||||
uses: futuratrepadeira/changed-files@v3.2.1
|
|
||||||
with:
|
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
pattern: '^.*\.tsx?$'
|
|
||||||
|
|
||||||
- uses: t3chguy/typescript-check-action@main
|
|
||||||
with:
|
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
use-check: false
|
|
||||||
check-fail-mode: added
|
|
||||||
output-behaviour: annotate
|
|
||||||
ts-extra-args: '--strict'
|
|
||||||
files-changed: ${{ steps.files.outputs.files_updated }}
|
|
||||||
files-added: ${{ steps.files.outputs.files_created }}
|
|
||||||
files-deleted: ${{ steps.files.outputs.files_deleted }}
|
|
||||||
line-numbers: ${{ steps.diff.outputs.lineNumbers }}
|
|
||||||
|
2
.github/workflows/triage-assigned.yml
vendored
2
.github/workflows/triage-assigned.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
contains(github.event.issue.assignees.*.login, 't3chguy') ||
|
contains(github.event.issue.assignees.*.login, 't3chguy') ||
|
||||||
contains(github.event.issue.assignees.*.login, 'turt2live')
|
contains(github.event.issue.assignees.*.login, 'turt2live')
|
||||||
steps:
|
steps:
|
||||||
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
|
- uses: alex-page/github-project-automation-plus@be108970955040d35dd6d053c3aff3faaf678026
|
||||||
with:
|
with:
|
||||||
project: Web App Team
|
project: Web App Team
|
||||||
column: "In Progress"
|
column: "In Progress"
|
||||||
|
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@bb266ff4dde9242060e2d5418e120a133586d488
|
- uses: alex-page/github-project-automation-plus@be108970955040d35dd6d053c3aff3faaf678026
|
||||||
with:
|
with:
|
||||||
project: Issue triage
|
project: Issue triage
|
||||||
column: Incoming
|
column: Incoming
|
||||||
|
2
.github/workflows/triage-labelled.yml
vendored
2
.github/workflows/triage-labelled.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
name: X-Needs-Info issues to Need info column on triage board
|
name: X-Needs-Info issues to Need info column on triage board
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: konradpabjan/move-labeled-or-milestoned-issue@219d384e03fa4b6460cd24f9f37d19eb033a4338
|
- uses: konradpabjan/move-labeled-or-milestoned-issue@190352295fe309fcb113b49193bc81d9aaa9cb01
|
||||||
with:
|
with:
|
||||||
action-token: "${{ secrets.ELEMENT_BOT_TOKEN }}"
|
action-token: "${{ secrets.ELEMENT_BOT_TOKEN }}"
|
||||||
project-url: "https://github.com/vector-im/element-web/projects/27"
|
project-url: "https://github.com/vector-im/element-web/projects/27"
|
||||||
|
2
.github/workflows/triage-priority-bugs.yml
vendored
2
.github/workflows/triage-priority-bugs.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
contains(github.event.issue.labels.*.name, 'A11y') &&
|
contains(github.event.issue.labels.*.name, 'A11y') &&
|
||||||
contains(github.event.issue.labels.*.name, 'O-Frequent'))
|
contains(github.event.issue.labels.*.name, 'O-Frequent'))
|
||||||
steps:
|
steps:
|
||||||
- uses: alex-page/github-project-automation-plus@bb266ff4dde9242060e2d5418e120a133586d488
|
- uses: alex-page/github-project-automation-plus@be108970955040d35dd6d053c3aff3faaf678026
|
||||||
with:
|
with:
|
||||||
project: Crypto Team
|
project: Crypto Team
|
||||||
column: Ready
|
column: Ready
|
||||||
|
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@bb266ff4dde9242060e2d5418e120a133586d488
|
uses: alex-page/github-project-automation-plus@be108970955040d35dd6d053c3aff3faaf678026
|
||||||
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
|
||||||
|
34
CHANGELOG.md
34
CHANGELOG.md
@ -1,3 +1,37 @@
|
|||||||
|
Changes in [1.11.6](https://github.com/vector-im/element-web/releases/tag/v1.11.6) (2022-09-20)
|
||||||
|
=========================================================================================================
|
||||||
|
|
||||||
|
## ✨ Features
|
||||||
|
* Element Call video rooms ([\#9267](https://github.com/matrix-org/matrix-react-sdk/pull/9267)).
|
||||||
|
* Device manager - rename session ([\#9282](https://github.com/matrix-org/matrix-react-sdk/pull/9282)).
|
||||||
|
* Allow widgets to read related events ([\#9210](https://github.com/matrix-org/matrix-react-sdk/pull/9210)). Contributed by @dhenneke.
|
||||||
|
* Device manager - logout of other session ([\#9280](https://github.com/matrix-org/matrix-react-sdk/pull/9280)).
|
||||||
|
* Device manager - logout current session ([\#9275](https://github.com/matrix-org/matrix-react-sdk/pull/9275)).
|
||||||
|
* Device manager - verify other devices ([\#9274](https://github.com/matrix-org/matrix-react-sdk/pull/9274)).
|
||||||
|
* Allow integration managers to remove users ([\#9211](https://github.com/matrix-org/matrix-react-sdk/pull/9211)).
|
||||||
|
* Device manager - add verify current session button ([\#9252](https://github.com/matrix-org/matrix-react-sdk/pull/9252)).
|
||||||
|
* Add NotifPanel dot back. ([\#9242](https://github.com/matrix-org/matrix-react-sdk/pull/9242)). Fixes #17641.
|
||||||
|
* Implement MSC3575: Sliding Sync ([\#8328](https://github.com/matrix-org/matrix-react-sdk/pull/8328)).
|
||||||
|
* Add the clipboard read permission for widgets ([\#9250](https://github.com/matrix-org/matrix-react-sdk/pull/9250)). Contributed by @stefanmuhle.
|
||||||
|
|
||||||
|
## 🐛 Bug Fixes
|
||||||
|
* Make autocomplete pop-up wider in thread view ([\#9289](https://github.com/matrix-org/matrix-react-sdk/pull/9289)).
|
||||||
|
* Fix soft crash around inviting invalid MXIDs in start DM on first message flow ([\#9281](https://github.com/matrix-org/matrix-react-sdk/pull/9281)). Fixes matrix-org/element-web-rageshakes#15060 and matrix-org/element-web-rageshakes#15140.
|
||||||
|
* Fix in-reply-to previews not disappearing when swapping rooms ([\#9278](https://github.com/matrix-org/matrix-react-sdk/pull/9278)).
|
||||||
|
* Fix invalid instanceof operand window.OffscreenCanvas ([\#9276](https://github.com/matrix-org/matrix-react-sdk/pull/9276)). Fixes #23275.
|
||||||
|
* Fix memory leak caused by unremoved listener ([\#9273](https://github.com/matrix-org/matrix-react-sdk/pull/9273)).
|
||||||
|
* Fix thumbnail generation when offscreen canvas fails ([\#9272](https://github.com/matrix-org/matrix-react-sdk/pull/9272)). Fixes #23265.
|
||||||
|
* Prevent sliding sync from showing a room under multiple sublists ([\#9266](https://github.com/matrix-org/matrix-react-sdk/pull/9266)).
|
||||||
|
* Fix tile crash around tooltipify links ([\#9270](https://github.com/matrix-org/matrix-react-sdk/pull/9270)). Fixes #23253.
|
||||||
|
* Device manager - filter out nulled metadatas in device tile properly ([\#9251](https://github.com/matrix-org/matrix-react-sdk/pull/9251)).
|
||||||
|
* Fix a sliding sync bug which could cause rooms to loop ([\#9268](https://github.com/matrix-org/matrix-react-sdk/pull/9268)).
|
||||||
|
* Remove the grey gradient on images in bubbles in the timeline ([\#9241](https://github.com/matrix-org/matrix-react-sdk/pull/9241)). Fixes #21651.
|
||||||
|
* Fix html export not including images ([\#9260](https://github.com/matrix-org/matrix-react-sdk/pull/9260)). Fixes #22059.
|
||||||
|
* Fix possible soft crash from a race condition in space hierarchies ([\#9254](https://github.com/matrix-org/matrix-react-sdk/pull/9254)). Fixes matrix-org/element-web-rageshakes#15225.
|
||||||
|
* Disable all types of autocorrect, -complete, -capitalize, etc on Spotlight's search field ([\#9259](https://github.com/matrix-org/matrix-react-sdk/pull/9259)).
|
||||||
|
* Handle M_INVALID_USERNAME on /register/available ([\#9237](https://github.com/matrix-org/matrix-react-sdk/pull/9237)). Fixes #23161.
|
||||||
|
* Fix issue with quiet zone around QR code ([\#9243](https://github.com/matrix-org/matrix-react-sdk/pull/9243)). Fixes #23199.
|
||||||
|
|
||||||
Changes in [1.11.5](https://github.com/vector-im/element-web/releases/tag/v1.11.5) (2022-09-13)
|
Changes in [1.11.5](https://github.com/vector-im/element-web/releases/tag/v1.11.5) (2022-09-13)
|
||||||
===============================================================================================
|
===============================================================================================
|
||||||
|
|
||||||
|
@ -111,6 +111,13 @@ add_header X-Content-Type-Options nosniff;
|
|||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
add_header Content-Security-Policy "frame-ancestors 'none'";
|
add_header Content-Security-Policy "frame-ancestors 'none'";
|
||||||
```
|
```
|
||||||
|
For Apache, the configuration looks like:
|
||||||
|
```
|
||||||
|
Header set X-Frame-Options SAMEORIGIN
|
||||||
|
Header set X-Content-Type-Options nosniff
|
||||||
|
Header set X-XSS-Protection "1; mode=block"
|
||||||
|
Header set Content-Security-Policy "frame-ancestors 'none'"
|
||||||
|
```
|
||||||
|
|
||||||
Note: In case you are already setting a `Content-Security-Policy` header
|
Note: In case you are already setting a `Content-Security-Policy` header
|
||||||
elsewhere, you should modify it to include the `frame-ancestors` directive
|
elsewhere, you should modify it to include the `frame-ancestors` directive
|
||||||
|
@ -42,5 +42,8 @@
|
|||||||
"jitsi": {
|
"jitsi": {
|
||||||
"preferred_domain": "meet.jit.si"
|
"preferred_domain": "meet.jit.si"
|
||||||
},
|
},
|
||||||
|
"element_call": {
|
||||||
|
"url": "https://call.element.io"
|
||||||
|
},
|
||||||
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
|
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,12 @@
|
|||||||
# Configuration
|
# Configuration
|
||||||
|
|
||||||
You can configure the app by copying `config.sample.json` to `config.json` and customising it. The possible options are
|
You can configure the app by copying `config.sample.json` to `config.json` or `config.$domain.json` and customising it.
|
||||||
described here. If you run into issues, please visit [#element-web:matrix.org](https://matrix.to/#/#element-web:matrix.org)
|
Element will attempt to load first `config.$domain.json` and if it fails `config.json`. This mechanism allows different
|
||||||
on Matrix.
|
configuration options depending on if you're hitting e.g. `app1.example.com` or `app2.example.com`. Configs are not mixed
|
||||||
|
in any way, it either entirely uses the domain config, or entirely uses `config.json`.
|
||||||
|
|
||||||
|
The possible configuration options are described here. If you run into issues, please visit
|
||||||
|
[#element-web:matrix.org](https://matrix.to/#/#element-web:matrix.org) on Matrix.
|
||||||
|
|
||||||
For a good example of a production-tuned config, see https://app.element.io/config.json
|
For a good example of a production-tuned config, see https://app.element.io/config.json
|
||||||
|
|
||||||
@ -244,8 +248,9 @@ When Element is deployed alongside a homeserver with SSO-only login, some option
|
|||||||
|
|
||||||
## VoIP / Jitsi calls
|
## VoIP / Jitsi calls
|
||||||
|
|
||||||
Currently, Element uses Jitsi to offer conference calls in rooms. A set of defaults are applied, pointing at our Jitsi instance,
|
Currently, Element uses Jitsi to offer conference calls in rooms, with an experimental Element Call implementation in the works.
|
||||||
to ensure conference calling works, however you can point Element at your own Jitsi if you prefer.
|
A set of defaults are applied, pointing at our Jitsi and Element Call instances, to ensure conference calling works, however you
|
||||||
|
can point Element at your own if you prefer.
|
||||||
|
|
||||||
More information about the Jitsi setup can be found [here](./jitsi.md).
|
More information about the Jitsi setup can be found [here](./jitsi.md).
|
||||||
|
|
||||||
@ -314,6 +319,9 @@ The VoIP and Jitsi options are:
|
|||||||
as defined by the `io.element.widgets.layout` state event.
|
as defined by the `io.element.widgets.layout` state event.
|
||||||
5. `audio_stream_url`: Optional URL to pass to Jitsi to enable live streaming. This option is considered experimental and may be removed
|
5. `audio_stream_url`: Optional URL to pass to Jitsi to enable live streaming. This option is considered experimental and may be removed
|
||||||
at any time without notice.
|
at any time without notice.
|
||||||
|
6. `element_call`: Optional configuration for native group calls using Element Call, with the following subkeys:
|
||||||
|
- `url`: The URL of the Element Call instance to use for native group calls. This option is considered experimental
|
||||||
|
and may be removed at any time without notice. Defaults to `https://call.element.io`.
|
||||||
|
|
||||||
## Bug reporting
|
## Bug reporting
|
||||||
|
|
||||||
|
@ -166,6 +166,12 @@ This feature might work in degraded mode if the homeserver a user is connected t
|
|||||||
|
|
||||||
Enables support for creating and joining video rooms, which are persistent video chats that users can jump in and out of.
|
Enables support for creating and joining video rooms, which are persistent video chats that users can jump in and out of.
|
||||||
|
|
||||||
|
## Element Call video rooms (`feature_element_call_video_rooms`) [In Development]
|
||||||
|
|
||||||
|
Enables support for video rooms that use Element Call rather than Jitsi, and causes the 'New video room' option to create Element Call video rooms rather than Jitsi ones.
|
||||||
|
|
||||||
|
This flag will not have any effect unless `feature_video_rooms` is also enabled.
|
||||||
|
|
||||||
## Rich text in room topics (`feature_html_topic`) [In Development]
|
## Rich text in room topics (`feature_html_topic`) [In Development]
|
||||||
|
|
||||||
Enables rendering of MD / HTML in room topics.
|
Enables rendering of MD / HTML in room topics.
|
||||||
|
@ -58,5 +58,8 @@
|
|||||||
"feature_spotlight": true,
|
"feature_spotlight": true,
|
||||||
"feature_video_rooms": true
|
"feature_video_rooms": true
|
||||||
},
|
},
|
||||||
|
"element_call": {
|
||||||
|
"url": "https://element-call.netlify.app"
|
||||||
|
},
|
||||||
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
|
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
|
||||||
}
|
}
|
||||||
|
42
package.json
42
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "element-web",
|
"name": "element-web",
|
||||||
"version": "1.11.5",
|
"version": "1.11.6",
|
||||||
"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": {
|
||||||
@ -60,15 +60,15 @@
|
|||||||
"browser-request": "^0.3.3",
|
"browser-request": "^0.3.3",
|
||||||
"gfm.css": "^1.1.2",
|
"gfm.css": "^1.1.2",
|
||||||
"jsrsasign": "^10.5.25",
|
"jsrsasign": "^10.5.25",
|
||||||
"katex": "^0.12.0",
|
"katex": "^0.16.0",
|
||||||
"matrix-js-sdk": "19.5.0",
|
"matrix-js-sdk": "19.6.0",
|
||||||
"matrix-react-sdk": "3.54.0",
|
"matrix-react-sdk": "3.55.0",
|
||||||
"matrix-widget-api": "^1.0.0",
|
"matrix-widget-api": "^1.1.1",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
"react": "17.0.2",
|
"react": "17.0.2",
|
||||||
"react-dom": "17.0.2",
|
"react-dom": "17.0.2",
|
||||||
"sanitize-html": "^2.3.2",
|
"sanitize-html": "^2.3.2",
|
||||||
"ua-parser-js": "^0.7.24"
|
"ua-parser-js": "^0.8.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.12.10",
|
"@babel/core": "^7.12.10",
|
||||||
@ -91,25 +91,25 @@
|
|||||||
"@sentry/webpack-plugin": "^1.18.1",
|
"@sentry/webpack-plugin": "^1.18.1",
|
||||||
"@svgr/webpack": "^5.5.0",
|
"@svgr/webpack": "^5.5.0",
|
||||||
"@types/flux": "^3.1.9",
|
"@types/flux": "^3.1.9",
|
||||||
"@types/jest": "^28.0.0",
|
"@types/jest": "^29.0.0",
|
||||||
"@types/modernizr": "^3.5.3",
|
"@types/modernizr": "^3.5.3",
|
||||||
"@types/node": "^14.14.22",
|
"@types/node": "^14.18.28",
|
||||||
"@types/react": "17.0.14",
|
"@types/react": "^17.0.49",
|
||||||
"@types/react-dom": "17.0.9",
|
"@types/react-dom": "^17.0.17",
|
||||||
"@types/sanitize-html": "^2.3.1",
|
"@types/sanitize-html": "^2.3.1",
|
||||||
"@types/ua-parser-js": "^0.7.36",
|
"@types/ua-parser-js": "^0.7.36",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
||||||
"@typescript-eslint/parser": "^5.6.0",
|
"@typescript-eslint/parser": "^5.6.0",
|
||||||
"allchange": "^1.0.6",
|
"allchange": "^1.0.6",
|
||||||
"autoprefixer": "^9.8.6",
|
"autoprefixer": "^10.4.8",
|
||||||
"babel-jest": "^28.0.0",
|
"babel-jest": "^29.0.0",
|
||||||
"babel-loader": "^8.2.2",
|
"babel-loader": "^8.2.2",
|
||||||
"chokidar": "^3.5.1",
|
"chokidar": "^3.5.1",
|
||||||
"concurrently": "^5.3.0",
|
"concurrently": "^5.3.0",
|
||||||
"cpx": "^1.5.0",
|
"cpx": "^1.5.0",
|
||||||
"css-loader": "^3.6.0",
|
"css-loader": "^3.6.0",
|
||||||
"dotenv": "^10.0.0",
|
"dotenv": "^16.0.2",
|
||||||
"eslint": "8.9.0",
|
"eslint": "8.23.0",
|
||||||
"eslint-config-google": "^0.14.0",
|
"eslint-config-google": "^0.14.0",
|
||||||
"eslint-plugin-deprecate": "^0.7.0",
|
"eslint-plugin-deprecate": "^0.7.0",
|
||||||
"eslint-plugin-import": "^2.25.4",
|
"eslint-plugin-import": "^2.25.4",
|
||||||
@ -121,8 +121,8 @@
|
|||||||
"file-loader": "^5.1.0",
|
"file-loader": "^5.1.0",
|
||||||
"fs-extra": "^0.30.0",
|
"fs-extra": "^0.30.0",
|
||||||
"html-webpack-plugin": "^4.5.2",
|
"html-webpack-plugin": "^4.5.2",
|
||||||
"jest": "^28.0.0",
|
"jest": "^29.0.0",
|
||||||
"jest-environment-jsdom": "^28.1.3",
|
"jest-environment-jsdom": "^29.0.0",
|
||||||
"jest-raw-loader": "^1.0.1",
|
"jest-raw-loader": "^1.0.1",
|
||||||
"jest-sonar-reporter": "^2.0.0",
|
"jest-sonar-reporter": "^2.0.0",
|
||||||
"json-loader": "^0.5.7",
|
"json-loader": "^0.5.7",
|
||||||
@ -130,12 +130,13 @@
|
|||||||
"matrix-mock-request": "^2.0.0",
|
"matrix-mock-request": "^2.0.0",
|
||||||
"matrix-react-test-utils": "^0.2.3",
|
"matrix-react-test-utils": "^0.2.3",
|
||||||
"matrix-web-i18n": "^1.3.0",
|
"matrix-web-i18n": "^1.3.0",
|
||||||
"mini-css-extract-plugin": "^0.12.0",
|
"mini-css-extract-plugin": "^1",
|
||||||
"minimist": "^1.2.6",
|
"minimist": "^1.2.6",
|
||||||
"mkdirp": "^1.0.4",
|
"mkdirp": "^1.0.4",
|
||||||
"modernizr": "^3.12.0",
|
"modernizr": "^3.12.0",
|
||||||
"node-fetch": "^2.6.7",
|
"node-fetch": "^2.6.7",
|
||||||
"optimize-css-assets-webpack-plugin": "^5.0.4",
|
"optimize-css-assets-webpack-plugin": "^5.0.4",
|
||||||
|
"postcss": "^8.4.16",
|
||||||
"postcss-easings": "^2.0.0",
|
"postcss-easings": "^2.0.0",
|
||||||
"postcss-hexrgba": "2.0.1",
|
"postcss-hexrgba": "2.0.1",
|
||||||
"postcss-import": "^12.0.1",
|
"postcss-import": "^12.0.1",
|
||||||
@ -143,7 +144,7 @@
|
|||||||
"postcss-mixins": "^6.2.3",
|
"postcss-mixins": "^6.2.3",
|
||||||
"postcss-nested": "^4.2.3",
|
"postcss-nested": "^4.2.3",
|
||||||
"postcss-preset-env": "^6.7.0",
|
"postcss-preset-env": "^6.7.0",
|
||||||
"postcss-scss": "^2.1.1",
|
"postcss-scss": "^4.0.4",
|
||||||
"postcss-simple-vars": "^5.0.2",
|
"postcss-simple-vars": "^5.0.2",
|
||||||
"raw-loader": "^4.0.2",
|
"raw-loader": "^4.0.2",
|
||||||
"rimraf": "^3.0.2",
|
"rimraf": "^3.0.2",
|
||||||
@ -157,7 +158,7 @@
|
|||||||
"stylelint-scss": "^4.2.0",
|
"stylelint-scss": "^4.2.0",
|
||||||
"terser-webpack-plugin": "^2.3.8",
|
"terser-webpack-plugin": "^2.3.8",
|
||||||
"ts-prune": "^0.10.3",
|
"ts-prune": "^0.10.3",
|
||||||
"typescript": "^4.7.4",
|
"typescript": "4.7.4",
|
||||||
"webpack": "^4.46.0",
|
"webpack": "^4.46.0",
|
||||||
"webpack-cli": "^3.3.12",
|
"webpack-cli": "^3.3.12",
|
||||||
"webpack-dev-server": "^3.11.2",
|
"webpack-dev-server": "^3.11.2",
|
||||||
@ -165,9 +166,6 @@
|
|||||||
"worklet-loader": "^2.0.0",
|
"worklet-loader": "^2.0.0",
|
||||||
"yaml": "^2.0.1"
|
"yaml": "^2.0.1"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
|
||||||
"@types/react": "17.0.14"
|
|
||||||
},
|
|
||||||
"jest": {
|
"jest": {
|
||||||
"testEnvironment": "jsdom",
|
"testEnvironment": "jsdom",
|
||||||
"testEnvironmentOptions": {
|
"testEnvironmentOptions": {
|
||||||
|
@ -27,5 +27,6 @@
|
|||||||
"%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s naudoja išplėstines naršyklės funkcijas, kurių jūsų dabartinė naršyklė nepalaiko.",
|
"%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s naudoja išplėstines naršyklės funkcijas, kurių jūsų dabartinė naršyklė nepalaiko.",
|
||||||
"Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.": "Geriausiam veikimui suinstaliuokite <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, arba <safariLink>Safari</safariLink>.",
|
"Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.": "Geriausiam veikimui suinstaliuokite <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, arba <safariLink>Safari</safariLink>.",
|
||||||
"Powered by Matrix": "Veikia su Matrix",
|
"Powered by Matrix": "Veikia su Matrix",
|
||||||
"Use %(brand)s on mobile": "Naudoti %(brand)s mobiliajame telefone"
|
"Use %(brand)s on mobile": "Naudoti %(brand)s mobiliajame telefone",
|
||||||
|
"Decentralised, encrypted chat & collaboration powered by $matrixLogo": "Decentralizuotas, užšifruotų pokalbių & bendradarbiavimas, paremtas $matrixLogo"
|
||||||
}
|
}
|
||||||
|
@ -27,5 +27,6 @@
|
|||||||
"Your Element is misconfigured": "Jūsu Element ir nokonfigurēts kļūdaini",
|
"Your Element is misconfigured": "Jūsu Element ir nokonfigurēts kļūdaini",
|
||||||
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
|
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
|
||||||
"%(brand)s Desktop (%(platformName)s)": "%(brand)s Galdvirsmas (%(platformName)s)",
|
"%(brand)s Desktop (%(platformName)s)": "%(brand)s Galdvirsmas (%(platformName)s)",
|
||||||
"Use %(brand)s on mobile": "Mobilajā tālrunī izmanojiet %(brand)s"
|
"Use %(brand)s on mobile": "Mobilajā tālrunī izmanojiet %(brand)s",
|
||||||
|
"Decentralised, encrypted chat & collaboration powered by $matrixLogo": "Decentralizēta, šifrēta saziņa & sadarbība, ko nodrošina $matrixLogo"
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
|
"%(appName)s (%(browserName)s, %(osName)s)": "%(appName)s (%(browserName)s, %(osName)s)",
|
||||||
"Unsupported browser": "Niewspierana przeglądarka",
|
"Unsupported browser": "Niewspierana przeglądarka",
|
||||||
"Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.": "Zainstaluj <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, lub <safariLink>Safari</safariLink> w celu zapewnienia najlepszego działania.",
|
"Please install <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, or <safariLink>Safari</safariLink> for the best experience.": "Zainstaluj <chromeLink>Chrome</chromeLink>, <firefoxLink>Firefox</firefoxLink>, lub <safariLink>Safari</safariLink> w celu zapewnienia najlepszego działania.",
|
||||||
"You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.": "Możesz kontynuować używanie obecnej przeglądarki, lecz niektóre lub wszystkie funkcje mogą nie działać oraz wygląd aplikacji może być niepoprawny.",
|
"You can continue using your current browser, but some or all features may not work and the look and feel of the application may be incorrect.": "Możesz kontynuować używając obecnej przeglądarki, lecz niektóre lub wszystkie funkcje mogą nie działać oraz wygląd aplikacji może być niepoprawny.",
|
||||||
"I understand the risks and wish to continue": "Rozumiem ryzyko i chcę kontynuować",
|
"I understand the risks and wish to continue": "Rozumiem ryzyko i chcę kontynuować",
|
||||||
"Go to element.io": "Przejdź do element.io",
|
"Go to element.io": "Przejdź do element.io",
|
||||||
"Failed to start": "Nie udało się wystartować",
|
"Failed to start": "Nie udało się wystartować",
|
||||||
@ -24,12 +24,12 @@
|
|||||||
"Open": "Otwórz",
|
"Open": "Otwórz",
|
||||||
"Your browser can't run %(brand)s": "Twoja przeglądarka nie obsługuje %(brand)s",
|
"Your browser can't run %(brand)s": "Twoja przeglądarka nie obsługuje %(brand)s",
|
||||||
"%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s używa zaawansowanych funkcji które nie są dostępne w obecnej przeglądarce.",
|
"%(brand)s uses advanced browser features which aren't supported by your current browser.": "%(brand)s używa zaawansowanych funkcji które nie są dostępne w obecnej przeglądarce.",
|
||||||
"Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "Konfiguracja Elementa zawiera niepoprawny JSON. Popraw konfiguracje i odśwież stronę.",
|
"Your Element configuration contains invalid JSON. Please correct the problem and reload the page.": "Twoja konfiguracja Elementa zawiera niepoprawny JSON. Rozwiąż problem i odśwież stronę.",
|
||||||
"Your Element is misconfigured": "Element jest nieprawidłowo skonfigurowany",
|
"Your Element is misconfigured": "Twój Element jest nieprawidłowo skonfigurowany",
|
||||||
"Powered by Matrix": "Zasilane przez Matrix",
|
"Powered by Matrix": "Zasilane przez Matrix",
|
||||||
"Use %(brand)s on mobile": "Użyj %(brand)s w telefonie",
|
"Use %(brand)s on mobile": "Użyj %(brand)s w telefonie",
|
||||||
"Switch to space by number": "Przełącz na przestrzeń według numeru",
|
"Switch to space by number": "Przełącz na przestrzeń według numeru",
|
||||||
"Next recently visited room or community": "Następne ostatnio odwiedzone pokoje i społeczności",
|
"Next recently visited room or community": "Następne ostatnio odwiedzone pokoje i społeczności",
|
||||||
"Previous recently visited room or community": "Ostatnio odwiedzone pokoje i społeczności",
|
"Previous recently visited room or community": "Ostatnio odwiedzone pokoje i społeczności",
|
||||||
"Decentralised, encrypted chat & collaboration powered by $matrixLogo": "Zdecentralizowany, szyfrowany czat i współpraca wspierana przez $matrixLogo"
|
"Decentralised, encrypted chat & collaboration powered by $matrixLogo": "Zdecentralizowany, szyfrowany czat i współpraca oparte na $matrixLogo"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user