Commit graph

43 commits

Author SHA1 Message Date
Jaiwanth
b333612dea Fix comparing MB -> bytes 2021-08-03 14:53:23 +05:30
Jaiwanth
4824c93707 Add a test file 2021-08-03 14:36:21 +05:30
Jaiwanth
04edf4103f Remove unnecessary awaits 2021-07-30 11:46:55 +05:30
Jaiwanth
371d1026fa Add jest-raw-loader 2021-07-27 12:11:08 +05:30
Jaiwanth
9771f4d6c4 PascalCasing for enums 2021-07-27 00:00:52 +05:30
Jaiwanth
b91309be82 Apply suggestions from review 2021-07-26 23:40:27 +05:30
Jaiwanth
41bc2b6481 Move away from streamsaver(for now) 2021-07-26 22:15:05 +05:30
Jaiwanth
3d4d1d32d9 Modify design according to the design team 2021-07-26 00:09:59 +05:30
Jaiwanth
c0d2dbe7fd Delint once more 2021-07-19 13:28:09 +05:30
Jaiwanth
6d0fd0322e Delint 2021-07-19 13:23:55 +05:30
Jaiwanth
ed93bf4c77 Reverse events in-place 2021-07-19 13:00:37 +05:30
Jaiwanth
87c624d085 Use ref for progress updates 2021-07-02 16:52:33 +05:30
Jaiwanth
6ca664636e Display progress 2021-07-02 10:23:34 +05:30
Jaiwanth
08d886e9d1 Delint 2021-06-30 14:08:22 +05:30
Jaiwanth
b0be7d2861 Add license and negate the conditional 2021-06-29 19:43:21 +05:30
Jaiwanth
3fc4be0be9 Add return types to ABC Exporter 2021-06-29 11:40:26 +05:30
Jaiwanth
de6bc3f2ed
Update src/utils/exportUtils/Exporter.ts
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-06-29 10:19:57 +05:30
Jaiwanth
d46fe678b0 Handle export cancellation 2021-06-27 20:55:54 +05:30
Jaiwanth
4af8ec4d40 Explicitly declare file extensions for stickers and log event fetching progress 2021-06-25 15:40:28 +05:30
Jaiwanth
abbe047bfd try catch for plain text 2021-06-25 14:49:01 +05:30
Jaiwanth
02f15d573a Refactor 2021-06-25 11:52:26 +05:30
Jaiwanth
3718826e94 refactor to share downloading code across all formats 2021-06-25 11:16:59 +05:30
Jaiwanth
112dfa2b96 Finish JSON export implementation 2021-06-24 18:19:12 +05:30
Jaiwanth
438b9d4730 Get rid of jszip and replace it with a custom library 2021-06-23 11:58:50 +05:30
Jaiwanth
db875508d8 Add text for room avatar events and skip empty text events 2021-06-22 12:50:15 +05:30
Jaiwanth
c58abd9582 Revert auto format 2021-06-22 10:51:16 +05:30
Jaiwanth
bf189204f2 Implement IRC bridge style reply formatting 2021-06-22 10:49:14 +05:30
Jaiwanth
9e6b8ff9f5 Start implementation of plain text export 2021-06-17 10:46:08 +05:30
Jaiwanth
30c7017fad Move generic functions into base class 2021-06-14 18:06:40 +05:30
Jaiwanth
a1b614f2b3 Implement exporting from a specific start date and fix few bugs 2021-06-11 12:04:05 +05:30
Jaiwanth
80e5d4cd77 Increase eventsPerCrawl for larger chunks and rely on chunk's length for crawled events size 2021-06-10 11:53:41 +05:30
Jaiwanth
d80e008d28
Update src/utils/exportUtils/Exporter.ts
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-06-08 18:37:44 +05:30
Jaiwanth
03d8e1f931
Update src/utils/exportUtils/Exporter.ts
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-06-08 18:37:36 +05:30
Jaiwanth
0f6d09a74b
Update src/utils/exportUtils/Exporter.ts
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-06-08 18:37:14 +05:30
Jaiwanth
9e298e9f45 Add logs and unload listener 2021-06-08 12:36:28 +05:30
Jaiwanth
0f06f1b9c4 Replace map with for loop 2021-06-07 14:47:27 +05:30
Jaiwanth
56488d2c42 Modify the process for setting event metadata and refactor 2021-06-07 11:34:03 +05:30
Jaiwanth
8786c97cdb Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into export-conversations 2021-06-05 11:27:08 +05:30
Jaiwanth
f32726d5ed Begin extended implementation 2021-06-04 15:08:17 +05:30
Jaiwanth
e7f0df7fcc Small fix 2021-06-03 13:39:14 +05:30
Jaiwanth
4c22d1f2a1 Refactor 2021-06-03 13:21:56 +05:30
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