David Langley
491f0cd08a
Change license ( #13 )
...
* Copyright headers 1
* Licence headers 2
* Copyright Headers 3
* Copyright Headers 4
* Copyright Headers 5
* Copyright Headers 6
* Copyright headers 7
* Add copyright headers for html and config file
* Replace license files and update package.json
* Update with CLA
* lint
2024-09-09 13:57:16 +00:00
Michael Telatynski
431ae32304
Reuse media content/info types from the js-sdk ( #12308 )
2024-03-11 09:30:00 +00:00
Richard van der Hoff
2cb5e0771b
Reduce amount of log spam ( #11898 )
2023-11-20 12:24:13 +00:00
Michael Telatynski
bf68e4afb6
Migrate more strings to translation keys ( #11522 )
2023-09-04 19:41:39 +01:00
Michael Telatynski
ff9d4905d5
Fix export type "Current timeline" to match its behaviour to its name ( #11426 )
...
* Fix export type "Current timeline" to match its behaviour to its name
* Iterate tests
2023-08-18 11:58:58 +00:00
Michael Telatynski
368b6b9355
Switch to importing models/{event-timeline{,set},user,device,event-status} from main js-sdk export ( #11368 )
2023-08-08 07:16:04 +00:00
Michael Telatynski
24703eea8f
Switch to importing models/event from main js-sdk export ( #11363 )
2023-08-07 08:24:58 +00:00
Michael Telatynski
e67ca33c4a
Switch to importing models/Room from main js-sdk export ( #11361 )
...
* Switch to importing TypedEventEmitter from main js-sdk export
* Switch to importing js-sdk/matrix in cypress
* Remove duplicated imports
* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess
* Add lint rule
* Switch to importing models/Room from main js-sdk export
* Fix cypress-axe import
* Fix more imports
* Fix cypress-axe import
* Fix duplicated lint rule
2023-08-04 07:36:16 +00:00
Michael Telatynski
30429df948
Eliminate the use of MatrixClientPeg in utils ( #10910 )
2023-05-23 16:24:12 +01:00
renovate[bot]
0ea2ff85d0
Update dependency typescript to v5 ( #10532 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 13:17:50 +01:00
Kerry
9a733a6444
Apply strictNullChecks
to src/utils/exportUtils
( #10379 )
...
* Apply `strictNullChecks` to `src/utils/exportUtils`
* strict fix
* test coverage
* lint
* test coverage
* one more test
2023-03-29 21:47:07 +00:00
Michael Telatynski
9c816bb720
Conform more code to strictNullChecks
( #10383
...
* Update matrix-widget-api
* Conform more code to `strictNullChecks`
* Iterate
2023-03-16 10:35:17 +00:00
Michael Telatynski
145a5a8a8d
Conform more code to strict null checking ( #10153 )
...
* Conform more code to strict null checking
* Conform more code to strict null checking
* Iterate
* Iterate
2023-02-15 13:36:22 +00:00
Michael Telatynski
030b7e90bf
Enable @typescript-eslint/explicit-function-return-type
in /src ( #9788 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
* Enable `@typescript-eslint/explicit-function-return-type` in /src
* Fix types
* tsc strict fixes
* Delint
* Fix test
* Fix bad merge
2023-01-12 13:25:14 +00:00
grimhilt
6ad70b0565
Fix export with attachments on formats txt and json ( #9851 )
...
* set file extension to .zip when needed
* Apply prettier formatting
Co-authored-by: grimhilt <grimhilt@users.noreply.github.com>
2023-01-03 07:53:33 +01:00
Michael Telatynski
f1e8e7f140
Enable @typescript-eslint/explicit-member-accessibility
on /src ( #9785 )
...
* Enable `@typescript-eslint/explicit-member-accessibility` on /src
* Prettier
2022-12-16 12:29:59 +00:00
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