Commit Graph

46765 Commits

Author SHA1 Message Date
Michael Telatynski
9319911a27
Improve notifications debug devtool (#11310) 2023-07-26 10:18:43 +00:00
Michael Weimann
e33a7e41a4
Handle own profile 404 (#11319) 2023-07-26 09:54:45 +00:00
Richard van der Hoff
a47ee92094
Add cy.viewRoomById command (#11317)
... and use it to fix a racy composer test.

Fixes https://github.com/vector-im/element-web/issues/25527
2023-07-25 21:55:13 +00:00
Michael Telatynski
c57a4cb090
Fix peeked rooms showing up in historical (#11316) 2023-07-25 12:58:29 +00:00
Michael Telatynski
b5cbd9eeca
Ensure consistency when rendering the sent event indicator (#11314)
* Ensure consistency when considering where to render the sent event indicator

* Add test

* Fix redacted edge case

* Comments
2023-07-25 11:50:20 +00:00
Michael Telatynski
5fbdbccdc6
Temporarily add missing @types imports (#11309)
* Add CI to typecheck without yarn link like in release process

* Temporarily add missing @types imports
2023-07-25 08:29:52 +00:00
Michael Telatynski
9136a581d2
Prevent re-filtering user directory results in spotlight (#11290)
* Prevent re-filtering user directory results in spotlight

As they were already filtered by the server and may be fuzzier than any filtering we can do locally,
e.g. matching against email addresses or other fields not available to the client

* deduplicate work

* Improve coverage
2023-07-25 08:05:54 +00:00
Germain
d9aaed0ef6
Fix GIF label on dark theme (#11312) 2023-07-25 08:02:19 +00:00
Slavi Pantaleev
4316ebae29
Do not show "Forget room" button in Room View header for guest users (#10898)
* Do not show "Forget room" button in Room View header for guest users

You can observe this problem by opening this in a new private tab:
https://app.element.io/#/room/#matrix:matrix.org

This is a public room with guest access enabled and Element will use a
guest account to display it.

Showing a "Forget room" button in the header for guest users is
pointless. Clicking on it leads to a `M_GUEST_ACCESS_FORBIDDEN` error.

Signed-off-by: Slavi Pantaleev <slavi@devture.com>

* Iterate

---------

Signed-off-by: Slavi Pantaleev <slavi@devture.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-25 07:57:26 +00:00
Michael Telatynski
d268cc1b75
Fix spurious "Your server isn't responding to some requests" (#11306)
When changing room notification settings
This happened due to a race condition between adding a push rule and enabling it, the latter being superfluous given the spec says

> When creating push rules, they MUST be enabled by default.
2023-07-24 17:29:04 +00:00
Michael Telatynski
a70fcfd0bc
Fix invite dialog showing the same user multiple times (#11308)
* Fix invite dialog showing the same user multiple times

* Add test

* Improve coverage
2023-07-24 09:12:37 +00:00
Michael Telatynski
b6e373c65b
Avoid warning about config.json fallback keys more than once (#11307) 2023-07-24 07:36:51 +00:00
Germain
d0c6880335
Fix blockquote colour contrast (#11299)
* Fix blockquote colour contrast

* Blockquote update
2023-07-21 12:16:33 +00:00
Šimon Brandner
3b0ed17241
Don't hide room header buttons in video rooms and rooms with a call (#9712)
* Don't hide room header buttons in video rooms and rooms with a call

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Fix types

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Attempt to fix types 2

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Delint

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Update test case

---------

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-21 10:33:37 +00:00
Kerry
0b0d77cbcc
OIDC: Persist details in session storage, create store (#11302)
* utils to persist clientId and issuer after oidc authentication

* add dep oidc-client-ts

* persist issuer and clientId after successful oidc auth

* add OidcClientStore

* comments and tidy

* format
2023-07-20 21:30:19 +00:00
Germain
882c85a028
Restore room list backdrop (#11300)
* Restore room list backdrop

* Lintfix
2023-07-20 08:13:22 +00:00
Michael Telatynski
dd5b9329e4
Only error log url preview failure if not 404 matrix error (#11297) 2023-07-19 16:03:59 +00:00
Michael Telatynski
0c4a5cd7c1
Don't show composer send button if user cannot send (#11298)
Such as when room is tombstoned
2023-07-19 11:03:44 +00:00
Michael Telatynski
a1ca79c6c7
Retry joins on 524 (Cloudflare timeout) also (#11296) 2023-07-19 10:49:52 +00:00
Charly Nguyen
9a31cd0fa8
Allow setting room join rule to knock (#11248)
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-07-19 10:48:24 +00:00
Germain
b03433ef8b
Restore color for sender in imageview (#11289)
* Restore color for sender in imageview

* fix typo
2023-07-19 09:07:37 +00:00
Germain
150e97744d
Fix changelog dialog heading size (#11286) 2023-07-19 08:03:56 +00:00
Michael Telatynski
42d8e4f1a8
Try to find out the Matrix homeserver version and include in rageshakes (#11212) 2023-07-19 09:25:38 +01:00
Kerry
689089d9e6
Jest test coverage for Lifecycle.persistCredentials (#11243)
* test persistCredentials without a pickle key

* test setLoggedIn with pickle key

* lint

* type error

* rest restore session with pickle key
2023-07-19 07:40:40 +00:00
Michael Telatynski
19d927f497
Fix over-simplified cypress test (#11294) 2023-07-19 03:43:57 +00:00
Michael Telatynski
58db307cf2
Update jest snapshot (#11293) 2023-07-18 14:33:46 +00:00
RiotRobot
86bd66b7c3 Reset matrix-js-sdk back to develop branch 2023-07-18 13:34:50 +01:00
RiotRobot
c268560b32 Resetting package fields for development 2023-07-18 13:33:48 +01:00
RiotRobot
5881df3f41 Merge branch 'master' into develop 2023-07-18 13:33:41 +01:00
RiotRobot
35c7df19af v3.76.0 2023-07-18 13:33:23 +01:00
RiotRobot
2722bd4e4c Prepare changelog for v3.76.0 2023-07-18 13:33:20 +01:00
RiotRobot
f0f1f0c1f5 Upgrade matrix-js-sdk to 27.0.0 2023-07-18 13:30:17 +01:00
RiotRobot
22fcd34c60 Sanitise strings going into the html export CVE-2023-37259 2023-07-18 13:23:27 +01:00
Michael Telatynski
a72ee7236c
Enable Cypress experimentalMemoryManagement (#11281) 2023-07-18 10:37:39 +00:00
Germain
599d19d094
Restore -offline value (#11287) 2023-07-18 08:36:58 +00:00
Germain
c8ddeb8e8a
Fix bubble message layout avatar overlap (#11284) 2023-07-18 08:36:01 +00:00
Germain
10991736e4
Fix voice call tile size (#11285) 2023-07-18 08:35:53 +00:00
Michael Telatynski
d9d0b84152
Revert "Do not filter users post search (#9556)" (#11288) 2023-07-18 09:26:54 +01:00
Michael Telatynski
ba90e0b255
Fix layout of sessions tab buttons (#11279) 2023-07-18 00:47:38 +00:00
Michael Telatynski
a38ed4a25d
Update sliding sync proxy image for cypress (#11280) 2023-07-17 18:38:12 +00:00
Michael Telatynski
34532fbdd4
Don't bother showing redundant tooltip on space menu (#11276) 2023-07-17 18:36:58 +00:00
renovate[bot]
a62b1d1bec
Update cypress-io/github-action digest to 7ad5be0 (#11230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 18:01:35 +00:00
renovate[bot]
69a441d5c7
Update dependency @percy/cli to v1.26.2 (#11231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 18:01:04 +00:00
renovate[bot]
31d32f5718
Update sentry-javascript monorepo to v7.58.0 (#11232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 18:00:49 +00:00
Maximilian Malek
f1db2b3687
Do not filter users post search (#9556)
* Do not filter users post search

Signed-off-by: Maximilian Malek <maximilian.malek@uni-graz.at>

* Iterate

* Iterate

---------

Signed-off-by: Maximilian Malek <maximilian.malek@uni-graz.at>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-17 15:31:38 +00:00
Michael Telatynski
9fcd1f2434
Remove reply fallback from notifications (#11278)
* Remove reply fallback from notifications

* Add test
2023-07-17 14:04:09 +00:00
Michael Telatynski
8f000384fe
Replace sinon fake timers with jest timers (#11275) 2023-07-17 12:29:51 +00:00
Michael Telatynski
f04a0e2860
Populate info.duration for audio & video file uploads (#11225)
* Improve m.file m.image m.audio m.video types

* Populate `info.duration` for audio & video file uploads

* Fix tests

* Iterate types

* Improve coverage

* Fix test

* Add small delay to stabilise cypress test

* Fix test idempotency

* Improve coverage

* Slow down

* iterate
2023-07-17 12:07:58 +00:00
Michael Telatynski
8b8ca425d7
Hide widget menu button if it there are no options available (#11257)
* Hide widget menu button if it there are no options available

* Update snapshots
2023-07-17 10:37:07 +00:00
Germain
5d4153fa64
Fix colour regressions (#11273)
* Fix color contrast of notice events

Fixes https://github.com/vector-im/element-web/issues/25808

* Restore alert color for highlighted events

Fixes https://github.com/vector-im/element-web/issues/25788

* Fix quote border for highlighted events

Fixes https://github.com/vector-im/element-web/issues/25811

* Fix media background mixing with event highlighted

Fixes https://github.com/vector-im/element-web/issues/25812
2023-07-17 09:59:10 +00:00