element-web-Github/test/utils
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
..
__snapshots__ Fix MessageEditHistoryDialog crashing on complex input (#10018) 2023-01-31 09:55:20 +00:00
beacon Apply strictNullChecks to src/utils/beacon/* (#10337) 2023-03-13 21:55:50 +00:00
device Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
dm Add m.direct filter / validation (#10436) 2023-03-27 08:37:35 +02:00
exportUtils Exclude message timestamps from aria live region (#10584) 2023-04-12 14:12:45 +00:00
localRoom Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
location Apply strictNullChecks to src/utils/*!exportUtils (#10455 2023-04-03 09:26:55 +01:00
media Apply prettier formatting 2022-12-12 12:24:14 +01:00
permalinks Show a tile for an unloaded predecessor room if it has via_servers (#10483) 2023-04-12 15:26:45 +00:00
room Implement third-party invite waiting room (#10229) 2023-03-06 12:08:04 +01:00
validate Apply prettier formatting 2022-12-12 12:24:14 +01:00
AnimationUtils-test.ts Add some tests 2021-07-09 16:45:04 +02:00
arrays-test.ts Improve live voice broadcast detection by testing if the started event has been redacted (#9780) 2022-12-22 10:37:07 +00:00
AutoDiscoveryUtils-test.tsx test AutoDiscoveryUtils (#10501) 2023-04-04 20:49:24 +00:00
colour-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
connection-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
createVoiceMessageContent-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
DateUtils-test.ts Display relative timestamp for threads on the same calendar day (#10399) 2023-03-27 20:22:46 +00:00
direct-messages-test.ts Implement third-party invite waiting room (#10229) 2023-03-06 12:08:04 +01:00
DMRoomMap-test.ts Conform more of the codebase to strictNullChecks (#10504 2023-04-04 11:41:46 +01:00
enums-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
EventRenderingUtils-test.ts Disable bubbles for broadcasts (#9860) 2023-01-05 12:33:28 +01:00
EventUtils-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
export-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Feedback-test.ts Don't show feedback prompts when that UIFeature is disabled (#9305) 2022-09-22 15:08:14 +01:00
FixedRollingArray-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
generate-megolm-test-vectors.py Encryption and decryption for megolm backups 2017-01-14 01:34:34 +00:00
iterables-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
leave-behaviour-test.ts Support dynamic room predecessors in leave-behaviour (#10340) 2023-03-09 14:49:59 +00:00
local-room-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
LruCache-test.ts Add UserProfilesStore, LruCache and cache for user permalink profiles (#10425) 2023-03-27 10:07:43 +02:00
maps-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
MegolmExportEncryption-test.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
membership-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
MessageDiffUtils-test.tsx Fix MessageEditHistoryDialog crashing on complex input (#10018) 2023-01-31 09:55:20 +00:00
MultiInviter-test.ts Properly type Modal props to ensure useful typescript checking (#10238 2023-02-28 10:31:48 +00:00
notifications-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
numbers-test.ts Fix seekbar position for zero length audio (#9949) 2023-01-23 17:28:31 +01:00
objects-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
pillify-test.tsx Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
sets-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
ShieldUtils-test.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
Singleflight-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
SnakedObject-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
stringOrderField-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
threepids-test.ts Try to resolve emails before creating a DM (#10164) 2023-02-16 14:17:43 +01:00
tooltipify-test.tsx Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
WidgetUtils-test.ts Add API params to mute audio and/or video in Jitsi calls by default (#10376) 2023-03-15 13:51:00 +01:00