Commit Graph

353 Commits (master)

Author SHA1 Message Date
antelle 604c1bd3d4 Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
4 years ago
antelle efca3632cc bump version 4 years ago
antelle 12c7313935 fixed electron deprecations 4 years ago
antelle e4da7ee601 bump version 4 years ago
antelle 7a22746f67 Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
4 years ago
antelle b449def7e6 bump version 4 years ago
antelle 57af428b9e Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
4 years ago
antelle bc4dbc7de2 bump version 4 years ago
antelle 5b118667ef Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
4 years ago
antelle f1d5965bb5 bump version 4 years ago
antelle 0411fe4cfe Merge branch 'master' into develop
# Conflicts:
#	release-notes.md
4 years ago
Antelle 458ba2de77 bump version 4 years ago
antelle 8c124f8980 fix #480: option to launch the app minimized 4 years ago
antelle 5a8927b547 fix #565: global shortcut to open KeeWeb 4 years ago
antelle cc9e369b6f fix #963: keyboard shortcut to copy OTP in background 4 years ago
antelle dcce37d99e fix #1273: untranslated menu items 4 years ago
antelle 7e62173f01 bump version 4 years ago
antelle a72aea3190 bump version 4 years ago
antelle f699ece732 bump version 4 years ago
antelle 890097885a bump version 4 years ago
antelle 9a8f595514 fix #1275: starting the app after closing on macOS 4 years ago
antelle f84a5a2b51 bump version 4 years ago
antelle 92dec8a7aa bump version 4 years ago
antelle 49b5b3d41e fixed desktop apps startup 4 years ago
antelle 0eafc4ac88 bump version 4 years ago
antelle 42134b4888 fix a color flash on start 4 years ago
antelle bc8aad5062 fix #1256: error during updating the app 4 years ago
antelle a1a649cd9f electron events 4 years ago
antelle c2212ac4ad Merge branch 'master' into develop
# Conflicts:
#	package.json
#	release-notes.md
4 years ago
antelle acf3bc945c bump version 4 years ago
antelle 56d84e1d18 fix #348: configurable system-wide shortcuts 4 years ago
antelle 09894d1c8f set version 4 years ago
antelle e2588e81f8 bump version 4 years ago
antelle 7977bbf6e1 smooth window startup color transition for the dark theme 4 years ago
antelle 55f4ff8f73 eslint 4 years ago
antelle 04a513556b bump version 4 years ago
antelle e812218919 fix titlebar color on macOS dark theme 4 years ago
antelle 9375f5c281 bump version 4 years ago
antelle 46adf5dcc1 version 4 years ago
antelle 105205661f fix #1232: removed an unwanted menubar on windows and linux 4 years ago
antelle ba2d9415be version 4 years ago
antelle 6788b77f32 year 4 years ago
antelle fa4ff0b0c3 prettier 4 years ago
antelle 8ab1ec615f bugfixes for new Electron and webpack 4 years ago
antelle 84a23e4aea prettier 4 years ago
antelle ce5b0cb303 copy the cookies file if it's not possible to move it 4 years ago
antelle 8096353e6e bump version 4 years ago
antelle e6c78c3407 bump version 4 years ago
antelle 65398b68a4 bump version 4 years ago
antelle f0ff26ebb4 merge master 4 years ago
antelle 014264d1b6 bump version 4 years ago
antelle 31986b1d50 merge master 4 years ago
antelle bcd627663b bump version 4 years ago
antelle ab0da3f49c focus issues fix 4 years ago
antelle f0530e2270 Merge branch 'master' into develop 4 years ago
antelle 1e281644eb bump version 4 years ago
antelle 2b22a64818 bump version 4 years ago
umlx5h 2f6996c1fb Add close window item to menu on Mac 4 years ago
antelle 3927d8b1ab merge master 4 years ago
antelle 41a4e7efd4 bump version 4 years ago
antelle adcc270e51 bump version 4 years ago
antelle 44528a40b7 Merge branch 'master' into develop 4 years ago
antelle ddf5b39872 bump version 4 years ago
antelle 20c651da41 Merge branch 'master' into develop 4 years ago
antelle da922d2216 bump version 4 years ago
antelle 572be56d75 fixed second-instance unsubscription 4 years ago
antelle d9860935c1 fixed window activation when KeeWeb is launched second time 4 years ago
antelle 0c7210b177 fixed require(electron) 4 years ago
antelle ee94183e2a devtools mode 4 years ago
antelle bd9144628f fixed electron dev requests 4 years ago
antelle bb76c9a6c3 version 4 years ago
antelle 090e75b6ed moveing files 4 years ago
antelle ae8e6e4bc8 fix #810: Google Drive cookies 4 years ago
antelle 845f672650 bump version 4 years ago
antelle cf3a69d1e2 fix 1079: error launching another instance 4 years ago
antelle 22728d89b9 package lock 4 years ago
antelle a7acd8041f v1.7.1 4 years ago
antelle af9d668d2a fix 4 years ago
antelle a21ff6233f bump version 4 years ago
antelle 567f349bb0 up electron 4 years ago
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.
5 years ago
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.
5 years ago
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.
5 years ago
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.
5 years ago
Coises 3dae87853c Proper minimize to tray for Windows (and Linux?) 5 years ago
antelle 204965a693 fix after merge 5 years ago
Tao Wang c13eb67999 Add yarn.lock
Signed-off-by: Tao Wang <twang2218@gmail.com>
5 years ago
Tao Wang 48fcdd7a6c Replace the bower dependencies with NPM dependencies
Signed-off-by: Tao Wang <twang2218@gmail.com>
5 years ago
kasoban 55bb0fa1df Fixes #531: Window icon scaling error on win32 Electron app 5 years ago
antelle b2bf8685d8 Merge branch 'master' into develop 6 years ago
antelle 376c1a9cbc fix #804: Windows installer upgrade issue 6 years ago
antelle d96df170c4 Merge branch 'master' into develop 6 years ago
antelle 4b7f6fdf9b bump version 6 years ago
antelle a360ee1308 fixed color flash on startup 6 years ago
antelle c0901835dc optimized mac menubar icon image 6 years ago
antelle 0e148594fb mac menubar icon (wip) 6 years ago
antelle 9b30a17df0 fixed eslint 6 years ago
antelle a4d5963620 fix #731: option to open keyfile from command line 6 years ago
antelle f8f6424bb1 compare fs dates before starting from updated data 6 years ago
antelle 1557a9a92f removed unnecessary timeout 6 years ago
antelle 7c69c1305f fixed color flash on startup 6 years ago
antelle a5873b8fcc bump version 6 years ago
antelle f82312b9d0 fixed white screen on startup 6 years ago
antelle abd8f6d20a desktop packages 6 years ago
antelle 2aadc27db8 asar packaging 6 years ago
antelle 7a3643aa62 bump version 6 years ago
antelle e0570c09b1 up electron and node-stream-zip 6 years ago
antelle 954a38b8d8 Merge branch 'master' into develop 6 years ago
antelle 37dc62018d bump version 6 years ago
antelle 4c33e60c69 fixed hang in new electron: return void 0 from events 6 years ago
antelle d3ffceb1b5 fix window close 6 years ago
antelle b8346c5381 bump version 6 years ago
antelle e51bb2ae6e fix #621, fix #340: tray icon crash 6 years ago
antelle 36f3d18ef0 fixed escape order on openFile 6 years ago
antelle 9bd9785537 use private key from smart card 6 years ago
antelle d312f22b5a fixed escape order on openFile 6 years ago
antelle 97995fb6f1 check app file in signatures 6 years ago
antelle 6163fa4ba8 fix #422: lock on mac lock 6 years ago
antelle ecaf465e16 renames reference to self 6 years ago
antelle df81cb5ab3 use private key from smart card 6 years ago
antelle ac23f70bb5 fixed hang in new electron: return void 0 from events 6 years ago
antelle 2392329e93 fix window close 6 years ago
antelle ac00b77fc4 added a workaround for tray issue in ubuntu 6 years ago
antelle b7475a8d4c fix #621, fix #340: tray icon crash 6 years ago
antelle f4d5e51983 override userData path for desktop 6 years ago
antelle 69257b82ad validate desktop updates before running 6 years ago
antelle dc20bdae10 Merge branch 'master' into develop 6 years ago
antelle a2cfaf8717 bump version 6 years ago
antelle bb8e3390a0 auto-lock when Windows is locked 6 years ago
antelle 14432e519f release date 6 years ago
antelle 2ce3ad9495 bump version 6 years ago
antelle fa4669355c bump version 6 years ago
antelle fc2f4ff5e5 bump version 6 years ago
lawrencium 2236f7f73d remove event listener for 'hide' 6 years ago
lawrencium 6f12efe84b removed event listener for 'hide' 6 years ago
antelle 782488f8fa removed 'use script' 6 years ago
antelle 09d634c462 Merge branch 'EnricoMonese-lock-on-hide' into develop 6 years ago
antelle cf88eb448f Merge branch 'lock-on-hide' of https://github.com/EnricoMonese/keeweb into EnricoMonese-lock-on-hide
# Conflicts:
#	desktop/app.js
6 years ago
antelle c8fa6a7ac5 Merge branch 'EnricoMonese-ui' into develop 6 years ago
antelle 2b7e007199 Merge branch 'ui' of https://github.com/EnricoMonese/keeweb into EnricoMonese-ui 6 years ago
Enrico Monese c3156b8a5f Emit 'launcher-minimize' event on 'hide' too 6 years ago
Enrico Monese 956b105128 Basic 'no file' error catching 6 years ago
Enrico Monese 79452441ca Correct layout when entering and leaving fullscreen 6 years ago
Enrico Monese eda7ebf6ae Make titlebarStyle const 6 years ago
antelle 46209ecd2b bump version 6 years ago
Enrico Monese 91286fd7a9 Finalize titlebar style setting 6 years ago
Enrico Monese bab63f8093 Title bar style inset 6 years ago
antelle d0f06bab3b bump version 6 years ago
antelle a77f61cc5d var => let 6 years ago
antelle b340b21b5c fix #409: text fields context menu on desktop 6 years ago
antelle 9eaf5be988 fix #388: minimize hotkey on mac 6 years ago
antelle a29688c1a5 Merge branch 'cema-sp-master' into develop 6 years ago
antelle 2602a50b80 up deps 6 years ago