Commit graph

407 commits

Author SHA1 Message Date
ElementRobot
2b883a8aa0
[create-pull-request] automated change (#28572)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-27 09:40:33 +00:00
Florian Duros
af846f8be9
Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom in RoomView (#28278)
* Replace `MatrixClient.isRoomEncrypted` by `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` in RoomView

* Add `isRoomEncrypted` to room

* Update e2eStatus and urlPreview when isRoomEncrypted is computed

* Fix e2e test

* Add tests when user verification change

* Reduced abusive timeout in e2e test
2024-11-26 21:34:32 +00:00
renovate[bot]
7796200562
Update playwright to v1.49.0 (#28566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 17:31:10 +00:00
Hubert Chathi
85711be352
Show the correct shield status in tooltip for more conditions (#28476)
* Add support for new shield codes in JS SDK

* change string used for shield message

* fix test
2024-11-26 16:00:52 +00:00
ElementRobot
c74f9159ad
[create-pull-request] automated change (#28544)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-26 11:54:21 +00:00
ElementRobot
fd7c50f61d
[create-pull-request] automated change (#28528)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-23 06:21:36 +00:00
Michael Telatynski
eddaf7c47e
Swap out Twitter link for Mastodon on auth footer (#28508)
* Swap out Twitter link for Mastodon on auth footer

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshots & screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-21 10:59:43 +00:00
ElementRobot
b907ec380f
[create-pull-request] automated change (#28509)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-21 06:20:31 +00:00
ElementRobot
48fd330dd9
[create-pull-request] automated change (#28495)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-20 06:20:25 +00:00
ElementRobot
c8e4ffe1dd
[create-pull-request] automated change (#28489)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-19 06:21:07 +00:00
Michael Telatynski
4f8e9eb9ac
Standardise icons using Compound Design Tokens (#28217)
* De-duplicate icons using Compound Design Tokens

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* delint

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Deduplicate more icons using Compound Design Tokens

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update icon

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Discard changes to res/css/structures/_RoomSearch.pcss

* Update snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Discard changes to res/fonts/Open_Sans/LICENSE.txt

* Discard changes to res/css/views/elements/_CopyableText.pcss

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-18 15:47:15 +00:00
ElementRobot
e3f8a7b13d
[create-pull-request] automated change (#28470)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-15 06:24:20 +00:00
Michael Telatynski
9a126795a8
Standardise icons using Compound Design Tokens (#28286)
* Remove stale _LegacyRoomHeader.pcss and icons

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* De-duplicate icons using Compound Design Tokens

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove stale _LegacyRoomHeader.pcss and icons

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove unused icons

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Ensure legacy header styles are not used by HTML export

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshots & snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-14 12:34:27 +00:00
ElementRobot
da2e126ce1
[create-pull-request] automated change (#28457)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-14 09:18:28 +00:00
renovate[bot]
3132fe3233
Update dependency maplibre-gl to v4 (#28444)
* Update dependency maplibre-gl to v4

* Update test

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshot

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-13 11:53:59 +00:00
ElementRobot
7b1e303328
[create-pull-request] automated change (#28454)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-13 10:06:44 +00:00
RiotRobot
6d1b702214 Merge branch 'master' into develop 2024-11-12 09:46:03 +00:00
ElementRobot
1e2e8844e5
[create-pull-request] automated change (#28424)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-12 09:03:39 +00:00
Michael Telatynski
db30bc51a1
Deduplicate icons using Compound Design Tokens (#28419)
* Deduplicate icons using Compound Design Tokens

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshots & snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-11 17:27:22 +00:00
David Langley
6134cfd9c4 Add mimetype checks
Add checks to validate the advertised mimetype and file extension of stickers, videos and images are coherent.
2024-11-11 15:44:33 +00:00
ElementRobot
17de66140d
[create-pull-request] automated change (#28411)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-09 06:20:13 +00:00
ElementRobot
9a6be72c10
[create-pull-request] automated change (#28408)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-08 09:31:14 +00:00
Michael Telatynski
b604a6ea8c
Enable enable_authenticated_media in Playwright tests (#28395)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-07 11:58:17 +00:00
Michael Telatynski
74a919cb65
Deduplicate icons using Compound Design Tokens (#28381)
* Deduplicate icons using Compound Design Tokens

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove unused test images

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshots & screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-07 11:39:18 +00:00
ElementRobot
b92101a3da
[create-pull-request] automated change (#28403)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-07 09:34:13 +00:00
ElementRobot
2f8e98242c
[create-pull-request] automated change (#28391)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-06 09:02:22 +00:00
ElementRobot
d7d96b6b8b
[create-pull-request] automated change (#28377)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-05 06:19:43 +00:00
Hubert Chathi
2631b908b6
Update the display of decryption failures due to failed trust requirement (#28300)
* update the display of decryption failures due to failed trust requirement

* add test for not showing shield
2024-11-04 12:46:38 +00:00
ElementRobot
a3ece9d902
[create-pull-request] automated change (#28359)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-01 06:22:26 +00:00
ElementRobot
e0ffddf3eb
[create-pull-request] automated change (#28345)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-10-31 06:21:39 +00:00
renovate[bot]
a4e4ac45c4
Update playwright to v1.48.2 (#28322)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-29 14:42:30 +00:00
Michael Telatynski
f4dc9048db
Remove unused icons & styles (#28288)
* Remove stale _LegacyRoomHeader.pcss and icons

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove unused icons

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Ensure legacy header styles are not used by HTML export

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-28 14:19:37 +00:00
ElementRobot
86bb0ec00d
[create-pull-request] automated change (#28304)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-10-28 11:56:00 +00:00
Michael Telatynski
954ff0adc0
Excluding floating-ui portals as part of hiding tooltips in Playwright screenshots (#28287)
* Excluding floating-ui portals as part of hiding tooltips in Playwright screenshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshot

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-28 11:07:15 +00:00
Michael Telatynski
ef605260b5
Update screenshot for timezone difference (#28309)
* Update screenshot for timezone difference

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update screenshot

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-28 10:46:19 +00:00
Richard van der Hoff
1cf1a0c4ee
Playwright: deflake verification tests (#28289)
Wait for the QR code to be rendered, in an attempt to deflake these two
2024-10-24 14:46:03 +00:00
ElementRobot
e73a832008
[create-pull-request] automated change (#28283)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-10-24 06:21:34 +00:00
Florian Duros
83777a6c57
Fix pinned message e2e flakes (#28268) 2024-10-23 08:12:47 +00:00
ElementRobot
305d60f732
[create-pull-request] automated change (#28272)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-10-23 06:22:12 +00:00
Florian Duros
539025cf8c
Hide scroll to bottom button in pinned message e2e test (#28255)
* Hide scroll to bottom button in pinned message e2e test

* Remove redundant mask

* Update playwright/e2e/pinned-messages/pinned-messages.spec.ts

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-22 10:00:20 +00:00
Richard van der Hoff
3c8ac6fc49
playwright: remove flaky check (#28260)
This sometimes happens too quickly for us to test.

Fixes: #27585
2024-10-21 17:45:01 +00:00
Florian Duros
5e5949257c
Hide card tooltip in pinned message e2e test (#28257) 2024-10-21 16:07:03 +00:00
Michael Telatynski
d8800ef987
Update to React 18 (#24763)
* Upgrade target to es2021

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Upgrade target to es2021

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Upgrade to es2022

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Upgrade to es2022

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix babel config

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix babel config

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix React contexts

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix React state

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update to React 18

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update to React 18

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Install @testing-library/dom

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update lockfile

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Yarn lock update

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-21 13:50:06 +00:00
Michael Telatynski
772019711d
Small tweaks & improvements (#28253)
* Ignore playwright generated files in git & prettier

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Correct .editorconfig

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix jest coverage errors

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Exclude scripts & type defs from coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-21 13:40:49 +00:00
Florian Duros
bdaad67178
Update badge style in invite dialog (#28250) 2024-10-21 12:32:43 +00:00
David Langley
26a98e5e30
Enable "should find unknown people" (#28245) 2024-10-21 11:01:38 +00:00
Michael Telatynski
02e0aca98d
Deduplicate icons using Compound (#28239)
* Deduplicate icons using Compound

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update snapshots

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update e2e tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-21 10:36:31 +00:00
Michael Telatynski
c278d2f31e
Stabilise audio-player reply button clicking in playwright (#28243)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-21 10:36:21 +00:00
David Langley
249c0fd1df
Fix RTE mentions autocomplete test (#28244)
LeftArrow  -> ArrowLeft
2024-10-18 17:13:20 +00:00
Michael Telatynski
26430a3a6a
Replace legacy Tooltips with Compound tooltips (#28231)
* Ditch legacy Tooltips in favour of Compound

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Remove dead code

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Extract markdown CodeBlock into React component

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Upgrade compound

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-18 14:57:39 +00:00