merge master

This commit is contained in:
antelle 2019-03-06 19:28:10 +01:00
commit f0ff26ebb4
7 changed files with 15 additions and 5 deletions

View File

@ -4,7 +4,7 @@ const FieldViewUrl = FieldViewText.extend({
displayUrlRegex: /^http:\/\//i,
renderValue: function(value) {
return value ? '<a href="' + _.escape(this.fixUrl(value)) + '" rel="noreferrer" target="_blank">' + _.escape(this.displayUrl(value)) + '</a>' : '';
return value ? '<a href="' + _.escape(this.fixUrl(value)) + '" rel="noreferrer noopener" target="_blank">' + _.escape(this.displayUrl(value)) + '</a>' : '';
},
fixUrl: function(url) {

View File

@ -150,6 +150,8 @@ const OpenView = Backbone.View.extend({
KeyHandler.offKey(Keys.DOM_VK_TAB, this.tabKeyPress, this);
KeyHandler.offKey(Keys.DOM_VK_ENTER, this.enterKeyPress, this);
KeyHandler.offKey(Keys.DOM_VK_RETURN, this.enterKeyPress, this);
KeyHandler.offKey(Keys.DOM_VK_DOWN, this.moveOpenFileSelectionDown, this);
KeyHandler.offKey(Keys.DOM_VK_UP, this.moveOpenFileSelectionUp, this);
Backbone.View.prototype.remove.apply(this, arguments);
},
@ -832,6 +834,10 @@ const OpenView = Backbone.View.extend({
this.currentSelectedIndex = this.currentSelectedIndex + steps;
}
const lastOpenFile = lastOpenFiles[this.currentSelectedIndex];
if (!lastOpenFile) {
return;
}
const fileInfo = this.model.fileInfos.get(lastOpenFiles[this.currentSelectedIndex].id);
this.showOpenFileInfo(fileInfo);

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "KeeWeb",
"version": "1.7.7",
"version": "1.7.8",
"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.7.7",
"version": "1.7.8",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

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

View File

@ -3,6 +3,10 @@ Release notes
##### v1.8.0 (TBD)
`*` website icons are be downloaded using favicon.keeweb.info
##### v1.7.8 (2019-03-02)
`-` fix #1124: keyboard navigation issues
`*` improved link security
##### v1.7.7 (2019-02-09)
`-` another attempt to fix focus issues