Commit Graph

62531 Commits

Author SHA1 Message Date
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 cc8afed196 Avoid using deprecated config.json key casing (#25833)
* Avoid using deprecated config.json key casing

* Fix configs s'more
2023-07-24 07:51:51 +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 2753bc9f8e Reset matrix-react-sdk back to develop branch 2023-07-18 15:22:06 +01:00
RiotRobot 1c420b436d Reset matrix-js-sdk back to develop branch 2023-07-18 15:21:32 +01:00
RiotRobot 19d663d052 Merge branch 'master' into develop 2023-07-18 15:19:24 +01:00
RiotRobot 494cb39984 v1.11.36 v1.11.36 2023-07-18 15:13:04 +01:00
RiotRobot 29ca7a4bd9 Prepare changelog for v1.11.36 2023-07-18 15:13:03 +01:00
RiotRobot af929fcf0d Upgrade matrix-react-sdk to 3.76.0 2023-07-18 15:09:36 +01:00
RiotRobot 9be4fcf7d2 Upgrade matrix-js-sdk to 27.0.0 2023-07-18 15:09:16 +01: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 c1bbaf6c02 Removing stale labs flag (#25823) 2023-07-18 09:37:09 +01: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] 4cf4dc9a3d Lock file maintenance (#25145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 18:11:39 +00:00
renovate[bot] 44dde72950 Update docker/setup-buildx-action digest to 4c0219f (#25757)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 19:01:38 +01:00