Commit Graph

145 Commits

Author SHA1 Message Date
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
antelle 9eaf5be988 fix #388: minimize hotkey on mac 2017-01-29 11:29:21 +01:00
antelle a29688c1a5 Merge branch 'cema-sp-master' into develop 2017-01-28 23:16:41 +01:00
antelle 2602a50b80 up deps 2017-01-28 23:13:39 +01:00