Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade v1.11.67 #1014

Merged
merged 104 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
9f5bd7b
Update docker/setup-buildx-action digest to d70bba7
renovate[bot] Apr 16, 2024
674650f
Update peter-evans/create-pull-request digest to c55203c
renovate[bot] Apr 16, 2024
f62076c
Update t3chguy/wait-on-check-action digest to 1854102
renovate[bot] Apr 16, 2024
491ad6d
Update dependency @babel/runtime to v7.24.4
renovate[bot] Apr 16, 2024
8baab4c
Update dependency @types/node to v16.18.96
renovate[bot] Apr 16, 2024
159ef4c
Update typescript-eslint monorepo to v7.6.0
renovate[bot] Apr 16, 2024
5d32728
Update dependency css-loader to v7
renovate[bot] Apr 16, 2024
8c61026
Update dependency eslint-plugin-unicorn to v52
renovate[bot] Apr 16, 2024
38ea331
Update dependency style-loader to v4
renovate[bot] Apr 16, 2024
36ff005
Update peaceiris/actions-mdbook action to v2
renovate[bot] Apr 16, 2024
ff63c92
Merge pull request #27340 from element-hq/renovate/docker
t3chguy Apr 16, 2024
6ca67ff
Merge pull request #27341 from element-hq/renovate/peter-evans-create…
t3chguy Apr 16, 2024
70e480a
Merge pull request #27344 from element-hq/renovate/babel-monorepo
t3chguy Apr 16, 2024
ce95e1a
Merge pull request #27345 from element-hq/renovate/definitelytyped
t3chguy Apr 16, 2024
f51622a
Merge pull request #27347 from element-hq/renovate/typescript-eslint-…
t3chguy Apr 16, 2024
315ee8a
Merge pull request #27349 from element-hq/renovate/css-loader-7.x
t3chguy Apr 16, 2024
5bed03f
Merge pull request #27352 from element-hq/renovate/style-loader-4.x
t3chguy Apr 16, 2024
4bd351f
Merge pull request #27353 from element-hq/renovate/peaceiris-actions-…
t3chguy Apr 16, 2024
a1c6f0a
Merge pull request #27351 from element-hq/renovate/eslint-plugin-unic…
t3chguy Apr 16, 2024
3b52d37
Merge pull request #27342 from element-hq/renovate/t3chguy-wait-on-ch…
t3chguy Apr 16, 2024
050e912
Update all non-major dependencies
renovate[bot] Apr 16, 2024
2e15e5e
Merge pull request #27343 from element-hq/renovate/all-minor-patch
renovate[bot] Apr 16, 2024
e0deabc
Add automation to close flaky test issues
t3chguy Apr 18, 2024
3cb5b84
Merge pull request #27366 from element-hq/t3chguy/flaky-stale
t3chguy Apr 18, 2024
88c49e7
Enable the TAC in develop
dbkr Apr 22, 2024
c5b98a5
Merge pull request #27377 from element-hq/dbkr/enable_tac_develop
dbkr Apr 22, 2024
c50556a
Merge branch 'master' into develop
RiotRobot Apr 23, 2024
bbf37ba
Reset matrix-react-sdk back to develop branch
RiotRobot Apr 23, 2024
786c590
Reset matrix-js-sdk back to develop branch
RiotRobot Apr 23, 2024
9ce7b19
Exempt issues with this label
MidhunSureshR Apr 24, 2024
f990918
Merge pull request #27387 from element-hq/midhun/prevent-close-disabl…
MidhunSureshR Apr 24, 2024
d3deda6
Simplify Playwright CI (#27398)
t3chguy Apr 29, 2024
7e8177e
Update end-to-end-tests.yaml
t3chguy Apr 29, 2024
6e59f6f
Upgrade dependency to [email protected]
RiotRobot Apr 30, 2024
9a2066d
Upgrade dependency to [email protected]
RiotRobot Apr 30, 2024
f5997aa
v1.11.66-rc.0
RiotRobot Apr 30, 2024
c8e866e
Update babel monorepo to v7.24.5
renovate[bot] Apr 30, 2024
91e9891
Update dependency eslint-plugin-react-hooks to v4.6.2
renovate[bot] Apr 30, 2024
6d457e3
Update dependency yaml to v2.4.2
renovate[bot] Apr 30, 2024
686816b
Update typescript-eslint monorepo to v7.7.1
renovate[bot] Apr 30, 2024
8449bdc
Update dependency stylelint to v16.4.0
renovate[bot] Apr 30, 2024
ba186a2
Merge pull request #27408 from element-hq/renovate/typescript-eslint-…
t3chguy Apr 30, 2024
3fc2cdf
Merge pull request #27405 from element-hq/renovate/babel-monorepo
t3chguy Apr 30, 2024
ad31575
Merge pull request #27409 from element-hq/renovate/stylelint
t3chguy Apr 30, 2024
0937c16
Merge pull request #27406 from element-hq/renovate/react-monorepo
t3chguy Apr 30, 2024
ea56d67
Merge pull request #27407 from element-hq/renovate/all-minor-patch
t3chguy Apr 30, 2024
73f2dba
Update dependency typescript to v5.4.5
renovate[bot] Apr 30, 2024
aeef12e
Update end-to-end-tests.yaml
t3chguy Apr 30, 2024
ac20fff
Merge branch 'develop' into renovate/typescript
t3chguy Apr 30, 2024
5dcaf8a
Merge pull request #27346 from element-hq/renovate/typescript
t3chguy Apr 30, 2024
4561b2d
Roll out Rust crypto to 30% of existing users on `app.element.io`
richvdh May 1, 2024
011f746
Update react-types (#26481)
renovate[bot] May 1, 2024
2c8b32d
Merge pull request #27416 from element-hq/rav/rust_migration_rollout_…
richvdh May 1, 2024
dc85c9f
Upgrade dependency to [email protected]
RiotRobot May 2, 2024
7295344
v1.11.66-rc.1
RiotRobot May 2, 2024
b82100e
Fix `element-desktop-ssoid being` included in OIDC Authorization call
t3chguy May 3, 2024
f7132ff
Add static file .well-known/assetlinks.json, to allow Android applica…
bmarty May 7, 2024
27d4e1d
Add /.well-known/assetlinks.json to cfp_headers file.
bmarty May 7, 2024
9b988f7
Add /.well-known/assetlinks.json to webpack.config.js
bmarty May 7, 2024
80a7ea7
Upgrade dependency to [email protected]
RiotRobot May 7, 2024
e852282
Upgrade dependency to [email protected]
RiotRobot May 7, 2024
2ee54dd
v1.11.66
RiotRobot May 7, 2024
f067208
Merge branch 'master' into develop
RiotRobot May 7, 2024
a71b7f0
Reset matrix-react-sdk back to develop branch
RiotRobot May 7, 2024
02fd35d
Reset matrix-js-sdk back to develop branch
RiotRobot May 7, 2024
7359c9b
sign images using cosign
gaelgatelement Jan 3, 2024
6ebe844
Indent inline script correctly
benbz May 8, 2024
3a159be
Add code style rule for multiple return types
dbkr May 9, 2024
36571ed
Prettier
dbkr May 9, 2024
8ba3f53
Hopefully clarify
dbkr May 10, 2024
9efa04d
Split out oidc callback url into its own method
t3chguy May 10, 2024
84b6bf9
Merge branch 't3chguy/fix-oidc-native-electron' of https://github.com…
t3chguy May 10, 2024
58e5b39
Allow explicit configuration of OIDC dynamic registration metadata
t3chguy May 10, 2024
50c8cb7
Merge branch 'develop' into t3chguy/fix-oidc-native-electron
t3chguy May 10, 2024
9cce1e0
Merge branch 't3chguy/fix-oidc-native-electron' into t3chguy/oidc-config
t3chguy May 10, 2024
f2da5fc
Fix typos and clarify wording
dbkr May 10, 2024
5f1f018
Fundamental behaviour, not return type
dbkr May 10, 2024
ae77dac
Modernize hash
MTRNord May 12, 2024
a0d7805
Merge pull request #27464 from MTRNord/patch-1
t3chguy May 13, 2024
a10f2e1
Revert "Modernize hash in webpack" (#27466)
MTRNord May 13, 2024
35046bb
Merge pull request #27452 from element-hq/dbkr/multi_return_type_rule
dbkr May 13, 2024
6a6a362
Update end-to-end-tests.yaml
t3chguy May 13, 2024
e651330
Merge pull request #26817 from element-hq/gaelg/sign-images-cosign
benbz May 13, 2024
64f0bb5
Inline consts
t3chguy May 13, 2024
f43bb0a
Merge pull request #27431 from element-hq/t3chguy/fix-oidc-native-ele…
t3chguy May 13, 2024
706f4c6
Merge branch 'develop' of https://github.com/vector-im/element-web in…
t3chguy May 13, 2024
7a3bc83
Add comment
t3chguy May 14, 2024
5eed034
Merge pull request #27460 from element-hq/t3chguy/oidc-config
t3chguy May 14, 2024
095c613
Fix deployment of file `res/.well-known/assetlinks.json`
bmarty May 14, 2024
482b81b
Merge pull request #27439 from bmarty/bma/androidAssetLinks
robintown May 14, 2024
bcd5c83
Typescriptify & use service worker for MSC3916 authentication (#27326)
turt2live May 14, 2024
a61de47
Upgrade dependency to [email protected]
RiotRobot May 15, 2024
6db3920
Upgrade dependency to [email protected]
RiotRobot May 15, 2024
7417296
v1.11.67-rc.0
RiotRobot May 15, 2024
ed2440f
v1.11.67-rc.1
RiotRobot May 15, 2024
eced524
Upgrade dependency to [email protected]
RiotRobot May 21, 2024
8962274
Upgrade dependency to [email protected]
RiotRobot May 22, 2024
5e02a42
v1.11.67
RiotRobot May 22, 2024
468927a
Merge tag 'v1.11.67' into TCHAP
May 28, 2024
a7f0e43
chore(merge-conflict): package.json and yarn lock
May 28, 2024
90b2534
Squashed 'linked-dependencies/matrix-react-sdk/' changes from 1a0120e…
May 28, 2024
bd5c7ca
Merge subtree '90b253414678ea145715a83dc2eb253dd6cc15e5' into upgrade…
May 28, 2024
0b9759b
chore(update-patch): update js patch to 32.4.0
May 28, 2024
0bf90a2
chore(translation): remove unable to decrypt translation in file to m…
May 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .github/cfp_headers
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@

/apple-app-site-association
Content-Type: application/json

/.well-known/assetlinks.json
Content-Type: application/json
2 changes: 1 addition & 1 deletion .github/workflows/build_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
find bundles -type d -mindepth 1 -maxdepth 1 -exec sed -i "\:{}:d" _redirects \;
- name: Wait for other steps to succeed
uses: t3chguy/wait-on-check-action@05861d3a448898eb33dfce34153bd1ecb9422fb9 # fork
uses: t3chguy/wait-on-check-action@18541021811b56544d90e0f073401c2b99e249d6 # fork
with:
ref: ${{ github.sha }}
running-workflow-name: "Build & Deploy develop.element.io"
Expand Down
20 changes: 19 additions & 1 deletion .github/workflows/dockerhub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
# This job can take a while, and we have usage limits, so just publish develop only twice a day
- cron: "0 7/12 * * *"
concurrency: ${{ github.workflow }}-${{ github.ref_name }}

permissions:
id-token: write # needed for signing the images with GitHub OIDC Token
jobs:
buildx:
name: Docker Buildx
Expand All @@ -26,6 +29,9 @@ jobs:
with:
fetch-depth: 0 # needed for docker-package to be able to calculate the version

- name: Install Cosign
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 # v3

- name: Prepare
if: matrix.prepare
run: ${{ matrix.prepare }}
Expand All @@ -34,7 +40,7 @@ jobs:
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@2b51285047da1547ffb1b2203d8be4c0af6b1f20 # v3
uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3
with:
install: true

Expand All @@ -58,6 +64,7 @@ jobs:
${{ matrix.flavor }}
- name: Build and push
id: build-and-push
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5
with:
context: .
Expand All @@ -66,6 +73,17 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Sign the images with GitHub OIDC Token
env:
DIGEST: ${{ steps.build-and-push.outputs.digest }}
TAGS: ${{ steps.meta.outputs.tags }}
run: |
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
cosign sign --yes ${images}
- name: Update repo description
if: matrix.variant == 'vanilla'
uses: peter-evans/dockerhub-description@e98e4d1628a5f3be2be7c231e50981aee98723ae # v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
echo "- [Automations](automations.md)" >> docs/SUMMARY.md
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: "0.4.10"

Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/downstream-artifacts.yml

This file was deleted.

47 changes: 9 additions & 38 deletions .github/workflows/end-to-end-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@

name: matrix-react-sdk End to End Tests
on:
workflow_run:
workflows: ["Build downstream artifacts"]
types:
- completed
merge_group:
types: [checks_requested]
pull_request: {}
push:
branches: [develop, master]

concurrency:
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch || github.run_id }}
Expand All @@ -15,44 +16,14 @@ concurrency:
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:
element-web-sha: ${{ github.sha }}
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@faaa4d96fecf273bd762985e0e7f9f933c774918 # 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 }}"
# 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.
skip: ${{ github.event_name != 'merge_group' }}
2 changes: 1 addition & 1 deletion .github/workflows/triage-labelled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ jobs:
contains(github.event.issue.labels.*.name, 'A-Element-R')
steps:
- id: add_to_project
uses: actions/[email protected].0
uses: actions/[email protected].1
with:
project-url: ${{ env.PROJECT_URL }}
github-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/triage-stale-flaky-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Close stale flaky issues
on:
schedule:
- cron: "30 1 * * *"
jobs:
close:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v9
with:
only-labels: "Z-Flaky-Test"
days-before-stale: 14
days-before-close: 0
close-issue-message: "This flaky test issue has not been updated in 14 days. It is being closed as presumed resolved."
exempt-issue-labels: "Z-Flaky-Test-Disabled"
2 changes: 1 addition & 1 deletion .github/workflows/update-jitsi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: "yarn update:jitsi"

- name: Create Pull Request
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e # v6
uses: peter-evans/create-pull-request@c55203cfde3e5c11a452d352b4393e68b85b4533 # v6
with:
token: ${{ secrets.ELEMENT_BOT_TOKEN }}
branch: actions/jitsi-update
Expand Down
56 changes: 56 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,59 @@
Changes in [1.11.67](https://github.com/element-hq/element-web/releases/tag/v1.11.67) (2024-05-22)
==================================================================================================
## ✨ Features

* Tooltip: Improve the accessibility of the composer and the rich text editor ([#12459](https://github.com/matrix-org/matrix-react-sdk/pull/12459)). Contributed by @florianduros.
* Allow explicit configuration of OIDC dynamic registration metadata ([#12514](https://github.com/matrix-org/matrix-react-sdk/pull/12514)). Contributed by @t3chguy.
* Tooltip: improve accessibility for messages ([#12487](https://github.com/matrix-org/matrix-react-sdk/pull/12487)). Contributed by @florianduros.
* Collapse UserSettings tabs to just icons on narrow screens ([#12505](https://github.com/matrix-org/matrix-react-sdk/pull/12505)). Contributed by @dbkr.
* Add room topic to right panel room info ([#12503](https://github.com/matrix-org/matrix-react-sdk/pull/12503)). Contributed by @t3chguy.
* OIDC: pass `id_token` via `id_token_hint` on Manage Account interaction ([#12499](https://github.com/matrix-org/matrix-react-sdk/pull/12499)). Contributed by @t3chguy.
* Tooltip: improve accessibility in room ([#12493](https://github.com/matrix-org/matrix-react-sdk/pull/12493)). Contributed by @florianduros.
* Tooltip: improve accessibility for call and voice messages ([#12489](https://github.com/matrix-org/matrix-react-sdk/pull/12489)). Contributed by @florianduros.
* Move the active tab in user settings to the dialog title ([#12481](https://github.com/matrix-org/matrix-react-sdk/pull/12481)). Contributed by @dbkr.
* Tooltip: improve accessibility of spaces ([#12497](https://github.com/matrix-org/matrix-react-sdk/pull/12497)). Contributed by @florianduros.
* Tooltip: improve accessibility of the right panel ([#12490](https://github.com/matrix-org/matrix-react-sdk/pull/12490)). Contributed by @florianduros.
* MSC3575 (Sliding Sync) add well-known proxy support ([#12307](https://github.com/matrix-org/matrix-react-sdk/pull/12307)). Contributed by @EdGeraghty.

## 🐛 Bug Fixes

* Reuse single PlaybackWorker between Playback instances ([#12520](https://github.com/matrix-org/matrix-react-sdk/pull/12520)). Contributed by @t3chguy.
* Fix well-known lookup for sliding sync labs check ([#12519](https://github.com/matrix-org/matrix-react-sdk/pull/12519)). Contributed by @t3chguy.
* Fix `element-desktop-ssoid being` included in OIDC Authorization call ([#12495](https://github.com/matrix-org/matrix-react-sdk/pull/12495)). Contributed by @t3chguy.
* Fix beta notifications reconciliation for intentional mentions push rules ([#12510](https://github.com/matrix-org/matrix-react-sdk/pull/12510)). Contributed by @t3chguy.
* fix avatar stretched on 1:1 call ([#12494](https://github.com/matrix-org/matrix-react-sdk/pull/12494)). Contributed by @I-lander.
* Check native sliding sync support against an unstable feature flag ([#12498](https://github.com/matrix-org/matrix-react-sdk/pull/12498)). Contributed by @turt2live.
* Use OPTIONS for sliding sync detection poke ([#12492](https://github.com/matrix-org/matrix-react-sdk/pull/12492)). Contributed by @turt2live.
* TAC: hide tooltip when the release announcement is displayed ([#12472](https://github.com/matrix-org/matrix-react-sdk/pull/12472)). Contributed by @florianduros.



Changes in [1.11.66](https://github.com/element-hq/element-web/releases/tag/v1.11.66) (2024-05-07)
==================================================================================================
## ✨ Features

* Use a different error message for UTDs when you weren't in the room. ([#12453](https://github.com/matrix-org/matrix-react-sdk/pull/12453)). Contributed by @uhoreg.
* Take the Threads Activity Centre out of labs ([#12439](https://github.com/matrix-org/matrix-react-sdk/pull/12439)). Contributed by @dbkr.
* Expected UTDs: use a different message for UTDs sent before login ([#12391](https://github.com/matrix-org/matrix-react-sdk/pull/12391)). Contributed by @richvdh.
* Add `Tooltip` to `AccessibleButton` ([#12443](https://github.com/matrix-org/matrix-react-sdk/pull/12443)). Contributed by @florianduros.
* Add analytics to activity toggles ([#12418](https://github.com/matrix-org/matrix-react-sdk/pull/12418)). Contributed by @dbkr.
* Decrypt events in reverse order without copying the array ([#12445](https://github.com/matrix-org/matrix-react-sdk/pull/12445)). Contributed by @Johennes.
* Use new compound tooltip ([#12416](https://github.com/matrix-org/matrix-react-sdk/pull/12416)). Contributed by @florianduros.
* Expected UTDs: report a different Posthog code ([#12389](https://github.com/matrix-org/matrix-react-sdk/pull/12389)). Contributed by @richvdh.

## 🐛 Bug Fixes

* TAC: Fix accessibility issue when the Release announcement is displayed ([#12484](https://github.com/matrix-org/matrix-react-sdk/pull/12484)). Contributed by @RiotRobot.
* TAC: Close Release Announcement when TAC button is clicked ([#12485](https://github.com/matrix-org/matrix-react-sdk/pull/12485)). Contributed by @florianduros.
* MenuItem: fix caption usage ([#12455](https://github.com/matrix-org/matrix-react-sdk/pull/12455)). Contributed by @florianduros.
* Show the local echo in previews ([#12451](https://github.com/matrix-org/matrix-react-sdk/pull/12451)). Contributed by @langleyd.
* Fixed the drag and drop of X #27186 ([#12450](https://github.com/matrix-org/matrix-react-sdk/pull/12450)). Contributed by @asimdelvi.
* Move the TAC to above the button ([#12438](https://github.com/matrix-org/matrix-react-sdk/pull/12438)). Contributed by @dbkr.
* Use the same logic in previews as the timeline to hide events that should be hidden ([#12434](https://github.com/matrix-org/matrix-react-sdk/pull/12434)). Contributed by @langleyd.
* Fix selector so maths support doesn't mangle divs ([#12433](https://github.com/matrix-org/matrix-react-sdk/pull/12433)). Contributed by @uhoreg.



Changes in [1.11.65](https://github.com/element-hq/element-web/releases/tag/v1.11.65) (2024-04-23)
==================================================================================================
## ✨ Features
Expand Down
6 changes: 6 additions & 0 deletions code_style.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,12 @@ Unless otherwise specified, the following applies to all code:
}
```

37. Avoid functions whose fundamental behaviour varies with different parameter types.
Multiple return types are fine, but if the function's behaviour is going to change significantly,
have two separate functions. For example, `SDKConfig.get()` with a string param which returns the
type according to the param given is ok, but `SDKConfig.get()` with no args returning the whole
config object would not be: this should just be a separate function.

## React

Inheriting all the rules of TypeScript, the following additionally apply:
Expand Down
41 changes: 41 additions & 0 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,47 @@ When Element is deployed alongside a homeserver with SSO-only login, some option
```
It is most common to use the `immediate` flag instead of `on_welcome_page`.

## Native OIDC

Native OIDC support is currently in labs and is subject to change.

Static OIDC Client IDs are preferred and can be specified under `oidc_static_clients` as a mapping from `issuer` to configuration object containing `client_id`.
Issuer must have a trailing forward slash. As an example:

```json
{
"oidc_static_clients": {
"https://auth.example.com/": {
"client_id": "example-client-id"
}
}
}
```

If a matching static client is not found, the app will attempt to dynamically register a client using metadata specified under `oidc_metadata`.
The app has sane defaults for the metadata properties below but on stricter policy identity providers they may not pass muster, e.g. `contacts` may be required.
The following subproperties are available:

1. `client_uri`: This is the base URI for the OIDC client registration, typically `logo_uri`, `tos_uri`, and `policy_uri` must be either on the same domain or a subdomain of this URI.
2. `logo_uri`: Optional URI for the client logo.
3. `tos_uri`: Optional URI for the client's terms of service.
4. `policy_uri`: Optional URI for the client's privacy policy.
5. `contacts`: Optional list of contact emails for the client.

As an example:

```json
{
"oidc_metadata": {
"client_uri": "https://example.com",
"logo_uri": "https://example.com/logo.png",
"tos_uri": "https://example.com/tos",
"policy_uri": "https://example.com/policy",
"contacts": ["[email protected]"]
}
}
```

## VoIP / Jitsi calls

Currently, Element uses Jitsi to offer conference calls in rooms, with an experimental Element Call implementation in the works.
Expand Down
2 changes: 1 addition & 1 deletion element.io/app/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@
"privacy_policy_url": "https://element.io/cookie-policy",
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx",
"setting_defaults": {
"RustCrypto.staged_rollout_percent": 10
"RustCrypto.staged_rollout_percent": 30
}
}
1 change: 1 addition & 0 deletions element.io/develop/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
},
"privacy_policy_url": "https://element.io/cookie-policy",
"features": {
"threadsActivityCentre": true,
"feature_video_rooms": true,
"feature_new_room_decoration_ui": true,
"feature_element_call_video_rooms": true
Expand Down
1 change: 0 additions & 1 deletion linked-dependencies/matrix-react-sdk/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ module.exports = {
"!matrix-js-sdk/src/extensible_events_v1/PollEndEvent",
"!matrix-js-sdk/src/extensible_events_v1/InvalidEventError",
"!matrix-js-sdk/src/crypto",
"!matrix-js-sdk/src/crypto/algorithms",
"!matrix-js-sdk/src/crypto/aes",
"!matrix-js-sdk/src/crypto/olmlib",
"!matrix-js-sdk/src/crypto/crypto",
Expand Down
Loading
Loading