1
0
mirror of https://github.com/keeweb/keeweb.git synced 2024-06-26 07:39:04 +02:00
Commit Graph

1104 Commits

Author SHA1 Message Date
antelle
9b9cda384a eslint 2018-10-22 22:03:51 +02:00
Boris Bondarenko
389c3859c6 Added shortcuts Action+Opt+Up/Down to navigate menu 2018-10-22 20:16:08 +02:00
Dennis Ploeger
06b3e80880 Nasty typo fix, added shortcut information in the autotype selector 2018-10-13 15:21:55 +02:00
Dennis Ploeger
d8dbe0464f Cleaned up the code a bit 2018-10-13 11:04:58 +02:00
Dennis Ploeger
e23beaf831 Implemented hotkeys (option/enter and command/enter) to support separate username or password entry. Fixes #1017 2018-10-12 12:31:04 +02:00
antelle
4a070bbc57 Removed autocapitalization from WebDav fields, fix #1014 2018-10-11 22:52:11 +02:00
antelle
61ca037357
Merge pull request #995 from Coises/tray-min-auto-type-select-fix
tray-min-auto-type-select-fix
2018-09-05 20:44:24 +03: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
2e54d30b9d Adjust some overflow behavior in the details panel
Adding max-width, white-space, overflow and text-overflow to "a" children
of .details_field-value elements corrects an anomaly with long Website
values. Previously they displayed wider than other values, and the space
in which one could click to edit the field without triggering the link
was very thin. This establishes what was presumably the intended behavior.

Removing white-space from .details__attachment-preview-download-text
allows the text to wrap when the details pane is too narrow to show it all
on one line.

Replacing margin-right with max-width in .details__history fixes
issue #945 and makes fields in the history wrap as they do
in the ordinary details pane.

Adding flex to .details_history-top prevents the history details from
overlapping the navigation controls when the window height is too small
to show everything without scrolling.

Adding padding-right and margin-right to .details__history-top and
.details__history-buttons keeps those elements from overlapping
the scroll bar and aligns their right edges with the right edges
of the widest .details_field-value elements.
2018-09-03 14:13:42 -07:00
antelle
9924dff39a removed old feature detecting stuff 2018-08-30 22:21:57 +02:00
antelle
1054cdcfc4 Testing features on start 2018-08-30 22:16:31 +02:00
antelle
0405ba0321 Reverted https warning back 2018-08-30 21:38:52 +02:00
antelle
c8dc0aefa0 removed debug code 2018-08-30 21:33:07 +02:00
antelle
e889f5f5ba Require https on start: some browser APIs are not available when the app is loaded via HTTP, it's better to fail fast. 2018-08-30 21:32:37 +02:00
antelle
e344bc993e improved messages 2018-08-30 21:22:17 +02:00
antelle
3f3ba4d34b saving cookies during ajax requests, this could fix #810 2018-08-30 21:13:40 +02:00
sahal.sahal
00d12b96db #646 Change confirm password message. 2018-08-31 02:31:39 +08:00
sahal.sahal
dbbf759aaa #646 Fix switch to another tab bug. 2018-08-31 01:26:16 +08:00
sahal.sahal
50b7df3c45 #646 Update confirm password ux. 2018-08-29 07:10:54 +08:00
sahal.sahal
3e55478f4b #646 Implement confirm master password 2018-08-28 00:15:23 +08:00
Coises
0f1a248fcc Make field labels in details view draggable
These changes make it possible to drag the value of a field in the
details view by dragging its label. The value dragged is the same
as would be copied by clicking on the label.
2018-08-23 13:45:35 -07:00
Coises
2450e3a0b6 Avoid spurious drop-target indications
While app-view already prevented the default action for files and urls
in a browser window (navigation), the drag indicator showed that any
drop was possible. These changes cause the drag indicator to show that
nothing can be dropped on areas of the interface that don't contain
a drop target. The addition of dragenter avoids some flickering which
otherwise can occur when dragging a file rapidly across the group
or entry lists.

Accompanying changes to details-view, menu-item-view and open-view are
needed because those views relied on "inheriting" from app-view
the indication that dropping anything was allowed.
2018-08-23 13:45:35 -07:00
Coises
7a3cc9c863 Only show drop files message in details view when dragging a file
In testing, making labels draggable resulted in a lot of annoying,
flashing indications of drop targets in places where text cannot
be dropped. This change causes the details view to show the message
panel indicating that a file can be dropped only when the drag contains
a file.
2018-08-23 13:45:35 -07:00
antelle
150f258b70 fixed a group moving bug 2018-08-23 22:14:44 +02:00
antelle
797bc4820b fix #984: wrong group placement when moving groups inside one subgroups below itself 2018-08-23 22:13:02 +02:00
antelle
d95ccdf01a Revert "fix #432: drag-drop in vivaldi": the Vivaldi hack is no longer required, see keeweb/keeweb#983
This reverts commit 60e59da94d.

# Conflicts:
#	app/scripts/comp/drag-drop-info.js
#	app/scripts/views/menu/menu-item-view.js
#	release-notes.md
2018-08-23 19:05:49 +02:00
André Pinto
f45de3e759 Improve GroupModel.setGroup performance 2018-08-12 23:37:47 +01: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
antelle
091de3e4e0 fix #896: increased wasm timeout 2018-04-02 08:32:27 +02:00
antelle
a4a878c30b fix #893: log levels 2018-03-24 21:17:20 +01:00
antelle
1fefaf91af don't send Authorization header to OneDrive 2018-03-13 19:17:16 +01:00
antelle
bd5f8afe99 using 'me' in OneDrive API 2018-03-13 19:11:18 +01:00
antelle
972b7066dc removed asm.js fallback 2018-03-09 21:25:41 +01:00
antelle
6854531584 grammar 2018-03-09 15:23:15 +01:00
antelle
7c0a3b11e0 strip url params for oauth 2018-03-08 19:37:52 +01:00
antelle
90aaf45282 removed old libs 2018-03-03 11:04:33 +01:00
antelle
4e96402bd4 added SF Mono font 2018-02-22 19:57:18 +01:00
antelle
86596b2095 ignore _etm_template_uuid field 2018-02-22 18:48:41 +01:00
antelle
5c8e37f70d fixed logs and events 2018-02-16 19:32:44 +01:00
Adriano Bonat
f3e6caaa46 Fix #456: Add more logs around PopupNotifier & handle crash & did-fail-load events 2018-02-07 23:55:13 -02:00
Mehdi M
191819d56f Add fallback icons and app name in HTML <head> 2018-02-04 01:46:13 +01:00
Mehdi M
6c9c0da14d Add Microsoft Edge app icons 2018-02-04 01:45:14 +01:00
Mehdi M
4f62d3591f Add app icons to manifest.json and link it in HTML 2018-02-04 01:42:49 +01:00
Mehdi M
0efacb3cd5 Remove IE-only icon declaration 2018-02-04 01:40:40 +01:00
Mehdi M
6edfd721f1 Update and add app icons for supported platforms 2018-02-04 01:37:17 +01:00
antelle
cc14a5e7e5 fix #844: increased Google Drive pageSize to 1000 2018-01-16 19:04:57 +01:00
antelle
5addbdf0fe fix #833: allow to save files with the same name as existing folders 2018-01-03 22:49:29 +01:00
antelle
1f45284639 fixed google drive files with multi-parents 2018-01-03 22:41:06 +01:00
antelle
30e3dae3e0 fixed plugins scroll 2018-01-01 21:40:49 +01:00
antelle
8561756335 fix #795: inputs validation in file settings 2017-12-26 09:54:42 +01:00