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
Michael Telatynski
e8b92b308b
Conform more code to strict null checking ( #10169 )
...
* Conform more code to strict null checking
* delint
* Iterate
* delint
* Fix bad test
2023-02-16 09:38:44 +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
Suguru Hirahara
ea4000cf1e
Fix 'Failed check: Ellipsis' on Weblate ( #10144 )
...
* Fix 'Failed check: Ellipsis' on Weblate
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Fix tests
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Remove white space characters before the horizontal ellipsis from RoomPreviewBar
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* yarn run i18n
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
* Additional change
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
---------
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-02-14 09:05:01 +00:00
Kerry
b4565f5024
add Ended poll text to ended poll reply formatted body ( #10146 )
2023-02-13 22:34:47 +00:00
Johannes Marbach
de864f15bc
Fix strict mode issues
2023-02-13 20:25:43 +01:00
Johannes Marbach
d0e9331f07
Merge branch 'develop' into johannes/find-myself
2023-02-13 20:16:04 +01: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
Michael Weimann
a6eee32c66
Examine all m.direct rooms to find a DM as fallback ( #10127 )
2023-02-13 08:46:53 +01:00
Johannes Marbach
f842e319de
Merge branch 'develop' into johannes/find-myself
2023-02-08 16:42:14 +01:00
Kerry
583050c8c0
Render poll end events in timeline ( #10027 )
...
* wip
* remove dupe
* use poll model relations in all cases
* update mpollbody tests to use poll instance
* update poll fetching login in pinned messages card
* add pinned polls to room polls state
* add spinner while relations are still loading
* handle no poll in end poll dialog
* strict errors
* render a poll body that errors for poll end events
* add fetching logic to pollend tile
* extract poll testing utilities
* test mpollend
* strict fix
* more strict fix
* strict fix for forwardref
* update poll test utils
* implicit anys
* tidy and add jsdoc
2023-02-07 21:12:39 +00:00
Johannes Marbach
c5fa3fc796
Merge branch 'develop' into johannes/find-myself
2023-02-07 20:35:06 +01:00
Michael Telatynski
35d222bac6
Add @typescript-eslint/no-base-to-string ( #10091 )
2023-02-07 10:08:10 +00:00
Kerry Archibald
06d8755f6b
add tests for geolocate self on map views
2023-02-07 16:51:58 +13:00
Johannes Marbach
93682e9d13
Further type fixes
2023-02-04 20:29:50 +01:00
Johannes Marbach
a3d09937d6
Fix types
2023-02-04 20:22:03 +01:00
Johannes Marbach
e5a7e83b48
Add option to find own location in map views
2023-02-04 19:58:19 +01:00
Michael Telatynski
9743852380
Improve typescript null checking in places ( #10073 ( #10073
...
* Improve typescript null checking in places
* Iterate
* Fix Timer.ts
2023-02-03 15:27:47 +00:00
Clark Fischer
53a9b6447b
Fix MessageEditHistoryDialog crashing on complex input ( #10018 )
...
* noImplicitAny fixes for MessageDiffUtils
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
* Add tests for MessageDiffUtils
Adds mostly snapshot tests for MessageDiffUtils to guarantee consistent
behavior.
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
* Strict mode fixes for MessageDiffUtils
Gets `MessageDiffUtils` to pass under `tsc --strict`.
Fixes https://github.com/vector-im/element-web/issues/23665 - no longer errors,
though it still isn't correct.
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
* Remove obsolete DiffDOM workaround
Workaround is no longer necessary as of DiffDOM 4.2.1
See https://github.com/fiduswriter/diffDOM/issues/90
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
---------
Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
2023-01-31 09:55:20 +00:00
Clark Fischer
4c1e4f5127
Fix "[object Promise]" appearing in HTML exports ( #9975 )
...
Fixes https://github.com/vector-im/element-web/issues/24272
2023-01-30 14:31:32 +00:00
Germain
3e2bf5640e
Update to supportsThreads ( #9907 )
2023-01-30 12:20:11 +00:00
Michael Weimann
ed06ed0185
Fix seekbar position for zero length audio ( #9949 )
2023-01-23 17:28:31 +01:00
Michael Weimann
fe0d3a7668
Error handling if broadcast events could not be sent ( #9885 )
2023-01-17 07:57:59 +00:00
Travis Ralston
badb2c4b27
Use js-sdk imports for poll event types instead of events-sdk ( #9904 )
...
* Use js-sdk imports for poll event types instead of events-sdk
* Attempt to appease some tsc --strict errors
* Manually create poll response in cypress test
2023-01-13 10:02:33 -07: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