Commit Graph

47789 Commits (641a20ce63694df47a1dd48fb311f8d9321f17da)

Author SHA1 Message Date
Michael Telatynski 8bd74f517c
Handle up/down as well as left/right for horizontal toolbars for improved a11y (#12305)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-06 14:41:14 +00:00
renovate[bot] 942fabc5a8
Update all non-major dependencies (#12310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-05 17:56:10 +00:00
renovate[bot] 8f0e6aa9af
Update dependency @types/node to v18.19.21 (#12309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-05 15:40:10 +00:00
renovate[bot] c7241e9bdc
Update typescript-eslint monorepo to v7.1.0 (#12314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-05 15:12:00 +00:00
renovate[bot] c334cd79f6
Update dependency @playwright/test to v1.42.1 (#12312)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-05 15:10:45 +00:00
renovate[bot] 2f6e9670e1
Update dependency @sentry/browser to v7.104.0 (#12313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-05 15:10:23 +00:00
renovate[bot] 0d762099c6
Update babel monorepo to v7.24.0 (#12311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-05 15:07:22 +00:00
RiotRobot 9c8e572572 v3.94.0-rc.0 2024-03-05 14:09:01 +00:00
RiotRobot 90bcce9d71 Upgrade dependency to matrix-js-sdk@31.5.0-rc.0 2024-03-05 14:05:20 +00:00
Robin 6eafe0e5a8
Refine styles of controls to match Compound (#12299)
This changes the styles of buttons, other form controls, and tabs in settings to:

1. Improve their usage of semantic colors, so that they adapt correctly to custom themes
2. Make them more visually coherent with the new Compound design system, as we integrate more of it into the app

This is a re-introduction of https://github.com/matrix-org/matrix-react-sdk/pull/12241 with the difference that we're now using our branding colors again on form colors, and buttons have become rounded to match the appearance of new Compound buttons.
2024-03-05 04:25:47 +00:00
Richard van der Hoff 5c8b14c53e
Fix requests for senders to submit auto-rageshakes (#12304)
If auto-rageshake-on-UISI is enabled, then when we get a UISI we send the sender a to-device message asking them to also rageshake. Unfortunately, the logic to do so has been broken since c30b263.

Also a few other minor cleanups while we're here.
2024-03-04 16:24:08 +00:00
renovate[bot] c3e0535be9
Update dependency sanitize-html to v2.12.1 [SECURITY] (#12302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 14:39:09 +00:00
Kim Brose 65bfc920a2
fix automatic DM avatar with functional members (#12157)
* fix automatic DM avatar with functional members

* add tests for functional members

* add snapshot for functional members avatar test

* update snapshot for functional members avatar test

* restore mocks after each functional members avatar test

* refactor DecoratedRoomAvatar-test

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2024-03-03 11:01:00 +00:00
ElementRobot 5a0537b7eb
[create-pull-request] automated change (#12300)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-03-01 06:22:38 +00:00
Valere dc5803fc30
Increase decryption failure grace period (#12298) 2024-02-29 15:29:59 +00:00
maheichyk 71cece7641
Feeds event with relation to unknown to the widget (#12283)
* Feeds event with relation to unknown to the widget

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>

* Smaller changes

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>

---------

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2024-02-29 14:19:17 +00:00
Florian Duros 29b79ef351
Fix TAC opening with keyboard (#12285)
* Fix TAC opening with keyboard

* Use compound tooltip and icon button

* Revert "Fix TAC opening with keyboard"

This reverts commit 5a1e5d0c

* Add missing aria-label

* Update tests

* Add tests

* Fix visual regression

* Fix remaining tooltip

* Fix ref typing

* Fix typing
2024-02-29 14:07:46 +00:00
Michael Telatynski 5bd0afce30
Prevent "Element" hardcoded in i18n files (#12296)
* Prevent "Element" hardcoded in i18n files

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

* Update matrix-web-i18n

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-29 13:02:46 +00:00
Richard van der Hoff 48c7543df5
PR template: reminder to document your stuff (#12294)
* PR template: reminder to document your stuff

* add full stops
2024-02-28 13:17:52 +00:00
Michael Telatynski 86469bdd32
Add custom reporter to auto-report flaky Playwright tests (#12290) 2024-02-28 13:02:09 +00:00
David Baker 2402cd59bc
Allow screenshot update docker to run multiple test files (#12291)
The entrypoint script only passed the first argument so if you specified
multiple test files it would only run the first.

This will need the docker image to be rebuilt on each machine you run it
on to take effect.
2024-02-28 10:04:25 +00:00
ElementRobot 222010f08e
[create-pull-request] automated change (#12293)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-02-28 06:23:04 +00:00
David Baker 5ac222e1c4
Fix alignment of user menu avatar (#12289)
* Fix alignment of user menu avatar

https://github.com/matrix-org/matrix-react-sdk/pull/12267 made the avatar
a couple of pixels out of alignment with the space icons. It just needed
to be moved 2px to the right to match the 18px margin of the space icons
(including the padding from the black border).

Also change elements in the user menu to block elements so they don't
generate extra vertical space in the user menu div, which was causing the
hairline to be too far down.

* Update snapshots

* Typo

Co-authored-by: Robin <robin@robin.town>

* Reference the span by class

* The img wasn't actually necessary here

---------

Co-authored-by: Robin <robin@robin.town>
2024-02-27 19:50:44 +00:00
RiotRobot db6f7da2b2 Reset matrix-js-sdk back to develop branch 2024-02-27 13:00:00 +00:00
RiotRobot 0b16c935ad Resetting package fields for development 2024-02-27 12:59:50 +00:00
RiotRobot 8f5bdf5c57 Merge branch 'master' into develop 2024-02-27 12:59:49 +00:00
RiotRobot a7f8e82d16 v3.93.0 2024-02-27 12:58:36 +00:00
RiotRobot bcb66965a3 Upgrade dependency to matrix-js-sdk@31.4.0 2024-02-27 12:52:17 +00:00
Florian Duros 494d9de6f0
Fix buttons of widget in a room (#12288)
* Revert 3acd648 - Fix timeline position when moving to a room and coming back

* Fix initialEventId
2024-02-27 12:02:16 +00:00
David Baker 28f7aac9a5
Hide the archived section (#12286)
* Hide the archived section

* Only add archived section if necessary

* Update e2e tests
2024-02-27 10:00:10 +00:00
Timo 179d2a767e
Add theme data to EC widget Url (#12279)
* Add theme data to EC widget url

Signed-off-by: Timo K <toger5@hotmail.de>

* test theme

Signed-off-by: Timo K <toger5@hotmail.de>

---------

Signed-off-by: Timo K <toger5@hotmail.de>
2024-02-26 17:21:52 +00:00
David Baker 8f65fbf9c1
Merge pull request #12287 from matrix-org/backport-12280-to-staging
[Backport staging] Fix spurious session corruption error
2024-02-26 17:14:41 +00:00
David Baker 76da40c128 Fix spurious session corruption error (#12280)
* Fix spurious session corruption error

Move the server versions check to each time we reconnect to the server
rather than the first time,although, as per comment it will still only
trigger the first time, but it will avoid us awaiting and mean we know
we're connected to the server when we try, and get automatic retries.

Fixes https://github.com/element-hq/element-web/issues/26967

* Move test & add regression test

* Write some more tests

* More comments & catch exceptions in server versions check

* Note caching behaviour

* Typo

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Remove the bit of the comment that might be wrong

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
(cherry picked from commit 1403cd851a)
2024-02-26 16:42:35 +00:00
David Baker 1403cd851a
Fix spurious session corruption error (#12280)
* Fix spurious session corruption error

Move the server versions check to each time we reconnect to the server
rather than the first time,although, as per comment it will still only
trigger the first time, but it will avoid us awaiting and mean we know
we're connected to the server when we try, and get automatic retries.

Fixes https://github.com/element-hq/element-web/issues/26967

* Move test & add regression test

* Write some more tests

* More comments & catch exceptions in server versions check

* Note caching behaviour

* Typo

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Remove the bit of the comment that might be wrong

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-02-26 15:30:32 +00:00
ElementRobot f2101c69ec
[create-pull-request] automated change (#12284)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-02-26 06:22:38 +00:00
Michael Telatynski 7b1e8e3d2f
Update MSC2965 OIDC Discovery implementation (#12245)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-02-23 16:43:14 +00:00
ElementRobot 729eca49e4
[create-pull-request] automated change (#12282)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-02-23 06:22:40 +00:00
Valere 8a70260c81
ModuleAPI: `overwrite_login` action was not stopping the existing client resulting in the action failing with rust-sdk (#12272)
* Fix overwrite login action not stopping client

* remove unneeded fixture for overwrite login test

* Fix playwrite bad import of app sources

* revert uneeded change on fore OnLoggedIn causing side effects

* Add unit test for overwrite login action

* remove un needed ts-ignore
2024-02-22 15:41:21 +00:00
Florian Duros b9bdd18666
Use green dot for activity notification in `LegacyRoomHeader` (#12270) 2024-02-22 13:36:12 +00:00
renovate[bot] bbbb0e3dec
Update all non-major dependencies (#12214)
* Update all non-major dependencies

* Prettier

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-02-22 10:11:25 +00:00
renovate[bot] ce36a67504
Update typescript-eslint monorepo to v7 (#12278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:52:43 +00:00
renovate[bot] 5e71c36504
Update dependency eslint-plugin-unicorn to v51 (#12276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:05:14 +00:00
renovate[bot] 37672f3964
Update dependency @types/sanitize-html to v2.11.0 (#12275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:05:09 +00:00
renovate[bot] e51cd16fe6
Update dependency @sentry/browser to v7.101.1 (#12274)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:04:53 +00:00
renovate[bot] 0db6c6df70
Update dependency axe-core to v4.8.4 (#12273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:04:34 +00:00
renovate[bot] 2716e959a5
Update stylelint (#12220)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 18:40:01 +00:00
RiotRobot 15e51301a7 v3.93.0-rc.0 2024-02-21 18:19:36 +00:00
RiotRobot 7646b894d1 Upgrade dependency to matrix-js-sdk@31.4.0-rc.0 2024-02-21 17:57:48 +00:00
David Baker ebd0a046b1
Fix the space panel getting bigger when gaining a scroll bar (#12267)
* Fix the space panel getting bigger when gaining a scroll bar

Just makes the scrollbar gutter stable and removes 8px of padding
to compensate, so it will make the bar slightly larger, but it will
no longer change size weirdly if you have too many spaces in too short
a window.

* Tweak margins to keep space panel the same size

* Try 1px more

* Try 1px more to the left

* Fix sizes and disable flex when in narrow mode

* Update screenshots

* Another screenshot

* Last screenshot hopefully
2024-02-21 15:18:58 +00:00
Florian Duros d9a20b00e0
Ignore activity in TAC (#12269) 2024-02-21 12:19:25 +00:00