Janek Bevendorff
46942413db
Fix unit test crash
2017-02-24 19:47:03 +01:00
Janek Bevendorff
2721317fc3
Block and unblock autoreload in timed mutex style to prevent a double challenge when saving the database and the YubiKey requires user interaction
2017-02-24 18:43:15 +01:00
Janek Bevendorff
b10cb1c83c
Show YubiKey message from MainWindow to ensure it's always shown when a challenge is generated
2017-02-24 17:27:27 +01:00
Janek Bevendorff
d6c48a5cf1
Show message when user needs to touch their YubiKey (still buggy when using multiple databases)
2017-02-24 03:25:08 +01:00
Janek Bevendorff
093fe5c7ef
Use QSharedPointer instead of cloning YkChallengeResponseKey and make it a QObject to allow emitting signals
2017-02-23 23:52:36 +01:00
Janek Bevendorff
5e664e3a06
Use consistent terminology
2017-02-23 02:11:48 +01:00
Janek Bevendorff
0f8c12aaf4
Fix Qt Designer HTML lapses
2017-02-23 01:58:29 +01:00
Janek Bevendorff
8a75acb985
Remove productVersion() which is included in prettyProductName()
2017-02-23 01:16:56 +01:00
Janek Bevendorff
1cef08e92b
Only query operating system stats on Qt >= 5.4
2017-02-23 01:08:26 +01:00
Janek Bevendorff
1d79d342c0
Rework About dialog
2017-02-23 00:49:23 +01:00
Janek Bevendorff
a58700c78f
Fix selection background on Windows
2017-02-22 23:35:49 +01:00
Janek Bevendorff
79ab7a1062
Use better default row width for history view and enable alternating row colors
2017-02-22 19:10:13 +01:00
Janek Bevendorff
fcadee550e
Fix layout of group edit widget
2017-02-22 18:36:51 +01:00
Janek Bevendorff
852d194b39
Adjust message widget color to look less dirty
2017-02-22 18:29:15 +01:00
Janek Bevendorff
08e50ac72b
Use correct icons for group edit
2017-02-22 18:02:44 +01:00
Janek Bevendorff
9715ba0c8a
Rework security settings, set sane default timeout value
2017-02-22 16:08:06 +01:00
Janek Bevendorff
7abebabf4f
Rework general settings page
2017-02-22 15:36:37 +01:00
Janek Bevendorff
d24c9322cc
Use dedicated icon for each category
2017-02-22 14:05:59 +01:00
Janek Bevendorff
ad2ccae5db
Fix funny resizing bug and increase min-padding
2017-02-22 04:24:34 +01:00
Janek Bevendorff
74afd8e819
Make widget scalable and set minimum width based on the widget text
2017-02-22 03:39:13 +01:00
Janek Bevendorff
cee297b218
Move category tab widgets to separate widget and hide history category when there is no history
2017-02-22 01:05:36 +01:00
Janek Bevendorff
851c7b891e
Show icons in vertical tab bar
...
TODO: use the correct icons, move vertical tab bar into separate widget
2017-02-21 21:34:13 +01:00
Janek Bevendorff
0064f5dcfd
Merge branch 'develop' into fix/settingsAlignment
2017-02-21 13:15:57 +01:00
Janek Bevendorff
e93e4a9931
Allow opening of unprotected databases (but don't allow creating them)
2017-02-21 02:40:23 +01:00
Janek Bevendorff
91761a2bea
Only poll YubiKey for currently visible tab
2017-02-21 02:19:11 +01:00
Janek Bevendorff
8e91a89a37
Force at least one encryption key (no more unencrypted databases)
2017-02-21 01:53:57 +01:00
Janek Bevendorff
b2650c5a96
Hide UI elements when KeePassXC was compiled without -DWITH_XC_YUBIKEY
2017-02-21 01:06:32 +01:00
Janek Bevendorff
2d4e08e060
Warn user when no authentication factor was chosen
2017-02-20 23:35:03 +01:00
Janek Bevendorff
5d068dfb23
Show busy indicator while scanning for YubiKeys
2017-02-20 23:20:32 +01:00
Janek Bevendorff
c49aa6beef
Show error message when trying to use challenge response without YubiKey
2017-02-20 22:50:12 +01:00
Janek Bevendorff
c7defdc06f
Add redetect button to ChangeMasterKeyWidget and only poll for Yubikeys when the challenge response group is enabled
2017-02-20 22:41:39 +01:00
Janek Bevendorff
eb23dda99b
Remember if challenge-response was used for each database and allow to re-detect Yubikeys without closing the database first
2017-02-20 22:07:01 +01:00
Janek Bevendorff
7174549441
Align YubiKey combobox with rest of interface
2017-02-20 20:35:46 +01:00
Janek Bevendorff
a27147a75e
Merge branch 'develop' into feature/yubikey
2017-02-20 20:24:38 +01:00
Janek Bevendorff
03ab20a4b8
Merge release 2.1.2 into develop
2017-02-17 16:22:26 +01:00
Janek Bevendorff
b61ecabed3
Fix sort order when searching, resolves #319
2017-02-17 14:18:18 +01:00
Janek Bevendorff
e0e6f2b8e9
Merge branch 'release/2.1.2' into develop
2017-02-17 04:03:12 +01:00
Janek Bevendorff
c2f3396753
Re-implement favicon fetching with QHttp, resolves #306
2017-02-16 21:25:04 -05:00
thez3ro
b10b713e48
fix/revert new entry shortcut
2017-02-17 01:03:39 +01:00
Janek Bevendorff
6dcb83f913
Disable 'Cancel' button on ChangeMasterKeyWidget when setting an initial password for a new database, follow-up to #302
2017-02-17 00:09:36 +01:00
Janek Bevendorff
daf0b72eed
Right-align expires checkbox
2017-02-16 10:35:39 +01:00
Janek Bevendorff
ac52f73af2
Pixel-perfect entry edit widgets
2017-02-16 10:35:39 +01:00
Janek Bevendorff
832465a2a3
Correct link in about dialog, fix typo and make text selectable
2017-02-16 10:35:39 +01:00
Janek Bevendorff
337161be02
Change size policy of alphabet buttons to avoid tiny button sizes
2017-02-16 10:35:39 +01:00
Janek Bevendorff
510904ebea
Use proper layout for database settings and fix spacings on OS X
2017-02-16 10:35:39 +01:00
Janek Bevendorff
a37b98d95d
Fix edit entry form alignment and autotype settings '+'/'-' buttons
2017-02-16 10:35:39 +01:00
Janek Bevendorff
35788f8654
Fix DatabaseOpenWidget alignment on Mac OS X
2017-02-16 10:35:39 +01:00
Janek Bevendorff
ec17199feb
Ask for save location when creating new DB and change default name to 'Passwords.kdbx', resolves #285
2017-02-15 22:52:43 -05:00
Janek Bevendorff
37c7318097
Merge branch 'develop' into feature/yubikey
2017-02-15 00:24:28 +01:00
Janek Bevendorff
012d0ee885
Remove lambda to be compatible with Qt 5.2
2017-02-14 22:21:53 +01:00
Janek Bevendorff
9b211928a9
Fix tabbar with only a single tab not hidden anymore when minimizing to tray at startup
2017-02-14 22:21:53 +01:00
Janek Bevendorff
b73549fd35
Fix a bug where the window would sometimes not show up after restoring from tray
...
After this patch, the window will not have the window manager's restore animation anymore, but will be reliably shown
2017-02-14 22:21:53 +01:00
Janek Bevendorff
5bb6c4d9e4
Check for isVisible() instead of isNativeMenuBar() to make global menu hack work with appmenu-qt5, follow-up fix for #271
2017-02-14 22:21:53 +01:00
thez3ro
d530c21cd7
fix recentListWidget size
2017-02-12 00:27:33 +01:00
thez3ro
5c80c31a70
hide recent database; fix wording
2017-02-11 23:56:26 +01:00
Louis-Bertrand Varin
81cdcb4b62
Hide systray options on Mac
2017-02-11 13:49:19 -05:00
thez3ro
ee981c4c19
closes #204 . Welcome screen redesign
2017-02-11 19:34:53 +01:00
thez3ro
91ce14a410
fix/add new database KeyShortcut
2017-02-11 13:49:33 +01:00
thez3ro
a70bf1ffb1
fix #203 : insert newDatabase icon in ToolBar
2017-02-11 11:12:49 +01:00
Louis-Bertrand Varin
7e8679b6c3
Hiding tray settings for mac.
2017-02-10 21:59:33 -05:00
Louis-Bertrand Varin
f1e7167c65
Add spacers to align left.
2017-02-10 21:33:36 -05:00
Louis-Bertrand Varin
145f64bdfc
Regroup minimize window.
2017-02-10 20:49:53 -05:00
Louis-Bertrand Varin
3821ea2c74
Reorder items.
2017-02-10 17:06:26 -05:00
Janek Bevendorff
ef082c2e1f
Remove check for Qt >= 5.7
2017-02-09 21:23:46 -05:00
Janek Bevendorff
8a26cfad79
Re-register global D-Bus menu when restoring window from tray, resolves #271
2017-02-09 21:23:46 -05:00
Janek Bevendorff
38d64a34a1
Improve minimize to tray
2017-02-09 21:23:46 -05:00
Janek Bevendorff
94f8650ca4
Rename KMessageWidget files to match our coding style
2017-02-10 02:34:16 +01:00
Janek Bevendorff
41d5111684
Use KMessageWidget also for new error messages
2017-02-10 02:26:10 +01:00
Janek Bevendorff
b6ea06ba24
Update KMessageWidget
2017-02-10 02:26:07 +01:00
Pedro Alves
6e7f826e19
Added licence header.
2017-02-10 02:26:02 +01:00
Pedro Alves
13c85cdfcb
Replace MessageBox with MessageWidget in remaining classes.
...
Chnage to one method to set MessageWidget text passing type as
parameter.
Only messages with questions requiring user input reamin using
MessageBox dialog.
Use signal/slots to set message in MessageWidget and hide message,
signal/slots only used when required.Maybe need to change all calls to
signals/slots in the future.
2017-02-10 02:26:00 +01:00
Pedro Alves
c2826bb1af
Replace MessageBox Dialog with inline MessageWidget in
...
EditWidget and in UnlockDatabaseWidget.
Add missing method to show Information Message.
2017-02-10 02:25:58 +01:00
Pedro Alves
8fa070f01c
Show inline message when unable to load the Key File.
2017-02-10 02:25:55 +01:00
Pedro Alves
3c4af1a194
Replace MessageBox dialogs that don't require user interaction with
...
inline MessageWidget in ChangeMasterKeyWidget.
2017-02-10 02:25:53 +01:00
Pedro Alves
a710181388
Replaced MessageBox dialogs with inline MessageWidget in
...
DatabaseOpenWidget.
2017-02-10 02:25:51 +01:00
Pedro Alves
c6ad476cb7
Added kmessagewidget from subsurface project
...
(https://github.com/torvalds/subsurface , commit:
82a946152b7f1da177344937acbc9d3cb5b0ccbf).
Added MessageWidget class.
2017-02-10 02:25:48 +01:00
Jonathan White
7db7747cb0
Merge remote-tracking branch 'origin/master' into develop
2017-02-06 20:29:21 -05:00
Janek Bevendorff
26ff528a85
Merge branch 'meta/release-preparation' into release/2.1.1
2017-02-06 23:27:05 +01:00
Janek Bevendorff
75eb0c6951
Properly HTML-escape strings with user-defined contents in message boxes ( #247 )
...
* Properly HTML-escape strings with user-defined contents in message boxes, resolves #236
* Also escape group names in EditWidget title
2017-02-06 14:23:51 -05:00
Louis-Bertrand Varin
0091cb3f23
Fixes database modified after discard
2017-01-28 22:21:44 -05:00
Timothy Redaelli
b0a4d7278a
Add Algorithm label / ComboBox in Database settings form
2017-01-28 17:53:14 +01:00
Janek Bevendorff
a3fd3205a9
KeePassX PR Migration: #190 Search for Group Names ( #168 )
...
* Search Group details in addition to entry details; feature parity with KeePass
* Remove assertions to prevent crashes in Debug mode when search result is empty
2017-01-28 11:27:20 -05:00
Janek Bevendorff
3e6f76826b
Don't show cmd:// prefix in confirmation dialog
2017-01-28 14:24:33 +01:00
Janek Bevendorff
01e9d39b63
Add 'Remember my choice' checkbox
...
Allow user to store preference when asked whether to execute command, resolves #51
2017-01-28 14:18:43 +01:00
Edward Jones
7ea306a61a
Prompt the user before executing a command in a cmd:// URL
...
Fixes #51 .
(Does not have a "don't ask me anymore" option.)
2017-01-28 00:05:14 +00:00
Louis-Bertrand Varin
3c9054c36f
Fixes #225 : downloading favicon crash
2017-01-27 13:49:33 -05:00
Janek Bevendorff
fd2b779bb8
Use consistent button min-heights, resolves #192
2017-01-27 18:48:12 +01:00
Janek Bevendorff
6796f20683
Remove hardcoded font size from UI file
2017-01-27 18:11:17 +01:00
Janek Bevendorff
cdc9fddc44
Don't make font size of password strength labels smaller than 8pt, resolves #228
2017-01-27 17:59:03 +01:00
Louis-Bertrand Varin
4ed03c2db2
Reuse password generator icon.
2017-01-26 21:00:52 -05:00
Louis-Bertrand Varin
0d222e138f
else on the same line.
2017-01-26 20:35:24 -05:00
Louis-Bertrand Varin
a80c415fc0
Disable buttonGenerate when no classes.
2017-01-26 20:35:17 -05:00
Jonathan White
16ed89c471
Implement ability to clone an entry when in search mode.
...
* Cloned entries have "- Clone" appended to their name
2017-01-25 20:02:32 -05:00
Akinori MUSHA
6ccae6cc37
Pressing escape quits search
2017-01-25 19:37:53 -05:00
Jonathan White
a3f189f452
Merge pull request #170 from keepassxreboot/feature/169-signal-handlers
...
Implement clean shutdown after receiving Unix signals, resolves #169
2017-01-24 22:33:23 -05:00
Jonathan White
70727895f7
Added ifdef guard
2017-01-24 22:24:34 -05:00
louib
cdbf58b2c1
Preserve group/entry focus when replacing db. ( #176 )
2017-01-24 22:17:16 -05:00
Ryan Olds
a5f12db6ba
Moved autotype after copyattribute
2017-01-24 10:31:49 -08:00
Ryan Olds
62808f8342
Adjusted order of entry's context menu
2017-01-23 19:23:21 -08:00
Janek Bevendorff
4eb39dc5ff
Remove obsolete forward-declaration and disable QSocketNotifier after firing
2017-01-23 22:33:43 +01:00
Janek Bevendorff
b5cf6c7161
Add missing #ifdef around slot
2017-01-23 22:33:39 +01:00
Janek Bevendorff
198691182b
Implement clean shutdown after receiving Unix signals, resolves #169
...
The database wasn't saved properly and lockfiles were not removed when receiving the signals SIGINT, SIGTERM, SIGQUIT or SIGHUP. This patch implements signal handling and performs a clean shutdown after receiving SIGINT SIGTERM or SIGQUIT and ignores SIGHUP.
Since this uses POSIX syscalls for signal and socket handling, there is no Windows implementation at the moment.
2017-01-23 22:33:36 +01:00
Jonathan White
b6f754c29a
Changed built-in clear search button with custom one to fix pixelation
2017-01-14 22:29:16 -05:00
Jonathan White
39e0708b3b
Correcting missing icons when running release from build directory
2017-01-14 21:41:18 -05:00
Kyle Manna
a7cf39c7cd
gui: ChangeMasterKeyWidget: Clear YubiKeys detected
...
* Clear the YubiKey detected list on each load.
* In the event the YubiKey was removed, it will no longer be displayed.
* If it's still present it won't be duplicated.
2017-01-14 17:39:57 -08:00
Jonathan White
01464a7860
Added clear text button, accurate down arrow behavior, and fixed sizing
2017-01-14 20:27:34 -05:00
Janek Bevendorff
e17576a6f7
Merge branch 'develop' into feature/yubikey
2017-01-15 03:20:21 +02:00
Kyle Manna
f33cd15419
gui: Clear YubiKeys detected on each load
...
* Clear the YubiKey detected list on each load.
* In the event the YubiKey was removed, it will no longer be displayed.
* If it's still present it won't be duplicated.
2017-01-14 17:08:48 -08:00
Louis-Bertrand Varin
fd3fefd6f1
Use placeholder for search widget.
2017-01-14 20:07:05 -05:00
Jonathan White
36df21d823
Enhanced search ui keypress actions
...
* Pressing down arrow will always focus on entry view
* Pressing enter opens currently selected entry
* Pressing CTRL+F focuses and selects search text
* Rewrote test cases to cover the new functionality
2017-01-14 19:47:35 -05:00
Josh Soref
2ad7c5c675
spelling: toggle
2017-01-14 20:13:25 +01:00
Josh Soref
341ff3de37
spelling: recycle
2017-01-14 17:32:03 +01:00
Louis-Bertrand Varin
1a5c18c9bd
Add missing space in messages.
2017-01-11 21:12:43 -05:00
Kyle Manna
951fa96848
YubiKey: Fix database locking
...
* Save the master seed upon first challenge so it can be used as a
challenge at a later point.
* When verifyKey() is called, verify that the challenge is successful.
* Uncheck YubiKey box to not leak information about how the database is
protected.
Signed-off-by: Kyle Manna <kyle@kylemanna.com>
2017-01-08 16:48:06 -08:00
Kyle Manna
ba8fd25604
gui: Add YubiKey support to widgets
...
* Add YubiKey support to the GUI widgets.
Signed-off-by: Kyle Manna <kyle@kylemanna.com>
2017-01-08 16:31:50 -08:00
Jonathan White
534364454d
Merge branch 'feature/cmake-fix-#50-#123' into develop
...
* Fixes #50 and #123
2017-01-02 22:27:20 -05:00
Jonathan White
9fa2dae68c
Merge branch 'develop' into improve_search_ui
2017-01-02 17:51:42 -05:00
Danny Su
9000bc138f
Update Website URL in About Dialog ( #136 )
2017-01-02 17:50:42 -05:00
Jonathan White
9660510cc7
Cleaned up SearchWidget code
2016-12-23 23:14:50 -05:00
Akinori MUSHA
d0a3c08840
Improve UI of the search edit (resurrecting 5c7c7f54
)
...
- The copy action (Control+C) when no text is selected copies the
password of the current entry. This should be reasonable when
Control+B copies the username.
- Down at EOL moves the focus to the entry view. Enter and Tab should
do that, but it would be handy for user to be able to get to the third
entry by hitting Down three times.
2016-12-22 17:16:59 +09:00
Jonathan White
fa891edb7c
Added extensions section in about dialog; fixed url as well
2016-12-07 22:40:09 -05:00
thez3ro
65992ba6ae
Option to select extension compile-time. Fix #50 #123
2016-12-04 19:57:24 +01:00
Jonathan White
791a749c2f
Search scopes to currently selected group (and children) ( #118 )
...
* Added test cases for case sensitive and group search
2016-11-28 19:02:21 -05:00
Janek Bevendorff
9261d8ae9d
Force focus on password field, resolves #116 ( #117 )
...
Also remove redudant code for minimizing to tray
2016-11-26 09:37:25 -05:00
TheZ3ro
405b82588b
Add Autotype Entry-Attributes, Fix Group default sequence ( #107 )
2016-11-25 12:26:59 -05:00
Jonathan White
3d249365c2
Merge remote-tracking branch 'origin/feature/autoreload-db' into develop
2016-11-25 12:04:44 -05:00
Jonathan White
7fb33653ad
Implemented major autoreload functionality
...
* Ignore autoreload on save / save-as
* Consolidated db save code
* Corrected bug (crash) in merge entry code due to not cloning the entry
* Enhanced known modified status of database
* Implemented test cases for autoreload
2016-11-25 12:03:36 -05:00
TheZ3ro
b2f3cc6903
Add some password-related feature ( #92 )
...
* Add Standalone Password Generator. Closes #18
* Add an entropy meter for passwords. Closes #84
* Don't require password repeat when it is visible. Fixes #27
2016-11-23 21:59:24 -05:00
Janek Bevendorff
19a960856c
Fix minimize at startup and decouple various tray and minimization options ( #109 )
...
* Hide window on startup when configured to start minimized, fixes #105
* Decouple different systray and minimization options, fixes #64
* Commit missing changes in main.cpp to minimize at startup
* Remove obsolete code
2016-11-23 18:15:51 -05:00
Jonathan White
20c3ca7d37
Merge remote-tracking branch 'origin/develop' into feature/autoreload-db
...
# Conflicts:
# src/gui/DatabaseWidget.cpp
# src/gui/DatabaseWidget.h
2016-11-11 16:47:01 -05:00
TheZ3ro
6927158daa
Add unlock dialog on Autotype and show default Autotype sequence ( #89 )
...
* Add unlockdialog on autotype. Fix #10
* Show default autotype sequence for existing entries
* NOTE: New entries/groups do not show the default autotype sequence
2016-11-11 16:26:07 -05:00
Jonathan White
37aedc8b03
Cleaned up code and added spots for todo work. Fully Working!
2016-11-09 07:38:14 -05:00
TheZ3ro
753b9c9e67
Add Autotype on Windows and MacOS ( #63 )
...
* Add Autotype on Windows, including Windows 10
* Add MacOS autotype, fix macdeployqt build
* Make QT_BINARY_DIR overwritable at compile time
2016-11-08 16:13:57 -05:00
Jonathan White
06b1baa454
Automatic reload the database when the file is externally modified
2016-11-07 23:03:01 -05:00
Jonathan White
e25cd9ba48
Add Merge database utility function ( #47 )
...
Thank you to @TheZ3ro and @monomon for there major contributions to this PR!
2016-11-07 22:37:42 -05:00
Jonathan White
ccec84aef2
Rename application to KeePassXC and change icon ( #70 )
2016-11-03 00:05:30 -04:00
Jonathan White
13983d0e51
Make search always visible (PR #67 )
...
* Moved search bar to toolbar and consolidated search options into dropdown list
* Updated GUI tests to be atomic and rewrote search tests
* Searches are saved between databases
* Search is cleared when all databases are closed
* Implemented global search shortcut (CTRL+F) and a notification bar when in search mode
2016-11-02 21:01:02 -04:00
Jonathan White
13c3743ff5
Merge branch 'develop' into lock-on-minimize
2016-10-28 10:24:21 -04:00
Josef Vitu
8f3ffdcc2a
Fix advanced HTTP settings ( close #34 )
2016-10-28 15:25:57 +02:00
Josef Vitu
6c3c0087dd
🔒 Implement automatic locking when minimizing
2016-10-28 13:22:17 +02:00
thez3ro
24a17c05ab
🏁 Fix winsock and autotype error when compiling on Windows
2016-10-24 19:45:35 +02:00
Jonathan White
62cfbf73e1
Merge pull request #46 from keepassxreboot/feature/trayicon-#37
...
Show locked tray icon when database is locked
2016-10-19 22:45:56 -04:00
Manolis Agkopian
119af3d760
Fetch favicon from the root of the website and use Google as a fallback ( #36 )
...
* Replace favicon fetching using Google with fetching from the root of the website
* Follow up to 3 http redirects for the favicon
* Add download favicon from Google as fallback
* Move code responsible for fetching the favicon from Google on its own function to reduce repetitiveness.
2016-10-11 18:04:44 -04:00
thez3ro
3bbf11e26f
Unlocked tray icon #37
2016-10-10 00:02:28 -04:00
Jonathan White
c4b3f08618
Download favorite icon of entry url and add to the custom icon registry ( #30 )
...
* Favicon download button.
* Simplified icon grabbing code
2016-10-05 23:10:06 -04:00
Felix Geyer
fff9e7ac46
Convert Q_FOREACH loops to C++11 for loops.
...
Q_FOREACH will de deprecated soon.
2016-10-02 21:45:55 -04:00
Felix Geyer
ad834f0f58
Merge branch '2.0'
2016-10-02 21:45:55 -04:00
Felix Geyer
8a50ee8b22
Close database without asking when unmodified.
...
Don't ask for confirmation when closing/locking a database and
- it's in edit entry mode
- there haven't been any modifications
Refs #511
2016-10-02 21:45:54 -04:00
Felix Geyer
cf8186312a
Refactor parts of EditEntryWidget::saveEntry() into updateEntryData().
2016-10-02 21:45:54 -04:00
Felix Geyer
8f87b5cfd4
Split EditWidgetIcons::save() into state() and reset().
2016-10-02 21:45:54 -04:00
Felix Geyer
c78822f6e6
Merge branch '2.0'
2016-10-02 21:45:54 -04:00
Jonathan
2146392a2f
Merge pull request #8 from daniellandau/save-with-ctrl-return
...
Save entry with ctrl+return keyboard shortcut
2016-10-02 10:10:33 -04:00
Felix Geyer
3415073051
Display an error message when opening the database fails.
...
Closes #462
2016-09-29 22:08:29 -04:00
Felix Geyer
878995366a
Ask the user before moving an entry to the recycle bin.
...
Closes #447
2016-09-02 12:00:12 +02:00
Felix Geyer
595b1011dd
Refresh fileInfo after creating the file.
...
Fixes canonicalFilePath() returning an empty string.
2016-09-02 11:35:39 +02:00
Felix Geyer
9bb291235d
Fix monospace font on Windows.
...
Closes #424
2016-09-02 11:35:39 +02:00
Felix Geyer
7d4ef0b8d0
Generate new password whenever the generator widget is opened.
...
Closes #414
2016-09-02 11:35:39 +02:00
Felix Geyer
cd1192b409
Allow deleting the recycle bin.
...
Closes #46
2016-08-03 23:45:04 +02:00
Felix Geyer
bf2fd63131
Fix crash when deleting parent group of recycle bin.
...
In these cases delete the group instead of trying to move it to the recycle bin.
Closes #520
2016-08-03 23:27:02 +02:00
Daniel Landau
029da87346
Save and exit entry editing with Ctrl+Return
...
When the cursor is on most fields, you can use Return to end editing and
save, but on the Notes field Return just changes the line. This commit
adds a shortcut to the whole widget to save with Ctrl+Return, so that
saving and exiting is quick even when editing notes.
2016-08-02 16:10:54 +03:00
Felix Geyer
9532bedd7d
Update min. length for password generator.
...
Update the minimum length for the password generator depending on the chosen
options.
Closes #420
2016-07-31 22:07:47 +02:00
Felix Geyer
e9c8363b70
Save to canonical file path so we don't overwrite symlinks.
...
When saving a database we previously replaced symlinks with a regular file.
Closes #442
2016-07-31 18:29:43 +02:00
Felix Geyer
fb57ed2bcd
Add proper error handling when QSaveFile::open() fails.
...
Based on pull request by Valeriy <jazzvoid@gmail.com>
Closes #450
2016-07-31 17:07:31 +02:00
Felix Geyer
57ec558396
Detect image format solely on content.
...
Otherwise reading fails if the file extension is wrong.
Closes #512
2016-07-31 15:36:29 +02:00
Felix Geyer
6e2de1cd79
Display proper error message when reading an icon fails.
...
Refs #512
2016-07-31 14:44:45 +02:00
Felix Geyer
48eca3e11f
Display an error message when opening the database fails.
...
Closes #462
2016-05-20 16:49:32 +02:00
Jonathan White
aba4fa94be
Merge remote-tracking branch 'keepassx/master'
...
# Conflicts:
# README.md
# share/translations/keepassx_de.ts
# src/CMakeLists.txt
# src/gui/MainWindow.h
2016-02-27 19:11:09 -05:00
Felix Geyer
d6d92ce90a
Merge branch '2.0'
2016-02-08 18:13:29 +01:00
Felix Geyer
aff935b3c7
Properly handle a missing key filename.
2016-01-31 17:08:50 +01:00
Felix Geyer
7a017041bf
Allow opening databases that have no password and keyfile.
...
Closes #391
2016-01-31 16:17:24 +01:00
Felix Geyer
bfae81ec70
Use C++11 keyword directly in new methods.
2016-01-29 17:25:32 +01:00
Felix Geyer
71d4cb781d
Merge branch '2.0'
2016-01-29 17:22:37 +01:00
Felix Geyer
eb56bd8973
Add repair functionality to strip invalid XML chars.
...
Refs #392
2016-01-28 23:07:04 +01:00
Felix Geyer
93585aded7
Always display scaled custom icons.
...
Closes #322
2016-01-26 22:44:38 +01:00
Florian Geyer
5e6b17aba4
Disable password generator button when showing entry in history mode.
...
Closes #422
2016-01-22 22:55:28 +01:00
Florian Geyer
c51098e2cf
Flush temporary file before opening attachment.
...
Closes #390
2015-12-16 21:38:20 +01:00
Felix Geyer
ecfbf72a57
Merge branch '2.0'
2015-12-15 21:05:00 +01:00
Felix Geyer
a3b936fcd0
Coding style fixes.
2015-12-06 20:27:09 +01:00
Felix Geyer
efc4cd5969
Merge remote-tracking branch 'github/pr/74'
2015-12-06 19:21:38 +01:00
Felix Geyer
7839280cb3
Check if the tray icon is visible before minimizing to it.
2015-11-01 23:32:37 +01:00
Felix Geyer
dff3fc0572
Coding style fixes.
2015-10-15 18:02:31 +02:00
Felix Geyer
5de0ec94e0
Stop using deprecated methods from QtAlgorithms.
2015-10-13 22:52:07 +02:00
Felix Geyer
6e45cf0dab
Use C++11 keywords directly.
2015-10-11 10:47:30 +02:00
Felix Geyer
dc7b6623a9
Merge branch '2.0'
2015-10-11 10:44:30 +02:00
Felix Geyer
e98c30f633
Disable systray on OS X.
...
It's not useful on that platform.
Refs #326
2015-10-10 17:10:29 +02:00
Felix Geyer
316a7e6fb7
Expose version of used libraries in the About dialog.
2015-10-10 17:10:29 +02:00
Felix Geyer
58ed99d562
OS X: Restore main window when clicking on the docker icon.
...
Apparently this worked previously. Maybe a regression in Qt?
Refs #326
2015-10-10 17:10:27 +02:00
Felix Geyer
840642394f
Cope with focusWidget/activeWindow returning windows that are minimized.
2015-10-10 12:07:28 +02:00
Frank Nießen
9484af5329
Minimize-On-Startup: call configuredMinimizeWindow() function of MainWindow to hide it after database is unlocked
2015-10-08 20:30:03 +02:00
Frank Nießen
3cf1a16398
Minimize-On-Startup: add function to minimize mainwindow if all four tray settings are true
2015-10-08 19:25:42 +02:00
Frank Nießen
0f0af12353
Minimize-On-Startup: get and set new setting from/to config object
2015-10-08 19:09:58 +02:00
Frank Nießen
28a1eb86da
Minimize-On-Startup: new checkbox in ui
2015-10-08 19:09:41 +02:00
Frank Nießen
86f12d9e83
cleaner handling of TrayIconEnabled
2015-10-08 16:27:29 +02:00
Frank Nießen
539f86fd0b
respect setting of parent checkboxes for minimizeToTray
2015-10-08 15:13:22 +02:00
Frank Nießen
c93b12ff05
better handling and display for systray checkbox buttons
2015-10-06 21:12:59 +02:00
Florian Geyer
ebeedba072
Reset visibility state of password field on unlocking.
...
Closes #354
2015-09-28 22:30:29 +02:00
Felix Geyer
568dfde074
Fix minimum size of AboutDialog.
...
Also make the dialog non-resizeable.
Closes #352
2015-09-28 22:08:33 +02:00
Felix Geyer
b8c1829857
Improve tray icon behavior on OS X.
...
Previously the main window had issues on restore:
- was sometimes hidden again.
- window was unresponsive, all actions disabled.
2015-09-27 23:16:18 +02:00
Felix Geyer
3b2a39fd38
Merge branch '2.0'
2015-09-26 11:44:27 +02:00
Felix Geyer
bcb54bc38a
Avoid dereferencing QLists.
2015-09-25 21:34:56 +02:00
Felix Geyer
9d42db9849
Mark more methods as override.
2015-09-25 21:34:56 +02:00
Felix Geyer
2edf414aa4
Fix compiler warning on OS X and Windows.
2015-09-24 18:45:23 +02:00
Felix Geyer
d559db4fb1
Merge branch '2.0'
2015-09-21 23:23:51 +02:00
Felix Geyer
bb38be40f6
Enable Ctrl+M shortcut to minimize window on all platforms.
...
Closes #329
2015-09-13 22:33:07 +02:00
Felix Geyer
f236c32063
Clear clipboard when locking databases.
...
Closes #342
2015-09-13 12:38:19 +02:00
Benjamin Robin
d84af2def0
Fix the open recent database menu.
...
With at least Qt 5.5 the action text is automatically modified from
/home/ben/db.kdbx to /&home/ben/db.kdbx
So add the path of the database to the action using setData
Signed-off-by: Benjamin Robin <dev@benjarobin.fr>
2015-09-12 14:00:03 +02:00
Felix Geyer
7fa0eddc5f
Make C++11 mandatory.
2015-09-12 13:55:50 +02:00
Felix Geyer
9882f16614
Remove Tools::currentDateTimeUtc().
2015-09-12 13:51:49 +02:00
Felix Geyer
3b07098731
Port native event filter to Qt 5.
2015-09-12 13:51:49 +02:00
Felix Geyer
5ad9edc3fd
QDesktopServices::storageLocation() calls to QStandardPaths.
2015-09-12 13:51:49 +02:00
Felix Geyer
c714fc89f1
Add missing include statements.
2015-09-12 13:51:49 +02:00
Felix Geyer
e3cde7b55e
Adapt to setSupportedDragActions() begin removed.
...
Models have a virtual supportedDragActions() now.
2015-09-12 13:51:49 +02:00
Felix Geyer
531018e58d
Remove QSaveFile and QLockFile.
...
They are part of Qt >= 5.1.
2015-09-12 13:51:49 +02:00
Felix Geyer
0b43607aa1
Make sure we use the native file dialog on Windows and OS X.
2015-09-06 13:32:12 +02:00
Felix Geyer
e75efb8bfb
Improve setting the default file extension in FileDialog.
...
Largely from PR #105 by Charles Brunet <charles@cbrunet.net>
2015-09-05 19:10:26 +02:00
Akinori MUSHA
5c7c7f54fa
Improve UI of the search edit.
...
- The copy action (Control+C) when no text is selected copies the
password of the current entry. This should be reasonable when
Control+B copies the username.
- Down at EOL moves the focus to the entry view. Enter and Tab should
do that, but it would be handy for user to be able to get to the third
entry by hitting Down three times.
2015-08-05 19:02:17 +09:00
Felix Geyer
98417d6465
Set default extension when selected filename doesn't have one.
...
Closes #79
2015-07-25 18:16:33 +02:00
Felix Geyer
0ea64afe92
Fix type of default value for options.
2015-07-25 18:13:57 +02:00
Felix Geyer
a862f62fe8
Set a default filename when saving a new database.
...
Closes #308
2015-07-25 17:47:45 +02:00
Florian Geyer
41a7c96968
Close search before locking database and add additional check on current group.
...
Closes #309 .
2015-07-20 22:45:57 +02:00
Felix Geyer
606e36acf3
Detect and display more errors when writing databases.
2015-07-20 21:35:48 +02:00
Felix Geyer
84ee8b993f
Explicity hide the tray icon before deleting it.
...
In some conditions the tray icon stayed visible until the application
was closed.
Tested on Kubuntu 15.04 (KDE Plasma 5.2).
2015-07-19 21:14:08 +02:00
Felix Geyer
7d3fb58cf5
Fix lock file location in saveDatabaseAs().
...
Previously the directory of the lock file path was empty when
saving to a new file.
saveFile.open() doesn't create the file and canonicalPath()
only works when the file exists.
2015-07-19 00:41:35 +02:00
Felix Geyer
df5da2fcef
Fix lock file handling in saveDatabaseAs().
2015-07-18 22:46:45 +02:00
Felix Geyer
6327eaf587
Fix tab name for read-only databases.
2015-07-18 18:29:19 +02:00
Felix Geyer
b1fd99f4c4
Enable document mode of DatabaseTabWidget.
...
This fixes a visual artifact when the GTK style is used and
only one database tab is open.
Closes #131
2015-07-18 18:27:17 +02:00
Felix Geyer
c6fe0da569
Abort closing the app if saving a database failed.
2015-07-18 17:36:08 +02:00
Florian Geyer
b9fe2c1bf9
Small clean up.
2015-07-18 13:23:36 +02:00
Florian Geyer
3efc8f457a
Display git revision in about dialog.
2015-07-18 13:14:13 +02:00
Florian Geyer
fa0fe6d33d
Make tab order consistent.
2015-07-16 23:50:35 +02:00
Felix Geyer
826cd472c8
Group all copy to clipboard menu entries together.
2015-07-16 20:09:23 +02:00
Felix Geyer
8ecab15c33
Merge remote-tracking branch 'github/pr/112'
...
Closes #149
2015-07-16 20:06:44 +02:00
Felix Geyer
c9520214e2
Merge remote-tracking branch 'github/pr/72'
2015-07-16 20:04:26 +02:00
Felix Geyer
6d1ca363af
Remove support for clearing the Klipper history.
...
KDE Plasma 5 doesn't provide the DBus interface anymore and
this avoids the QtDBus dependency.
2015-07-16 20:02:10 +02:00
Felix Geyer
2170794d9c
Guess the scheme when opening URLs.
...
Closes #293
2015-07-16 19:52:34 +02:00
Felix Geyer
d3a7e0dee9
Merge remote-tracking branch 'github/pr/108'
2015-07-16 19:32:07 +02:00
Felix Geyer
ceb6a0383e
Add ability to export databases to CSV files.
...
Based on implementation by Florian Geyer <blueice@fobos.de>
Closes #57
2015-07-14 22:14:34 +02:00
Felix Geyer
af84261eb6
Avoid calling QDesktopServices::openUrl() when cmd is empty.
2015-07-13 22:41:03 +02:00
Felix Geyer
274f86fd04
Merge branch 'pr-94'
...
https://github.com/keepassx/keepassx/pull/94
Closes #244
2015-07-13 22:36:56 +02:00
Felix Geyer
bcc3108c3d
Coding style cleanup.
2015-07-13 22:36:20 +02:00
Felix Geyer
5f1b286630
Merge branch 'pr-95'
...
https://github.com/keepassx/keepassx/pull/95
Closes #283
2015-07-13 22:22:45 +02:00
Felix Geyer
721bec9794
Make sure we don't lock the database while a dialog is open.
...
This can happen when
- the user is picking out a file to save the database as
- a dialog asking the user to save/discard/cancel the current database
changes is active
It is dangerous to lock the databases while these actions are still
in progress.
Closes #208
2015-07-13 21:25:38 +02:00
Codifier
280a1aceb9
Bug #149
...
Moved the actionEntryCopyUsername and actionEntryCopyPassword actions to the root level of the context menu, for easier access and changed their labels to 'Copy username' and 'Copy password', respectively.
2015-07-12 20:54:02 +02:00
denk-mal
5982763bed
implement a (nonperfect) hide-to-tray on win close
2015-06-18 15:23:41 +02:00
Andy Zeigler
bcd3de1180
Add keyboard shortcut (Ctrl-Alt-U) for copy URL to clipboard.
2015-06-12 19:29:02 -07:00
Florian Geyer
f4361dd4d5
Fix enabled state of copy notes action.
2015-06-05 18:37:22 +02:00
Ivan
a115bbdc6f
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-05-22 21:06:32 -07:00
Felix Geyer
c535736853
Add GUI for changing default group auto-type sequence.
...
Closes #175
2015-05-14 12:59:36 +02:00
Amir Pakdel
0458dad6dc
Code cleanups
2015-05-13 14:34:48 -04:00
Felix Geyer
7e1faadd11
Merge remote-tracking branch 'github/pr/96'
...
Closes #218
2015-05-12 23:35:19 +02:00
Felix Geyer
fceb93061d
Merge remote-tracking branch 'github/pr/97'
...
Closes #290
2015-05-12 22:31:51 +02:00
Amir Pakdel
c9d007fcdf
Always clearing ChangeMasterKeyWidget.m_key
2015-05-12 16:31:14 -04:00
Felix Geyer
05b5446e94
Protect opened databases with a file lock.
...
Closes #18
2015-05-12 22:24:45 +02:00
Amir Pakdel
b45437d502
Refactored DatabaseWidget::currentEntryHas*()
2015-05-12 15:54:39 -04:00
Amir Pakdel
a599787a25
Bug #290
...
Show realted menu option to current entry only if the corresponding
field is not empty.
2015-05-12 15:50:10 -04:00
Amir Pakdel
58061af959
Bug #218
...
Do not accept faulty files as Key File. Moreover, do not clear keys
unless we have a key to add.
2015-05-12 15:17:39 -04:00
Ivan
33ed4fd7cf
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-05-12 11:03:48 -07:00
Amir Pakdel
8bf1bb0517
Bug #283
...
Updated messages related to saivng and closing a database to make
them more clear about what is going to happen.
2015-05-12 13:46:48 -04:00
Amir Pakdel
d26cff520f
Bug #244
...
Supporting cmd:// URLs
2015-05-12 12:25:43 -04:00
Felix Geyer
4362c3ea38
Handle cipher errors in TransformKeyBenchmarkThread.
2015-05-09 23:38:04 +02:00
Felix Geyer
a762cef0a9
Catch and handle all errors from libgcrypt.
2015-05-09 23:21:44 +02:00
dartraiden
3fca61dc24
spelling correction, fixed typos
2015-05-06 19:38:43 +03:00
Felix Geyer
6c9c0fd5c5
Look for a close button when pressing the escape key.
2015-05-03 19:59:11 +02:00
Felix Geyer
f3d956ceed
Display a Close button for history items.
...
Previously we had Ok and Cancel with the same action.
2015-05-03 18:59:19 +02:00
Felix Geyer
b9c9c56059
Use common EditEntryWidget::clear() method.
2015-05-03 18:58:44 +02:00
Felix Geyer
bed58cde84
Fix crash when pressing "cancel" on a history item.
2015-05-03 18:48:58 +02:00
Felix Geyer
ecb2e337ef
Hide Auto-Type action when it's not available.
2015-04-14 23:12:10 +02:00
Felix Geyer
2dde18b179
Adjust coding style.
2015-04-14 23:10:37 +02:00
Felix Geyer
6411b9bd66
Merge remote-tracking branch 'github/pr/82'
...
https://github.com/keepassx/keepassx/pull/82
Closes #145
2015-04-14 23:07:14 +02:00
Ivan
d70ee509b4
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-04-11 15:41:25 -07:00
Felix Geyer
bd3ae05fcf
Rename Extras menu to Tools and move Lock Databases action to it.
2015-04-05 10:48:08 +02:00
Felix Geyer
b055d524e8
Merge branch 'lockdb'
2015-04-05 10:38:58 +02:00
Felix Geyer
9e051e835b
Close databases when they are locked.
...
Previously we've only hidden access to them.
Closes #275
2015-04-05 10:38:36 +02:00
Ivan
e20968bdfe
Merge branch 'master' of https://github.com/keepassx/keepassx
2015-04-04 23:31:12 -07:00
Felix Geyer
3ab1072e9e
Scale new custom icons down to 64x64 if they are larger.
2015-03-31 22:31:04 +02:00
Joe Harvell
00df73ced0
Issue #270 - turning off key location memory
...
Add general settting for whether or not to remember last key files
2015-03-14 22:06:53 -05:00
IvanF
2e94066e50
Fixes to get code to compile with latest upstream.
2015-01-30 00:35:38 -08:00
IvanF
61c6962bf2
Deleted unused and unrelated files
...
Merged lots of changes from upstream that were missed or ignored
2015-01-30 00:29:01 -08:00
IvanF
9cbdd58af5
Fixed HTTP settings and service start-up
2015-01-30 00:04:27 -08:00
IvanF
eea9d7db97
Added http service start to MainWindow
...
Added http settings pane to SettingsWidget
Settings are probably broken still
2015-01-29 01:19:15 -08:00
IvanF
235baa3dcc
Merge branch 'master' of https://github.com/keepassx/keepassx
...
Conflicts:
README.md
src/core/Config.cpp
src/gui/DatabaseTabWidget.cpp
src/gui/DatabaseTabWidget.h
src/gui/DatabaseWidget.cpp
src/gui/DatabaseWidget.h
src/gui/MainWindow.cpp
src/gui/MainWindow.h
src/gui/MainWindow.ui
src/gui/SearchWidget.ui
src/gui/SettingsWidget.cpp
src/gui/SettingsWidgetGeneral.ui
2015-01-29 00:17:39 -08:00
Felix Geyer
33650c4a04
Add non-const version of Group::groupsRecursive().
2015-01-11 16:20:24 +01:00
Victor Häggqvist
019cf9684c
change tabindex, put password inputs after each other
2015-01-01 02:25:43 +01:00
Akinori MUSHA
e4758c1984
Fix the temporary filename template so that the original suffix is preserved.
2014-12-22 23:47:16 +09:00
Felix Geyer
876a75b572
Disable attachment buttons when none is selected.
2014-12-03 23:26:42 +01:00
Felix Geyer
c39898dad9
Support opening attachments directly.
2014-12-03 21:50:17 +01:00
Florian Geyer
2adc64939f
Correct handling of keyfile argument.
...
Closes #223 .
2014-12-01 22:47:22 +01:00
Felix Geyer
07e4fbacd4
Remove ModifiedOnExpandedStateChanges config option.
...
I'm pretty sure noone knew what it actually does.
This is the sort of option users shouldn't be bothered with.
2014-11-30 23:04:17 +01:00
Akinori MUSHA
dd79105baa
Complete remove the toggle search action.
2014-11-19 11:46:38 +09:00
Akinori MUSHA
b1c3814972
Make Ctrl+F not toggle the search mode but always enable it.
...
Switching back from other applications, the previous behavior of Ctrl+F
would often bother you in that it would dismiss the search widget if it
was already enabled when you meant by the key you wanted to perform a
search.
Making Ctrl+F always set you in search mode should save user from having
to care about the mode which is persistent across application switching
and database locking.
2014-11-18 19:46:53 +09:00
Felix Geyer
87468b648b
Use specific monospace fonts as fallback on Mac OS X.
...
Qt (4.8.6) doesn't seem to be able to resolve the generic monospace
font family.
Closes #214
2014-11-02 11:44:03 +01:00
Felix Geyer
4cdb9a645d
Add an option to display a tray icon.
...
Also implement "Minimize to tray" functionality.
2014-11-02 11:44:03 +01:00
Florian Geyer
f1aa6aca26
Fix copy custom attributes menu.
2014-10-09 21:36:08 +02:00
Florian Geyer
72b59d541a
Clear available languages when loading settings.
...
Thanks to Victor Häggqvist for spotting this.
2014-09-05 10:12:35 +02:00
David Kolossa
3a0648cf25
! binds stronger than ==
...
This should just avoid useless copying if more than 1 attribute is
selected (and the option to copy attributes is unavailable).
This also fixes a clang warning.
2014-06-16 15:40:28 +02:00
Sebastien Fricker
06e08557ac
New setting: enablin/disabling the automatic reload on changes
2014-06-09 10:51:24 +02:00
Sebastien Fricker
95fdefdcc7
Merge github.com:keepassx/keepassx
...
Conflicts:
src/gui/DatabaseWidget.cpp
2014-06-09 09:54:29 +02:00
Felix Geyer
7137990a21
Clear clipboard only if copied text is still present.
...
Closes #198
2014-05-26 18:41:48 +02:00
Felix Geyer
28694ae687
Add initial support for translations.
2014-05-18 01:33:22 +02:00
Felix Geyer
becd3a0019
Increase the EntryView default column size a bit.
2014-05-17 19:01:43 +02:00
Felix Geyer
8cc1e6008e
Use plurals in translations.
2014-05-17 18:17:31 +02:00
Felix Geyer
910788c038
Mark some strings as untranslatable.
2014-05-17 18:17:31 +02:00
Felix Geyer
9391de74c7
Block non-user updates in DatabaseWidgetStateSync.
2014-05-17 18:17:31 +02:00
Florian Geyer
c806f9ebf4
Correct tr-calls.
2014-05-17 18:13:22 +02:00
Felix Geyer
e776de8eeb
Remember and synchronize entry column sizes.
...
Closes #159
2014-05-17 12:51:16 +02:00
Felix Geyer
a25b28ffee
Rename config option window/Geometry to GUI/MainWindowGeometry.
2014-05-17 11:38:48 +02:00
Felix Geyer
0e75e6ff03
Make DatabaseWidget splitter non-collapsible.
2014-05-17 11:27:04 +02:00
Felix Geyer
76da4a6cd4
Use QSplitter::setStretchFactor() convenience method.
2014-05-17 11:25:45 +02:00
Felix Geyer
8a4100adbd
Make DatabaseWidget::emit{Group,Entry}ContextMenuRequested() private.
2014-05-17 11:22:45 +02:00
Felix Geyer
584f4b50bf
Coding style fix.
2014-05-17 11:21:50 +02:00
Felix Geyer
9ac01c930d
Drop DatabaseWidget::groupView() and entryView().
2014-05-17 11:21:17 +02:00
Felix Geyer
d874f58a39
Synchronize DatabaseWidget splitter sizes.
2014-05-17 11:16:27 +02:00
Florian Geyer
05de45dadb
Improve tab order.
2014-05-16 19:49:58 +02:00
Felix Geyer
4ab887c773
Initally select first entry in EntryView.
...
Closes #104
2014-05-16 19:10:30 +02:00
Florian Geyer
552ca7bf71
Stop search timer when closing search.
2014-05-16 18:56:01 +02:00
Felix Geyer
2d8ba2b394
Focus the search field instead of closing it when pressing the shortcut.
...
Closes #124
2014-05-16 13:10:26 +02:00
Florian Geyer
8bf4826003
Move search into separate class.
2014-05-15 23:50:40 +02:00
Felix Geyer
e361b0dd81
Fix typo canDeleteCurrentGoup() -> canDeleteCurrentGroup().
2014-05-15 22:56:36 +02:00
Felix Geyer
ce7e01a1b1
const-ify several methods.
2014-05-15 22:53:59 +02:00
Felix Geyer
cda5e990ac
Show in-edit-mode warning when database is locked.
2014-05-15 22:51:13 +02:00
Florian Geyer
50cbd80925
Remove obsolete method in EntryView.
2014-05-15 18:55:17 +02:00
Felix Geyer
75d3e6261b
Coding style fix.
2014-05-15 18:41:11 +02:00
Felix Geyer
147cd4ed7b
Add option to use the entry title for auto-type window matching.
2014-05-15 18:30:57 +02:00
Florian Geyer
9363d23e09
Remove dependency to Group- and EntryView from MainWindow.
2014-05-15 18:05:58 +02:00
Sebastien Fricker
7a8d4577f1
Automatic reload of a database when it get modified
...
When the database if modified by an other instance of KeePassX, KeePassX
detect it and reload automatically the database.
2014-05-03 16:59:41 +02:00
Florian Geyer
b718e9d8f2
Make sure copy actions are disabled when database is locked.
...
Closes #189
2014-05-03 08:28:56 +02:00
Jascha Dachtera
65eb71e645
Merge branch 'master' of https://github.com/keepassx/keepassx
2014-05-02 21:29:12 +02:00
Felix Geyer
c917096d3c
Show the inherited value in EditGroupWidget.
2014-04-26 18:34:26 +02:00
Jascha Dachtera
65626f0da2
Merge branch 'master' of https://github.com/keepassx/keepassx
...
Use SymmetricCipherGcrypt directly in Protocol.cpp to make it work with the latest master
revision.
2014-04-18 13:59:24 +02:00
Florian Geyer
ad26d962dc
Add option in settings for using group icons for newly created entries.
...
Closes #174
2014-04-14 23:38:09 +02:00
Florian Geyer
967a9f0195
Add check if parent group has custom icon.
...
Refs #174
2014-04-14 23:20:24 +02:00
Charles Brunet
6c663a19bf
Use folder icon when not defaut icon
2014-04-14 22:59:38 +02:00
Felix Geyer
0b9167c78b
Add an option to always ask before performing auto-type.
...
Closes #120
2014-04-14 22:57:18 +02:00
Felix Geyer
2963752585
Disallow global auto-typing when the database is locked.
2014-04-12 15:29:03 +02:00
Florian Geyer
1decdc6c11
Only save geometry when close event is accepted.
2014-03-24 20:03:40 +01:00
Florian Geyer
6659745e2b
Rename settings key for window geometry.
2014-03-24 20:03:40 +01:00
Florian Geyer
1e2d1a1b17
Refactor saving of window geometry.
...
Closes #154
2014-03-24 20:03:40 +01:00
Florian Geyer
f300ca5b7b
Remember window size.
...
Refs #154
2014-03-24 20:03:40 +01:00
Keith Bennett
c7158234dc
Removed assert test for indexFromEntry.
...
When no row is selected, row equals -1. Some operations call
indexFromEntry when there is no row selected and these should
be allowed to succeed.
2014-03-23 19:09:49 +00:00
Keith Bennett
b28cb19ae3
Added keybinding for copy URL
2014-03-23 19:09:48 +00:00
Keith Bennett
86a01b6984
Ensure that external DB changes are always detected.
...
QFileSystemWatcher seems to reset itself occasionally. This patch
works around the issue by re-applying the QFileSystemWatcher
whenever a change is handled.
2014-03-23 19:09:48 +00:00
Keith Bennett
b953ea9042
Tidied up layout of the search field.
2014-03-23 17:25:40 +00:00
Keith Bennett
a9a724714f
Stop qsearchfield from swallowing keypresses.
2014-03-23 17:25:39 +00:00
Keith Bennett
a627870bbb
Added a new DatabaseWidget modal state.
...
Commit d8857bf4
attempted to fix currentMode() while the DB had not
yet been opened. However, the fix meant that the title bar always
displayed the state as being "locked". This change works around the
issue by introducing a new modal state for when the DB is not yet
open.
2014-03-23 17:25:39 +00:00
Keith Bennett
b27ba03d42
Replaced qhttpserver with libmicrohttp.
...
The qhttpserver seems to be riddled with memory leaks and was
continuously crashing. I don't know Qt well enough to fix it so
I have replaced it with libmicrohttp. This is not nearly as
elegant but it is much more stable.
2014-03-23 17:25:39 +00:00
Keith Bennett
0c33019f93
Fixed building of qocoa subtree.
2014-03-22 17:04:59 +00:00
Keith Bennett
16598a8386
Merge commit 'f52f6e2d44bc3a08a5b2fa281459af8baac68f0d' as 'src/gui/qocoa'
2014-03-22 17:02:43 +00:00
Keith Bennett
304cebefe4
Removed qocoa so we can replace it with a subtree.
2014-03-22 17:01:53 +00:00
Keith Bennett
73f91db939
Merged keepassx-http.
2014-03-22 14:49:32 +00:00
Felix Geyer
b9370c6e79
More careful null checking and member initalization.
2014-03-22 12:10:49 +01:00
Florian Geyer
54bb7462f6
Add find action to entries menu.
...
Closes #122
2014-03-08 11:42:26 +01:00
Felix Geyer
b6497d9245
Coding style fixes.
2014-01-14 21:00:27 +01:00
Felix Geyer
811eb2714f
Add copy username and password actions to the clipboard.
...
Also add corresponding icons that I've put together from
various Oxygen icons.
2014-01-14 19:53:42 +01:00
Felix Geyer
a914b837a1
Drop new database action from the toolbar.
...
It's not a common operation.
2014-01-14 19:40:20 +01:00
Felix Geyer
04c9332a99
Drop superfluous PasswordGeneratorWidget::togglePassword slot.
2014-01-13 21:40:23 +01:00
Felix Geyer
97f374a189
Use monospace font in the password generator combo box.
2014-01-13 21:39:55 +01:00
Felix Geyer
6f3648d63e
Uncheck the correct widget in ChangeMasterKeyWidget.
...
We want to enable the password group but mask the password in the line edit.
2014-01-13 00:24:29 +01:00
Felix Geyer
350cf4b00a
Move password generator widget to the right row.
2014-01-13 00:24:29 +01:00
Felix Geyer
3af2307468
Reworked the PasswordGeneratorWidget.
...
It's loosely based on OS X PasswordAssistant. Generation happens as soon as a
change is made, and on open of the widget. A combobox has been added to allow
one to choose from some randomally-generated alternatives, and the UI is
generally been made a bit more compact.
Written by Michael Curtis <michael@moltenmercury.org> and revised by me.
Closes #119
https://github.com/keepassx/keepassx/pull/38
2014-01-13 00:24:25 +01:00
Felix Geyer
29c997e1bc
Add an option to show passwords by default.
...
Closes #93
2014-01-12 17:23:47 +01:00
Felix Geyer
223c5a1651
Use an icon for the button that shows/masks passwords.
...
Closes #38
Additionally make use of the new PasswordEdit class where possible.
2014-01-12 17:13:10 +01:00
Felix Geyer
4ded95a060
Add PasswordEdit class.
...
It displays passwords in monospace which closes #51
2014-01-12 17:13:03 +01:00
Felix Geyer
8e86437e89
Disable settings spinboxes by default.
...
They get enabled when the corresponding checkboxes are checked.
2014-01-07 21:58:49 +01:00
Felix Geyer
a8edad1e27
Add option to lock databases after user inactivity.
...
Closes #62
2014-01-07 21:57:38 +01:00
Felix Geyer
41162ea2e8
Only try to click the focused button when pressing enter.
...
It makes no sense when pressing the escape button.
2014-01-02 10:51:51 +01:00
Felix Geyer
b9a955c048
Add some more actions to the toolbar.
2013-12-05 22:14:01 +01:00
Florian Geyer
4b41dd30e6
Merge branch 'attributes'.
2013-12-02 00:01:20 +01:00
Florian Geyer
fc3cc12038
Optimize deletion of copy to clipboard actions.
2013-12-01 15:58:19 +01:00
Felix Geyer
3d8ff5b585
Hide auto-type settings when the plugin is not available.
...
Closes #121
2013-12-01 12:20:05 +01:00
Florian Geyer
a3b95c1c38
Remove unnecessary removeAction call in MainWindow.
2013-12-01 10:36:50 +01:00
Florian Geyer
2308099260
Small refactoring in DatabaseWidget.
2013-12-01 09:59:43 +01:00
Florian Geyer
4a3da3abe7
Hard code copy action for default attributes.
2013-12-01 09:43:41 +01:00
Florian Geyer
3e4811791a
Delete actions after removal from menu.
2013-11-30 16:19:48 +01:00
Florian Geyer
34f12ac39c
Remove duplicate menu entries to copy username and password.
2013-11-30 16:05:10 +01:00
Felix Geyer
ea628af580
Merge branch 'staging'
2013-11-30 12:15:16 +01:00
Veeti Paananen
9cae8a412a
Save password generator settings
...
Remember the used values for the password generator and restore them the
next time the user opens the generation dialog.
2013-11-30 11:27:39 +01:00
Felix Geyer
f2dfef8c41
Add flags to Entry::clone() for customized cloning.
2013-11-22 13:32:13 +01:00
Felix Geyer
74e912ccd3
Remember the dir when opening/saving attachments.
2013-11-22 10:30:50 +01:00
Felix Geyer
755241df5c
Focus entryView when pressing enter in the search field.
2013-11-17 10:55:58 +01:00
Felix Geyer
9080864167
Fix tab focus order in ui files.
2013-11-17 10:15:50 +01:00
Felix Geyer
091e87aeb3
EditEntryWidget: move the URL field beneath the password.
2013-11-16 22:30:39 +01:00
Charles Brunet
4a870f61f1
Added option to minimize window when copying data to clipboard
...
https://github.com/keepassx/keepassx/pull/24
2013-10-29 20:54:56 +01:00
Felix Geyer
5daf0853c9
Coding style fixes.
2013-10-13 18:08:50 +02:00
Felix Geyer
3dd4681e69
Fix EntryView not emitting activated() signals on return key press.
...
AutoTypeSelectDialog relies on this behavior.
2013-10-10 22:47:32 +02:00
Felix Geyer
d5b70b1bef
Add a QMessageBox wrapper class to help gui tests.
...
QMessageBox displays modal dialogs which blocks the gui tests.
To work around this we add a MessageBox wrapper class where
the tests can set the answer for the next dialog.
The answer is then returned without actually showing the dialog.
2013-10-08 22:09:20 +02:00
Felix Geyer
551637f0c2
Allow removing multiple entries.
2013-10-08 21:36:01 +02:00
Felix Geyer
8778df5789
Drop entries from search results when moved to the recycle bin.
2013-10-08 21:13:20 +02:00
Felix Geyer
6504b6f2bd
Drop Qt module name from include statements.
...
This is a preparation to be able to build KeePassX against Qt 5.
2013-10-03 15:18:16 +02:00
Jens Dieskau
035271d469
Only edit entries on doubleclick (not single) or with enter key.
...
https://github.com/keepassx/keepassx/pull/19
2013-09-29 17:35:34 +02:00
Francois Ferrand
d8857bf42d
Fix currentMode() while DB is not yet open.
2013-05-02 13:58:00 +02:00
Francois Ferrand
a85ac07576
Qocoa compilation fix for MacOS.
2013-05-02 13:58:00 +02:00
Francois Ferrand
d2ab008aa0
Auto-reload settings.
2013-04-30 17:31:08 +02:00
Felix Geyer
2be045eb8f
Initalize m_database in EditGroupWidget ctor.
2013-04-29 22:31:50 +02:00
Francois Ferrand
f4ff8b17f7
Use search field for search.
...
Search options are presented in a context menu on the search field, as well as
links in search header.
2013-04-29 18:05:08 +02:00
Francois Ferrand
d5c8787451
Detect background changes to database file.
...
This gives the option to reload the database.
TODO:
- Settings for reloadBehavior (ask, reloadUnchanged, ignore)
- Improve notification, by using a header instead of dialog: nicer, less
intrusive, gives more options to user, and works better when multiple databases
are open.
- Keep tab order on reload.
2013-04-29 09:11:26 +02:00
Florian Geyer
94e6d3f89b
Fix coding style.
2013-04-27 11:23:51 +02:00
Florian Geyer
94ac9c9ea1
Rename config key for last opened databases.
2013-04-27 11:22:38 +02:00
Francois Ferrand
850c7c7ecf
Option to automatically reopen databases which were last opened.
2013-04-24 13:30:30 +02:00
Francois Ferrand
7ff475977e
Favicon download button.
2013-04-22 11:25:01 +02:00
Francois Ferrand
af394ff65c
Settings UI integration.
2013-04-19 11:29:46 +02:00