1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-30 15:13:32 +00:00
Commit Graph

28 Commits

Author SHA1 Message Date
Matt Gibson
2c414ce27a Use log service for console messages (#221)
* Use logService for console messages

* Implement a base ConsoleLog service

Use this class as a default for other services that would like to output
to console. This service is overriden in CLI and Desktop to use CLI's
consoleLogService and electronLogService, respectively.

* Use browser-process-hrtime for timing

* test LogService implementations

* Ignore default import of hrtime

* Clean up imports. Require ConsoleLog injection

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-11 10:44:57 -06:00
Matt Gibson
72bf18f369 Fix 1password importer (#222)
* 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>
2020-12-08 11:29:57 -06:00
Kyle Spearrin
dcbd09e736 encrypted import for bitwarden json (#220) 2020-12-04 21:05:11 -05:00
Matt Gibson
2b8c2c2b3e Revert "Use logService for console messages (#214)" (#219)
This reverts commit 0fed528b6f.
2020-12-04 13:58:32 -06:00
Matt Gibson
0fed528b6f Use logService for console messages (#214)
* Use logService for console messages

* linter autofixes

* Use full import path

* Implement a base ConsoleLog service

Use this class as a default for other services that would like to output
to console. This service is overriden in CLI and Desktop to use CLI's
consoleLogService and electronLogService, respectively.

* linter fixes

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-04 12:38:26 -06:00
Matt Gibson
6fb0646481 Fix 1password importer (#217)
* 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>
2020-12-04 12:29:31 -06:00
Kyle Spearrin
dff634d25e dont toLower imported uris 2019-05-23 20:03:58 -04:00
Robert Wachs
f874ec253d 1password 1pif importer: create hidden fields (#32)
* 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
2019-03-23 12:27:50 -04:00
Kyle Spearrin
cb7336c0e8 null or whitespace util 2019-01-15 11:34:35 -05:00
Kyle Spearrin
91bebbbd62 f secure key importer, setCardExpiration helper 2019-01-03 09:58:37 -05:00
Kyle Spearrin
7a3462afda string typeof check 2018-12-26 09:41:46 -05:00
Kyle Spearrin
9fa99f3a6e only show warning if there is a row 2018-10-11 16:49:11 -04:00
Kyle Spearrin
2fe65e27e2 normalize new lines and trim csv data 2018-07-21 08:21:08 -04:00
Kyle Spearrin
8149d7877d zoho csv importer 2018-07-19 15:12:58 -04:00
Kyle Spearrin
4750a64ece pasword boss importer. convert to note helper 2018-07-19 08:05:45 -04:00
Kyle Spearrin
5fac067713 msecure csv importer 2018-07-12 16:27:24 -04:00
Kyle Spearrin
7ca2a40478 folder helps and pwsafe xml importer 2018-07-12 09:48:39 -04:00
Kyle Spearrin
0c9fd975f7 kepper csv importer 2018-07-11 17:43:26 -04:00
Kyle Spearrin
06e412a095 one password importers 2018-07-11 10:18:25 -04:00
Kyle Spearrin
c9fc74c5cb more importer helpers 2018-07-10 17:51:47 -04:00
Kyle Spearrin
4004449aa8 padlock importer. move relationships to arrays 2018-07-10 16:38:43 -04:00
Kyle Spearrin
a7e7dcc1fe safeincloud xml importer, org import support 2018-07-07 23:02:53 -04:00
Kyle Spearrin
ed93fa9ea3 move to organization property instead of param 2018-07-05 19:00:00 -04:00
Kyle Spearrin
56cf068acd importer organization support 2018-07-05 17:29:35 -04:00
Kyle Spearrin
569ad25208 lint fixes 2018-06-27 22:09:39 -04:00
Kyle Spearrin
0d2cd4c482 name from url 2018-06-25 15:19:51 -04:00
Kyle Spearrin
ce40a803d8 importers parse 2018-06-23 14:46:23 -04:00
Kyle Spearrin
154c087b97 importers for lastpass, bitwarden, and keepassx 2018-06-23 09:27:30 -04:00