Commit graph

215 commits

Author SHA1 Message Date
Michael Weimann
aec454dd6f
Add UserProfilesStore, LruCache and cache for user permalink profiles () 2023-03-27 10:07:43 +02:00
Michael Weimann
ba2608ec74
Add m.direct filter / validation () 2023-03-27 08:37:35 +02:00
Eric Eastwood
ed88e0cdce
Prevent future date selection in jump to date ()
You can still type in whatever date you want (native date input behavior) but the UI picker has future dates disabled.

Fix https://github.com/vector-im/element-web/issues/20800
2023-03-22 11:45:44 -05:00
Eric Eastwood
7a68bd9cef
Fix big date separators when jump to date is enabled ()
Fix https://github.com/vector-im/element-web/issues/22969
2023-03-20 11:03:36 -05:00
Dominik Henneke
0cfd97b180
Add API params to mute audio and/or video in Jitsi calls by default ()
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-03-15 13:51:00 +01:00
Kerry
72404d7216
Apply strictNullChecks to src/utils/beacon/* ()
* strictnullchecks fixes in utils/beacon

* user filterBoolean
2023-03-13 21:55:50 +00:00
Michael Weimann
d53e91802d
Fix start DM with pending third party invite ()
* 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 () 2023-03-09 14:49:59 +00:00
Michael Telatynski
af1ec76149
Fix jest/no-conditional-expect lint and enable it () 2023-03-07 13:58:10 +00:00
Michael Weimann
303b878b17
Pillify http and non-prefixed matrix.to links () 2023-03-06 12:45:37 +01:00
Michael Weimann
db6ee53535
Implement third-party invite waiting room () 2023-03-06 12:08:04 +01:00
Michael Weimann
ffa047be68
Find DMs with pending third-paty invites () 2023-03-02 09:44:12 +01:00
Michael Weimann
5398db21ad
Add ESLint Jest () 2023-03-01 16:23:35 +01:00
Michael Telatyński
629e5cb01f
Properly type Modal props to ensure useful typescript checking (
* 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
f40d15388c
Update tests to prefer RTL over Enzyme (
* Update tests to prefer RTL over Enzyme

* Strict types
2023-02-28 08:58:23 +00:00
Michael Telatynski
76b82b4b2b
Make more code conform to strict null checks (
* 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
grimhilt
fbeddba782
Add link to next file in the export ()
Co-authored-by: grimhilt <grimhilt@users.noreply.github.com>
2023-02-22 10:29:49 +00:00
Michael Telatynski
4574c665ea
Conform more code to strict null checking ()
* 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 () 2023-02-16 14:17:43 +01:00
Michael Telatynski
e8b92b308b
Conform more code to strict null checking ()
* Conform more code to strict null checking

* delint

* Iterate

* delint

* Fix bad test
2023-02-16 09:38:44 +00: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 ()
* 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 ()
* 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 () 2023-02-13 08:46:53 +01:00
Kerry Archibald
06d8755f6b add tests for geolocate self on map views 2023-02-07 16:51:58 +13:00
Kerry
ebb8408f28
Poll history - read only list of polls in current timeline ()
* add settings while under development

* very basic tests for roomsummarycard

* empty poll history dialog and option in room summary

* pollS history in settings

* render an ugly list of polls in current timeline

* readonly poll history list items

* fix scroll window

* use short year code in date format, tidy

* no results message + tests

* strict fix

* mock intldatetimeformat for stable date formatting

* extract date format fn into date-utils

* jsdoc
2023-02-02 21:39:23 +00:00
Michael Telatynski
21c3967010
Revert "Member avatars without canvas" (
* Revert "Apply more general fix for base avatar regressions ()"

This reverts commit 371a3c0d36.

* Revert "Fix layout and visual regressions around default avatars ()"

This reverts commit 0d1fce37b2.

* Revert "Member avatars without canvas ()"

This reverts commit a8aa4de4b4.

* Update snapshots
2023-02-02 10:22:19 +00:00
Clark Fischer
53a9b6447b
Fix MessageEditHistoryDialog crashing on complex input ()
* 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
Michael Telatynski
5095bc0427
Fix new tests introduced by html export tweaks () 2023-01-30 15:52:38 +00:00
Clark Fischer
4c1e4f5127
Fix "[object Promise]" appearing in HTML exports ()
Fixes https://github.com/vector-im/element-web/issues/24272
2023-01-30 14:31:32 +00:00
Germain
3e2bf5640e
Update to supportsThreads () 2023-01-30 12:20:11 +00:00
Clark Fischer
222f8a919d
Fix failing userAgentParser tests () 2023-01-25 18:14:15 +00:00
Michael Weimann
ed06ed0185
Fix seekbar position for zero length audio () 2023-01-23 17:28:31 +01:00
Travis Ralston
badb2c4b27
Use js-sdk imports for poll event types instead of events-sdk ()
* 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 Weimann
f34c1609c3
Disable bubbles for broadcasts () 2023-01-05 12:33:28 +01:00
Michael Weimann
488a08a25e
Allow reactions for broadcasts () 2023-01-05 08:40:09 +01:00
Michael Weimann
064a5ad422
Show regular avatar for broadcasts () 2022-12-29 10:03:24 +00:00
Germain
e9224f6fce
Add mark as read option in room setting () 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 () 2022-12-22 10:37:07 +00:00
Germain
2d2755d145
🧵 Enable threads by default ()
* 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
27c5b793e9
Merge branch 'develop' into weeman1337/prettier 2022-12-12 16:09:11 +01:00
Michael Weimann
57e1822add
Add voice broadcast ended message () 2022-12-12 16:03:56 +01:00
Michael Weimann
526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01:00
Germain
3a501003e2
Add setting to hide bold notifications () 2022-12-06 09:59:17 +00:00
Kerry
82ad8d5aa2
Snooze the bulk unverified sessions reminder on dismiss ()
* 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

* add util methods for snoozing in local storage

* rename nag to reminder

* set and read snooze for toast

* test snooze

* remove debug

* strict fix

* remove unused code
2022-12-06 06:18:03 +00:00
Michael Weimann
70a7961681
Update voice broadcast time display () 2022-11-30 08:47:29 +01:00
Robin
69e03860a0
Show day counts in call durations ()
* Show day counts in call durations

Previously call durations over a day long would be truncated, for example displaying as '2h 0m 0s' instead of '1d 2h 0m 0s'.

* Fix strict mode errors

* Fix strings

Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-11-29 14:21:51 -07:00
Michael Telatynski
d341c56b1f
Fix issues around up arrow event edit shortcut () 2022-11-29 14:55:48 +00:00
Germain
c10339ad68
Make clear notifications work with threads () 2022-11-15 10:27:13 +00:00
Michael Weimann
fca6ff271c
Extract requestMediaPermissions () 2022-11-11 10:38:51 +01:00