riot-web/test
Robin c61eca8c24
Don't consider textual characters to be emoji (#12582)
* Don't consider textual characters to be emoji

We were using emojibase-regex to match emoji within messages. However, the docs (https://emojibase.dev/docs/regex/) state that this regex matches both emoji and text presentation characters. This is not what we want, and will result in false positives for characters like '↔' that could turn into an emoji if paired with a variation selector. Unfortunately, none of the other regexes provided by Emojibase do what we want either (https://github.com/milesj/emojibase/issues/174). In the meantime, browser support for the RGI_Emoji character sequence class has made it feasible to write an emoji regex by hand, so that's what I've done.

* Add a fallback for BIGEMOJI_REGEX as well
2024-07-04 17:48:07 +00:00
..
@types
__snapshots__ Don't consider textual characters to be emoji (#12582) 2024-07-04 17:48:07 +00:00
accessibility Fix roving tab index crash `compareDocumentPosition` (#12594) 2024-06-11 09:11:52 +00:00
actions/handlers
audio Stop using deprecated methods, fields & exports (#12524) 2024-05-15 14:58:28 +00:00
autocomplete
components Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
contexts New user profile UI in User Settings (#12548) 2024-06-06 13:56:38 +00:00
dispatcher
editor Use `*` for italics as it doesn't break when used mid-word (#12523) 2024-05-15 09:01:45 +00:00
events
hooks Show tooltips on narrow tabbed views (#12624) 2024-06-14 14:17:46 +00:00
i18n
images
img
models Fix external guest access url for unencrypted rooms (#12345) 2024-03-28 12:25:00 +00:00
modules Replace `SecurityCustomisations` with `CryptoSetupExtension` (#12342) 2024-04-12 15:15:17 +00:00
notifications
settings Fix config override of other settings levels (#12593) 2024-06-14 11:00:30 +00:00
setup Replace setImmediate with setTimeout (#12614) 2024-06-13 15:15:59 +01:00
stores Replace setImmediate with setTimeout (#12614) 2024-06-13 15:15:59 +01:00
test-utils Disable profile controls if the HS doesn't allow them to be set (#12652) 2024-07-02 10:04:07 +00:00
toasts Fix widgets not being cleaned up correctly. (#12616) 2024-06-17 11:00:41 +00:00
utils Switch to Rust crypto stack for all logins (#12630) 2024-06-24 09:14:42 +00:00
voice-broadcast Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
widgets
Avatar-test.ts
ContentMessages-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
DecryptionFailureTracker-test.ts Add flag for tests to avoid double-reporting check (#12569) 2024-06-06 13:02:34 +00:00
DeviceListener-test.ts Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
HtmlUtils-test.tsx Don't consider textual characters to be emoji (#12582) 2024-07-04 17:48:07 +00:00
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts
Lifecycle-test.ts Element-R: pass pickleKey in as raw key for indexeddb encryption (#12543) 2024-06-05 08:52:28 +00:00
Markdown-test.ts
MatrixClientPeg-test.ts Switch to Rust crypto stack for all logins (#12630) 2024-06-24 09:14:42 +00:00
MediaDeviceHandler-test.ts
Notifier-test.ts
PosthogAnalytics-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
PreferredRoomVersions-test.ts
Reply-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
RoomNotifs-test.ts
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SecurityManager-test.ts
SlashCommands-test.tsx
SlidingSyncManager-test.ts Fix well-known lookup for sliding sync labs check (#12519) 2024-05-14 12:40:10 +00:00
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
Unread-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
UserActivity-test.ts
WorkerManager-test.ts
createRoom-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
email-test.ts
globalSetup.ts
languageHandler-test.tsx
linkify-matrix-test.ts
predictableRandom.ts
setupTests.ts Fix flaky jest tests (#12486) 2024-05-02 14:53:35 +00:00
slowReporter.js
submit-rageshake-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
theme-test.ts
useTopic-test.tsx