Michael Telatynski
6166dbb661
Make existing and new issue URLs configurable ( #10710 )
...
* Make existing and new issue URLs configurable
* Apply a deep merge over sdk config to allow sane nested structures
* Defaultize
* Fix types
* Iterate
* Add FeedbackDialog snapshot test
* Add SdkConfig snapshot tests
* Iterate
* Fix tests
* Iterate types
* Fix test
2023-04-26 09:36:00 +00:00
Richard van der Hoff
d7bb8043ea
Replace uses of checkDeviceTrust
with getDeviceVerificationStatus
( #10663 )
...
matrix-org/matrix-js-sdk#3287 and matrix-org/matrix-js-sdk#3303 added a new API called getDeviceVerificationStatus. Let's use it.
2023-04-24 14:19:46 +01:00
Michael Telatynski
1efa82917a
Fix wrong room topic tooltip position ( #10667 )
...
* Fix wrong room topic tooltip position
* Update snapshots
* Fix tests
2023-04-20 08:25:53 +00:00
Michael Telatynski
1a0e5c1805
Fix multiple accessibility defects identified by AXE ( #10606 )
...
* Mark effects overlay canvas as aria hidden
* Ensure date separators aren't seen as focusable aria separators
* Fix
* Fix font slider not having aria label
* Add missing aria labels
* Fix settings flags setting aria-checked={null}
* Update snapshots
2023-04-17 16:09:45 +00:00
Andy Balaam
c496985ff3
Show a tile for an unloaded predecessor room if it has via_servers ( #10483 )
...
* Improve typing in constructor of RoomPermalinkCreator
* Provide via servers if present when navigating to predecessor room from Advanced Room Settings
* Show an error tile when the predecessor room is not found
* Test for MatrixToPermalinkConstructor.forRoom
* Test for MatrixToPermalinkConstructor.forEvent
* Display a tile for predecessor event if it contains via servers
* Fix missing case where event id is provided as well as via servers
* Refactor RoomPredecessor tests
* Return lost filterConsole to its home
* Comments for IState in AdvancedRoomSettingsTab
* Explain why we might render a tile even without prevRoom
* Guess the old room's via servers if they are not provided
* Fix TypeScript errors
* Adjust regular expression (hopefully) to avoid potential catastrophic backtracking
* Another attempt at avoiding super-liner regex performance
* Tests for guessServerNameFromRoomId and better implementation
* Further attempt to prevent backtracking
---------
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2023-04-12 15:26:45 +00:00
Michael Telatynski
075cb9e622
Exclude message timestamps from aria live region ( #10584 )
...
* Exclude message timestamps from aria live region
* Update snapshot
2023-04-12 14:12:45 +00:00
Kerry
1024ced52e
test AutoDiscoveryUtils ( #10501 )
2023-04-04 20:49:24 +00: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
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
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
Kerry
cd700e20fc
Display relative timestamp for threads on the same calendar day ( #10399 )
...
* add test cases for <24 different day time formatting
* use day instead of <24h ago to format relative date
2023-03-27 20:22:46 +00:00
Michael Weimann
aec454dd6f
Add UserProfilesStore
, LruCache
and cache for user permalink profiles ( #10425 )
2023-03-27 10:07:43 +02:00
Michael Weimann
ba2608ec74
Add m.direct
filter / validation ( #10436 )
2023-03-27 08:37:35 +02:00
Eric Eastwood
ed88e0cdce
Prevent future date selection in jump to date ( #10419 )
...
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 ( #10404 )
...
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 ( #10376 )
...
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/*
( #10337 )
...
* 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 ( #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
af1ec76149
Fix jest/no-conditional-expect lint and enable it ( #10307 )
2023-03-07 13:58:10 +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
Michael Weimann
ffa047be68
Find DMs with pending third-paty invites ( #10256 )
2023-03-02 09:44:12 +01:00
Michael Weimann
5398db21ad
Add ESLint Jest ( #10261 )
2023-03-01 16:23:35 +01: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
f40d15388c
Update tests to prefer RTL over Enzyme ( #10247
...
* 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 ( #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
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
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
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
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 ( #10055 )
...
* 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" ( #10057
...
* Revert "Apply more general fix for base avatar regressions (#10045 )"
This reverts commit 371a3c0d36
.
* Revert "Fix layout and visual regressions around default avatars (#10031 )"
This reverts commit 0d1fce37b2
.
* Revert "Member avatars without canvas (#9990 )"
This reverts commit a8aa4de4b4
.
* Update snapshots
2023-02-02 10:22:19 +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
Michael Telatynski
5095bc0427
Fix new tests introduced by html export tweaks ( #10022 )
2023-01-30 15:52:38 +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
Clark Fischer
222f8a919d
Fix failing userAgentParser tests ( #9988 )
2023-01-25 18:14:15 +00:00
Michael Weimann
ed06ed0185
Fix seekbar position for zero length audio ( #9949 )
2023-01-23 17:28:31 +01: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 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
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