mirror of https://github.com/keeweb/keeweb.git
fix #1342: hint that the data will be stored in unencrypted form after exporting
This commit is contained in:
parent
d6aab0c470
commit
908510ff0b
|
@ -515,6 +515,8 @@
|
|||
"setFileCloseNoSave": "Close and lose changes",
|
||||
"setFileDontClose": "Don't close",
|
||||
"setFileFormatVersion": "File format",
|
||||
"saveFileExportRaw": "Exporting your passwords",
|
||||
"saveFileExportRawBody": "The exported file will contain your passwords, they will not be encrypted there. Would you like to proceed?",
|
||||
|
||||
"setShTitle": "Shortcuts",
|
||||
"setShShowAll": "show all items",
|
||||
|
|
|
@ -256,16 +256,28 @@ class SettingsFileView extends View {
|
|||
}
|
||||
|
||||
saveToXml() {
|
||||
this.model.getXml(xml => {
|
||||
const blob = new Blob([xml], { type: 'text/xml' });
|
||||
FileSaver.saveAs(blob, this.model.name + '.xml');
|
||||
Alerts.yesno({
|
||||
header: Locale.saveFileExportRaw,
|
||||
body: Locale.saveFileExportRawBody,
|
||||
success: () => {
|
||||
this.model.getXml(xml => {
|
||||
const blob = new Blob([xml], { type: 'text/xml' });
|
||||
FileSaver.saveAs(blob, this.model.name + '.xml');
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
saveToHtml() {
|
||||
this.model.getHtml(html => {
|
||||
const blob = new Blob([html], { type: 'text/html' });
|
||||
FileSaver.saveAs(blob, this.model.name + '.html');
|
||||
Alerts.yesno({
|
||||
header: Locale.saveFileExportRaw,
|
||||
body: Locale.saveFileExportRawBody,
|
||||
success: () => {
|
||||
this.model.getHtml(html => {
|
||||
const blob = new Blob([html], { type: 'text/html' });
|
||||
FileSaver.saveAs(blob, this.model.name + '.html');
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ Release notes
|
|||
##### v1.15.0 (WIP)
|
||||
`+` #557: Argon2 speed improvements in desktop apps
|
||||
`+` #1400: auto-apply tag when creating new entry in tag view
|
||||
`+` #1342: hint that the data will be stored in unencrypted form after exporting
|
||||
`-` fix #1463: copying the original url instead of adding https:
|
||||
|
||||
##### v1.14.0 (2020-04-18)
|
||||
|
|
Loading…
Reference in New Issue