Commit Graph

353 Commits

Author SHA1 Message Date
antelle e9ef1bd698
fixed remote events 2020-05-22 10:44:59 +02:00
antelle 5b91dcb272
fix #1440: fixed auto-type for maximized windows 2020-05-15 22:41:39 +02:00
antelle 099f1ca9d0
calling openDevTools from window.webContents 2020-05-15 21:54:34 +02:00
antelle 177b150c95
Merge branch 'master' into develop
# Conflicts:
#	app/templates/export/entry.hbs
#	release-notes.md
2020-05-15 20:52:16 +02:00
antelle 004436e868
bump version 2020-05-15 20:25:57 +02:00
antelle 65f66ac60c
fix #1503: arm64 Windows installer 2020-05-14 22:59:11 +02:00
antelle 94caa1fca3
fix #1503: building windows arm64 2020-05-14 20:52:02 +02:00
antelle 4d678184f3
option to create a portable installation 2020-05-14 20:11:41 +02:00
antelle a2bf157b01
fixed portable executable dir 2020-05-14 18:55:11 +02:00
antelle 38e46f6d85
building native modules into asar 2020-05-13 20:25:33 +02:00
antelle 530316c25f
native modules for all available architectures 2020-05-13 19:15:56 +02:00
antelle cc750df077
moved native modules to the main process 2020-05-13 17:44:33 +02:00
antelle 3c85694fc2
removed temp paths from profile 2020-05-13 17:03:23 +02:00
antelle 955a1346ff
removed old cookie handling 2020-05-13 16:37:35 +02:00
antelle 8e4566fe5f
moved app options 2020-05-12 23:46:19 +02:00
antelle 20623e4c42
disabled unnecessary caching 2020-05-12 23:10:26 +02:00
antelle c6ce694dfe
displaying matching otp codes in entries 2020-05-11 17:24:06 +02:00
antelle 6e7f2c570f
fixed dev app icon 2020-05-10 09:49:09 +02:00
antelle 79a3b39248
disabled KEEWEB_HTML_PATH in prod builds 2020-05-08 16:20:23 +02:00
antelle aa5a9fc6d2
Merge branch 'master' into usb
# Conflicts:
#	app/scripts/app.js
#	package.json
#	release-notes.md
2020-05-04 19:46:07 +02:00
antelle aa65cef103
bump version 2020-05-04 19:12:08 +02:00
antelle 32c171d05b
Merge branch 'develop' into usb 2020-05-02 14:05:47 +02:00
antelle 1d58779d90
bump version 2020-05-02 13:30:24 +02:00
antelle 66b2b77791
Merge branch 'develop' into usb
# Conflicts:
#	app/scripts/models/app-settings-model.js
#	desktop/app.js
2020-04-18 11:03:06 +02:00
antelle c19d427f3a
bump version 2020-04-17 23:28:21 +02:00
antelle 3a042f25c2
disabled navigation in desktop 2020-04-17 21:54:34 +02:00
antelle 6d781a6358
disabled creation of new windows 2020-04-17 21:50:53 +02:00
antelle c537d0f464
using OAuth authorization code grant for all storage providers 2020-04-17 19:42:35 +02:00
antelle dfdbd8b092
devtools fix 2020-04-15 19:37:03 +02:00
antelle 4fad58b1e9
Merge branch 'develop' into usb
# Conflicts:
#	app/scripts/models/app-settings-model.js
#	app/templates/open.hbs
2020-04-15 18:23:52 +02:00
antelle b185c3e102
bump version 2020-04-15 17:29:56 +02:00
antelle 035a4485b7
usb 101 2020-04-15 16:50:01 +02:00
antelle c513fb06e7
bump version 2020-04-11 18:24:46 +02:00
antelle dec0b4d171
fix #1451: fixed slow global auto-type on desktop 2020-04-11 18:24:23 +02:00
antelle 8e02c0bd10
bump version 2020-04-09 07:21:08 +02:00
antelle d92229095d
bump version 2020-04-04 21:53:02 +02:00
antelle c39933c051
fix #1447: fixed opening databases from Dock 2020-04-04 19:46:19 +02:00
antelle 18d8037309
bump version 2020-04-03 20:28:48 +02:00
antelle 05b2b395ad
preventing navigation in the main window 2020-04-03 18:06:14 +02:00
antelle 1f5cd55272
app startup time profiling 2020-03-29 10:59:40 +02:00
antelle f2583bc37f renamed the variable to KEEWEB_PORTABLE_EXECUTABLE_DIR, see #1065 2020-03-24 17:07:30 +01:00
antelle 61d83319d4 KEEWEB_OPEN_DEVTOOLS variable 2020-03-17 07:52:34 +01:00
antelle 85c07dba9c checking if the directory exists, see #1418 2020-03-09 16:33:28 +01:00
antelle 36a53cc405 fix #1065: PORTABLE_EXECUTABLE_DIR environment variable 2019-11-06 23:14:20 +01:00
antelle cccb9ac681 fix #1341: auto-lock the app on screen lock on Windows 2019-11-06 23:01:05 +01:00
antelle 0a025d807b Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
2019-11-06 22:59:07 +01:00
antelle e21257de0c bump version 2019-11-06 19:48:57 +01:00
antelle 1f4f3101f2 fix #1335: removed the menubar on Windows and Linux 2019-11-04 21:36:14 +01:00
antelle d66b33fd19 Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
2019-11-03 12:52:37 +01:00
antelle 2b6e8c030d bump version 2019-11-03 12:25:55 +01:00
antelle 604c1bd3d4 Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
2019-10-27 11:05:23 +01:00
antelle efca3632cc bump version 2019-10-27 10:41:02 +01:00
antelle 12c7313935 fixed electron deprecations 2019-10-26 22:58:48 +02:00
antelle e4da7ee601 bump version 2019-10-26 21:05:47 +02:00
antelle 7a22746f67 Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
2019-10-16 22:49:45 +02:00
antelle b449def7e6 bump version 2019-10-16 22:07:43 +02:00
antelle 57af428b9e Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
2019-10-13 23:27:52 +02:00
antelle bc4dbc7de2 bump version 2019-10-13 23:10:05 +02:00
antelle 5b118667ef Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
2019-10-11 23:51:44 +02:00
antelle f1d5965bb5 bump version 2019-10-11 21:11:35 +02:00
antelle 0411fe4cfe Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
2019-10-09 23:22:04 +02:00
Antelle 458ba2de77 bump version 2019-10-08 20:19:45 +02:00
antelle 8c124f8980 fix #480: option to launch the app minimized 2019-10-06 13:14:12 +02:00
antelle 5a8927b547 fix #565: global shortcut to open KeeWeb 2019-10-06 12:27:18 +02:00
antelle cc9e369b6f fix #963: keyboard shortcut to copy OTP in background 2019-10-06 08:48:11 +02:00
antelle dcce37d99e fix #1273: untranslated menu items 2019-10-05 08:37:10 +02:00
antelle 7e62173f01 bump version 2019-10-04 20:10:13 +02:00
antelle a72aea3190 bump version 2019-09-29 23:26:07 +02:00
antelle f699ece732 bump version 2019-09-29 15:45:27 +02:00
antelle 890097885a bump version 2019-09-29 10:38:58 +02:00
antelle 9a8f595514 fix #1275: starting the app after closing on macOS 2019-09-29 10:34:47 +02:00
antelle f84a5a2b51 bump version 2019-09-29 10:00:31 +02:00
antelle 92dec8a7aa bump version 2019-09-28 22:30:42 +02:00
antelle 49b5b3d41e fixed desktop apps startup 2019-09-28 20:03:03 +02:00
antelle 0eafc4ac88 bump version 2019-09-28 19:33:27 +02:00
antelle 42134b4888 fix a color flash on start 2019-09-28 13:43:30 +02:00
antelle bc8aad5062 fix #1256: error during updating the app 2019-09-20 20:35:05 +02:00
antelle a1a649cd9f electron events 2019-09-20 20:31:19 +02:00
antelle c2212ac4ad Merge branch 'master' into develop
# Conflicts:
#	package.json
#	release-notes.md
2019-09-20 06:01:44 +02:00
antelle acf3bc945c bump version 2019-09-19 23:06:10 +02:00
antelle 56d84e1d18 fix #348: configurable system-wide shortcuts 2019-09-14 16:36:30 +02:00
antelle 09894d1c8f set version 2019-09-09 17:09:42 +02:00
antelle e2588e81f8 bump version 2019-09-09 17:03:39 +02:00
antelle 7977bbf6e1 smooth window startup color transition for the dark theme 2019-09-08 15:11:41 +02:00
antelle 55f4ff8f73 eslint 2019-09-08 09:39:30 +02:00
antelle 04a513556b bump version 2019-09-07 19:28:59 +02:00
antelle e812218919 fix titlebar color on macOS dark theme 2019-09-07 19:22:45 +02:00
antelle 9375f5c281 bump version 2019-08-22 22:23:38 +02:00
antelle 46adf5dcc1 version 2019-08-19 20:59:54 +02:00
antelle 105205661f fix #1232: removed an unwanted menubar on windows and linux 2019-08-19 20:10:58 +02:00
antelle ba2d9415be version 2019-08-18 11:10:27 +02:00
antelle 6788b77f32 year 2019-08-18 08:12:11 +02:00
antelle fa4ff0b0c3 prettier 2019-08-18 08:05:38 +02:00
antelle 8ab1ec615f bugfixes for new Electron and webpack 2019-08-17 15:20:00 +02:00
antelle 84a23e4aea prettier 2019-08-16 23:05:39 +02:00
antelle ce5b0cb303 copy the cookies file if it's not possible to move it 2019-04-25 18:17:37 +02:00
antelle 8096353e6e bump version 2019-04-22 11:43:29 +02:00
antelle e6c78c3407 bump version 2019-04-05 20:26:05 +02:00
antelle 65398b68a4 bump version 2019-03-31 15:51:47 +02:00
antelle f0ff26ebb4 merge master 2019-03-06 19:28:10 +01:00
antelle 014264d1b6 bump version 2019-03-02 17:20:11 +01:00
antelle 31986b1d50 merge master 2019-02-09 21:49:23 +01:00
antelle bcd627663b bump version 2019-02-09 12:12:04 +01:00
antelle ab0da3f49c focus issues fix 2019-02-09 12:11:32 +01:00
antelle f0530e2270 Merge branch 'master' into develop 2019-02-07 22:38:58 +01:00
antelle 1e281644eb bump version 2019-02-07 22:34:09 +01:00
antelle 2b22a64818 bump version 2019-02-06 20:37:27 +01:00
umlx5h 2f6996c1fb Add close window item to menu on Mac 2019-02-05 11:19:29 +09:00
antelle 3927d8b1ab merge master 2019-02-04 20:11:04 +01:00
antelle 41a4e7efd4 bump version 2019-02-04 19:49:01 +01:00
antelle adcc270e51 bump version 2019-02-04 19:46:54 +01:00
antelle 44528a40b7 Merge branch 'master' into develop 2019-01-17 21:07:57 +01:00
antelle ddf5b39872 bump version 2019-01-17 20:34:26 +01:00
antelle 20c651da41 Merge branch 'master' into develop 2019-01-13 17:28:43 +01:00
antelle da922d2216 bump version 2019-01-13 17:05:57 +01:00
antelle 572be56d75 fixed second-instance unsubscription 2019-01-08 18:40:51 +01:00
antelle d9860935c1 fixed window activation when KeeWeb is launched second time 2019-01-08 18:39:38 +01:00
antelle 0c7210b177 fixed require(electron) 2019-01-07 22:04:39 +01:00
antelle ee94183e2a devtools mode 2019-01-07 20:43:14 +01:00
antelle bd9144628f fixed electron dev requests 2019-01-07 20:38:58 +01:00
antelle bb76c9a6c3 version 2019-01-07 18:45:12 +01:00
antelle 090e75b6ed moveing files 2019-01-07 18:35:29 +01:00
antelle ae8e6e4bc8 fix #810: Google Drive cookies 2019-01-06 23:33:09 +01:00
antelle 845f672650 bump version 2019-01-06 19:21:11 +01:00
antelle cf3a69d1e2 fix 1079: error launching another instance 2019-01-06 19:09:34 +01:00
antelle 22728d89b9 package lock 2019-01-06 18:46:43 +01:00
antelle a7acd8041f v1.7.1 2019-01-06 18:44:39 +01:00
antelle af9d668d2a fix 2019-01-06 17:58:40 +01:00
antelle a21ff6233f bump version 2019-01-06 17:05:40 +01:00
antelle 567f349bb0 up electron 2019-01-06 14:45:50 +01:00
Coises 415eb11677 always-restore-to-a-connected-monitor
Issue #954: If a display is disconnected while KeeWeb is minimized,
when the window position is restored (either during the same session
or after quitting and restarting KeeWeb) it will typically be positioned
where the now disconnected display used to be, making it difficult
for the user to find the window and reposition it to a connected display.

This commit makes KeeWeb check whenever the window position is restored
to be sure there is enough of the title bar on some connected display
that the user can find and drag the window. If there is not, the window
is repositioned to the primary display.
2018-09-23 14:31:29 -07:00
Coises d2446cd0e1 tray-min-auto-type-select-fix
The fix for alt-tab behavior when KeeWeb is minimized to the tray
in 3dae878 left a problem when auto-type raises a selection list: the
taskbar button shows, and after a selection is made KeeWeb minimizes
to the taskbar but leaves a tray icon present. The same thing happens
if auto-type is canceled by clicking either the minimize button or the
close button at the top right of the selection window. From this state,
various scenarios lead to having duplicate tray icons.

This commit restores the behavior of 1.6.3 when auto-type raises
a selection list while KeeWeb is minimized to the tray: the selection
window shows, the tray icon stays, and no taskbar button shows.

We used to minimize the window after selection regardless of its
previous state; this worked because we hid the taskbar button and
minimized the window when minimizing to the tray, but that's what caused
the alt-tab problem. Since we now hide when minimizing to the tray,
we have to know whether to minimize or hide after selection.

The simplest way to do that is to keep the old behavior of leaving the
tray icon present when auto-type raises a selection window while KeeWeb
is minimized to the tray. Instead of calling minimize on the main
window, launcher-electron.js now calls app.minimizeThenHideIfInTray
which is defined in desktop/app.js. That routine minimizes KeeWeb (which
returns focus to the previously active window) and then hides the main
window if and only if a tray icon is present. Because we don't want a
tray icon and a taskbar button present at the same time, app.minimizeApp
is also changed to restore the call to mainWindow.setSkipTaskbar(true)
in the non-Darwin path; thus, when auto-type raises a selection window,
there won't be a taskbar button if KeeWeb was minimized to the tray.

If auto-type is canceled by clicking the top right close button while a
selection list is displayed and there is a tray icon, the KeeWeb window
is hidden and the tray icon stays, just as one would expect. This is
the most likely way someone using "Minimize app instead of close" would
choose to dismiss the auto-type selection list.

If auto-type is canceled when a selection list is displayed while there
is a tray icon by clicking the top right minimize button, by using
alt-tab, or by clicking outside the selection window, the KeeWeb window
reverts to its normal display and shows in the alt-tab list, but the
tray icon remains and no taskbar button is shown. This is not ideal;
it could be addressed in another commit if it seems worth doing. This
commit mitigates these scenarios by adding a check to app.minimizeApp
to assure that we never create a second tray icon if one is already
present. This can do no harm and might catch other "corner cases" that
are difficult to foresee. The next time the tray icon is clicked or
the app is minimized to the tray by clicking the top right close button
normal behavior is fully restored.

If I've made no mistakes, the only change to the Darwin path is that it,
too, is subject to the check that a new tray icon is not created if one
already exists. I'm guessing that's OK, but I have no way to test
Darwin.
2018-09-04 20:34:11 -07:00
Coises 1e036a3d58 Fix Issue #807 - single instance not enforced
We were checking for single instance too late.
It needs to be done before almost anything else happens.
2018-09-02 12:25:42 -07:00
Coises 8218f39192 Fix for Issue #877 - remove bad Origin header
When sending a PUT XMLHttpRequest Chromium includes the header
"Origin: file://".
This confuses some WebDAV clients, notably OwnCloud.
The header is invalid, so removing it everywhere it occurs
should do no harm.
2018-08-28 00:49:45 -07:00
Coises 3dae87853c Proper minimize to tray for Windows (and Linux?) 2018-08-15 15:41:08 -07:00
antelle 204965a693 fix after merge 2018-06-21 19:38:06 +02:00
Tao Wang c13eb67999 Add yarn.lock
Signed-off-by: Tao Wang <twang2218@gmail.com>
2018-06-21 15:20:07 +10:00
Tao Wang 48fcdd7a6c Replace the bower dependencies with NPM dependencies
Signed-off-by: Tao Wang <twang2218@gmail.com>
2018-06-21 15:11:03 +10:00
kasoban 55bb0fa1df Fixes #531: Window icon scaling error on win32 Electron app 2018-01-15 14:50:48 +01:00
antelle b2bf8685d8 Merge branch 'master' into develop 2017-12-11 21:51:15 +01:00
antelle 376c1a9cbc fix #804: Windows installer upgrade issue 2017-12-11 19:42:26 +01:00
antelle d96df170c4 Merge branch 'master' into develop 2017-12-09 22:48:04 +01:00
antelle 4b7f6fdf9b bump version 2017-12-09 22:25:25 +01:00
antelle a360ee1308 fixed color flash on startup 2017-12-09 22:05:36 +01:00
antelle c0901835dc optimized mac menubar icon image 2017-12-04 22:35:18 +01:00
antelle 0e148594fb mac menubar icon (wip) 2017-12-04 22:33:40 +01:00
antelle 9b30a17df0 fixed eslint 2017-12-04 19:32:06 +01:00
antelle a4d5963620 fix #731: option to open keyfile from command line 2017-12-03 20:31:54 +01:00
antelle f8f6424bb1 compare fs dates before starting from updated data 2017-12-03 10:03:03 +01:00
antelle 1557a9a92f removed unnecessary timeout 2017-12-03 09:03:56 +01:00
antelle 7c69c1305f fixed color flash on startup 2017-12-03 09:02:27 +01:00
antelle a5873b8fcc bump version 2017-12-03 01:06:12 +01:00
antelle f82312b9d0 fixed white screen on startup 2017-12-03 01:04:16 +01:00
antelle abd8f6d20a desktop packages 2017-12-02 22:55:11 +01:00
antelle 2aadc27db8 asar packaging 2017-12-02 20:38:13 +01:00
antelle 7a3643aa62 bump version 2017-12-02 15:34:42 +01:00
antelle e0570c09b1 up electron and node-stream-zip 2017-12-02 15:17:26 +01:00
antelle 954a38b8d8 Merge branch 'master' into develop 2017-08-31 21:30:20 +02:00
antelle 37dc62018d bump version 2017-08-31 19:15:24 +02:00
antelle 4c33e60c69 fixed hang in new electron: return void 0 from events 2017-08-31 18:40:17 +02:00
antelle d3ffceb1b5 fix window close 2017-08-31 18:40:09 +02:00
antelle b8346c5381 bump version 2017-08-30 19:29:09 +02:00
antelle e51bb2ae6e fix #621, fix #340: tray icon crash 2017-08-30 19:27:31 +02:00
antelle 36f3d18ef0 fixed escape order on openFile 2017-08-30 19:14:14 +02:00
antelle 9bd9785537 use private key from smart card 2017-08-30 19:12:04 +02:00
antelle d312f22b5a fixed escape order on openFile 2017-08-15 07:19:30 +02:00
antelle 97995fb6f1 check app file in signatures 2017-06-13 22:43:22 +02:00
antelle 6163fa4ba8 fix #422: lock on mac lock 2017-06-12 21:02:16 +02:00
antelle ecaf465e16 renames reference to self 2017-06-11 19:06:36 +02:00
antelle df81cb5ab3 use private key from smart card 2017-06-11 11:37:09 +02:00
antelle ac23f70bb5 fixed hang in new electron: return void 0 from events 2017-06-05 23:20:47 +02:00
antelle 2392329e93 fix window close 2017-06-05 17:14:41 +02:00
antelle ac00b77fc4 added a workaround for tray issue in ubuntu 2017-06-05 14:30:22 +02:00
antelle b7475a8d4c fix #621, fix #340: tray icon crash 2017-06-05 14:15:22 +02:00
antelle f4d5e51983 override userData path for desktop 2017-06-05 13:33:12 +02:00
antelle 69257b82ad validate desktop updates before running 2017-06-05 12:00:30 +02:00
antelle dc20bdae10 Merge branch 'master' into develop 2017-06-03 16:55:32 +02:00
antelle a2cfaf8717 bump version 2017-06-03 16:25:30 +02:00
antelle bb8e3390a0 auto-lock when Windows is locked 2017-06-02 20:04:57 +02:00
antelle 14432e519f release date 2017-05-29 20:48:54 +02:00
antelle 2ce3ad9495 bump version 2017-05-25 08:52:58 +02:00
antelle fa4669355c bump version 2017-05-23 20:03:58 +02:00
antelle fc2f4ff5e5 bump version 2017-05-20 19:54:48 +02:00
lawrencium 2236f7f73d remove event listener for 'hide' 2017-04-10 23:14:58 -07:00
lawrencium 6f12efe84b removed event listener for 'hide' 2017-04-10 18:27:03 -07:00
antelle 782488f8fa removed 'use script' 2017-04-08 18:31:38 +02:00
antelle 09d634c462 Merge branch 'EnricoMonese-lock-on-hide' into develop 2017-03-28 20:19:38 +02:00
antelle cf88eb448f Merge branch 'lock-on-hide' of https://github.com/EnricoMonese/keeweb into EnricoMonese-lock-on-hide
# Conflicts:
#	desktop/app.js
2017-03-28 20:15:28 +02:00
antelle c8fa6a7ac5 Merge branch 'EnricoMonese-ui' into develop 2017-03-28 20:08:14 +02:00
antelle 2b7e007199 Merge branch 'ui' of https://github.com/EnricoMonese/keeweb into EnricoMonese-ui 2017-03-28 19:28:11 +02:00
Enrico Monese c3156b8a5f Emit 'launcher-minimize' event on 'hide' too 2017-03-28 19:19:35 +02:00
Enrico Monese 956b105128 Basic 'no file' error catching 2017-03-28 18:19:39 +02:00
Enrico Monese 79452441ca Correct layout when entering and leaving fullscreen 2017-03-26 15:24:14 +02:00
Enrico Monese eda7ebf6ae Make titlebarStyle const 2017-03-26 15:23:28 +02:00
antelle 46209ecd2b bump version 2017-03-26 11:26:32 +02:00
Enrico Monese 91286fd7a9 Finalize titlebar style setting 2017-03-26 01:57:52 +01:00
Enrico Monese bab63f8093 Title bar style inset 2017-03-25 18:55:05 +01:00
antelle d0f06bab3b bump version 2017-02-04 15:41:05 +01:00
antelle a77f61cc5d var => let 2017-01-31 07:50:28 +01:00
antelle b340b21b5c fix #409: text fields context menu on desktop 2017-01-29 11:53:09 +01:00