diff --git a/CHANGELOG b/CHANGELOG index 9096398..e505261 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,12 +1,17 @@ -0.3.2 (2017-09-30) +0.3.3 (11-10-2017) +========================= +- Fixed database reloading when KeePassXC has restarted and database is opened +- New buttons + +0.3.2 (30-09-2017) ========================= - Improved timeout handling -0.3.1 (2017-09-29) +0.3.1 (29-09-2017) ========================= - Added timeout handling for postMessage(). Allows proxy application to be reloaded. -0.3.0 (2017-09-18) +0.3.0 (18-09-2017) ========================= - Added Mozilla's browser-polyfill for making WebExtension compatibility easier - Merged changes from the latest passifox (credits to smorks/keepasshttp-connector) @@ -15,17 +20,17 @@ - Automatic detection of div's with forms that are non-hidden by user interaction - Verified the source code via JSHint -0.2.9 (2017-08-27) +0.2.9 (27-08-2017) ========================= - Code cleaning, global functions moved to global.js - New popup state and button when database is closed or locked - Fixed HTTP auth login with Chrome/Chromium/Vivaldi -0.2.8 (2017-08-08) +0.2.8 (08-08-2017) ========================= - Changed Firefox's minimum version to 55.0 -0.2.7 (2017-07-31) +0.2.7 (31-07-2017) ========================= - Some Firefox related changes (credits to projectgus) - Fixed Skip button function when choosing own credential fields @@ -34,17 +39,17 @@ - Added null checking for onDisconnected() - Any Chrome related stuff is now disabled on options pages when using Firefox -0.2.6 (2017-07-23) +0.2.6 (23-07-2017) ========================= - Fixed error message variables -0.2.5 (2017-07-21) +0.2.5 (21-07-2017) ========================= - Fixed incorrect return value in keepass.getCryptoKey - Added a better error message handling - Added an error message when Native Messaging is disabled in KeePassXC -0.2.4 (2017-07-11) +0.2.4 (11-07-2017) ========================= - Changed comparison operators to strict ones (and some code cleaning) - Copy and Fill & copy buttons are now hidden when Password Generator has an error @@ -52,11 +57,11 @@ - Fix for password generator (error is now shown immediately instead of a blank dialog) - Use a single password generator icon -0.2.3 (2017-07-05) +0.2.3 (05-07-2017) ========================= - Fixed a few variables -0.2.2 (2017-07-04) +0.2.2 (04-07-2017) ========================= - Some code cleaning and rewriting - Fixed displaying 'Database not opened' error message @@ -64,74 +69,74 @@ - Added support for UDP port selector for proxy applications - Fixed strict_min_version for Firefox Nightly -0.2.1 (2017-06-27) +0.2.1 (27-06-2017) ========================= - get-databasehash request/response is now encrypted -0.2.0 (2017-06-26) +0.2.0 (26-06-2017) ========================= - Added JSON install files and script for Windows - New version checking function - Added error message handling - Added support for reloading KeePassXC (or proxy) with new public keys -0.1.10 (2017-06-14) +0.1.10 (14-06-2017) ========================= - Updated manifest and json files up to date -0.1.9 (2017-06-14) +0.1.9 (14-06-2017) ========================= - Renamed the project to keepassxc-browser -0.1.8 (2017-06-13) +0.1.8 (13-06-2017) ========================= - Fixed showing wrong status messages - Enable relaunching and reconnecting to KeePassXC (create new keys on the fly) -0.1.7 (2017-05-28) +0.1.7 (28-05-2017) ========================= - Removed debug logging messages - Removed unnecessary permissions from manifest -0.1.6 (2017-05-27) +0.1.6 (27-05-2017) ========================= - Upgraded tweetnacl-js to 1.0.0 - Upgraded tweetnacl-utils-js to 0.15.0 - Some code fixes concerning encryption and decryption - Redesigned simpler password generator dialog -0.1.5 (2017-05-22) +0.1.5 (22-05-2017) ========================= - Fixed a few deprecated functions - Added some more Firefox compatible code (Firefox now works 90%!) - Removed an unncecessary .map file -0.1.4 (2017-05-21) +0.1.4 (21-05-2017) ========================= - Upgraded manifest options to V2 - Added some more Firefox compatible code -0.1.3 (2017-05-19) +0.1.3 (19-05-2017) ========================= - Fixed a bug showing correct status in the popup - Added a license for a quick method to determine which browser is used in API calls -0.1.2 (2017-05-18) +0.1.2 (18-05-2017) ========================= - Upgraded jquery from 3.2.0 to 3.2.1 - Removed unnecessary images - Upgraded deprecated API calls (extension -> runtime, so from synchronous to asynchronous) - Partial Firefox support (the extension can be loaded but functionality is still limited) -0.1.1 (2017-04-28) +0.1.1 (28-04-2017) ========================= - This version works with the KeePassXC fork - Upgraded JavaScripts to work asynchronously -0.1.0 (2017-04-12) +0.1.0 (12-04-2017) ========================= - Replaced crypto libraries with tweetnacl-js - New application and popup icons - Upgraded bootstrap to version 3.3.7 - Upgraded jquery from 1.11 to 3.2.0 -- Upgraded jquery-ui from 1.10.2 to 1.12.1 \ No newline at end of file +- Upgraded jquery-ui from 1.10.2 to 1.12.1 diff --git a/keepassxc-browser/background/keepass.js b/keepassxc-browser/background/keepass.js index e5b2d4c..e6420f3 100644 --- a/keepassxc-browser/background/keepass.js +++ b/keepassxc-browser/background/keepass.js @@ -211,7 +211,7 @@ keepass.callbackOnId = function(ev, action, tab, callback, enableTimeout = false if (msg && msg.action === action) { ev.removeListener(handler); if (enableTimeout) { - clearTimeout(timeout); + clearTimeout(timeout); } callback(msg); } @@ -402,7 +402,7 @@ keepass.testAssociation = function(callback, tab, enableTimeout = false) { id: dbid, key: dbkey }; - + const request = { action: kpAction, message: keepass.encrypt(messageData, nonce), @@ -504,21 +504,21 @@ keepass.getDatabaseHash = function(callback, tab, enableTimeout = false) { keepass.isDatabaseClosed = true; keepass.handleError(tab, kpErrors.DATABASE_NOT_OPENED); callback(keepass.databaseHash); - } + } } } else { keepass.databaseHash = 'no-hash'; keepass.isDatabaseClosed = true; + keepass.isKeePassXCAvailable = false; if (response.message === "") { keepass.handleError(tab, kpErrors.TIMEOUT_OR_NOT_CONNECTED); } else { keepass.handleError(tab, response.errorCode, response.error); } - //keepass.handleError(tab, response.errorCode, response.error); callback(keepass.databaseHash); - } + } }, enableTimeout); keepass.nativePort.postMessage(request); }; diff --git a/keepassxc-browser/fonts/glyphicons-halflings-regular.eot b/keepassxc-browser/fonts/glyphicons-halflings-regular.eot new file mode 100644 index 0000000..b93a495 Binary files /dev/null and b/keepassxc-browser/fonts/glyphicons-halflings-regular.eot differ diff --git a/keepassxc-browser/fonts/glyphicons-halflings-regular.svg b/keepassxc-browser/fonts/glyphicons-halflings-regular.svg new file mode 100644 index 0000000..94fb549 --- /dev/null +++ b/keepassxc-browser/fonts/glyphicons-halflings-regular.svg @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/keepassxc-browser/fonts/glyphicons-halflings-regular.ttf b/keepassxc-browser/fonts/glyphicons-halflings-regular.ttf new file mode 100644 index 0000000..1413fc6 Binary files /dev/null and b/keepassxc-browser/fonts/glyphicons-halflings-regular.ttf differ diff --git a/keepassxc-browser/fonts/glyphicons-halflings-regular.woff b/keepassxc-browser/fonts/glyphicons-halflings-regular.woff new file mode 100644 index 0000000..9e61285 Binary files /dev/null and b/keepassxc-browser/fonts/glyphicons-halflings-regular.woff differ diff --git a/keepassxc-browser/fonts/glyphicons-halflings-regular.woff2 b/keepassxc-browser/fonts/glyphicons-halflings-regular.woff2 new file mode 100644 index 0000000..64539b5 Binary files /dev/null and b/keepassxc-browser/fonts/glyphicons-halflings-regular.woff2 differ diff --git a/keepassxc-browser/manifest.json b/keepassxc-browser/manifest.json index 11c52bd..f3b1281 100644 --- a/keepassxc-browser/manifest.json +++ b/keepassxc-browser/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "keepassxc-browser", - "version": "0.3.2", + "version": "0.3.3", "description": "KeePassXC integration for modern web browsers", "author": "Sami Vänttinen", "icons": { @@ -41,7 +41,7 @@ "matches": [ "" ], - "js": [ + "js": [ "browser-polyfill.min.js", "global.js", "jquery-3.2.1.min.js", diff --git a/keepassxc-browser/options/options.html b/keepassxc-browser/options/options.html index 15b6ad9..97cc858 100644 --- a/keepassxc-browser/options/options.html +++ b/keepassxc-browser/options/options.html @@ -205,12 +205,12 @@ - +
- +
@@ -286,7 +286,7 @@

About


- Developed by Perry Nguyen, Lukas Schulze and + Developed by Perry Nguyen, Lukas Schulze and Sami Vänttinen

diff --git a/keepassxc-browser/popups/popup.css b/keepassxc-browser/popups/popup.css index 006881d..4af7192 100644 --- a/keepassxc-browser/popups/popup.css +++ b/keepassxc-browser/popups/popup.css @@ -1,7 +1,8 @@ body { font-family: sans-serif; - min-width:357px; - overflow-x:hidden; + min-width: 400px; + max-width: 400px; + overflow-x: hidden; background-color: #eee; font-size: 15px; padding: 8px; @@ -17,26 +18,26 @@ body { list-style: none; padding-top: 1px; padding-bottom: 1px; - padding-left: 10px; + padding-left: 5px; padding-right: 5px; margin-left: 10px; margin-right: 5px; } .credentials a { - cursor: pointer; - display: block; - color: #336; + color: #333; +} +.credentials a:hover { + text-decoration: none; } .credentials li:hover { cursor: pointer; - background: #ccc; + background: #ddd; } .settings { - padding-bottom: 10px; - margin-bottom: 10px; border-bottom: 1px solid #333; font-size: 90%; + text-align: left; } .settings label { display: block; @@ -56,20 +57,11 @@ body { color: #787878; } #update-available { - display: none; - font-size: 90%; - color: #cc0000; - font-weight: bold; - border-top: 1px solid #333; padding-top: 10px; margin-top: 10px; -} -#update-available a:link, -#update-available a:visited { - text-decoration: underline; - color: #cc0000; + text-align: left; } #update-available a:hover, #update-available a:active { - text-decoration: none; -} \ No newline at end of file + text-decoration: underline; +} diff --git a/keepassxc-browser/popups/popup.html b/keepassxc-browser/popups/popup.html index 1fef03b..f8b288a 100644 --- a/keepassxc-browser/popups/popup.html +++ b/keepassxc-browser/popups/popup.html @@ -12,84 +12,86 @@ -

- - +
+
+ + -
- You use an old version of KeePassXC. -
- Please download the latest version from keepassxc.org. +
+ You use an old version of KeePassXC. +
+ Please download the latest version from keepassxc.org. +
-
-
-

Checking status...

-
- -