Michael Weimann
df89d2ce28
Check profiles before starting a DM ( #10472 )
2023-04-05 13:13:51 +02:00
Michael Telatynski
bc60a9b594
Conform more of the codebase to strictNullChecks
( #10504
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
2023-04-04 11:41:46 +01:00
Eric Eastwood
2ebec3a3c7
Remove orphaned GenericError class ( #10500 )
...
Originally introduced in
https://github.com/matrix-org/matrix-react-sdk/pull/8329
All usages were removed in
https://github.com/matrix-org/matrix-react-sdk/pull/9605
This error also has problems with showing tranlsated versions in the logs.
Part of https://github.com/vector-im/element-web/issues/9597
We should be using the new `UserFriendlyError` for this kind of thing anyway.
Introduced in https://github.com/matrix-org/matrix-react-sdk/pull/10440
2023-04-04 02:46:27 -05:00
Kerry
81a4498a8f
Apply strictNullChecks
to src/utils/*!exportUtils
( #10455
...
* Apply `strictNullChecks` to `src/utils/exportUtils`
* strict fix
* fix strictNullChecks issues in some utils
* fix error message
* test coverage
* lint
* more strictNullChecks
* small optimisation for getUniqueRoomsWithIndividuals
* tidy
* test coverage
2023-04-03 09:26:55 +01:00
Eric Eastwood
ff1468b6d3
Replace newTranslatableError
with UserFriendlyError
( #10440
...
* Introduce UserFriendlyError
* Replace newTranslatableError with UserFriendlyError
* Remove ITranslatableError
* Fix up some strict lints
* Document when we/why we can remove
* Update matrix-web-i18n
Includes changes to find `new UserFriendlyError`,
see https://github.com/matrix-org/matrix-web-i18n/pull/6
* Include room ID in error
* Translate fallback error
* Translate better
* Update i18n strings
* Better re-use
* Minor comment fixes
2023-03-31 08:30:43 +01:00
Michael Weimann
9aef1874db
Strictify stores/room-list
( #10474 )
2023-03-30 09:06:50 +01:00
Kerry
9a733a6444
Apply strictNullChecks
to src/utils/exportUtils
( #10379 )
...
* Apply `strictNullChecks` to `src/utils/exportUtils`
* strict fix
* test coverage
* lint
* test coverage
* one more test
2023-03-29 21:47:07 +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
Kerry
ae50eee135
Apply strictNullChecks
to src/utils/pillify.tsx
( #10456 )
...
* apply strictNullChecks to src/utils/pillify.tsx
* include change to utility
* apply strictNullChecks to src/utils/permalinks
2023-03-28 10:07:49 +13:00
Michael Weimann
aec454dd6f
Add UserProfilesStore
, LruCache
and cache for user permalink profiles ( #10425 )
2023-03-27 10:07:43 +02:00
Michael Telatynski
c225b8ec29
Conform more code to strictNullChecks
( #10444
...
* Conform more code to `strictNullChecks`
* Fix tests
* Fix tests
2023-03-27 08:01:09 +01:00
Michael Weimann
ba2608ec74
Add m.direct
filter / validation ( #10436 )
2023-03-27 08:37:35 +02:00
Justin Carlson
332d1268a4
Fix creatorUserId is required
error when opening sticker picker ( #10423 )
...
* Use sender if sticker picker widget does not have creatorUserId
* Add creatorUserId when creating sticker picker widgets
* Add e2e test for stickerpicker widget missing creatorUserId
* Fix stickerpicker widget event data in e2e tests
* Fix userId in stickerpicker e2e tests
* Fix linter errors
2023-03-23 17:25:16 +00:00
Andy Balaam
ba36d2cc01
Improve strictNullChecks support in right_panel ( #10415 )
2023-03-22 12:15:26 +00:00
Michael Weimann
96d1b74ffc
Pillify event permalinks ( #10392 )
2023-03-21 10:23:20 +01: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
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 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
Michael Telatynski
8cb8cd4eb1
Conform more code to strictNullChecks
( #10368
...
* Conform more code to `strictNullChecks`
* Iterate
2023-03-14 11:09:35 +00:00
Kerry
72404d7216
Apply strictNullChecks
to src/utils/beacon/*
( #10337 )
...
* strictnullchecks fixes in utils/beacon
* user filterBoolean
2023-03-13 21:55:50 +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
127a3b667c
Conform more of the codebase to strictNullChecks
( #10350
...
* Conform more of the codebase to `strictNullChecks`
* Iterate
* Generics ftw
* Iterate
2023-03-10 14:55:06 +00:00
Michael Weimann
a9161981e2
Fix start DM with pending third party invite ( #10347 )
...
* Fix start DM with pending third party invite
* Make the fix more clearly visible
---------
Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
Co-authored-by: Janne Mareike Koschinski <janne@kuschku.de>
(cherry picked from commit d53e91802d
)
2023-03-10 14:41:04 +00:00
Michael Weimann
d53e91802d
Fix start DM with pending third party invite ( #10347 )
...
* Fix start DM with pending third party invite
* Make the fix more clearly visible
---------
Co-authored-by: Janne Mareike Koschinski <jannemk@element.io>
Co-authored-by: Janne Mareike Koschinski <janne@kuschku.de>
2023-03-10 14:39:53 +00:00
Andy Balaam
421c1b9281
Support dynamic room predecessors in leave-behaviour ( #10340 )
2023-03-09 14:49:59 +00:00
Michael Telatynski
01d7b795ab
Silence sanitize-html warning ( #10334 )
2023-03-09 09:08:42 +00:00
Kerry
cef821c21b
Polls: sync push rules on changes to account_data ( #10287 )
...
* basic sync setup
* formatting
* get loudest value for synced rules
* more types
* test synced rules in notifications settings
* type fixes
* noimplicitany fixes
* remove debug
* tidying
* extract updatePushRuleActions fn to utils
* extract update synced rules
* just synchronise in one place?
* monitor account data changes AND trigger changes sync in notifications form
* lint
* setup LoggedInView test with enough mocks
* test rule syncing in LoggedInView
* strict fixes
* more comments
* one more comment
2023-03-09 00:20:06 +00:00
Janne Mareike Koschinski
2b39eac7b5
Handle more edge cases in ACL updates ( #10279 )
2023-03-08 16:33:58 +01:00
Michael Weimann
ad26925bb6
Refactor pill and add tests ( #10304 )
2023-03-08 13:06:50 +01:00
Michael Telatynski
c0e40217f3
Apply strictNullChecks
to src/stores/widgets/* ( #10324 )
...
* Apply `strictNullChecks` to src/stores/widgets/*
* Iterate
* Iterate
2023-03-08 11:48:58 +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
32aa18ff2e
Apply strictNullChecks
to src/components/views/auth/*
( #10299
...
* Apply `strictNullChecks` to src/components/views/auth/*
* Iterate PR
2023-03-07 10:45:55 +00:00
Michael Weimann
303b878b17
Pillify http and non-prefixed matrix.to links ( #10277 )
2023-03-06 12:45:37 +01:00
Michael Weimann
db6ee53535
Implement third-party invite waiting room ( #10229 )
2023-03-06 12:08:04 +01:00
Will Hunt
2d2b40ddac
Remove hosting link provider from Element ( #10270 )
...
* Remove hosting link provider from Element
* fix whitespace
2023-03-02 17:36:16 +00:00
Kerry
de6a1a661c
apply strictnullchecks to src/components/views/beacon/* ( #10272 )
2023-03-02 09:58:05 +00:00
Michael Weimann
ffa047be68
Find DMs with pending third-paty invites ( #10256 )
2023-03-02 09:44:12 +01:00
Michael Telatyński
8ad21e6492
Apply strictNullChecks to src/async-components/* ( #10251
...
* Apply strictNullChecks to src/async-components/*
* Iterate
2023-02-28 10:51:27 +00:00
Michael Telatyński
629e5cb01f
Properly type Modal props to ensure useful typescript checking ( #10238
...
* Properly type Modal props to ensure useful typescript checking
* delint
* Iterate
* Iterate
* Fix modal.close loop
* Iterate
* Fix tests
* Add comment
* Fix test
2023-02-28 10:31:48 +00:00
Michael Telatyński
12dd799301
Fix double translation issue ( #10240
...
* Fix double translation issue
* Remove some redundant string concatenations
2023-02-27 09:15:27 +00:00
Michael Telatynski
76b82b4b2b
Make more code conform to strict null checks ( #10219
...
* Make more code conform to strict null checks
* Fix types
* Fix tests
* Fix remaining test assertions
* Iterate PR
2023-02-24 15:28:40 +00:00
Michael Weimann
880428ab94
Update „new device“ toast texts and buttons ( #10200 )
2023-02-23 10:25:33 +01:00
grimhilt
fbeddba782
Add link to next file in the export ( #10190 )
...
Co-authored-by: grimhilt <grimhilt@users.noreply.github.com>
2023-02-22 10:29:49 +00:00
Germain
8c22584f64
Remove threads labs flag and the ability to disable threads ( #9878 )
2023-02-20 14:46:07 +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
Michael Weimann
8feed1a225
Try to resolve emails before creating a DM ( #10164 )
2023-02-16 14:17:43 +01:00