Commit graph

1036 commits

Author SHA1 Message Date
Jaiwanth
c63c59b408 Rename date function 2021-06-01 21:52:04 +05:30
Jaiwanth
01a3b854c3 Add sticker support 2021-06-01 20:09:12 +05:30
Jaiwanth
9c38af0075 Make reply UI work even when javascript is disabled 2021-06-01 17:06:39 +05:30
Jaiwanth
1382bd4fee Handle icons and skip decryption checks during export 2021-06-01 14:47:01 +05:30
Jaiwanth
5f9cf5760d Fix untracked files 2021-06-01 12:50:31 +05:30
Jaiwanth
80c0ad82fc Better file names 2021-06-01 12:40:03 +05:30
Jaiwanth
a0a604618c Handle non-media attachments 2021-05-31 23:50:55 +05:30
Jaiwanth
01284ef8c6 Handle encrypted voice messages 2021-05-31 23:34:24 +05:30
Jaiwanth
5f1c9d0f88 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into export-conversations 2021-05-31 22:58:11 +05:30
Jaiwanth
28a1a551fe Save users' avatars 2021-05-31 22:27:29 +05:30
Jaiwanth
fa073cd958 Save and display room avatars 2021-05-31 21:35:08 +05:30
Jaiwanth
59c1b67b7d Enable support for image, video and audio files 2021-05-31 21:01:19 +05:30
Jaiwanth
409213ceb4 Remove conditional 2021-05-31 19:07:49 +05:30
Jaiwanth
573a3ca983 Rewrite export tool to use existing components to render output, use existing source URLs for media 2021-05-31 19:01:32 +05:30
Aaron Raimist
ccdd2311f4
Make "share this room" use aliases if possible
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-05-29 01:38:47 -05:00
Aaron Raimist
53ebf3b8e3
Don't include via when sharing room alias
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-05-29 01:37:22 -05:00
Jaiwanth
60ef6f9332 Add emote support and show a toast if the message isn't exported 2021-05-27 14:06:04 +05:30
Jaiwanth
334b7ef04a Implement animated scroll to base event for replies 2021-05-26 18:00:27 +05:30
Jaiwanth
7286aa28e1 Handle audio and video files 2021-05-26 15:19:05 +05:30
Michael Telatynski
830ad47e87
Merge pull request #6097 from matrix-org/t3chguy/allSettled
Remove Promise allSettled polyfill as js-sdk uses it directly
2021-05-25 17:11:06 +01:00
Michael Telatynski
17bbbff479 Remove Promise allSettled polyfill as its widespread enough now and js-sdk uses it directly 2021-05-25 16:12:34 +01:00
Jaiwanth
0b728ff390 Use double quotes for import 2021-05-25 17:52:23 +05:30
Jaiwanth
0ee290648a Add support for firefox 2021-05-25 17:49:18 +05:30
Jaiwanth
7cd3f51c56 indent and use double quotes 2021-05-25 16:33:01 +05:30
Germain Souquet
ac93cc514f Prevent layout trashing when resizing the window 2021-05-25 10:28:20 +01:00
Jaiwanth
43a111d4c9 Return blob from export 2021-05-24 21:20:16 +05:30
Jaiwanth
136b6db047 Add an abstract exporter base class 2021-05-24 20:49:19 +05:30
Jaiwanth
1ee6e42e27 Add await 2021-05-24 19:19:10 +05:30
Jaiwanth
e6c4ab3993 Use classes instead of loosely defined functions, use prebuilt function for color binding 2021-05-24 19:17:07 +05:30
Jaiwanth
0029bf566b Small correction 2021-05-24 18:04:03 +05:30
Jaiwanth
3147acec0c Switch completely to TypeScript, updated userColors 2021-05-24 18:01:09 +05:30
Jaiwanth
e3b0d89ae9 Add some colours 2021-05-22 13:39:26 +05:30
Jaiwanth
bb81515cdd Use matrix style class names, modify CSS and some small changes 2021-05-22 12:54:34 +05:30
Jaiwanth
a47117e3b0 Do not process edit events as they are already considered 2021-05-22 11:55:57 +05:30
Jaiwanth
0bf65da70f Remove unnecessary semicolons 2021-05-22 11:38:32 +05:30
Jaiwanth
dfb7aa4320 Refactor, move HTML export to a new file and switch to TypeScript 2021-05-22 11:36:28 +05:30
Jaiwanth
e59f23880b Minor UI changes 2021-05-21 20:25:29 +05:30
Jaiwanth
2676e61d69 Embed avatar and chat images into HTML 2021-05-21 20:09:54 +05:30
Jaiwanth
cea60ef26c Handle reply checking for encrypted messages 2021-05-21 13:18:39 +05:30
Jaiwanth
16c55ba92f Use ts instead of age 2021-05-21 10:52:29 +05:30
Jaiwanth
ebdb340a5c Create a basic HTML export tool with support only for text based events 2021-05-21 10:50:56 +05:30
Travis Ralston
ec7c1ab9f0
Revert "Try putting room list handling behind a lock" 2021-05-18 15:40:09 -06:00
Travis Ralston
01491f4cba
Merge pull request #6024 from matrix-org/travis/roomlist-corruption
Try putting room list handling behind a lock
2021-05-14 11:06:19 -06:00
Travis Ralston
336904cef8
Apply suggestions from code review
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-05-14 11:05:49 -06:00
Travis Ralston
df7b598ca7 Improve visible waveform for voice messages
This tries to prioritize actual voice to decide the waveform, and clamps noise to zero to ensure the waveform doesn't have a perceptually noisy base.

In theory this better matches the overall voice message content.
2021-05-13 22:20:08 -06:00
Michael Telatynski
dd04b479a1 Wrap decodeURIComponent in try-catch to protect against malformed URIs 2021-05-13 10:20:27 +01:00
Travis Ralston
9beb2b8d78 Try putting room list handling behind a lock
Some of the logs relating to room list corruption appear to be badly timed race conditions so we'll try to linearize them here.
2021-05-12 21:15:17 -06:00
Travis Ralston
d8e3458c55 Merge remote-tracking branch 'origin/develop' into travis/voicemessages/resample2 2021-05-11 10:15:37 -06:00
J. Ryan Stinnett
45acf70b00
Merge pull request #5981 from matrix-org/jryans/upload-preview-mimetype
Adjust MIME type of upload confirmation if needed
2021-05-10 10:21:35 +01:00
Travis Ralston
389e0b8e8e wrong const 2021-05-07 21:11:31 -06:00