riot-web/test/utils
Travis Ralston 10a429c68d
Include a file-safe room name and ISO date in chat exports (#9440)
* conversation export named after room

* sanitization added for exported file name

* sanitization added for exported file name

* sanitization added for exported file name

* sanitization added for exported file name=>lint error fixed

* sanitization added for exported file name=>lint error fixed

* sanitization added for exported file name=>redundancy removed

* sanitization added for exported file name=>redundancy removed

* reverted to previous commit

* sanitization added for exported file name=>redundancy removed

* exported chat date iso formatted

* conversation export named after room

* conversation export named after room

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* code refacto filename date format

* Add docs to fn

* Bring in a util library for sanitizing

* Extract file naming function and make consistent for all 3 types

Also use the library we dragged in

* Write tests & associated fixes

* Apply linters locally

* Include new date util in index

Co-authored-by: Sinharitik589 <sinharitik18112835@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: yaya-usman <yayaazeez222@gmail.com>
Co-authored-by: Sinharitik589 <67551927+Sinharitik589@users.noreply.github.com>
2022-10-17 19:54:10 -06:00
..
__snapshots__ Extract createVoiceMessageContent (#9322) 2022-09-29 13:06:49 -06:00
beacon render message deleted tile for beacons (#8905) 2022-06-27 14:21:22 +02:00
device Device manager - UA parsing tweaks (#9382) 2022-10-11 09:29:19 +02:00
dm Exclude functional members from DM detection (#9124) 2022-08-01 19:28:33 +02:00
exportUtils Include a file-safe room name and ISO date in chat exports (#9440) 2022-10-17 19:54:10 -06:00
localRoom Prepare utils for local rooms (#9084) 2022-07-25 10:17:40 +02:00
location Live location sharing - open location in OpenStreetMap (PSF-1040) (#8695) 2022-05-27 11:58:39 +02:00
permalinks Fix soft crash around inviting invalid MXIDs in start DM on first message flow (#9281) 2022-09-16 09:03:17 +01:00
room Exclude functional members from DM detection (#9124) 2022-08-01 19:28:33 +02:00
validate Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
AnimationUtils-test.ts Add some tests 2021-07-09 16:45:04 +02:00
DateUtils-test.ts Include a file-safe room name and ISO date in chat exports (#9440) 2022-10-17 19:54:10 -06:00
EventUtils-test.ts Live location share - forward latest location (PSF-1044) (#8860) 2022-06-17 15:27:08 +02: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 delint 2021-07-12 13:52:10 -06:00
MegolmExportEncryption-test.ts Upgrade dependencies (#8749) 2022-07-13 17:11:19 +01:00
MultiInviter-test.ts Move from `browser-request` to `fetch` (#9345) 2022-10-12 18:59:07 +01:00
ShieldUtils-test.ts Test typescriptification continued (#8327) 2022-05-02 07:57:35 +00:00
Singleflight-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
SnakedObject-test.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
WidgetUtils-test.ts Pass language to Jitsi Widget (#9346) 2022-10-06 13:19:01 -06:00
arrays-test.ts Add array concat util (#9306) 2022-09-21 20:06:05 +02:00
colour-test.ts fix rainbow breaks compound emojis (#8245) 2022-04-20 14:49:12 +00:00
connection-test.ts Reload map on reconnect (#8848) 2022-06-15 16:38:35 +02:00
createVoiceMessageContent-test.ts Extract createVoiceMessageContent (#9322) 2022-09-29 13:06:49 -06:00
direct-messages-test.ts Prepare utils for local rooms (#9084) 2022-07-25 10:17:40 +02:00
enums-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
export-test.tsx Fix html export not including images (#9260) 2022-09-08 10:00:58 +00:00
generate-megolm-test-vectors.py Encryption and decryption for megolm backups 2017-01-14 01:34:34 +00:00
iterables-test.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
local-room-test.ts Prepare utils for local rooms (#9084) 2022-07-25 10:17:40 +02:00
maps-test.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
membership-test.ts Step 8.5: Move various room utilities out of `createRoom` 2022-03-28 14:02:31 -06:00
notifications-test.ts Do not create account data event for guests (#9407) 2022-10-13 13:15:34 +01:00
numbers-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
objects-test.ts Discard unused utility now that we use Object.fromEntries 2021-07-23 18:40:22 +01:00
pillify-test.tsx Fix pillification sometimes doubling up (#9152) 2022-08-09 15:37:13 +01:00
sets-test.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
stringOrderField-test.ts remove unused imports 2021-06-16 12:12:00 +01:00
tooltipify-test.tsx Convert some Enzyme tests to RTL (#9163) 2022-08-11 00:00:53 +00:00