Implements the intentional mentions feature of MSC3952 (behind
a labs flag).
If enabled, this will send an org.matrix.msc3952.mentions property
on events that will contain the user IDs and/or whether the room is
being mentioned. These mentions also gets propagated via some
custom behaviour for replies and edits.
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.
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)
```
* 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>
* 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>
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"]]`
* 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`
* 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