1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-07-18 14:15:03 +02:00
bitwarden-browser/libs/importer/spec
Bernd Schoolmann e016ed001e
[PM-2899] Implement ProtonPass json importer (#5766)
* Implement ProtonPass json importer

* Add protonpass-importer json type definition

* Fix alphabetical order in importer imports

* Add importer error message for encrypted protonpass imports

* Add i18n to protonpass importer

* Add protonpass (zip) importer

* Fix protonpass importer

* Add unit tests for protonpass importer

* Make protonpass importer not discard totp codes

* Merge protonpass json & zip importers

* Add protonpass creditcard import & fix note import

* Fix protonpass zip import not recognizing zip files on windows/chrome

* Make protonpass importer use vault types

* Make protonpass importer treat vaults as folders

* Make protonpass importer treat folders as collections for organizations

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>

* Add types to protonpass test data

* Fix protonpass importer's moveFoldersToCollections

* Add tests for folders/collections

* Remove unecessary type cast in protonpass importer

* Remove unecessary type annotations in protonpass importer

* Add assertion for credit card cvv in protonpass importer

* Handle trashed items in protonpass importer

* Fix setting expiry month on credit cards

* Fix wrong folder-assignment

Only the first item of a "vault" was getting assigned to a folder

Extend unit tests to verify behaviour

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith@web.de>
2023-08-16 16:17:03 +02:00
..
test-data [PM-2899] Implement ProtonPass json importer (#5766) 2023-08-16 16:17:03 +02:00
base-importer.spec.ts [PM-2256] Fix importer parsing credit card expiry year (#5444) 2023-05-31 09:08:39 +01:00
bitwarden-password-protected-importer.spec.ts Platform/pm 19/platform team file moves (#5460) 2023-06-06 15:34:53 -05:00
chrome-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
dashlane-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
enpass-json-importer.spec.ts [PM-2256] Fix importer parsing credit card expiry year (#5444) 2023-05-31 09:08:39 +01:00
firefox-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
keepass2-xml-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
keeper-csv-importer.spec.ts Platform/pm 19/platform team file moves (#5460) 2023-06-06 15:34:53 -05:00
keeper-json-importer.spec.ts Platform/pm 19/platform team file moves (#5460) 2023-06-06 15:34:53 -05:00
lastpass-csv-importer.spec.ts [AC-1266] Enums filename conventions (#5140) 2023-04-04 22:42:21 -05:00
myki-csv-importer.spec.ts [PM-1877] Spellcheck (#5237) 2023-04-26 12:16:07 +02:00
nordpass-csv-importer.spec.ts [PM-2256] Fix importer parsing credit card expiry year (#5444) 2023-05-31 09:08:39 +01:00
onepassword-1pif-importer.spec.ts [AC-1266] Enums filename conventions (#5140) 2023-04-04 22:42:21 -05:00
onepassword-1pux-importer.spec.ts Platform/pm 19/platform team file moves (#5460) 2023-06-06 15:34:53 -05:00
onepassword-mac-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
onepassword-win-csv-importer.spec.ts [AC-1266] Enums filename conventions (#5140) 2023-04-04 22:42:21 -05:00
passky-json-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00
protonpass-json-importer.spec.ts [PM-2899] Implement ProtonPass json importer (#5766) 2023-08-16 16:17:03 +02:00
psono-json-importer.spec.ts [AC-1266] Enums filename conventions (#5140) 2023-04-04 22:42:21 -05:00
roboform-csv-importer.spec.ts [PM-1684] Broken roboform importer (#5137) 2023-04-07 11:23:34 +01:00
safari-csv-importer.spec.ts [PM-328] Move common/importer to libs/importer (tools-migration) (#5060) 2023-03-23 11:43:27 +01:00