Commit Graph

1523 Commits

Author SHA1 Message Date
Louis-Bertrand Varin
782d1f17d1 Using ++argv 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
e1e8f33f67 Install path on Mac. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
805600ad44 Installing keepassxc-cli executable. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
342d49d050 Missing zxcvbn dependency. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
992d8a90c7 Migrate entropy-meter to keepassxc-cli 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
9b92e7f8e8 Use EXIT_FAILURE/SUCCESS 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
bf9b23539e Add dependency + adjust styling. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
9cfc862b07 Disable core dumps (keepassxc-cli). 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
52991f3d66 Add first keepassxc-cli version. 2017-03-16 10:09:50 -04:00
Janek Bevendorff
2587bac300
Enable ASAN option in Travis build 2017-03-15 15:23:52 +01:00
Janek Bevendorff
504bd40263
Prevent massive end-of-process leak sanitizer dump 2017-03-15 15:23:50 +01:00
Janek Bevendorff
2ff57c2eb7
Coding style fixes 2017-03-10 20:42:59 +01:00
Janek Bevendorff
429bef6830
Remove unused debug function 2017-03-10 18:06:22 +01:00
Janek Bevendorff
15dd783d2c
Merge branch 'develop' into feature/yubikey 2017-03-10 18:01:14 +01:00
Janek Bevendorff
8d487d31a4
Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
Janek Bevendorff
4c0e2af6e3
Remove UTF-8 BOM 2017-03-10 16:12:00 +01:00
Janek Bevendorff
cb51ec61f7
Replace remaining instances of Q_FOREACH with C++11 range-based for loops 2017-03-10 16:11:57 +01:00
Janek Bevendorff
2872f1706c
Fix Qt deprecation warnings 2017-03-10 16:11:55 +01:00
Janek Bevendorff
da0afd3939
Fix compiler warnings 2017-03-10 16:11:52 +01:00
seatedscribe
984602b7a0
Enhance FormatStatusText(), other minor cosmetics 2017-03-08 22:59:35 +01:00
seatedscribe
705b74b3ba Merge remote-tracking branch 'upstream/develop' into feature/import-csv-format 2017-03-08 22:52:39 +01:00
Jonathan White
31494ec327 Enhance attribute entry and add protected attributes (#220)
* Allow protected attributes to be hidden
* Entry area is resizable
* Added test cases for protected attributes
2017-03-07 22:38:18 -05:00
thez3ro
78acdf9095
pointer to referenceRegExp 2017-03-07 20:16:51 +01:00
thez3ro
40851409fb
reuse referenceRegExp 2017-03-07 17:20:57 +01:00
thez3ro
a03e354504
highlight reference field in Database view 2017-03-07 17:20:57 +01:00
seatedscribe
f4791c19e1
Assign uuid to newborn groups 2017-03-06 23:05:06 +01:00
Janek Bevendorff
2ec500f926
Reorder link dependencies 2017-03-06 13:51:52 +01:00
Janek Bevendorff
3c1271b1c4
Merge branch 'develop' into feature/yubikey 2017-03-06 13:49:48 +01:00
seatedscribe
39057a6aa0
Better widget positions, removed futile message when no errors shows up 2017-03-06 00:59:40 +01:00
seatedscribe
41f9c3d2a1 Better handle of parser status messages (critical/not critical)
Use of messageWidget for displaying parser status messages
setRootGroup assigns the right label to the root db folder
test uses portable QTemporaryFile instead of hardcoded file
2017-03-05 21:27:29 +01:00
seatedscribe
a7e358c27d Syntax style, spaces and pretty indentation 2017-03-05 21:27:29 +01:00
seatedscribe
afdf02b4be Implement import of databases in CSV (Comma Separated Values) format (i.e. from other password managers) 2017-03-05 21:27:29 +01:00
Ryan Matthews
1fe75f9420 Add feature to handle references, resolves #75
- Create popup for clone options
  - Add ability to resolve references for autotype/http/copying
2017-03-04 19:49:33 -05:00
Louis-Bertrand Varin
b2fa6fca82 Fixes crash when deleting in search mode. 2017-03-04 12:19:18 -05:00
Janek Bevendorff
5df7b9aa85
Merge branch 'develop' into feature/yubikey 2017-03-03 22:04:55 +01:00
Jonathan White
e81564387c
Cleanup 2017-03-02 19:49:32 -05:00
Jonathan White
3139ae1528
WITH_XC_AUTOTYPE defaults to ON and WITH_XC_HTTP includes ALL networking 2017-03-02 18:44:01 -05:00
Jonathan White
cdce9e27fb Merge pull request #344 from rockihack/windows-dacl
Prevent memory dumps on windows.
2017-03-02 17:34:53 -05:00
rockihack
cdf54b07c5 Add more detailed comment. 2017-03-02 19:24:31 +01:00
Janek Bevendorff
4e9bf53035
Merge branch 'release/2.1.3' into develop 2017-03-02 13:53:13 +01:00
John Lindgren
d45c2cf0f2
closeEvent() should always hide the window, never raise it.
This fixes an issue on X11 where Alt-F4 would not close the window, due
to toggleWindow() believing the window is inactive and trying to raise
it.  Avoid the problem by closing the window unconditionally.
2017-03-02 13:52:57 +01:00
Hanno
3e76f7af0f Fix stack buffer overflow in zxcvbn.
The array PossChars is filled with a 48 byte string plus a trailing zero
byte. Therefore it needs to be 49 bytes long.
2017-03-02 13:38:14 +01:00
John Lindgren
ac0178d2c7 closeEvent() should always hide the window, never raise it.
This fixes an issue on X11 where Alt-F4 would not close the window, due
to toggleWindow() believing the window is inactive and trying to raise
it.  Avoid the problem by closing the window unconditionally.
2017-03-02 06:22:57 -05:00
Janek Bevendorff
7eb7dbe0be
Merge branch 'develop' into feature/yubikey 2017-03-01 23:37:52 +01:00
Janek Bevendorff
93c212f28d
Merge branch 'release/2.1.3' into develop 2017-03-01 23:37:14 +01:00
Janek Bevendorff
52ab7b8865 Use unified toolbar on OS X 2017-03-01 23:36:27 +01:00
Jonathan White
4061fc7cf8 Delete a custom icon with multiple entries using it (#357)
* Made it possible to delete a custom icon with multiple entries using it
2017-02-28 22:45:40 -05:00
Janek Bevendorff
a31c423d9e Fix compiler warnings in QHttp library 2017-02-26 22:13:22 -05:00
rockihack
6d69f0b547 Grant minimal access rights to the user associated with the process token. 2017-02-26 22:59:21 +01:00
Janek Bevendorff
04b3b3dbc5 Assign role 'NoRole' instead of 'Accept' to not mess with button order 2017-02-26 13:33:28 -05:00
Janek Bevendorff
3715286eba
Hide close button on YubiKey user interaction message 2017-02-25 22:09:55 +01:00
Janek Bevendorff
3230206b69
Merge branch 'develop' into feature/yubikey 2017-02-25 22:04:57 +01:00
Janek Bevendorff
9ba88838ba
Use white close icon and add more padding to message widget 2017-02-25 21:45:34 +01:00
Janek Bevendorff
48366d245c
Add CMake feature description 2017-02-25 17:14:10 +01:00
Janek Bevendorff
44206cf088
Fix stub compilation 2017-02-25 17:04:00 +01:00
Janek Bevendorff
84f2520924
Fix message widget style on OS X 2017-02-25 16:50:24 +01:00
Janek Bevendorff
6e2254c13d
Don't fall back to ugly Qt close icon 2017-02-25 16:09:26 +01:00
Janek Bevendorff
1f6f7b614c
Merge branch 'release/2.1.3' into develop 2017-02-25 04:20:08 +01:00
Janek Bevendorff
4ec2fe556a Fix impossible dialog by providing a proper question with approriate answers, resolves #202 2017-02-24 22:10:19 -05:00
Janek Bevendorff
311e7802e5 Don't show error message when trying to reload a locked database 2017-02-25 03:15:32 +01:00
rockihack
153dc620c8 Add #ifdef Q_OS_WIN guard. 2017-02-25 01:35:47 +01:00
rockihack
d0ebaff7b4 Prevent memory dumps on windows. 2017-02-25 01:12:01 +01:00
Janek Bevendorff
e25e7ff4a2
Merge branch 'develop' into feature/yubikey 2017-02-25 01:09:59 +01:00
Janek Bevendorff
c248944dc1
Remove window title bar context help button 2017-02-25 00:52:51 +01:00
Janek Bevendorff
204bf81dd1
Resize About dialog to minimum size, even out layout spacings and open it as a dialog 2017-02-25 00:41:53 +01:00
Jonathan White
f25ad83a02
Removed header from autotype window listview; replaced with groupbox 2017-02-24 16:59:16 -05:00
Janek Bevendorff
9a94c6d85e
Remove debug output to reduce console spam when running in debug mode 2017-02-24 20:50:06 +01:00
Janek Bevendorff
46942413db
Fix unit test crash 2017-02-24 19:47:03 +01:00
Janek Bevendorff
434d0fb1c0
Merge branch 'develop' into feature/yubikey 2017-02-24 18:48:32 +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
18844d096a
Make other YubiKey driver methods thread-safe 2017-02-24 17:50:19 +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
ed085776c7
Make HTTP port input field smaller 2017-02-24 16:36:51 +01:00
Janek Bevendorff
492e320628
Shorten KeePassHTTP checkbox description and only enable settings when it's checked 2017-02-24 16:36:14 +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
44ac7d152b
Use better variable names 2017-02-24 01:09:24 +01:00
Janek Bevendorff
70816f90b2
Make challenge() member thread-safe 2017-02-24 01:05:31 +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
d98249814d
Rework HTTP settings 2017-02-22 17:53:39 +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
0892d1c744
Merge branch 'develop' into fix/settingsAlignment 2017-02-22 14:15:50 +01:00
Janek Bevendorff
a938b7aadb
Merge branch 'release/2.1.3' into develop 2017-02-22 14:13:58 +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
Edward Jones
873871a42c Update text in HTTP settings and a hard-to-translate command line hint 2017-02-21 22:36:11 +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
8d3e0687a0
Restructure doc comments and make hard-coded strings translatable 2017-02-21 00:28:01 +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
a37a90c8c7
Merge branch 'release/2.1.3' into develop 2017-02-20 01:17:30 +01:00
Janek Bevendorff
22f161d178
Merge branch 'release/2.1.3' into develop 2017-02-20 01:14:13 +01:00
Janek Bevendorff
a56bcc8903 Set windows EXE resource properties, resolves #329 2017-02-20 00:33:11 +01:00
Janek Bevendorff
cc44a833d5
Revert "Enable High DPI scaling", resolves #323
This reverts commit 188cac34ce.
2017-02-19 23:42:05 +01:00
thez3ro
2ad5e6f06a
load a different config with debug option, close #290 2017-02-18 13:52:52 +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
Janek Bevendorff
1b8366f040 Enable High DPI scaling, resolves #221 2017-02-16 20:57:17 -05:00
Janek Bevendorff
7df6d27900 Fix and clean up CMake files 2017-02-17 02:43:25 +01:00
Jonathan White
e9e92d0892 Fully functional http plugin with qhttp 2017-02-17 02:43:25 +01:00
Janek Bevendorff
86f2c9d350 Always release socket to allow consecutive HTTPS connections 2017-02-17 02:43:25 +01:00
Janek Bevendorff
a0ebbf997d Fix Host header always having port 65535 when URI does not contain explicit port 2017-02-17 02:43:25 +01:00
Janek Bevendorff
9d5d3081dc Implement basic SSL client and server sockets 2017-02-17 02:43:25 +01:00
Jonathan White
5274826e5c Implemented qhttp in server protocol 2017-02-17 02:43:25 +01: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
3768145c9b Make 'General' the default tab in HTTP settings (was 'Advanced' before) 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
fed210dc38 Also show when minimize on startup is enabled, but not minimize to tray 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
Janek Bevendorff
7a344930ec Don't try to show window when 'Minimize at startup' is enabled, prevents rendering glitches in Unity, resolves #304 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