Michael Telatynski
1281c0746b
Conform more of the codebase to strictNullChecks
( #10731 )
2023-04-28 09:45:36 +01:00
Michael Telatynski
457c1d011a
Add UIFeature.locationSharing to hide location sharing ( #10727 )
...
* Add UIFeature.locationSharing to hide location sharing
* Iterate
2023-04-28 07:46:33 +00:00
Andy Balaam
aa8c0f5cc7
Honour feature toggles in guest mode ( #10651 )
...
* Honour feature toggles in guest mode
* Suppress TS warning about returning null MatrixClient
* Revert "Suppress TS warning about returning null MatrixClient"
Don't ts-ignore this - we will eventually fix it via the strict work.
This reverts commit 0c657e6afd4c69d07c39bc2783184f36feaf940f.
2023-04-24 10:02:17 +00:00
Michael Telatynski
1ae0662872
Update setting description to match reality ( #10600 )
2023-04-14 08:58:08 +00:00
Michael Telatynski
cefd94859c
Conform src/components/views/messages/*
code to strictNullChecks
( #10461 )
2023-03-29 08:22:35 +01:00
RiotRobot
0475e7107f
Merge branch 'master' into develop
2023-03-28 14:30:52 +01:00
Michael Weimann
c30b2637c5
Changes for v3.69.0
2023-03-28 11:23:16 +01:00
Patrick Cloke
e19127f8ad
Implement MSC3952: intentional mentions ( #9983 )
...
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.
2023-03-23 11:47:40 +00:00
Michael Weimann
96d1b74ffc
Pillify event permalinks ( #10392 )
2023-03-21 10:23:20 +01: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
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
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
Michael Telatynski
e3930fb8b0
Show all labs even if incompatible, with appropriate tooltip explaining requirements ( #10369 )
...
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-03-15 08:37:41 +00:00
Michael Telatynski
503df62191
Conform more of the codebase to strictNullChecks
( #10358
...
* Conform more of the codebase to `strictNullChecks`
* Fix types
* Iterate
* Iterate
2023-03-13 15:07:20 +00:00
Michael Telatynski
4b8bada24b
Apply strictNullChecks
around the codebase ( #10302
...
* Apply `strictNullChecks` around the codebase
* Iterate PR
2023-03-07 13:19:18 +00:00
Michael Telatynski
ad8d27d2b2
Fix some features not being configurable via features
( #10276 )
2023-03-03 13:31:51 +00:00
Michael Telatyński
eca28ac2f3
Apply strictNullChecks to src/settings/* ( #10252
...
* Apply strictNullChecks to src/settings/*
* Fix inherited types
2023-02-28 10:24:59 +00:00
Kerry
168f6df7c8
Filter NSFW content in room directory ( #10196 )
...
* add SpotlightSearch.showNsfwPublicRooms setting
* use setting in publicroomsearch
* add nsfw keyword filter and setting for room directory
* unit tests
* remove assertions
2023-02-22 10:23:52 +00:00
Germain
8c22584f64
Remove threads labs flag and the ability to disable threads ( #9878 )
2023-02-20 14:46:07 +00:00
Hugh Nimmo-Smith
a854e941cc
Release Sign in with QR out of labs ( #10182 )
2023-02-17 09:27:57 +00:00
Michael Telatynski
4574c665ea
Conform more code to strict null checking ( #10167 )
...
* Conform more code to strict null checking
* Delint
* Iterate PR based on feedback
2023-02-16 17:21:44 +00:00
Hugh Nimmo-Smith
f0359a5c18
Revert "Release Sign in with QR out of labs ( #10066 )" ( #10176 )
2023-02-16 12:10:52 +00:00
Hugh Nimmo-Smith
5123d7e641
Release Sign in with QR out of labs ( #10066 )
2023-02-16 09:18:12 +00:00
Michael Telatynski
145a5a8a8d
Conform more code to strict null checking ( #10153 )
...
* Conform more code to strict null checking
* Conform more code to strict null checking
* Iterate
* Iterate
2023-02-15 13:36:22 +00:00
Michael Telatynski
da7aa4055e
Conform more of the code base to strict null checking ( #10147 )
...
* Conform more of the code base to strict null checking
* More strict fixes
* More strict work
* Fix missing optional type
* Iterate
2023-02-13 17:01:43 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Suguru Hirahara
1f9db5d41d
Use '_t' for caption to have strings localized ( #10143 )
...
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-02-13 09:49:30 +00:00
Florian Duros
5b088f989f
Update labs flag description for RTE ( #10058 )
2023-02-02 11:23:03 +01:00
Kerry
923ad4323b
Poll history - setup labs setting ( #10039 )
...
* add settings while under development
* very basic tests for roomsummarycard
* empty poll history dialog and option in room summary
* pollS history in settings
* use more user-centric selectors in roomsummarycard test
2023-02-01 20:57:48 +00:00
Andy Balaam
d84509d8d3
Implement MSC3946 for AdvancedRoomSettingsTab ( #9995 )
2023-01-27 14:07:05 +00:00
Michael Telatynski
030b7e90bf
Enable @typescript-eslint/explicit-function-return-type
in /src ( #9788 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
* Enable `@typescript-eslint/explicit-function-return-type` in /src
* Fix types
* tsc strict fixes
* Delint
* Fix test
* Fix bad merge
2023-01-12 13:25:14 +00:00
Germain
d4f247d1fe
Merge branch 'develop' into gsouquet/threads-forceenablelabsflag
2023-01-11 11:51:57 +00:00
Travis Ralston
b642df98e9
Revert "Revert "Remove extensible events v1 experimental rendering ( #9881 )""
...
This reverts commit b4f2db22df
.
2023-01-10 13:51:56 -07:00
Travis Ralston
b4f2db22df
Revert "Remove extensible events v1 experimental rendering ( #9881 )"
...
This reverts commit 67396020e8
.
2023-01-10 13:31:48 -07:00
Travis Ralston
67396020e8
Remove extensible events v1 experimental rendering ( #9881 )
...
* Remove extensible events v1 experimental rendering
With the changes to extensible events in v2 largely being contained to a room version, we don't need to have this code or the labs flag anymore. If the labs flag becomes useful in the future, it will be re-added.
* Run prettier
2023-01-10 09:21:03 -07:00
Germain
7ca1b385d9
Force enable threads labs flag
2023-01-09 12:38:19 +00:00
Michael Weimann
5d7341b373
Remove broadcast under development note ( #9853 )
2023-01-03 15:45:37 +01:00
Michael Weimann
a2777d3a03
Add labs setting to force small broadcast chunks ( #9806 )
2022-12-23 13:45:26 +00:00
Germain
134e3d7ae8
Make threads disabled by default ( #9810 )
...
* Make threads disable by default
* restore e2ee tests
* fix threads e2e spec for beta joining
2022-12-21 15:53:23 +00:00
Germain
3ec75fdd3c
Remove RoomList sorting settings ( #9781 )
2022-12-19 11:57:57 +00:00
Richard van der Hoff
6ec6d44c96
Add a config flag to enable the rust crypto-sdk ( #9759 )
...
This PR adds an option to `config.json` which will make the js-sdk use the rust crypto sdk, instead of the libolm implementation.
To use it, you need to add something like this to `config.json`:
```
"features": {
"feature_rust_crypto": true
},
```
We don't (yet) have any way to migrate a device between implementations, so the setting that was in use when you log in is persisted to the device; it is *visible* via the labs section but cannot currently be changed.
This is part of https://github.com/vector-im/element-web/issues/21972 , and enables the functionality added to the js-sdk in https://github.com/matrix-org/matrix-js-sdk/pull/2969 .
2022-12-16 17:10:26 +00:00
Michael Telatynski
f1e8e7f140
Enable @typescript-eslint/explicit-member-accessibility
on /src ( #9785 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
2022-12-16 12:29:59 +00:00
Germain
2d2755d145
🧵 Enable threads by default ( #9736 )
...
* Delabs threads
* remove threads reload when labs is toggled
* Fix ts strict
* fix rebase mistake
* remove .only
* fix pr comments
* re-introduce backwards compat
* Fix export test
* Fix SearchREsultTile test
* strict ts
2022-12-13 15:09:15 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Germain
3a501003e2
Add setting to hide bold notifications ( #9705 )
2022-12-06 09:59:17 +00:00
Kerry
81098b9914
Add config setting to disable bulk unverified sessions nag ( #9657 )
...
* test bulk unverified sessions toast behaviour
* unverified sessions toast text tweak
* only show bulk unverified sessions toast when current device is verified
* add Setting for BulkUnverifiedSessionsReminder
* add build config for BulkUnverifiedSessionsReminder
* add more assertions for show/hide toast, fix strict errors
* fix strict error
2022-12-02 03:24:45 +00:00
Eric Eastwood
ca58617cee
Add more debugging for why audio ring/ringback might not be playing ( #9642 )
...
* Add more debugging for why audio might not be playing
More debugging for https://github.com/vector-im/element-web/issues/20832
* Listen to events from <audio>
* Make it easier to spot event type
* Move to start/stop functions
* Fix some lints
* Protect from potentially undefined element
* Needs more mocked functions
* More code coverage
* Test formatting
* Add return types
See https://github.com/matrix-org/matrix-react-sdk/pull/9642#discussion_r1036274817
* Add comment on when magic comment is applicable
See https://github.com/matrix-org/matrix-react-sdk/pull/9642#discussion_r1036258757
2022-12-01 04:08:09 +00:00
Šimon Brandner
b0dfb2262e
Separate labs and betas more clearly ( #8969 )
...
* Separate labs and betas more clearly
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Capitalize `L` in `Labs`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Use `labsSections` instead of `SdkConfig.get("show_labs_settings")`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Link to `betas.md` instead of `labs.md`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Change labs label back to `Labs`
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve labs section copy
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve labs flags copy
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix cypress tests
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Reduce diff
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove empty line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix comment
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Remove margin-bottom for the last child
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve code based on review
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix ts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve ts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Fix ts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
* Improve TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-11-30 21:20:26 +00:00
László Várady
afdf289a78
Advanced audio processing settings ( #8759 )
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Fixes https://github.com/vector-im/element-web/issues/6278
Fixes undefined
2022-11-09 20:14:55 +00:00