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
Germain
d4f247d1fe
Merge branch 'develop' into gsouquet/threads-forceenablelabsflag
2023-01-11 11:51:57 +00:00
Kerry
b1c32995c6
Device manager - prune client information events after remote sign out ( #9874 )
...
* prune client infromation events from old devices
* test client data pruning
* remove debug
* strict
* Update src/components/views/settings/devices/useOwnDevices.ts
Co-authored-by: Michael Weimann <michaelw@matrix.org >
* improvements from review
Co-authored-by: Michael Weimann <michaelw@matrix.org >
2023-01-10 07:01:50 +01:00
Germain
7ca1b385d9
Force enable threads labs flag
2023-01-09 12:38:19 +00:00
Michael Weimann
f34c1609c3
Disable bubbles for broadcasts ( #9860 )
2023-01-05 12:33:28 +01:00
Michael Weimann
488a08a25e
Allow reactions for broadcasts ( #9856 )
2023-01-05 08:40:09 +01:00
alunturner
432ce3ca31
Improve switching between rich and plain editing modes ( #9776 )
...
* allows switching between modes that retains formatting
* updates rich text composer dependency to 0.13.0 (@matrix-org/matrix-wysiwyg)
* improves handling of enter keypresses when ctrlEnterTosend setting is true in plain text editor
* changes the message event content when using the new editor
* adds tests for the changes to the plain text editor
2023-01-04 12:57:09 +00:00
grimhilt
6ad70b0565
Fix export with attachments on formats txt and json ( #9851 )
...
* set file extension to .zip when needed
* Apply prettier formatting
Co-authored-by: grimhilt <grimhilt@users.noreply.github.com >
2023-01-03 07:53:33 +01:00
Michael Weimann
064a5ad422
Show regular avatar for broadcasts ( #9835 )
2022-12-29 10:03:24 +00:00
Germain
e9224f6fce
Add mark as read option in room setting ( #9798 )
2022-12-22 13:18:38 +00:00
Michael Weimann
b81582d045
Improve live voice broadcast detection by testing if the started event has been redacted ( #9780 )
2022-12-22 10:37:07 +00:00
renovate[bot]
af3715821b
Update dependency maplibre-gl to v2 ( #9699 )
...
* Update dependency maplibre-gl to v2
* update types and mocks for maplibre 2.0
* prettier + strict fix
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kerry Archibald <kerrya@element.io >
2022-12-18 23:17:15 +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
Michael Weimann
51554399fb
Implement broadcast message preview ( #9762 )
2022-12-16 11:01:16 +00:00
Kerry
aeb9f4373f
Device manager - use deleteAccountData to prune device manager client information events ( #9734 )
2022-12-14 04:59:23 +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
Faye Duxovni
43f175892a
Fix Prettier errors that slipped past CI ( #9741 )
2022-12-12 15:43:29 -07:00
Michael Weimann
27c5b793e9
Merge branch 'develop' into weeman1337/prettier
2022-12-12 16:09:11 +01:00
Michael Weimann
57e1822add
Add voice broadcast ended message ( #9728 )
2022-12-12 16:03:56 +01:00