Commit graph

45283 commits

Author SHA1 Message Date
Patrick Cloke
5c47142dab
Prep for matrix-js-sdk supporting intentional mentions. (#10431)
Add a method to the fake MatrixClient used in tests for compatibility with
changes in matrix-org/matrix-js-sdk#3092. This stops the downstream tests
from failing on that PR.
2023-03-22 16:22:19 -04:00
Eric Eastwood
ed88e0cdce
Prevent future date selection in jump to date (#10419)
You can still type in whatever date you want (native date input behavior) but the UI picker has future dates disabled.

Fix https://github.com/vector-im/element-web/issues/20800
2023-03-22 11:45:44 -05:00
Michael Weimann
3eb6a55b93
Tweak pill UI (#10417) 2023-03-22 13:27:24 +01:00
Suguru Hirahara
4c2b18c5d9
Ensure Percy take snapshots of a whole viewport (#10420)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-03-22 12:19:03 +00:00
Andy Balaam
ba36d2cc01
Improve strictNullChecks support in right_panel (#10415) 2023-03-22 12:15:26 +00:00
Michael Kaye
853b3f822d
Push cypress test results to kiwitcms not testrail (#10401) 2023-03-22 10:31:15 +00:00
Suguru Hirahara
a5fcdd7bfd
Add E2E test for FilePanel (#10400) 2023-03-22 10:38:57 +01:00
Andy Balaam
5116d823c7
Disable Percy snapshots that are flaky due to focus issues (#10416) 2023-03-22 08:40:08 +00:00
Andy Balaam
12f85778d8
Disable the "Login" Percy test since it is flaky (#10414) 2023-03-22 08:38:57 +00:00
Andy Balaam
9c29291600
Disable the "Polls Composer" Percy test since it is flaky (#10413) 2023-03-22 08:38:13 +00:00
Eric Eastwood
f7fe0e9d8b
Fix block/inline Element descendants error noise in NewRoomIntro.tsx (#10412)
Error before:
```
Warning: validateDOMNesting(...): <div> cannot appear as a descendant of <p>.
    at div
    at AccessibleButton (webpack-internal:///470:43:7)
    at span
    at p
    at li
    at NewRoomIntro (webpack-internal:///2063:77:71)
    at ol
    at div
    at div
    at AutoHideScrollbar (webpack-internal:///1020:37:5)
    at ScrollPanel (webpack-internal:///1106:69:5)
    at ErrorBoundary (webpack-internal:///2070:47:5)
    at MessagePanel (webpack-internal:///2060:169:5)
    at TimelinePanel (webpack-internal:///2095:113:5)
    at div
    at div
    at div
    at MainSplit (webpack-internal:///2019:31:5)
    at ErrorBoundary (webpack-internal:///2070:47:5)
    at main
    at RoomView (webpack-internal:///2018:330:5)
    at div
    at div
    at div
    at LoggedInView (webpack-internal:///1907:130:5)
    at ErrorBoundary (webpack-internal:///2070:47:5)
    at MatrixChat (webpack-internal:///1900:234:5)
```
2023-03-21 10:55:48 -05:00
Dominik Henneke
ef68650594
Implement MSC3973: Search users in the user directory with the Widget API (#10269)
* Add an action to search for users in the user directory according to MSC3973

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Fix linter errors

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Update the matrix-widget-api package to version 1.3.0

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Improve the test

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

---------

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-03-21 11:38:41 +00:00
Robin
aee4aeb90c
Update matrix-widget-api (#10409) 2023-03-21 10:25:17 +00:00
Michael Weimann
96d1b74ffc
Pillify event permalinks (#10392) 2023-03-21 10:23:20 +01:00
Suguru Hirahara
d8acdd1750
Fix profile resizer to make first character of a line selectable in IRC layout (#10396) 2023-03-21 10:10:13 +01:00
Michael Weimann
c238e72e47
Strictify audio-messages (#10410) 2023-03-21 09:08:44 +00:00
maheichyk
d4b81882e5
Show filterContainer if "UIComponent.filterContainer" is enabled (#10381)
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-03-21 09:06:43 +00:00
Eric Eastwood
22451901d1
Fix failing develop with mis-matched snapshots (#10411)
- `develop` failure: https://github.com/matrix-org/matrix-react-sdk/actions/runs/4470319896/jobs/7853678384
 - What happened?
    - Date separator markup updated in https://github.com/matrix-org/matrix-react-sdk/pull/10404
    - While some new snapshot tests added and merged in https://github.com/matrix-org/matrix-react-sdk/pull/10353
 - Merge trains could have helped
2023-03-20 11:52:23 -05:00
Eric Eastwood
bac1ca5355
Remove unreadable alt attribute from the room status bar warning icon (nonsense to screenreaders) (#10402)
And the other content like the title already describe what's going on sufficiently.

Split out from https://github.com/matrix-org/matrix-react-sdk/pull/8354
2023-03-20 11:05:03 -05:00
Eric Eastwood
7a68bd9cef
Fix big date separators when jump to date is enabled (#10404)
Fix https://github.com/vector-im/element-web/issues/22969
2023-03-20 11:03:36 -05:00
Eric Eastwood
5b2e12ca0c
Refactor custom logic to use the shared canResetTimeline() (#10403)
Split out from https://github.com/matrix-org/matrix-react-sdk/pull/8354#discussion_r852611407
2023-03-20 10:58:53 -05:00
renovate[bot]
28f217b035
Update all non-major dependencies (#10315)
* Update all non-major dependencies

* downgrade axe due to test failures

* ci: force rerun

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
2023-03-20 13:21:06 +01:00
Janne Mareike Koschinski
503df54bd6
Handle more edge cases in Space Hierarchy (#10280) 2023-03-20 10:54:24 +01:00
Andy Balaam
ca0dfb6c1e
Further improve performance with lots of hidden events (#10353)
* Avoid re-calculating shouldShowEvent in getReadReceiptsByShownEvent

* Test that uses a MainGrouper

* Cache more calls to shouldShowEvent
2023-03-20 09:50:07 +00:00
Eric Eastwood
bc60e59eda
Add stable unstable version for jump to date before v1.6 is fully supported on a homeserver (#10398)
Add stable unstable version (`org.matrix.msc3030.stable`) for jump to date [before `v1.6` is fully supported on a homeserver](https://github.com/matrix-org/synapse/issues/15089).

Related to https://github.com/vector-im/element-web/issues/24362 but does not solve immediately because Synapse does not supply `org.matrix.msc3030.stable` yet

Also refactored `ServerSupportUnstableFeatureController` to support multiple feature groups where any one of them will enable the setting. All features in a feature group are required. This way having either `org.matrix.msc3030` or `org.matrix.msc3030.stable` will enable the jump to date feature flag with a config of `[["org.matrix.msc3030"], ["org.matrix.msc3030.stable"]]`
2023-03-17 15:08:17 -05:00
Eric Eastwood
f3f87054b4
MSC3030 jump to date stable is part of Matrix v1.6 (#10397)
See https://matrix.org/blog/2023/02/14/matrix-v-1-6-release
2023-03-17 12:31:36 -05:00
Jaiwanth
747d65f1f9
Increase space panel collapse clickable area (#6084) 2023-03-17 13:11:42 +00:00
Suguru Hirahara
c9e7aaf24b
Add a basic E2E test for event tiles (#10306)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-03-17 08:48:34 +01:00
Kerry
b2c046689e
Apply strictNullChecks to src/components/views/dialogs/devtools/* (#10391) 2023-03-16 23:58:41 +00:00
Kerry
5211b628d6
add fallback reply for poll start (#10380) 2023-03-16 21:27:56 +00:00
Michael Weimann
a86a8e7f8e
Pillify permalinks to rooms and users (#10388) 2023-03-16 15:01:09 +01:00
Michael Telatynski
d850c95099
Respect user cancelling upload flow by dismissing spinner (#10373) 2023-03-16 12:24:22 +00:00
Michael Telatynski
1c9ea423c9
Conform more code to strictNullChecks (#10374)
* Apply `strictNullChecks` to `src/components/views/room_settings/*`

* Restore tsconfig.json

* Conform more code to `strictNullChecks`

* Iterate

* Update matrix-widget-api

* Conform more code to `strictNullChecks`
2023-03-16 11:07:29 +00:00
Michael Telatynski
9c816bb720
Conform more code to strictNullChecks (#10383
* Update matrix-widget-api

* Conform more code to `strictNullChecks`

* Iterate
2023-03-16 10:35:17 +00:00
Michael Weimann
aae9dfbb7d
Strictify voice-broadcast (#10393) 2023-03-16 10:55:06 +01:00
Michael Weimann
6d15b05b86
Fix wrong E2E icon in room header for unencrypted local room (#10394) 2023-03-16 10:54:54 +01:00
Kerry
2344eaab1c
Poll history - remove active development labs flag (#10357)
* add poll history tab to room settings

* test poll history in room settings

* remove posthog tracking for poll his

* remove labs flag for poll history

* i18n
2023-03-15 20:54:12 +00:00
Kerry
31a959efe9
Apply strictNullChecks to src/resizer/* (#10378) 2023-03-15 20:27:59 +00:00
Michael Weimann
37d218eb61
Stricitfy rageshake (#10389) 2023-03-15 17:32:31 +00:00
Michael Telatynski
a4262cd8cf
Fix [object Object] in feedback metadata (#10390) 2023-03-15 16:53:49 +00:00
Michael Telatynski
1e651bf1a5
Clear electron data when logging out (#10386) 2023-03-15 15:56:29 +00:00
Michael Telatynski
f37ae1e230
Fix sanitise html warning about unsafe tags (#10384) 2023-03-15 12:56:15 +00:00
Dominik Henneke
0cfd97b180
Add API params to mute audio and/or video in Jitsi calls by default (#10376)
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-03-15 13:51:00 +01:00
RiotRobot
c6b6480bb7 Reset matrix-js-sdk back to develop branch 2023-03-15 12:50:19 +00:00
RiotRobot
f4abc9095d Resetting package fields for development 2023-03-15 12:50:03 +00:00
RiotRobot
158111803e Merge branch 'master' into develop 2023-03-15 12:49:57 +00:00
RiotRobot
2d1d1fb585 v3.68.0 2023-03-15 12:49:41 +00:00
RiotRobot
db8af25ae1 Prepare changelog for v3.68.0 2023-03-15 12:49:39 +00:00
Michael Telatynski
87fb493783
Fix pinned messages card saying nothing pinned while loading (#10385) 2023-03-15 12:47:21 +00:00
RiotRobot
9721bf4be5 Upgrade matrix-js-sdk to 23.5.0 2023-03-15 12:46:02 +00:00