Merge branch 'release-1.12'

This commit is contained in:
antelle 2019-11-06 19:54:08 +01:00
commit 9b07bbd505
9 changed files with 16 additions and 26 deletions

View File

@ -248,12 +248,6 @@ const Launcher = {
window.cordova.exec(onFileSelected, callback, 'FileChooser', 'choose');
},
getCookies(callback) {
// TODO
},
setCookies(cookies) {
// TODO
},
fingerprints: {
config: {

View File

@ -38,14 +38,13 @@ const Launcher = {
const homePath = this.remReq('electron').app.getPath('userDesktop');
defaultPath = this.joinPath(homePath, defaultPath);
}
this.remReq('electron').dialog.showSaveDialog(
{
this.remReq('electron')
.dialog.showSaveDialog({
title: Locale.launcherSave,
defaultPath,
filters: [{ name: Locale.launcherFileFilter, extensions: ['kdbx'] }]
},
callback
);
})
.then(res => callback(res.filePath));
},
getUserDataPath(fileName) {
if (!this.userDataPath) {
@ -271,17 +270,6 @@ const Launcher = {
});
return ps;
},
getCookies(callback) {
this.electron().remote.session.defaultSession.cookies.get({}, callback);
},
setCookies(cookies) {
if (cookies && cookies.length) {
const session = this.electron().remote.session.defaultSession;
for (const cookie of cookies) {
session.cookies.set(cookie, noop);
}
}
},
checkOpenFiles() {
this.readyToOpenFiles = true;
if (this.pendingFileToOpen) {

View File

@ -64,6 +64,7 @@
font-weight: bold;
position: relative;
top: -2px;
min-width: 0;
@include mobile {
width: 100%;
}

View File

@ -363,6 +363,8 @@ function setMenu() {
electron.Menu.setApplicationMenu(menu);
} else {
mainWindow.setMenuBarVisibility(false);
mainWindow.setMenu(null);
electron.Menu.setApplicationMenu(null);
}
}

View File

@ -1,6 +1,6 @@
{
"name": "KeeWeb",
"version": "1.12.2",
"version": "1.12.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "KeeWeb",
"version": "1.12.2",
"version": "1.12.3",
"description": "Free cross-platform password manager compatible with KeePass",
"main": "main.js",
"homepage": "https://keeweb.info",

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "keeweb",
"version": "1.12.2",
"version": "1.12.3",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "keeweb",
"version": "1.12.2",
"version": "1.12.3",
"description": "Free cross-platform password manager compatible with KeePass",
"main": "Gruntfile.js",
"private": true,

View File

@ -1,5 +1,10 @@
Release notes
-------------
##### v1.12.3 (2019-11-06)
`-` fix #1335: removed the menubar on Windows and Linux
`-` fix #1334: saving new files not working
`-` fixed entry title input size
##### v1.12.2 (2019-11-03)
`-` fixed non-working updater
`-` fix #1336: saving disabled storage option