blur csv import

This commit is contained in:
Kyle Spearrin 2018-06-29 09:28:02 -04:00
parent 15d6e4937f
commit 87f7b782dc
3 changed files with 9 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit e297f39bd53db6939bc888e5aa1c41ff8579b19d
Subproject commit ac221d8867c526eb14077398d95399f9016378fa

View File

@ -29,6 +29,10 @@
<ng-container *ngIf="format === 'aviracsv'">
In the Avira web vault, go to "Settings" &rarr; "My Data" &rarr; "Export data" and save the CSV file.
</ng-container>
<ng-container *ngIf="format === 'blurcsv'">
In the Blur web vault, click your username at the top and go to "Settings" &rarr; "Export Data", then click "Export CSV"
for your "Accounts".
</ng-container>
</app-callout>
<div class="row">
<div class="col-6">

View File

@ -18,6 +18,7 @@ import { KvpRequest } from 'jslib/models/request/kvpRequest';
import { AviraCsvImporter } from 'jslib/importers/aviraCsvImporter';
import { BitwardenCsvImporter } from 'jslib/importers/bitwardenCsvImporter';
import { BlurCsvImporter } from 'jslib/importers/blurCsvImporter';
import { Importer } from 'jslib/importers/importer';
import { KeePassXCsvImporter } from 'jslib/importers/keepassxCsvImporter';
import { LastPassCsvImporter } from 'jslib/importers/lastpassCsvImporter';
@ -76,6 +77,7 @@ export class ImportComponent {
{ id: 'operacsv', name: 'Opera (csv)' },
{ id: 'vivaldicsv', name: 'Vivaldi (csv)' },
{ id: 'gnomejson', name: 'GNOME Passwords and Keys/Seahorse (json)' },
{ id: 'blurcsv', name: 'Blur (csv)' },
].sort((a, b) => {
if (a.name == null && b.name != null) {
return -1;
@ -225,6 +227,8 @@ export class ImportComponent {
return new KeePassXCsvImporter();
case 'aviracsv':
return new AviraCsvImporter();
case 'blurcsv':
return new BlurCsvImporter();
default:
return null;
}