Commit Graph

62676 Commits

Author SHA1 Message Date
Michael Telatynski
1407e2f52d
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-16 09:49:09 +01:00
Florian Duros
571ada37a7
Replace MatrixClient.isCryptoEnabled by MatrixClient.getCrypto (#140)
* Replace `MatrixClient.isCryptoEnabled` by `MatrixClient.getCrypto`

* Cast `cryptoEnabled` as `boolean`

* Fix `MatrixChat-test`

(cherry picked from commit 950ab1940bfcea9443f03284f9175d319c13a44c)
2024-10-16 09:42:18 +01:00
Michael Telatynski
146968da2c
Deduplicate more icons using Compound Design Tokens (#132)
* Deduplicate more icons using Compound Design Tokens

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>
(cherry picked from commit 7448bd52e2ff354917d6e5f769ca052961c13aa0)
2024-10-16 09:42:03 +01:00
ElementRobot
a22e9e8f13
[create-pull-request] automated change (#52)
Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com>
(cherry picked from commit 3256499d4bacbf8cb527c1261c65f805de346c53)
2024-10-16 09:41:56 +01:00
Michael Telatynski
4094d24071
Fix i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-16 09:31:08 +01:00
Michael Telatynski
f78f6b3a9a
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-16 09:09:41 +01:00
Michael Telatynski
0007d3de32
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 19:16:13 +01:00
Michael Telatynski
0f31b15573
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 19:01:25 +01:00
Michael Telatynski
68c0c4c833
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 18:29:37 +01:00
Michael Telatynski
67659ab353
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 16:22:11 +01:00
RiotRobot
3793c6daca v1.11.82-rc.0 2024-10-15 14:57:48 +00:00
Michael Telatynski
d928a7be9d
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 15:45:19 +01:00
Michael Telatynski
13184f0131
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 15:43:46 +01:00
RiotRobot
65f0d7930a Upgrade dependency to matrix-react-sdk@3.114.0-rc.0 2024-10-15 14:43:13 +00:00
Michael Telatynski
643d13066c
Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/repo-merge
# Conflicts:
#	package.json
2024-10-15 15:38:52 +01:00
Michael Telatynski
fd62350ce9
Make yarn lock file happier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 15:37:40 +01:00
RiotRobot
8b914c02d0 Upgrade dependency to matrix-js-sdk@34.9.0-rc.0 2024-10-15 14:33:13 +00:00
Michael Telatynski
f0ee7f7905
Merge matrix-react-sdk into element-web
Merge remote-tracking branch 'repomerge/t3chguy/repomerge' into t3chguy/repo-merge

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 15:32:09 +01:00
David Baker
07ed8e8a2d Merge remote-tracking branch 'origin/staging' into develop 2024-10-15 15:26:19 +01:00
David Baker
80018bccff Supporting change for CVE-2024-47771 / GHSA-963w-49j9-gxj6 2024-10-15 14:08:43 +01:00
David Baker
bc0ae8de14 Fix for CVE-2024-47779 / GHSA-3jm3-x98c-r34x 2024-10-15 14:08:36 +01:00
RiotRobot
89380ab59f v1.11.81 2024-10-15 11:43:34 +00:00
David Baker
63c8550791 Supporting change for CVE-2024-47771 / GHSA-963w-49j9-gxj6 2024-10-15 12:38:16 +01:00
David Baker
8d7f2b5c13 Fix for CVE-2024-47779 / GHSA-3jm3-x98c-r34x 2024-10-15 12:37:21 +01:00
RiotRobot
8904453bbf Upgrade dependency to matrix-react-sdk@3.113.0 2024-10-15 11:04:13 +00:00
RiotRobot
0943ffa0aa Upgrade dependency to matrix-js-sdk@34.8.0 2024-10-15 10:55:03 +00:00
Michael Telatynski
b084ff2313
Prepare for repo merge
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 11:35:21 +01:00
Andrew Ferrazzutti
0f670b8dc0
Remove redundant yarn.lock entry for widget-api (#35)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 09:49:43 +00:00
Michael Telatynski
d58c9fa7f6
Always show link new device flow even if unsupported (#147)
* Always show link new device flow even if unsupported

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

* Iterate

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-15 09:18:57 +00:00
ElementRobot
51a5cf64c8
[create-pull-request] automated change (#51)
Co-authored-by: dbkr <dbkr@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 09:12:29 +00:00
Michael Telatynski
d9e943d9a8
Update to Compound v7 (#151)
* Update to Compound v7

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

* Update snapshots

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

* Update test

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 08:56:43 +00:00
Michael Telatynski
b428b4aa9d
Update to Compound v7 (#28191) 2024-10-15 09:56:39 +01:00
Florian Duros
bce02634f7
Replace MatrixClient.prepareToEncrypt by MatrixClient.getCrypto.prepareToEncrypt (#146) 2024-10-15 07:50:38 +00:00
Florian Duros
503d9004d1
Replace MatrixClient.userHasCrossSigningKeys by MatrixClient.getCrypto.userHasCrossSigningKeys (#148) 2024-10-15 07:50:26 +00:00
Michael Telatynski
07506253f9
Update design of files list in right panel (#144)
* Update design of files list in right panel

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

* Make i18n script happier

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

* Improve coverage

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

* Improve coverage

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

* Improve coverage

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

* Discard changes to src/components/structures/MessagePanel.tsx

* 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 tests

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

* Fix flaky screenshot 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>
2024-10-14 18:08:05 +00:00
Michael Telatynski
d770e2afcc
Deduplicate icons using Compound Design Tokens (#150)
* Deduplicate icons using Compound Design Tokens

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

* Iterate

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

* Update snapshot

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-14 16:54:15 +00:00
R Midhun Suresh
786a0286cf
Upgrade compound also in element-web (#28157) 2024-10-14 17:11:54 +01:00
Florian Duros
63986f8c42
Remove feature_dehydration (#138)
* Remove feature_dehydration

* Remove remaining old dehydration

* Update test
2024-10-14 16:10:41 +00:00
R Midhun Suresh
91e84f7951
Upgrade to latest compound-web package (#84)
* Upgrade to latest compound-web package

* Use a custom render function for jest tests

This way we don't need to manually wrap our components with
<TooltipProvider>

* Pin wrap-ansi to fix broken yarn install

* Add playwright helper to find tooltip from element

and use it in the failing test

* Exclude floating-ui divs/spans from axe testing

This is rendered outside .MatrixChat by compound and contains all the
tooltips.

* Wrap outermost components with TooltipProvider

* Remove onChange and use onSelect for toggle

* Fix jest tests and update snapshots

* Use vector-im/matrix-wysiwig

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-14 16:11:58 +00:00
Florian Duros
3bc0439fd2
Replace MatrixClient.checkSecretStorageKey by MatrixClient.SecretStorage.checkKey (#142) 2024-10-14 15:08:42 +00:00
David Baker
03186e4a4d
Pin to Ubuntu 22 (#145)
Ubuntu 24 seems to have slightly different kerning / aliasing so we'll
need to update all out screenshots. In the meantime, pin to 22.
2024-10-14 12:38:03 +00:00
Richard van der Hoff
771d4a8417
Fix flaky crypto playwright tests (#143)
* Playwright: wait for sync to arrive after joining rooms

Fix a couple of flaky tests which were not waiting for the /sync to complete
after joining a room.

* Playwright: add a comment about a broken helper

* playwright: fix more flakiness in the shields test

This bit can take a while as well.

* Update playwright/pages/client.ts

Co-authored-by: R Midhun Suresh <hi@midhun.dev>

* Add a timeout to `awaitRoomMembership`

---------

Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2024-10-11 11:48:46 +00:00
David Langley
c71dc6b0f8
Upgrade emojibase-bindings and remove local handling of emoticon variations (#127)
* Updgrade emojibase-bindings and remove local handling of emoticon variations

* bump bindings to fix issue of mission emojis with version == 0

* update lockfile

* test emoji variation in RTE
2024-10-10 14:52:45 +00:00
David Baker
3a59556749
Revert #124 and #135 (#139)
This seems to be causing a lot of weirdness, presumably because there's
another missing thing like in #135, but I don't know what it might be and
it feels like it might take a while to find. Backing these changes out
to fix develop while we sort it out.

Fixes https://github.com/element-hq/element-web/issues/28179
2024-10-10 14:08:43 +00:00
Florian Duros
4e5cf1b720
Add aria-label to e2e icon (#136) 2024-10-10 07:30:08 +00:00
David Baker
5f113c4db0
Fix bell icons on room list hover being black squares (#135)
* Fix bell icons on room list hover being black squares

The EchoStore wasn't being set up and therefore missed the client being
injected.

Patch from @t3chguy.

* Fix tests

...by mocking out createClient so it doesn't try to start a real client.

* More mocks

* Don't need this anymore either
2024-10-09 22:44:10 +00:00
David Langley
a2cee6bbb4
Fix vertical overflow on the mobile register screen (#137)
* Fix vertical overflow on the mobile register screen

* Change to border-box to include padding in height so the register button can be scrolled fully in to view.
2024-10-09 16:34:42 +00:00
Florian Duros
450ad1dd85
Remove feature_dehydration 2024-10-09 18:04:47 +02:00
Richard van der Hoff
b79343d5b0
Improve logging in SessionLock (#133)
some more diagnostics for this, to help resolve
https://github.com/element-hq/element-desktop/issues/1495
2024-10-09 14:38:53 +00:00
RiotRobot
8d77b2a15a Reset matrix-js-sdk back to develop branch 2024-10-08 12:37:43 +00:00