mirror of https://github.com/keeweb/keeweb.git
canOpenWebdav is now canOpenStorage
This commit is contained in:
parent
eca5b1c7a0
commit
833aa3c748
|
@ -75,7 +75,7 @@ AppSettingsModel.defineModelProperties(
|
|||
canExportXml: true,
|
||||
canExportHtml: true,
|
||||
canSaveTo: true,
|
||||
canOpenWebdav: true,
|
||||
canOpenStorage: true,
|
||||
canOpenGenerator: true,
|
||||
|
||||
dropbox: true,
|
||||
|
|
|
@ -80,15 +80,14 @@ class OpenView extends View {
|
|||
clearTimeout(this.dragTimeout);
|
||||
}
|
||||
const storageProviders = [];
|
||||
Object.keys(Storage).forEach(name => {
|
||||
const prv = Storage[name];
|
||||
if (!prv.system && prv.enabled) {
|
||||
if (name === 'webdav' && !this.model.settings.canOpenWebdav) {
|
||||
return;
|
||||
if (this.model.settings.canOpenStorage) {
|
||||
Object.keys(Storage).forEach(name => {
|
||||
const prv = Storage[name];
|
||||
if (!prv.system && prv.enabled) {
|
||||
storageProviders.push(prv);
|
||||
}
|
||||
storageProviders.push(prv);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
storageProviders.sort((x, y) => (x.uipos || Infinity) - (y.uipos || Infinity));
|
||||
const showMore =
|
||||
storageProviders.length ||
|
||||
|
|
|
@ -3,6 +3,7 @@ Release notes
|
|||
##### v1.14.0 (TBD)
|
||||
`+` using OAuth authorization code grant for all storage providers
|
||||
`-` fixed a number of vulnerabilities in opening untrusted kdbx files
|
||||
`*` canOpenWebdav is now canOpenStorage
|
||||
|
||||
##### v1.13.4 (2020-04-15)
|
||||
`-` fix #1457: fixed styles in theme plugins
|
||||
|
|
Loading…
Reference in New Issue