Commit Graph

68792 Commits

Author SHA1 Message Date
Michael Telatynski 1096ca2066 Iterate 2026-04-10 17:39:46 +01:00
Michael Telatynski ec924deaa0 Merge branch 'develop' of ssh://github.com/element-hq/element-web into t3chguy/monorepo-playwright-common
# Conflicts:
#	pnpm-lock.yaml
2026-04-10 16:41:45 +01:00
Michael Telatynski b97a0be0fd Generalise npm publishing workflow to work for more than just shared-components (#33086)
* Generalise npm publishing workflow to work for more than just shared-components

* Update doc
2026-04-10 14:37:45 +00:00
Richard van der Hoff a132b9167d Fix playwright-server docker image not exiting (#33099)
* Fix playwright-server docker image not exiting

... by wrapping with tini

* Remove redundant `npm exec`

* Update packages/playwright-common/Dockerfile

* missing comma
2026-04-10 12:31:03 +00:00
Richard van der Hoff b860a3864d Improve output of playwright-screenshots script (#33098)
* Improve output of playwright-screenshots script

* Address review feedback
2026-04-10 11:50:12 +00:00
Richard van der Hoff 4c4bfcde7e Inline inviteMultipleToRoom (#33027)
This two-line method serves mostly to obfuscate, imho. Let's get rid of it.
2026-04-09 22:11:12 +00:00
Richard van der Hoff ca6943cb43 Fix 'test' lines in codeowners (#33083)
* Fix 'test' lines in codeowners

Some of the unit tests are meant to be owned by the crypto team, but the paths
were wrong, so this didn't work.

This seems to have been broken since b084ff2313,
which moved all the tests around.

* another fix
2026-04-09 21:41:03 +00:00
Andy Balaam 70f26f9142 Separate cases in DeviceListener (#32973)
* Separate cases in DeviceListener

According to the comment in `else` there were two ways to end up there. Split
these into separate cases and provide a different log message in each case.
If we somehow get there another way, throw an error.

* Replace a throw with an error log
2026-04-09 15:25:42 +00:00
Florian Duros 3fd5718fcd Add tags support to SC I18nApi (#32984)
* chore: update ew module to 1.13.0

* feat: implement tag support in I18nApi#translate

* fix: correct return type for translate

* test: translate World! in i18nApi test

* fix: again return type

* chore: update pnpm lock
2026-04-09 15:01:20 +00:00
Michael Telatynski 917237fc3c Pass args thru nx 2026-04-09 15:50:51 +01:00
Michael Telatynski b6b0b0009c Fix some flaky playwright tests (#33085)
* Tweak flaky test reporter to identify setup failures

* Fix some flaky playwright tests

* Iterate
2026-04-09 14:34:48 +00:00
Michael Telatynski 561dbd32be Iterate 2026-04-09 15:31:34 +01:00
Michael Telatynski 540e620f40 Adjust consumers of playwright-common 2026-04-09 15:22:56 +01:00
Michael Telatynski 03e12cbd22 Absorb element-modules/packages/element-web-playwright-common into monorepo 2026-04-09 15:17:15 +01:00
Michael Telatynski 5e80431399 Shorten path for playwright-commmon 2026-04-09 14:35:32 +01:00
Florian Duros a5e09ebb53 feat: expand sections when filter is toggled (#33077) 2026-04-09 13:14:41 +00:00
Michael Telatynski 60a7a22c7b Consolidate element-modules playwright run into the main html report (#33082) 2026-04-09 13:13:35 +00:00
Michael Telatynski 04dff2d2b6 Update doc 2026-04-09 14:12:28 +01:00
Michael Telatynski 16f17d9127 Generalise npm publishing workflow to work for more than just shared-components 2026-04-09 14:07:24 +01:00
Michael Telatynski f5ec194937 Tweaks to CI (#33014)
* Tweak github actions to make Sonar & zizmor happier

* Apply filters on some pnpm install calls

* Remove stale setup-python step

* Add missing needs in complete job

* Remove repository_dispatch for everything bar develop CD

js-sdk now runs the tests downstream so this was unnecessary

* Fix prepare desktop for tests in merge queue

* Iterate

* Iterate

* Iterate

* Discard changes to .github/workflows/build_desktop_linux.yaml

* Discard changes to .github/workflows/build_desktop_macos.yaml
2026-04-09 12:34:52 +00:00
Will Hunt b4d0c21abf Update URL Preview settings (#32992)
* Remove ability for url previews to be set per-room

* Add ability to enable E2EE URL Previews globally

* Remove old migration

* Cleanup

* Remove room account handler

* update snap

* screenshot updated

* Add a test
2026-04-09 12:32:50 +00:00
Robin 253dcb44dd Show a 'grab' cursor on picture-in-picture view (#33079)
* Remove unused 'draggable' prop from PictureInPictureDragger

* Show a 'grab' cursor on picture-in-picture view

To give it a proper affordance for dragging.
2026-04-09 12:25:14 +00:00
Zack 70e40009a3 Fix issues with /me emote two liner (#33081)
* Fix issues with me emote liner

* Fix Prettier
2026-04-09 12:13:02 +00:00
Zack 1721b69017 Move TextualBody to shared components (#32868)
* Init, refactoring and movement of TextualBody to shared components, adding stories, test and view

* migrate TextualBody to shared view + app viewmodel

* Update snapshots + prettier fix

* Fix Prettier

* added new tests to make coverage happy

* add comment to attachbodyRef function

* Fix: Remove event onkeydown and remove hardcoded mx css

* Update enums to const enums

* added comment on css to explain 9px

* Update comment

* Correcting comment, pushed too fast..

* Update Css To Fix (edited)

* Update snapshot to reflect css changes

* Fix emote into one liner

* Update snapshot
2026-04-09 11:36:24 +00:00
Valere Fedronic 6486a6b5ff Add user friendly capability text for msc4039.download_file (#32983)
* Add user friendly capability test for `msc4039.download_file`

* review: remove un-needed experimental copy
2026-04-09 11:08:08 +00:00
Joao Pedro Antunes Borie 5ba09a5f90 Fix #32727: Ensure VoiceRecording uses the selected microphone (#32887)
Voice messages were being recorded using the system default microphone
instead of the device selected in Element settings.

This was fixed by ensuring the preferred deviceId is correctly passed
to the MediaStream constraints in VoiceRecording.ts.

Added unit tests in VoiceRecording-test.ts to verify that the
application correctly requests the user-selected device.

Co-authored-by: Will Hunt <2072976+Half-Shot@users.noreply.github.com>
2026-04-09 11:07:32 +00:00
Michael Telatynski 52061d624b Fix build_desktop_test for downstream runs 2026-04-09 11:35:09 +01:00
Michael Telatynski f4bd466b02 Fix build_desktop_test for downstream runs 2026-04-09 11:08:43 +01:00
Michael Telatynski d5602ebea8 Fix build_desktop_test for downstream runs 2026-04-09 10:50:30 +01:00
Michael Telatynski 134ffe3de2 Merge pull request #212 from element-hq/t3chguy/wat/382 2026-04-09 08:56:05 +01:00
Michael Telatynski 7261b3eef1 Fix build-and-test workflow for downstream runs (#33035)
e.g. from matrix-js-sdk
2026-04-09 07:49:38 +00:00
renovate[bot] bbe4280c2c Update testcontainers docker digests (#33075)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-08 14:39:14 +00:00
Florian Duros 121c2d18e9 Room list: fix expanded/collapse state of sections (#33074)
* fix: section being empty in flat list mode

When switching space (or removing a section later), if the Chat section
is collpased and the room list is in flat list mode in the other space,
the room list is empty.

The fix forces the section to be in expanded state if in flat list mode

* fix: store section expanded state by space
2026-04-08 13:44:52 +00:00
Michael Telatynski ce498ef983 Tweak playwright caching (#33065)
* Install chromium-headless-shell instead of full Chromium

* Install chromium-headless-shell instead of full Chromium

* Standardise playwright caching

* Consolidate into a composite action

* Iterate

* Remove spurious step
2026-04-08 13:01:50 +00:00
Marley Alford 725b191ace fix: Left hand sidebar text selectable (#33029)
* fix: Add `user-select none` styles to header and room list filters

* chore: remove extra prefixed user-select variants

---------

Co-authored-by: Marley Alford <marleycalford@gmail.com>
2026-04-08 12:01:33 +00:00
Michael Telatynski ee404f098b Merge pull request #248 from element-hq/t3chguy/missing-return 2026-04-08 12:56:47 +01:00
renovate[bot] b1745318fb Update dependency path-to-regexp@0.1.12 to v1 [SECURITY] (#33070)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-08 10:43:57 +00:00
Michael Telatynski 8cae8df17f Actually skip stale screenshot reporter on errors 2026-04-08 11:43:50 +01:00
dependabot[bot] 4cc51a6756 Bump lodash from 4.17.23 to 4.18.1 (#33071)
* Bump lodash from 4.17.23 to 4.18.1

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* -es

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-08 10:10:03 +00:00
Zack d197fb4e30 Refactor and Move TileErrorBoundary to Shared Components (#32793)
* creation of stories and view in shared-components

* migrate EventTile error fallback to shared TileErrorView MVVM

* Fix lint errors and unused import

* Update tests because of the refactoring

* Update snapshots + stories

* removal of mxEvent since it never changes in timeline

* Update packages/shared-components/src/message-body/TileErrorView/TileErrorView.stories.tsx

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>

* Update apps/web/src/viewmodels/message-body/TileErrorViewModel.ts

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>

* Update apps/web/src/viewmodels/message-body/TileErrorViewModel.ts

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>

* docs: add TileErrorView tsdoc

* docs: add TileErrorViewModel tsdoc

* docs: add view source label tsdoc

* refactor: move tile error layout into vm

* docs: add TileErrorView story view docs

* docs: move tile error story list wrapper

* refactor: remove unused tile error event setter

* Update packages/shared-components/src/message-body/TileErrorView/TileErrorView.stories.tsx

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>

* docs: add tsdoc for event tile error fallback props

* refactor: rely on snapshot merge no-op checks

* remove unessecery if statment

* test: restore EventTile mocks in afterEach

* test(shared-components): move TileErrorView baselines

---------

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
2026-04-08 09:05:31 +00:00
renovate[bot] 6e9fc9b8fa Update npm non-major dependencies (#33001)
* Update npm non-major dependencies

* Update snapshot

* Patch plist for compatibility with updated @xmldom/xmldom

* Lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-08 07:40:43 +00:00
ElementRobot 4beaa52b28 [create-pull-request] automated change (#33068)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2026-04-08 07:09:57 +00:00
renovate[bot] 3abf74ef44 Migrate Renovate config (#33067)
* Migrate config .github/renovate.json

* Update renovate.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-08 07:05:54 +00:00
RiotRobot e0cddf8e4a Merge branch 'master' into develop 2026-04-08 07:52:55 +00:00
RiotRobot 8567084409 v1.12.15
Docker / Docker Buildx (push) Failing after 55s
Build Debian package / Build package (release) Failing after 36s
Build and Deploy / prepare (release) Failing after 3m2s
Build and Deploy / Trigger Pro pipeline (release) Has been skipped
Deploy release / Deploy to Cloudflare Pages (release) Failing after 1m13s
Build and Deploy / Windows arm64 (release) Has been skipped
Build and Deploy / Windows x64 (release) Has been skipped
Build and Deploy / macOS (release) Has been skipped
Build and Deploy / Linux amd64 (sqlcipher static) (release) Has been skipped
Build and Deploy / Linux arm64 (sqlcipher static) (release) Has been skipped
Build and Deploy / ${{ needs.prepare.outputs.deploy == 'true' && 'Deploy' || 'Deploy (dry-run)' }} (release) Failing after 21s
Build and Deploy / Deploy builds to ESS (release) Has been skipped
v1.12.15
2026-04-08 07:48:17 +00:00
RiotRobot 7f5ab70478 v1.12.15-rc.0
Docker / Docker Buildx (push) Failing after 53s
v1.12.15-rc.0
2026-04-08 07:26:28 +00:00
Michael Telatynski 08dbd78a7c Group docker digests renovate tasks (#33058)
* Group docker digests renovate tasks

* Change group name for testcontainers docker digests
2026-04-07 21:48:57 +00:00
Michael Telatynski dc06d36b9f Fix docs:build workflow run on a tag (#33064)
where js-sdk workflows are not available
2026-04-07 21:48:52 +00:00
Michael Telatynski 950b4cc23a Update develop CD check-regexp to exclude Netlify (#33059) 2026-04-07 21:48:48 +00:00
renovate[bot] 1dcc19b4b6 Update playwright (#33060)
* Update playwright

* Update snapshots

* Update types

* Update snapshot

* Update playwright-common

* Remove stale screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2026-04-07 16:16:57 +00:00