* Add test suite for existing importer
* Fix 2fa-seed not copied on login records
* Fix secure note title not being set
* Add support for importing 2FA file
* Fixed casing on import of MykiCsvImporter
* Import all unmapped fields as customFields
* WIP: Add import of UserIdCard
* Add support for IdCards
* Move existing dashlane importer into dashlaneImporters
* Add testData for Dashlane CSV importer
* Add dashlane Csv importer and unit tests
* Fixed linting issues
* Moved dashlaneCsv types to own file
* Register DashlaneCsv importer
* Removed temp private method and use base impl
* rename spec imports
* Move scope of mapped columns
* Migrate folders into collection if imported via org
* Initial commit
* Refactor the 1pux types
* Add test data
* 1Pux importer and tests
* Fixed a typo in the 1Pux types
* Make the linter happy
* Register and instantiate importer
* Fix adding secure notes
* Add missing placeholder property to types
* Test for existance of TOTP seed
* Add more test data
* Move processFullName into BaseImporter
* Add categoryEnum for easier mapping
* Refactoring of the importer and add support for different item types
* Make linter happy
* Modified some test data
* Fix linting issues
* Remove fieldvalue references comment
* Remove commented mapping use during tests
* Add password protected export
* Run prettier
* Test password protected export service
* Create type for known import type strings
* Test import service changes
* Test bitwarden password importer
* Run prettier
* Remove unnecessary class properties
* Run prettier
* Tslint fixes
* Add KdfType to password protected export
* Linter fixes
* run prettier
* Add testdata, create types for keeperjson import
* Create keeperjson importer and tests
* Register, Create instance of keeperjson importer
* Move keeperCsvImporter to keeperImporters folder
* Fixed import of BaseImporter
* Removed unnecessary check for key
* Move instantiation of importer into beforeEach
* Fixed the second import with a wrong path
* Adjust types based on new test export
* Add test case for empty notes and custom fields
* Implement logic for failed test case
* Removed test expectation
* Format the fieldvalue as a LocaleDateString instead of epoch when importing a date from 1P
This would be better solved by storing it as a date FieldType instead of Text. But since it is unclear when new field types are added, this solution serves as a fix for now and also guides the solution when new fieldtype exists.
* Remove trailing whitespace
* Add tests for custom fields of 1pif imported identity
* Change representation of 1pif imported dates to UTC string
* Changes after running prettier
Co-authored-by: Daniel James Smith <djsmith@web.de>
* Add support for parsing .csv files from Nordpass
* Remove whitespace before extracting CardExpiration
* Add curlybraces to one-liner if's as requested
* NordPassImporter: Process more complex names
* Skip FirefoxAccounts during Firefox CSV Import
Firefox exports 'chrome://FirefoxAccounts' if Firefox Accouts are used
in browser. It's quite hacky - password field in CSV is actually a JSON
encoded data, not a password.
Because it's not a useful record, it should be skipped during import.
* Fix indentation
* Move test Firefox test data to files, fix linter errors
* Change cipher type based on csv type header
* Test identity and credit card import
* Do not use node 'fs' module
Karma is being used for automated tests so node modules are not available
* WIP: mac and windows 1password importer split
Need to improve windows field identification to limit secret data
exposure and improve user experience
* Hide fields with likely secret values
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Fix import of 1password csv
* 1password is using '\' as a quote escape character.
* 1password's csv headers are sometimes capitalized. We want to identify
them case insensitively
* Change cipher type based on csv type header
* Translate 1password data to correct fields
* Test identity and credit card import
* linter fixes
* Do not use node 'fs' module
Karma is being used for automated tests so node modules are not available
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Fix import of expiration date from LastPass
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
* handle empty cc exp from lastpass, add test
* check for month/year null/whitespace
* check for empty expiration from lp import
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
* allow base importer to receive custom field type
* 1password importer uses hidden field type
for custom fields marked as 'concealed'
* 1password 1pif importer specs
* remove 'focus' from specs
* change field type logic into simple one liner