Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
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
J. Ryan Stinnett
380653f5df
Fix plain text export saving ( #9230 )
...
This tweaks the MIME type of plain text exports so that the browser actually
saves the file.
2022-09-01 11:12:01 +01:00
Kerry
085ecc7f5f
Chat export parameter customisation ( #7647 )
...
* use export settings and hide fields
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix exporter tests
Signed-off-by: Kerry Archibald <kerrya@element.io>
* test ExportDialog with settings
Signed-off-by: Kerry Archibald <kerrya@element.io>
* tidy debugs, rename setting to Parameters
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use reasonable 100gb limit
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use normal setting instead of UIFeature
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use a customisation
Signed-off-by: Kerry Archibald <kerrya@element.io>
* move validateNumberInRange to utils
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use nullish coalesce
Signed-off-by: Kerry Archibald <kerrya@element.io>
* use 8gb size limit for customisation
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update comments
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-31 12:54:14 +01:00
Michael Telatynski
3229b06b01
Add internationalisation to progress strings in room export dialog ( #7385 )
2021-12-15 16:21:51 +00:00
Aaron Raimist
7b94e13a84
Merge branch 'develop' into sort-imports
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-12-09 08:34:20 +00:00
Aaron R
6d79b95876
Add root folder to zip file created by export chat feature ( #7097 )
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-11-15 14:37:16 -07:00
Aaron Raimist
bdc56be863
Auto fix
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-10-22 17:23:37 -05:00
Dariusz Niemczyk
9c594a8a96
Replace console.logs to logger.log
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02:00
Jaiwanth
5568d533c0
Handle newer voice message format
2021-10-01 14:52:37 +05:30
Jaiwanth
d264f5f98e
Change js-sdk import style
2021-09-29 20:55:09 +05:30
Jaiwanth
6ccb7e9145
Space after brand
2021-09-29 19:37:31 +05:30
Jaiwanth
d1e3d35d40
Change export bundle filename format, light theme for all exports and import jszip after export cta
2021-09-22 22:17:23 +05:30
Jaiwanth
31c9e5962c
Move export dialog to async-components
2021-08-14 00:03:02 +05:30
Jaiwanth
7207329c15
Apply review suggestions
2021-08-13 23:44:07 +05:30
Jaiwanth
c62210b07c
Merge branch 'export-conversations' of https://github.com/jaiwanth-v/matrix-react-sdk into export-conversations
2021-08-13 09:00:20 +05:30
Jaiwanth
00d5a0baa4
Apply suggestions from code review
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-08-13 08:59:28 +05:30
Jaiwanth
edfc8af6cf
Apply PR Suggestions
2021-08-13 08:30:50 +05:30
Jaiwanth
850b5452a0
Add tests for reply regex
2021-08-09 12:36:06 +05:30
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