This commit is contained in:
varjolintu 2018-01-06 10:24:37 +02:00
parent 6de9c5a5c3
commit 6718ebbe1b
5 changed files with 35 additions and 49 deletions

View file

@ -1,3 +1,15 @@
0.4.8 (06-01-2018)
=========================
- Changed native messaging host name to org.keepassxc.keepassxc_browser
- Exclude XSD files from content scripts
- Switched default keyboard shortcuts to Alt+Shift+U and Alt+Shift+P
0.4.5 (28-12-2017)
=========================
- Added support for aria-hidden attribute when checking input field visibility
- Fixed a bug in redetecting credentials
- Small CSS fixes
0.4.4 (17-12-2017)
=========================
- Added support for OTP codes via context menu

View file

@ -39,43 +39,3 @@ The following improvements and features have been made after the fork. At this p
## Protocol
The details about the messaging protocol used with the browser extension and KeePassXC can be found [here](keepassxc-protocol.md).
## Licenses
```
keepassxc-browser Copyright (C) 2017 Sami Vänttinen
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
```
```
PassIFox & ChromeIPass Copyright © 2010-2017 Perry Nguyen
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
```
## Donations
Feel free to support this project:
- Donate via [PayPal](https://paypal.me/varjolintu)
- Donate via Bitcoin: 1LHbD69CcmpLW5hjUXs2MGJhw3GxwqLdw3
Also consider donating to [KeePassXC](https://flattr.com/submit/auto?fid=x7yqz0&url=https%3A%2F%2Fkeepassxc.org) and [KeePassHttp-Connector](https://github.com/smorks/keepasshttp-connector) teams. They are doing great job.

View file

@ -11,8 +11,8 @@ keepass.isDatabaseClosed = false;
keepass.isKeePassXCAvailable = false;
keepass.isEncryptionKeyUnrecognized = false;
keepass.currentKeePassXC = {'version': 0, 'versionParsed': 0};
keepass.requiredKeePassXC = 220;
keepass.nativeHostName = 'com.varjolintu.keepassxc_browser';
keepass.requiredKeePassXC = 224; // TODO: Change to 230 when the official release is done
keepass.nativeHostName = 'org.keepassxc.keepassxc_browser';
keepass.nativePort = null;
keepass.keySize = 24;
keepass.latestVersionUrl = 'https://api.github.com/repos/keepassxreboot/keepassxc/releases/latest';

View file

@ -63,7 +63,7 @@ browser.runtime.onMessage.addListener(function(req, sender, callback) {
browser.runtime.sendMessage({
action: 'load_settings',
}).then((response) => {
cip.settings = response.data;
cip.settings = response;
cip.initCredentialFields(true);
});
}
@ -811,12 +811,25 @@ cipFields.getAriaHidden = function(field) {
return 'false';
};
cipFields.getOverflowHidden = function(field) {
let $par = jQuery(field).parents();
for (p of $par) {
const val = $(p).css('overflow');
if (val === 'hidden') {
return true;
}
}
return false;
};
cipFields.getAllFields = function() {
let fields = [];
// get all input fields which are text, email or password and visible
jQuery(cipFields.inputQueryPattern).each(function() {
let ariaHidden = cipFields.getAriaHidden(this);
let overflowHidden = cipFields.getOverflowHidden(this);
if (jQuery(this).is(':visible') && jQuery(this).css('visibility') !== 'hidden' && jQuery(this).css('visibility') !== 'collapsed' && ariaHidden === 'false') {
cipFields.setUniqueId(jQuery(this));
fields.push(jQuery(this));

View file

@ -1,9 +1,9 @@
{
"manifest_version": 2,
"name": "keepassxc-browser",
"version": "0.4.5",
"version": "0.4.8",
"description": "KeePassXC integration for modern web browsers",
"author": "Sami Vänttinen",
"author": "KeePassXC Team",
"icons": {
"16": "icons/keepassxc_16x16.png",
"48": "icons/keepassxc_48x48.png",
@ -42,7 +42,8 @@
"<all_urls>"
],
"exclude_matches": [
"*://*/*.xml"
"*://*/*.xml",
"*://*/*.xsd"
],
"js": [
"browser-polyfill.min.js",
@ -63,8 +64,8 @@
"fill-username-password": {
"description": "Insert username + password",
"suggested_key": {
"default": "Ctrl+Shift+U",
"mac": "Command+Shift+U"
"default": "Alt+Shift+U",
"mac": "Alt+Shift+U"
}
},
"fill-password": {
@ -93,7 +94,7 @@
],
"applications": {
"gecko": {
"id": "keepassxc-browser@sami.vanttinen",
"id": "keepassxc-browser@keepassxc.org",
"strict_min_version": "55.0"
}
}