Commit Graph

47949 Commits

Author SHA1 Message Date
Richard van der Hoff
ca5ab09f3b
Disable failing playwright test (#12176)
This is the first test in the file, so it's possible that the failure will move
to the next test. But let's give it a try.
2024-01-24 09:54:14 +00:00
renovate[bot]
a665f028c2
Update dependency @sentry/browser to v7.94.1 (#12171)
* Update dependency @sentry/browser to v7.94.1

* Fix types

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-01-24 09:23:54 +00:00
renovate[bot]
afda9d89ab
Update definitelyTyped (#12169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 21:10:45 +00:00
renovate[bot]
8bb2dca1ff
Update dependency @playwright/test to v1.41.1 (#12170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 21:03:05 +00:00
renovate[bot]
1eb19aa6b5
Update dependency stylelint to v16.2.0 (#12172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 20:04:21 +00:00
renovate[bot]
9effb88dc8
Update typescript-eslint monorepo to v6.19.0 (#12173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 20:04:06 +00:00
RiotRobot
863c9be710 v3.91.0-rc.0 2024-01-23 18:42:12 +00:00
RiotRobot
10ae0d1840 Upgrade matrix-js-sdk to 31.2.0-rc.0 2024-01-23 18:42:10 +00:00
David Baker
d110660dc3
Make the unread badge component more reusable (#12163)
Add a paramter to make it a dot rather than a badge rather than mangling
it to a dot with CSS in EventTile. Move it to a place in the DOM that reflects
where it's actually supposed to sit rather than repositioning it with CSS.
Tweak sizes to match what figma says (8px everywhere for dots rather than 6px in
some places as it was).
2024-01-23 14:39:50 +00:00
Michael Telatynski
4e68b91515
Fix OIDC bugs due to amnesiac stores forgetting OIDC issuer & other data (#12166)
* Fix OIDC bugs due to amnesiac stores forgetting OIDC issuer & other data

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

* Fix tests

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-23 13:34:10 +00:00
Charly Nguyen
11096b207a
Expose apps/widgets (#12071)
* Expose apps/widgets

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Bump @matrix-org/react-sdk-module-api from 2.2.1 to 2.3.0

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

---------

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2024-01-22 10:53:27 +00:00
ElementRobot
783007bea6
[create-pull-request] automated change (#12162)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-01-22 06:24:17 +00:00
RiotRobot
d8202be772 Reset matrix-js-sdk back to develop branch 2024-01-19 13:50:23 +00:00
RiotRobot
d48740b4e8 Merge branch 'master' into develop 2024-01-19 13:50:12 +00:00
RiotRobot
4681bbbfce v3.90.0 2024-01-19 13:48:46 +00:00
RiotRobot
abce0fdd2d Upgrade matrix-js-sdk to 31.1.0 2024-01-19 13:48:45 +00:00
ElementRobot
19867d85f4
[Backport staging] Broaden support for matrix spec versions (#12159)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-01-19 10:54:56 +00:00
Richard van der Hoff
a8cc6cc207
Broaden support for matrix spec versions (#12154)
Something of a compainion to
https://github.com/matrix-org/matrix-js-sdk/pull/4014, but also covering the
issues discussed at
https://github.com/matrix-org/matrix-js-sdk/issues/3915#issuecomment-1865221366.

In short: we should not reject servers which only implement recent versions of
the spec. Doing so holds back the ecosystem by requiring all new servers to
implement features that nobody actually uses any more.
2024-01-19 10:00:22 +00:00
Michael Telatynski
0d2253e7d0
Fix issues caused by the artifacts v4 upgrade
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-19 09:30:15 +00:00
Michael Telatynski
e3d5b4fb98
Fix Sonarcloud artifact downloading
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-19 09:03:04 +00:00
Michael Telatynski
1dbcdfb6b2
Use Github Artifacts v4 (#12152) 2024-01-19 08:54:49 +00:00
ElementRobot
f4c090eec4
[create-pull-request] automated change (#12158)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-01-19 06:23:58 +00:00
ElementRobot
43b607f715
[Backport staging] Fixed shield alignment on message Input (#12155)
Co-authored-by: Manan Sadana <manancodes.dev@gmail.com>
2024-01-18 17:26:27 +00:00
Manan Sadana
b3ab5fc2c3
Fixed shield alignment on message Input (#12149)
* Fixed shield alignment on message Input

* Fixed shield alignment on message Input

* Updated fix

* reversing merged changes
2024-01-18 14:48:29 +00:00
Richard van der Hoff
b6364a4cea
Enable the rust-crypto labs button (#12114)
* `LabsUserSettingsTab-test.tsx`: use a real `SdkConfig`

... instead of mocking it out. Doing so allows us more flexibility, and gives a
more realistic test.

* Enable the rust-crypto labs button

* fix up a test
2024-01-18 11:18:55 +00:00
renovate[bot]
b64d2e734a
Update dependency @playwright/test to v1.41.0 (#12150)
* Update dependency @playwright/test to v1.41.0

* Update end-to-end-tests.yaml

* Update end-to-end-tests.yaml

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-17 10:11:04 +00:00
Richard van der Hoff
993a7029b8
Show a progress bar while migrating from legacy crypto (#12104)
* Show a progress bar during migration of crypto data

* playwright: add new `pageWithCredentials` fixture

* Add a playwright test for migration progress

* Add documentation for `idbSave`
2024-01-17 07:14:49 +00:00
ElementRobot
2d3351bb33
[create-pull-request] automated change (#12151)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-01-17 06:24:57 +00:00
RiotRobot
3c405ac34d Reset matrix-js-sdk back to develop branch 2024-01-16 17:41:19 +00:00
RiotRobot
385e5a8bdb Resetting package fields for development 2024-01-16 17:41:09 +00:00
RiotRobot
559cf3ed89 Merge branch 'master' into develop 2024-01-16 17:41:08 +00:00
RiotRobot
9e16381a6e v3.89.0 2024-01-16 17:39:45 +00:00
RiotRobot
8e77e2dd5f Upgrade matrix-js-sdk to 31.0.0 2024-01-16 17:39:44 +00:00
Richard van der Hoff
dfebd59629
Update comments in settings logic (#12148)
Follow-up on https://github.com/matrix-org/matrix-react-sdk/pull/12125
2024-01-16 17:12:01 +00:00
Michael Telatynski
79f2c9749b
Update Twemoji to Jdecked v15.0.3 (#12147)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-16 12:09:12 +00:00
Michael Telatynski
a465b1659f
Fix account management link for delegated auth OIDC setups (#12144)
* Fix account management link for delegated auth OIDC setups

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

* Fix comment

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-16 09:51:03 +00:00
Michael Telatynski
5983528a8d
Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
Valere
0b6d2f923d
Fix missing device keys in rageshakes and sentry reports (#11906)
* fix missing device keys in RS

* fix import

* fix import

* simplify error handling

* refact: cleaner keys array creation

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

* refact: cleaner keys array creation

* jslint

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-01-16 08:59:14 +00:00
David Baker
9254e9562e
Don't reference the notification levels by colour (#12138)
* Don't reference the notification levels by colour

We're about to change what colours they are so either we'd have to rename
a bunch of constants. We may as well make things not reference what colour
anything is in the actual UI. Hopefully these constants are clear enough.

 * Rename NotificationColor -> NotificationLevel
 * Red -> Highlight
 * Grey -> Notification
 * Bold -> Activity
 * Anywhere else that calls it 'color' -> 'level'

Also fixes some weird mixes of US & UK English.

It turns out this is referenced in... quite a lot of places, so this is
quite a large PR. It can't really be much smaller, sorry.

* One test rename & some hiding due to ts-ignore

* More hiding behind ts-ignore

* Damn you, @ts-ignore...

* Fix test CSS values

* Missed some colour -> level

Co-authored-by: Florian Duros <florianduros@element.io>

* Change other instances of variables renamed in suggestion

* Update new test for renames

---------

Co-authored-by: Florian Duros <florianduros@element.io>
2024-01-15 15:25:48 +00:00
SuperKenVery
97339ee2f6
Fix Safari IME support (#11016)
* Fix Safari IME support

* Try remove hasIMEComposingJustEnded

* Remove redundant code

* Run prettier

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-15 14:57:17 +00:00
Florian Duros
80e75e3b70
Change Quick Settings icon (#12141)
* Change Quick Settings icon

* Update space panel playwright snapshot
2024-01-15 10:56:46 +00:00
David Baker
406ffe1b98
Add test for useRoomThreadNotifications (#12140)
* Add test for useRoomThreadNotifications

* Remove unused code
2024-01-12 15:32:56 +00:00
David Baker
02a8023ba3 Revert accidental commit to develop 2024-01-12 14:50:59 +00:00
David Baker
6247055df6 Add test for useRoomThreadNotifications
Doesn't test the the updating on event emitters but it's a start
2024-01-12 14:46:41 +00:00
renovate[bot]
56d8ef3640
Update dependency @vector-im/compound-web to v2 (#12133)
* Update dependency @vector-im/compound-web to v2

* Update Tooltip props

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

* Include TooltipProvider in MatrixChat

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

* Fix pillify & tooltipify

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

* Update tests to use TooltipProvider where necessary

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

* Fix tooltips in Modals, ContextMenus, PersistedElements, Spoiler, HtmlExport

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

* Update tests

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

* delint

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

* Update tests

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

* Fix tooltips in HTMLExport

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

* Don't pass mountAsChild to DOM

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

* prettier

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

* Stabilise test

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-01-11 19:56:36 +00:00
Hugh Nimmo-Smith
54b71140b8
Gracefully handle rate limit response when attempting to Sign in with QR (#11809)
* Gracefully hand rate limit response when attempting to Sign in with QR

* Don't cancel after rate limit

* Update src/components/views/auth/LoginWithQR.tsx

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

* Add missing import

* Fix mock of error

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-11 16:11:47 +00:00
renovate[bot]
6187c8c884
Update all non-major dependencies (#12130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 12:51:00 +00:00
renovate[bot]
1c72867f2f
Update dependency diff-dom to v5 (#12134)
* Update dependency diff-dom to v5

* Update snapshot

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-01-11 12:37:48 +00:00
Michael Telatynski
0820994463
Use Compound tooltips more widely (#12128)
* Switch MIMageBody & MStickerBody to Compound Tooltip

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

* Switch E2ePadlock & SentReceipt to Compound Tooltips

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

* Workaround compound bug

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

* Fix tests

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

* Improve coverage

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

* Iterate tests

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

* Iterate tests

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

* Fix tests

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-11 11:49:24 +00:00
renovate[bot]
88a57fbf39
Update dependency @vector-im/compound-design-tokens to v0.1.1 (#12131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 11:31:03 +00:00