Commit Graph

2408 Commits

Author SHA1 Message Date
Janek Bevendorff
72a1c65d00
Fix memory leaks in tests 2018-01-13 14:24:58 -05:00
Janek Bevendorff
ccfd7a065c
Fix coding style and GUI test 2018-01-13 14:24:57 -05:00
Janek Bevendorff
54fb0d9bd3
Show warning when using inappropriate transform round number
Increase default AES-KDF rounds to 100k
2018-01-13 14:24:57 -05:00
Janek Bevendorff
995d6646be
Redesign DatabaseSettingsWidget 2018-01-13 14:24:56 -05:00
Janek Bevendorff
f7d3c90218
Fix compilation error 2018-01-13 14:24:56 -05:00
Jonathan White
bef7ba2cfe
Implements KDBX4 format with Argon2 KDF
* Adds KDBX4 reader/writer interfaces
* Adds KDBX4 XML reader/write interfaces
* Implements test cases for KDBX4
* Fully compatible with KeePass2
* Corrects minor issues with Argon2 KDF
2018-01-13 14:24:55 -05:00
Jonathan White
738f870e70
Correct regression in database modification signal 2018-01-13 14:24:43 -05:00
Jonathan White
542ee42313
Add Argon2Kdf and enable parameters in db settings
Note: This implementation is not yet connected to the
database itself and will corrupt existing kdbx3 db's.

* Implemented memory and parallelism parameters for Argon2Kdf
* Using libargon2; libsodium does not support Argon2d algorithm
* Moved basic rounds parameter into Kdf class
* Reimplemented benchmark algorithm; previous was utterly broken
2018-01-13 14:23:30 -05:00
Jonathan White
2866bc626a
Removed dead code 2018-01-13 14:23:29 -05:00
Jonathan White
61c4fe8992
Formatting and consistency fixes 2018-01-13 14:23:29 -05:00
Janek Bevendorff
4592de8fb6
Make benchmark() method non-virtual 2018-01-13 14:23:28 -05:00
Janek Bevendorff
15648991fc
Refactor Kdf class, remove fields concept 2018-01-13 14:23:28 -05:00
Janek Bevendorff
d00ccd2eb5
Add AsyncTask helper functions 2018-01-13 14:23:27 -05:00
Janek Bevendorff
0d6ca0945b
Reformat code, fix minor style issues, make kdf() getter const 2018-01-13 14:23:27 -05:00
Janek Bevendorff
d1a19a1009
Refactor Endian namespace 2018-01-13 14:23:27 -05:00
angelsl
3461cbfb06
Rename KeePass2{,Xml}{R,W} to Kdbx3{,Xml}{R,W}, and add a redirection class
This class will in future select Kdbx4{R,W} as appropriate.
2018-01-13 14:23:26 -05:00
angelsl
e5ec585f98
Use GCRY_MD_FLAG_SECURE in CryptoHash 2018-01-13 14:23:26 -05:00
angelsl
6a0d05e1ef
Add support for various algorithms for kdbx4
* Add SHA512 support to CryptoHash
* Add ChaCha20 support
* Add HMAC support
* Add new HmacBlockStream, used in KDBX 4
* Add support for ChaCha20 protected stream
2018-01-13 14:23:26 -05:00
angelsl
4532108678
Add support for KDFs and cyphers to the db settings widget 2018-01-13 14:23:25 -05:00
angelsl
33974d710a
Move constants in KeePass2.h to KeePass2.cpp and add a list of KDFs and ciphers 2018-01-13 14:23:25 -05:00
angelsl
a5ec7fc704
Make HashedBlockStream::atEnd report EOF correctly 2018-01-13 14:23:24 -05:00
angelsl
663b8dcb08
Remove unused SymmetricCipherSalsa20 2018-01-13 14:23:24 -05:00
angelsl
656836950e
Add support for stream cipher subclasses in SymmetricCipherStream 2018-01-13 14:23:24 -05:00
angelsl
23347b392f
Fix typo in Endian and add uint{16,32,64}ToBytes 2018-01-13 14:23:24 -05:00
angelsl
2e19af5032
Pull out KDFs into their own class hierarchy
In preparation for multiple KDFs in KDBX 4
2018-01-13 14:23:20 -05:00
varjolintu
acceb8efc9 High CPU fix for Linux 2018-01-11 08:52:17 +02:00
Adolfo E. García
540bcd8d70 Refactor src/DatabaseWidget.cpp
Based on input from PR #1167's code review.
2018-01-09 12:47:12 +01:00
varjolintu
4316999254 Fix for building with MacPorts 2018-01-06 17:38:57 +02:00
Yen Chi Hsuan
9b5ed176cd Improve proxy path handling for the browser plugin
If "Update KeePassXC binary path automatically to native messaging
scripts on startup" is not selected (default behavior), native messaging
host JSON contains wrong path " ".
2018-01-06 18:22:10 +08:00
Weslly
6a75fd84ab
Fix auto-type regression when using {delay=x} 2018-01-05 23:53:45 -02:00
Jonathan White
1a7b874c60 Consistency using filepath and minor code fixes 2018-01-04 19:09:36 -05:00
Jonathan White
36e5377e6a Corrected use of canonicalfile info in autoopen code 2018-01-04 19:09:36 -05:00
Jonathan White
a80d1bbd2b Addressed comments; further streamlined code 2018-01-04 19:09:36 -05:00
Jonathan White
c2d04499ab Remove lock file and cleanup file handling [#1002] 2018-01-04 19:09:36 -05:00
varjolintu
06518c5736 keepassxc-browser 2018-01-04 21:42:20 +01:00
frostasm
3720c5ef79 Add test for drag and drop database files into main window 2018-01-03 16:12:05 +02:00
frostasm
165d664524 Pass (using IPC) command line filenames to already running instance 2018-01-03 16:12:05 +02:00
frostasm
7b9b23b143 Implement drag&drop support in main form to open database files 2018-01-03 16:12:05 +02:00
thez3ro
6d046f251e
Remove minus since it's an invalid literal 2018-01-03 12:56:18 +01:00
thez3ro
e803076063
improve regex filtering 2018-01-03 12:56:18 +01:00
thez3ro
203960b4b5
rename to executeAutoType 2018-01-03 12:56:18 +01:00
thez3ro
3d5ff723e9
fix codestyle 2018-01-03 12:56:18 +01:00
thez3ro
a02a49a184
add test for syntax checking 2018-01-03 12:56:18 +01:00
Marco
8ca444aee0
add a method to perform the autotype sequence showing graphical dialogs
Dialogs are show when the syntax of the autotype statement is wrong or contains long delays or statements which are repeated very often
2018-01-03 12:56:18 +01:00
Marco
7ceac05395
add support for custom commands. all autotype tests are getting passed now 2018-01-03 12:56:18 +01:00
Marco
4893d99774
move autotype syntax warning and error dialogs from AutoType to DatabaseWidget in the gui folder and replaced it with a checkSyntax call.
this fixes part of why autotype test fails
2018-01-03 12:56:18 +01:00
Marco
393017cf3b
fix for loops now have diffrent variables. dont know why it worked before 2018-01-03 12:56:18 +01:00
Marco
6057c9f27d
fix comments 2018-01-03 12:56:18 +01:00
thez3ro
a4bdc9a71d
fix syntax error 2018-01-03 12:56:18 +01:00
Marco
fbfc2e4d07
create message boxes for saving editing autotypes statements, fix multiple messages problem on autotype execution
You now get an error when you try to save incorrect autotype statements and warnings if you have high delays or much repetiton in your statement.

Also you will now only get one warning if you want to perfom high delayed or often repeated statements.
2018-01-03 12:56:18 +01:00
Marco
7bb9ea201c
fix typo 2018-01-03 12:56:18 +01:00
Marco
70127bad4b
extract syntax checking methods as static methods to the Autotype class 2018-01-03 12:56:18 +01:00
Marco
2bf68b7970
fix regular expressions for delays and repetition 2018-01-03 12:56:18 +01:00
Marco
d524aea779
Extended autotype syntax to allow all things in keepass2 2018-01-03 12:56:18 +01:00
Marco
4fcedc2187
check autotype syntax, high repetion, reformat code
TODO: specify what should happen when autotypesyntax incorrect
2018-01-03 12:56:18 +01:00
Marco
45cb97ec85
🐛 #216 add warning on long autotypes, enable user and pw repetition
Auto Type now shows a warning when you try to  repeat something too often.
Also you can now repeat your password and username
2018-01-03 12:56:18 +01:00
thez3ro
a89f57a2df
Fix sshagent autouic 2018-01-03 01:02:44 +01:00
Jonathan White
0bea8a881d
Prevent shadowing of application settings on MacOS 2017-12-28 18:10:56 -05:00
Janek Bevendorff
71f38f17cd Restrict Q_OS_UNIX ifdefs to non-Mac platforms 2017-12-27 20:35:05 +01:00
Rafael Sadowski
e29d3497eb s/Q_OS_LINUX/Q_OS_UNIX/g
Enable support for UNIX like OS.
2017-12-27 20:35:05 +01:00
Rafael Sadowski
8f4c2f5c58 Fix cmake build on OpenBSD 2017-12-27 20:35:05 +01:00
Janek Bevendorff
23f8d58859 Add default value for DarkTrayIcon option and fix style issues 2017-12-27 16:46:56 +01:00
Vlad N
4fa00b74ad Moved dark icon logic into FilePath. 2017-12-27 16:44:26 +01:00
Vlad N
55271311c4 Added dark tray icon parameter to settings. 2017-12-27 16:44:25 +01:00
Janek Bevendorff
901bf62213 Generate random 128-byte stream instead of legacy XML format when creating key files
Add API documentation for FileKey class
Resolves #1325
2017-12-26 22:37:45 +01:00
Janek Bevendorff
f8b7ffcf8c Add WITH_XC_SSHAGENT flag to build config and use cmake3 package 2017-12-26 13:07:10 +01:00
Jonathan White
cc1ab94a4f Correct regression to ssh-agent from entry attachment refactor 2017-12-25 23:22:10 +01:00
frostasm
80636ab083 Use EntryAttachmentsWidget in details view 2017-12-25 14:36:43 +02:00
frostasm
c490c21cd5 Move attachments view to the separate widget EntryAttachmentsWidget 2017-12-25 14:36:43 +02:00
frostasm
ed0bda98a6 Fix failing entry model test for attachment name and size 2017-12-25 14:36:41 +02:00
frostasm
0c200d360b Add attachments tab to details view 2017-12-24 20:10:12 +02:00
frostasm
90a64dbde2 Add drag and drop support for attachments view in EditEntryWidget 2017-12-24 20:10:12 +02:00
frostasm
bf5b96362f Use a table view to display the list of attachments in EditEntryWidget 2017-12-24 20:10:12 +02:00
Janek Bevendorff
c579736158 Bundle qtbase translations on Windows 2017-12-23 17:47:46 +01:00
Janek Bevendorff
5b525eb9ca Refactor Translator class to load qtbase translations from local directory if available 2017-12-23 17:47:46 +01:00
Yen Chi Hsuan
fc39e8f27d Fix font size of URL label in the preview panel 2017-12-23 16:20:59 +08:00
Sebastian Marsching
470ddb4704
Merge branch 'develop' into issue-1148-msi-package 2017-12-22 12:14:59 +01:00
louib
8037a79673
Add \n in merge request message. (#1310) 2017-12-20 18:08:18 -05:00
Aleksa Sarai
9f8943c89b keepassxc-cli show: resolve references in output (#1280)
* core: database: make UUID searching case-insensitive

4c4d8a5e84 ("Implement search for reference placeholder based on
fields other than ID") changed the semantics of searching-by-reference
in KeePassXC. Unforuntately it contained a bug where it implicitly
became case-sensitive to UUIDs, which broke existing databases that used
references (especially since the default reference format uses a
different case to the UUID used while searching).

The tests didn't catch this because ->toHex() preserves the case that it
was provided, they have been updated to check that UUIDs are case
insensitive.

* cli: show: resolve references in output

Previously, `keepassxc-cli show` would not resolve references. This
would make it quite hard to script around its output (since there's not
interface to resolve references manually either). Fix this by using
resolveMultiplePlaceholders as with all other users of ->password() and
related entry fields.

Fixes: keepassxreboot/keepassxc#1260

* tests: entry: add tests for ref-cloned entries

This ensures that the most "intuitive" current usage of references
(through the clone feature of the GUI) remains self-consistent and
always produces the correct results. In addition, explicitly test that
case insensitivity works as expected. These should avoid similar
regressions in reference handling in the future.

* http: resolve references in AccessControlDialog

The access control dialog previously would not show the "real" username
or "real" title when asking for permission to give access to entries.
Fix this by resolving it, as we do in many other places.

Fixes: keepassxreboot/keepassxc#1269


Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2017-12-17 10:44:12 -05:00
Aleksa Sarai
8e231dfa95 cli: show: add --attributes flag (#1289)
In order for scripting to be much simpler with `keepassxc-cli show`,
provide a simple --attributesk API which effectively is just a CLI
interface for entry->attributes()->value(...). This allows for more
extensibility and prevents changes in our output formatting from
breaking existing users of keepassxc-cli (if they use --attributes).

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2017-12-16 19:14:39 -05:00
Toni Spets
76e6d498cf SSH Agent: Split private key selection 2017-12-16 09:59:51 +02:00
Toni Spets
d2a59c556e Refactor fixed font selection into Font class 2017-12-16 09:59:51 +02:00
louib
8b1c8f69f7
Removing password output from Estimate. (#1281)
* Removing password output from Estimate.

* clang-format
2017-12-14 20:22:59 -05:00
Jonathan White
28ad6ed552 Merge branch 'master' into develop 2017-12-11 21:10:25 -05:00
Nicolas Garnier
74dac174db Enable translations for 'Extended ASCII' button 2017-12-08 10:52:40 +01:00
Matt Signorini
fef8f5c453 Tidied up code. 2017-12-06 17:10:25 +01:00
Matt Signorini
8f48ede957 Add keypress handler to the password generator widget so that esc quits
in standalone mode.
2017-12-06 17:10:25 +01:00
TheZ3ro
f2a464f626
Merge branch 'develop' into develop 2017-12-05 17:26:14 +01:00
louib
471e684151
Rename EntropyMeter -> Estimate (#1250)
* EntropyMeter -> Estimate
* Cleaning estimate
* Documentation
* clang-formatting /cli
2017-12-04 09:46:23 -05:00
Sebastian Marsching
1ce77e6f15 Remove WIX from default list of CPack generators.
This ensures that MSI packages are only built when explicitly requested
by using the "-G" parameter of cpack.
2017-12-03 17:49:15 +01:00
Mike Woudenberg
938cf8fce2 Adds listener for Gnome specific screensaver activation 2017-12-03 13:17:43 +01:00
frostasm
c4bbb76da4 Remove "Can't resolve placeholder" warning (#1137) 2017-11-30 20:07:16 +02:00
frostasm
d99dee9c40 Small refactoring related to references placeholders 2017-11-30 20:07:16 +02:00
Martin Unzner
b44092ac43 Add capability to resolve UUID 2017-11-30 20:07:16 +02:00
frostasm
4c4d8a5e84 Implement search for reference placeholder based on fields other than ID 2017-11-30 20:07:16 +02:00
frostasm
8c7ef64fab Show "Can't resolve placeholder" warning only in debug mode 2017-11-30 20:07:16 +02:00
alterratz
468519cd46
Merge branch 'develop' into feature/autoopen 2017-11-28 17:29:05 +01:00
Michal Kaptur
0ff75e7a88 Fixed memory leaks in non-gui tests
Fixed 2 memory leaks in production code and a few in testcases. As a
result leak_check_at_exit ASAN option does not need to turned off for
non-gui tests.
Smart pointers should be used elsewhere for consistency, but the sooner
this fixes are delivered, the lesser memory leaks are introduced.
2017-11-27 23:36:09 +01:00
Janek Bevendorff
d35f3fc573 Treat warning as errors 2017-11-27 20:57:55 +01:00
Weslly
5fa76dfd66
Remove ShowToolbar from config 2017-11-26 22:59:48 -02:00
Weslly
525d5de30c
Remove empty context menu from toolbar 2017-11-26 22:23:15 -02:00
Janek Bevendorff
8651736e61
Merge branch 'release/2.2.3' into develop 2017-11-26 18:23:48 +01:00
Janek Bevendorff
8905fe5a54 Use Consolas on Windows for PasswordEdit instead of the default Courier New, resolves #1226 2017-11-26 17:53:15 +01:00
Jonathan White
e17b3d24bf Corrected database corruption when locked [#1113] 2017-11-23 21:32:56 +01:00
thez3ro
135e8419ae
refactor saveLastDir code 2017-11-22 22:20:38 +01:00
thez3ro
cd1e0571a5
forget keyfile path, fix #1151 2017-11-22 22:20:38 +01:00
Louis-Bertrand Varin
2cd5006260 Formatting 2017-11-21 14:06:40 -05:00
Louis-Bertrand Varin
94ea323836 Extracting default clone flags. 2017-11-21 14:06:40 -05:00
Louis-Bertrand Varin
2ff56fe86c Only updating custom group icon if set. 2017-11-21 14:06:40 -05:00
Louis-Bertrand Varin
9603c91877 Merge : Synchronising groups. 2017-11-21 14:06:40 -05:00
Vladimir Svyatski
236846baa7 Add menu shortcut Alt+m (underlined letter) for "Empty recycle bin" for consistency with other items in the same submenu which all have "Alt+underlined letter" style shortcuts. 2017-11-21 02:12:55 +01:00
Balázs Meskó
a4d1293eaf I18n fixes in Service.cpp (#875)
Fix plural strings
2017-11-21 02:12:14 +01:00
Weslly
19ac36b965
Change QTotp class name to Totp 2017-11-20 22:25:09 -02:00
Joel Smith
8ca52ba8f9 Add initial Steam TOTP support
* Add the concept of custom TOTP encoders, each with potential for custom
  code alphabet, length, step interval and code direction (i.e. reversed)
* Select custom encoder via overload of the digits field of a loaded entry
* Allow selection of custom encoders via the "TOTP Settings" field's
  size, as currently done by KeeTrayTOTP for Steam. Use "S" for the
  short name of the Steam custom encoder
* Allow selection of custom encoders via the "otp" field by appending
  a "&encoder=<name>" field to the URL query. For example,
  "&encoder=steam"
* Update TOTP set-up dialog to permit selection between (default,
  steam, custom) settings.
2017-11-20 17:08:01 -07:00
Weslly
afe48da4b1
Change MacPasteboard init object to QScopedPointer 2017-11-20 17:25:27 -02:00
Weslly
806248ebd4
Review fixes 2017-11-20 16:50:56 -02:00
Weslly
dc7322cc4a
Improve macOS pasteboard handling 2017-11-20 16:09:42 -02:00
Weslly
f0a34de3c0
Revert 5bc000c to fix startup delay 2017-11-20 15:36:30 -02:00
Weslly
3b8d49104c
Focus database unlock dialog on macOS, fix #1023 2017-11-20 04:26:53 -02:00
Toni Spets
4840c2c64f SSH agent support 2017-11-19 14:38:59 +02:00
Toni Spets
248ae9d4ba SymmetricCipher: Add keySize(), don't rely on state for sizes
This additionally makes keySize() and blockSize() work before
setting the key and IV. Required for SSH agent decryption.
2017-11-19 14:38:59 +02:00
Toni Spets
a81a5fa31b SymmetricCipher: Support CTR mode
Includes AES-256-CTR non-stream tests
2017-11-19 14:38:59 +02:00
Adolfo E. García
cc6be754f7 Remove deprecated Optional.h 2017-11-12 12:09:35 -06:00
Adolfo E. García
c9895dd5c7 Improve Base32.cpp 2017-11-12 12:09:35 -06:00
frostasm
f34b090b42 Add support for working with multiple entry attachments at once 2017-11-12 17:41:53 +02:00
frostasm
2987895370 Fix usage of LastAttachmentDir in entry attachments 2017-11-12 17:41:53 +02:00
Adolfo E. García
3427a1aff4 Fix #1156
- Fix multiple activations of updateTotp by different QTimer instance timeouts.
- Fix call to updateTotp with invalid, uninitialized state
- Fix tooltip description
2017-11-11 16:25:20 -06:00
thez3ro
c3c67f18b8
add test for DB creation 2017-11-02 20:07:41 +01:00
frostasm
afaa0a3493 Fix formatting brackets in DatabaseWidgetStateSync::setActive function 2017-11-02 20:47:54 +02:00
frostasm
8b00d0580b Synchronize the height of the preview panel for all open databases 2017-11-02 19:09:36 +02:00
frostasm
6bbd42bfd1 Allow to change the height of the preview panel (#1135) 2017-11-02 19:09:36 +02:00
Sebastian Marsching
3e9067fe8e Add build of MSI packages (#1148) 2017-10-30 15:41:20 +01:00
frostasm
ffe344ce90 Save the geometry of main window only if the window is visible 2017-10-29 11:19:43 +02:00
thez3ro
7e54bd4956
prevent crash with empty database 2017-10-28 21:30:24 +02:00
Jonathan White
4e7f2c6a4f
Fix apply button not saving new entries 2017-10-28 09:23:45 -04:00
frostasm
2027429d87 Add support for placeholders on the KeePassHTTP custom fields 2017-10-26 14:30:20 +03:00
thez3ro
9840470df8
hide note option 2017-10-26 13:13:31 +02:00
Joe Brown
ff01a7da1e
Hint is displayed when notes section is hidden.
The alignment is a bit off, however.  A better option may be simply
disabling the QPlainTextEdit widget and stashing the actual notes
in another buffer somewhere.
2017-10-26 13:12:32 +02:00
Joe Brown
fdceeb368e
Do not hide notes by default. 2017-10-26 13:12:32 +02:00
Joe Brown
0c2d71c2ce
Notes section no longer visible by default.
There is a simple checkbox that allows your notes to become visible
again.  This is always disabled by default, as the use case
referenced in issue #342 (and my own use case) has confidential data
in that field.

Passes all tests (YubiKey is N/A) on Ubuntu 16.04.2 with Qt 5.5.1.
2017-10-26 13:12:32 +02:00
Joe Brown
5bc000cc31
Use fixed-width font for Notes
Fixed width, and a smaller font size, make for easier readability
in the notes section.
2017-10-26 13:12:32 +02:00
Jonathan White
f3d85ae219
Cleaned up url display code 2017-10-26 12:19:23 +02:00
Jonathan White
b9fd609bb2
Resolve placeholders in entry details url 2017-10-26 12:19:23 +02:00
thez3ro
8416d69f1e
fix protected transalation 2017-10-26 12:19:23 +02:00
thez3ro
71ae2a3458
remember last selected tab, hide passwords by default 2017-10-26 12:19:23 +02:00
thez3ro
9279bf7628
fix group layout, add autotype associations 2017-10-26 12:19:23 +02:00
thez3ro
d0f8d43739
remove root group from path, resize icons to 16x16 2017-10-26 12:19:23 +02:00
thez3ro
eb65822665
layout update 2017-10-26 12:19:23 +02:00
thez3ro
4a5fc2104f
fix notes label 2017-10-26 12:19:23 +02:00
thez3ro
0e6fedc056
fix group parent, add details update by keyboard 2017-10-26 12:19:23 +02:00
thez3ro
1a87e30b95
add preview panel for entries and groups 2017-10-26 12:19:23 +02:00
Francois Ferrand
263bee3c09 Detect session lock on Xfce/XUbuntu 16.04
The current code does not work with XUbuntu 16.04, which uses
light-locker to lock the screen.

I am not using a screensaver, but I suspect the screensaver activation
may have been detected by the existing events, and using it could thus
mask the issue.
2017-10-25 17:09:00 +02:00
Louis-Bertrand Varin
055ba4f14e Q_NULLPTR -> nullptr 2017-10-25 10:15:37 -04:00
Louis-Bertrand Varin
ecfbad0443 Disable reload prompt when db is locked 2017-10-24 20:26:02 -04:00
thez3ro
4076b37378
disable the save button if there isn't anything to save 2017-10-24 20:40:53 +02:00
thez3ro
ca59ae4f4f
remove useless View menu 2017-10-24 20:40:53 +02:00
Janek Bevendorff
be88e93820
Merge branch 'release/2.2.3' into develop 2017-10-24 18:00:38 +02:00
Janek Bevendorff
05d02b702a Restrict global menu fix to Qt < 5.9.0, resolves #691 2017-10-24 17:58:27 +02:00
Janek Bevendorff
f6933a8868 Ensure that YubiKey is only polled once, even if showEvent() is called twice 2017-10-24 17:58:27 +02:00
frostasm
b6387f7709 AutoType: resolve placeholders in window associations list 2017-10-23 22:55:22 +03:00
frostasm
7f2bd47849 AutoType: resolve placeholders for title in window associations 2017-10-23 22:55:22 +03:00
Janek Bevendorff
067da8223d
Fix build after merge 2017-10-21 22:38:24 +02:00
Janek Bevendorff
b510243dd8
Merge branch 'release/2.2.2' into develop 2017-10-21 22:23:27 +02:00
Peter Nirschl
a895729b9e 🐛 Fix result propagation in SymmetricCipherGcrypt::process
The boolean 'ok' has always been set to true, regardless of possible errors.
2017-10-21 20:00:28 +02:00
Adolfo E. García
7198f20d69 Improve building of macOS target 2017-10-21 10:12:28 -06:00
Janek Bevendorff
aba2acb062 Use QSharedPointer 2017-10-21 14:19:00 +02:00
Louis-Bertrand Varin
a1aad5d165 Using QScopedPointer 2017-10-21 14:19:00 +02:00
Louis-Bertrand Varin
0fe06b3fbb Fix double warning display for database open 2017-10-21 14:19:00 +02:00
Janek Bevendorff
7cc6f6f2a3 Merge pull request #1059 from frostasm/add-auto-hide-functionality-to-inline-message-widget
Add auto hide functionality to inline message widget (#1006)
2017-10-21 13:47:06 +02:00
Adolfo E. García
86cd2c09a4 Improve readability of code 2017-10-21 13:15:02 +02:00
Adolfo E. García
f1d99dd0ed Improve testing of Base32 2017-10-21 13:15:02 +02:00
Adolfo E. García
c731f8e5c0 Fix bug in Base32::decode and add bounds check
The bug that was fixed, was affecting how the number of bytes of decoded data was  calculated and thus, even though it didn't truncate the result, it was causing the array to be resized unnecessarily.
2017-10-21 13:15:02 +02:00
Adolfo E. García
24f560aaa2 Replace Optional with QVariant 2017-10-21 13:15:02 +02:00
Adolfo E. García
905e104ba2 Revert formatting change 2017-10-21 13:15:02 +02:00
Adolfo E. García
d21ae0f94a Fix for loop's variable increment style 2017-10-21 13:15:02 +02:00
Adolfo E. García
95b0ad15ef Fix code style 2017-10-21 13:15:02 +02:00
Adolfo E. García
19eb6a8a60 Add new Base32 implementation 2017-10-21 13:15:02 +02:00
Janek Bevendorff
f634f20ccc
Merge branch 'release/2.2.2' into develop 2017-10-20 23:08:04 +02:00
Jonathan White
37aa4f0257 Unlock previously opened databases with --pw-stdin 2017-10-20 01:21:32 +02:00
Janek Bevendorff
190d3a1da9 Merge pull request #1078 from frostasm/implement-recursive-resolving-for-placeholders
Implement recursive resolving for placeholders
2017-10-19 21:50:57 +02:00
Janek Bevendorff
8592f7e672 Merge branch 'release/2.2.2' into develop 2017-10-19 21:45:49 +02:00
frostasm
f0fcc19915 Implement recursive resolving for placeholders 2017-10-19 22:40:26 +03:00
frostasm
e81d8beb19 Refactor Entry::resolvePlaceholder function 2017-10-19 22:40:26 +03:00
frostasm
5e0df62d7a Add processing of the url placeholders 2017-10-19 22:40:26 +03:00
frostasm
f38fe5a9dd Disable automatic hiding of an information message for YubiKey 2017-10-19 22:22:10 +03:00
frostasm
75cfe1c5dd Add the auto hide functionality to the MessageWidget 2017-10-19 22:22:10 +03:00
Janek Bevendorff
ec8c99c3b2 Fix remaining uses of KEEPASSXC_SNAP_BUILD 2017-10-19 15:52:46 +02:00
Janek Bevendorff
bae9dbc407 Add distribution information to debug info screen 2017-10-19 15:52:46 +02:00
rockihack
c6f83b9ca6 Fix: Regenerate transform seed and transform master key on save. 2017-10-18 23:04:37 -04:00
alterratz
6c3d6b7c28 Merge branch 'develop' into feature/autoopen 2017-10-13 22:38:51 +02:00
Bernhard Rieder
0fc8c37f23 changed file:/ to file:// 2017-10-12 23:30:51 +02:00
Janek Bevendorff
ab21f718ba Merge branch 'release/2.2.2' into develop 2017-10-12 14:10:20 +02:00
frostasm
24333d0a19 Add toolbar button for copy url to clipboard 2017-10-12 11:46:01 +03:00
frostasm
60215cf2cf Add button for auto-type in the toolbar (#1026) 2017-10-12 11:46:01 +03:00
Jonathan White
3bc8a79b9b Both slots on Yubikey are now polled for challenge/response 2017-10-09 09:39:47 -04:00
Bernhard Rieder
6d569a86f9 added autoopen functionality (#477) 2017-10-09 13:26:24 +02:00
TheZ3ro
e9dd6e6c90 Merge branch 'develop' into middle-mouse-click-status-icon 2017-10-07 17:57:38 +02:00
Louis-Bertrand Varin
2e81751131 Backporting #1008 2017-10-07 11:03:24 -04:00
louib
242faa138b Add custom icons when merging. (#1008)
* Adding missing custom icons on merge.
* qDebug when adding icon
* Adding test for merge custom icons.
2017-10-07 10:40:29 -04:00
Jonathan White
157f1134bf
Select custom icon radio button after successful download 2017-10-07 08:49:14 -04:00
Jonathan White
4277364e91 Fixed cast warning 2017-10-07 07:36:25 -04:00
frostasm
4e903e4c50
Fix memory leak in DatabaseTabWidget::openDatabase function 2017-10-05 18:03:01 -04:00
frostasm
2481367ab4 Fix memory leak in DatabaseTabWidget::openDatabase function 2017-10-05 18:01:54 -04:00
Jonathan White
5098866413 Rewrote resolveUrl function to conform to various test cases 2017-10-03 18:40:32 -04:00
Jonathan White
91d746c5c0 Corrected issues with desktop and tray icons in snap build 2017-10-03 15:43:52 -04:00
rockihack
e53754d202
Fix build on mac os with qt 5.9.1 2017-10-03 15:01:54 -04:00
thez3ro
eb21eeb214 Fix GoogleFallback/Screnlock settings 2017-10-03 17:37:26 +02:00
Jonathan White
14e3d9d576
Merge remote-tracking branch 'origin/master' into develop
# Conflicts:
#	src/core/Group.cpp
2017-10-01 11:10:10 -04:00
Jonathan White
de5f8082de Check for mismatched passwords BEFORE saving to prevent data loss 2017-09-29 18:11:53 -04:00
Jonathan White
59786d7bd7 Mask passwords in URL column in Entry View 2017-09-29 16:14:41 -04:00
Jonathan White
cb0b948603 Multiple fixes to custom icon downloading
* Fixes #904, icons are saved at or below 128x128
* Fixes #403, crash occurs due to dialog on non-gui thread
* Fixes #232, icon hashes calculated and compared against
2017-09-29 09:01:55 -04:00
Jonathan White
2e4f1a21b4 Clear LastDatabases and LastKeyFiles when they are disabled in settings 2017-09-28 12:07:21 -04:00
Jonathan White
649a14db84 Set "Don't Modify for Non-Data Changes" to true by default 2017-09-28 12:07:21 -04:00
Jonathan White
9ebe0b61eb Correct latent single instance lock file preventing launch
* Fixes #893
2017-09-27 18:33:59 -04:00
Josef Vitu
be312bbe4f Prevent unnecessary memory allocations 2017-09-24 18:01:01 -04:00
Josef Vitu
852e89c0df Use the emit keyword correctly 2017-09-24 18:00:40 -04:00
Adolfo E. García
522e132200 New base32 implementation (#984)
* Add new base32 encode/decode implementation
* Remove old base32 implementation
* Updates licensing info
2017-09-24 18:00:12 -04:00
Martin Wallin
0c62d8454d Toggle main window with by middle mouse clicking tray icon 2017-09-24 21:36:07 +02:00
Yen Chi Hsuan
5a18b8de77 Use CMake's variable instead of hardcoded path to install man pages 2017-09-24 09:26:25 -04:00
Jonathan White
4b6dbcaec4 Maintain entry history when merging databases (#970) 2017-09-23 12:27:05 -04:00
Jonathan White
8e7fa3d3d6 Corrected multiple Yubikey bugs (#880)
* Fixed database not showing modified after failed save
* Fixed Yubikey not being redetected after replug
* Fixed single shot challenge resulting in failed saves
2017-09-23 11:45:20 -04:00
Jonathan White
df3051038e Clear database open dialog before and after merging a database (#958) 2017-09-23 11:43:29 -04:00
Louis-Bertrand Varin
faf36190bd Fixes #940 : segfault when searching after merging 2017-09-15 22:34:22 +02:00
louib
6e1fd0694f CLI : basic entry manipulation commands. (#919)
* CLI : basic entry manipulation commands.

* Code review.
2017-09-06 09:14:41 -04:00
louib
1220b7d501 Feature : Update entries across groups when merging (#807)
* Feature : Update entries across groups when merging

* Styling
2017-09-05 10:28:47 -04:00
Jake Howard
091a35293a Bind delete key to delete records 2017-08-30 18:01:05 -04:00
rockihack
b95eaa5843 Fix build on mac os with qt 5.9.1 2017-08-30 17:52:21 -04:00
Janek Bevendorff
5e309feaeb Merge pull request #888 from louib/feature_keepassxc_cli_manpage
Adding manpage for keepassxc-cli
2017-08-28 14:34:00 +02:00
Ettore Dreucci
12b5cf0331
replaced hard function call with signal connection
Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
2017-08-23 00:21:08 +02:00
Louis-Bertrand Varin
0987521cd3 Adding reporting bugs section. 2017-08-22 17:16:59 -04:00
louib
8b46feb085 Adding manpage 2017-08-22 09:57:10 -04:00
Ettore Dreucci
03bd346432
Solve issue #847: Keyboard autofocus on search filed at startup
Signed-off-by: Ettore Dreucci <ettore.dreucci@gmail.com>
2017-08-21 02:18:25 +02:00
luzpaz
09d6d3c545 misc. typo fixes
non-user-facing trivial source comment fixes
2017-08-18 16:18:55 -04:00
louib
b2107b5e27 Adding Locate command. (#829)
* Adding Locate command.

* Adding group searching in locate
2017-08-05 12:20:26 -04:00
louib
b4dcfd650a Normalizing translated messages in Extract. 2017-08-01 17:04:47 -04:00
Yen Chi Hsuan
23b818f9e6 Support --key-file in keepassxc-cli extract (#824) 2017-08-01 16:57:19 -04:00
louib
839a61ef59 Moving keyFile after password. (#830)
* Moving keyFile after password.

* Using tr() in unlockFromStdin.
2017-07-31 10:17:08 -04:00
louib
6f9224784e Clearing deleted entries on applying. (#814) 2017-07-30 13:38:10 -04:00
louib
fe877486ff Handle FileKey::load errors (--key-file) (#825) 2017-07-29 17:24:24 -04:00
Michael Lass
4c76c97762 Open previously opened databases in correct order
In LastOpenedDatabases, the most recently opened file is listed first and the
least recently opened one is listed last. If the databases are re-opened in this
order, LastOpenedDatabases is reversed afterwards. To avoid this, load the files
in reverse order, so LastOpenedDatabases is not modified.
2017-07-27 21:37:48 +02:00
louib
1d30283514 Feature : --key-file option for CLI (#816)
* removing readFromLine

* Removing gui-prompt

* execute uses an arg list.

* Testing with key-file

* Fixing the -a option in EntropyMeter.
2017-07-25 13:41:52 -04:00
John Lindgren
34886dc7e0 Let Qt figure out geometry of the about window. Closes: #780. 2017-07-23 02:35:21 +02:00
louib
1edabc4b3c Feature : Clip command using native programs. (#792)
* Adding a timeout option
* Using native apps.
* Renaming PasswordInput -> Utils
2017-07-22 19:40:30 -04:00
Janek Bevendorff
90468e8095
Merge branch 'release/2.2.1' into develop 2017-07-20 14:15:14 +02:00
Josh Soref
f71d0c0da8 Add ellipsis
The rule for ellipsis is simple:
If the described action requires interruption (typically by a dialog)
which requires user input, then ellipsis should be used to indicate
that triggering the menu will not immediately trigger the desired action.

Examples:
"Save" does not need an ellipsis in general (when the file name is known)
"Open..." needs an ellipsis, as one must select a file to open.
"Save as..." needs an ellipsis, as in order to save the file as something,
one must select a file name.
"About" does not need an ellipsis, while it may open a dialog, that dialog
is the desired result.
2017-07-20 14:12:58 +02:00
Markus Napp
c0f668c4bb Fix clone dialog text 2017-07-20 14:09:33 +02:00
thez3ro
cdad46377b Fix Single Istance behavior 2017-07-19 00:23:58 +02:00
thez3ro
8ed8e57012 use percentEncoding for url query 2017-07-18 18:40:18 +02:00
thez3ro
691e60d72b check if url is valid 2017-07-18 18:40:18 +02:00
thez3ro
a888de19cd update m_url scheme after fallback to http 2017-07-18 18:40:18 +02:00
thez3ro
9ceadac299 fix google favicon download over https 2017-07-18 18:40:18 +02:00
thez3ro
bb50db40d2 resolve URL only with HTTP enabled 2017-07-18 18:40:18 +02:00
thez3ro
35c6df2535 resolve URL for correct favicon downloading, fixes #240 #238 2017-07-18 18:40:18 +02:00
Josh Soref
98c812a297 Set up is used as a verb phrase not a noun 2017-07-18 16:31:25 +02:00
Josh Soref
32100be47a change help accesskey to h 2017-07-18 16:31:04 +02:00
louib
3b23e68540 Refactoring : Introducing Command class for CLI commands (#778) 2017-07-17 15:16:53 -04:00
Janek Bevendorff
4fed655621 Fix PasswordGeneratorWidget sizes and size policies to avoid squished buttons 2017-07-09 13:01:26 +02:00
Janek Bevendorff
1030cce4c7
Merge branch 'release/2.2.1' into develop 2017-07-08 12:50:24 +02:00
Janek Bevendorff
e4ae2f9176 Remove HTML garbage from GitHub contributors link 2017-07-08 12:49:35 +02:00
Janek Bevendorff
6e44eed9fe
Merge branch 'release/2.2.1' into develop 2017-07-01 10:09:06 +02:00
Janek Bevendorff
2d127b8942 Use [*] placeholder in window title to get rid of Qt warning 2017-07-01 10:06:50 +02:00
Benoit Pierre
7ab6af00bc fix X11 auto-type 2017-06-30 23:14:21 +02:00
Janek Bevendorff
e53ac65518 Use form layout 2017-06-29 21:00:54 +02:00
Toni Spets
1158294323 Add UI to configure default auto-type delay 2017-06-29 21:00:54 +02:00
Toni Spets
4ecd9e7e23 Make default auto-type delay of 25ms overridable with {DELAY=X}
Additionally this fixes the increased delay when you had your own
custom delay configured and it always added 25ms on top of it.
2017-06-29 21:00:54 +02:00
Janek Bevendorff
8a7de4408d Fix minimum dialog size and clean up HTML tag soup 2017-06-29 10:59:57 +02:00
Toni Spets
ceeeee3d76 Split auto-type title and URL matching into separate options 2017-06-29 06:03:57 +03:00
Janek Bevendorff
8a36322e28
Merge branch 'release/2.2.1' into develop 2017-06-29 03:23:14 +02:00
Weslly
a766052243 Fix edit entry header entity encoding 2017-06-29 02:50:47 +02:00
Janek Bevendorff
e555937214
Make favicon Google fallback optional and off by default 2017-06-29 00:32:47 +02:00
Weslly
231f90a8e5 Fix apply button on settings window 2017-06-28 17:09:32 -03:00
Weslly
2822f5fd0a Fix apply button on settings window 2017-06-28 13:56:20 -03:00
Julian Andres Klode
34ff6d5f6b Change from ZXCVBN_FOUND to ZXCVBN_LIBRARIES to be aligned with other libraries 2017-06-28 15:19:09 +02:00
Gianfranco Costamagna
640b09c6b2 Add code to detect a system library for zxcvbn, with fallback to the embedded one in case it is not found 2017-06-28 15:13:57 +02:00
Vladimir Svyatski
a42ac00d3c Requested code changes 2017-06-27 14:39:58 +03:00
Vladimir Svyatski
701f3d6054 🐛 Add proper plural processing in CSV importer (found issues during localization) 2017-06-27 12:49:41 +03:00
Weslly
b553af8fd0
Bring unlock database dialog to the front 2017-06-26 16:40:36 +02:00
Jonathan White
0f2f6621b5
Merge remote-tracking branch 'origin/master' into develop 2017-06-25 20:23:05 -04:00
Jonathan White
836c996544
Cleanup before release
* Cleanup cpack commands
* Add default config for portable install
* Force translation downloads
* Reduce translation download threshold to 40%
2017-06-25 17:50:47 -04:00
Weslly
e708ef96d1 Bring unlock database dialog to the front 2017-06-25 12:21:32 -03:00
Jonathan White
9a7e6850d6
Merge remote-tracking branch 'origin/develop' into release/2.2.0 2017-06-23 14:21:30 -04:00
louib
fdbed324f7 Outputing newline after password prompt. (#659) 2017-06-22 16:25:24 -04:00
louib
95baf25648 failure when showing help (#658) 2017-06-21 19:09:44 -04:00
louib
48ea024d7e Adding support for listing a group. (#652)
* Adding support for listing a group.

* added findGroupByPath

* Removing useless asserts.

* Code review.
2017-06-21 17:34:49 -04:00
Jonathan White
6dfeea1980
Merge remote-tracking branch 'origin/develop' into release/2.2.0 2017-06-21 17:20:57 -04:00
Jonathan White
97c8603478
Removed font size on text labels in about dialog 2017-06-21 17:09:00 -04:00
Jonathan White
7654983d3d
Added contributors to about dialog; general cleanup 2017-06-21 17:08:54 -04:00
Weslly
400073c7cc Disable stdin echo when entering passwords on cli 2017-06-21 11:15:59 -03:00
Weslly
7438d6db18 Change text color of search label 2017-06-21 07:23:53 -04:00
Weslly
719323e9c3 Add option to limit search to current group 2017-06-21 01:01:50 -03:00
Jonathan White
702a68307a Allow multiple instances when debugging (#651) 2017-06-20 16:17:35 -04:00
louib
344235b1e1 Fix CLI help and version options. (#650)
* Correct handling of --help and --version

* Moving arguments building up.

* Only manipulating argv is the command is valid.

* Not a failure when --help

* Not using showVersion()
2017-06-19 11:09:19 -04:00
Jonathan White
8d70167acf Add support for portable config settings (#645)
* Add support for portable config settings

* Use applicationDirPath instead of currentPath
2017-06-19 10:49:02 -04:00
louib
b75b9fb7d6 Adding gui prompt to List command. (#643) 2017-06-18 14:43:02 -04:00
Louis-Bertrand Varin
574c5cf1b2 clang-format Database.cpp 2017-06-15 10:31:14 -04:00
Louis-Bertrand Varin
e0e8521eb9 Removing m_writer from CsvImportWidget.h 2017-06-15 10:26:37 -04:00
Louis-Bertrand Varin
46f7d97176 Using saveToFile in Merge command. 2017-06-14 20:00:09 -04:00
Louis-Bertrand Varin
f3f6f6a493 Adding saveToFile function. 2017-06-14 19:50:19 -04:00
thez3ro
11607b108c
fix base32 copyright 2017-06-14 15:54:43 +02:00
thez3ro
a53b111182
Update and fix copyright headers 2017-06-14 15:54:43 +02:00
Jonathan White
6ffca842e6 Add "Apply" button to entry and group edit windows (#624) 2017-06-13 20:55:53 -04:00
thez3ro
3015baf6e6
fix password generator button's enable behavior 2017-06-04 21:06:27 +02:00
TheZ3ro
1028172dfc Merge branch 'develop' into add-copy-to-pwgen 2017-06-04 20:33:56 +02:00
Toni Spets
398201f592 Add copy button to password generator (#595) 2017-05-28 20:47:33 +03:00
Toni Spets
6f4b5fc71a 🔒 Fix search information leak 2017-05-28 18:08:38 +03:00
TheZ3ro
e6cddf797a Merge branch 'develop' into fix-bugs-link 2017-05-28 10:12:55 +02:00
Toni Spets
ac5c0c5efa Fix about dialog report bugs link functionality 2017-05-28 08:11:02 +03:00
Jonathan White
bfee734669
Fixed variable naming error that prevented compiling on Windows 2017-05-27 21:33:30 -04:00
TheZ3ro
adf61d9878 Merge branch 'develop' into single-instance 2017-05-27 09:18:13 +02:00
louib
dcc8094ce4 Add the GUI prompt option to the merge command. (#589) 2017-05-25 13:07:24 -04:00
louib
c3bd5d21aa Adding a GUI prompt for password. (#587) 2017-05-22 17:53:41 -04:00
Louis-Bertrand Varin
eeafe77614 Find entry by title. 2017-05-21 13:51:16 -04:00
louib
54ad927044 Moving print group in Group class. (#586) 2017-05-21 13:05:44 -04:00
louib
a2e82dc883 Feature : clip command (#578) 2017-05-19 14:04:11 -04:00
Janek Bevendorff
379e17c3bc Merge branch 'develop' into feature/macos-minimize-onclose 2017-05-19 18:08:40 +02:00
thez3ro
c0640e49ee
revert old if structure 2017-05-19 14:30:09 +02:00
Weslly
1c54d24962 Fix quit submenu on macOS tray icon 2017-05-19 00:50:24 -03:00
Janek Bevendorff
00dc4b9ace
Ignore double close event on macOS, resolves #430 2017-05-17 22:44:09 +02:00
thez3ro
b69b50c6c6
fix codestyle and use C++11 keywords 2017-05-17 13:04:02 +02:00
Louis-Bertrand Varin
970525cfd4
Styling + CFNotificationName -> CFStringRef 2017-05-17 13:04:02 +02:00
thez3ro
533136fb0e
Add file header, use nullptr instead of NULL, fix code style 2017-05-17 13:04:02 +02:00
Jonathan White
3218cb9ace
Moved locking checkboxes into security settings 2017-05-17 13:04:02 +02:00
Jonathan White
147c000ef1
Corrected nullptr crash on Windows when going to sleep 2017-05-17 13:04:02 +02:00
thez3ro
1b7b2ff456
Added freedesktop DBus, fixed codestyle 2017-05-17 13:04:02 +02:00
Claudio Bantaloukas
289e98ed5b
remove commented code 2017-05-17 13:04:02 +02:00
Claudio Bantaloukas
d1acd75068
Moved "Lock databases on screen lock" setting to security settings
widget.
Changed wording and preference variable name for conformity with
existing settings.
2017-05-17 13:04:02 +02:00
Claudio Bantaloukas
44085df592
Avoid warning in MacOS implementation 2017-05-17 13:04:02 +02:00
Claudio Bantaloukas
a3af8fc0ea
Fix Linux ScreenLockListener implementation 2017-05-17 13:04:02 +02:00
Claudio Bantaloukas
2de5a9d281
Lock database when OS is locked (Windows, DBus, macOS implementations) #134 2017-05-17 13:04:02 +02:00
Yen Chi Hsuan
c53f5baceb Merge branch 'develop' into feature/allow-disable-app-bundle 2017-05-14 22:58:17 +08:00
Yen Chi Hsuan
3822625e77 Allow disabling .app bundles on Mac 2017-05-14 22:51:12 +08:00
Louis-Bertrand Varin
00ae123736 Adding .clang-format file. 2017-05-14 09:20:13 -04:00
Jens Rutschmann
9a59a124aa Compare window title with entry URLs during autotype matching. (#556)
* Compare window title with entry URLs during autotype matching.

* Adapted option label to reflect that both entry title and URL are used for auto-type window matching.
2017-05-13 19:02:54 -04:00
thez3ro
8d6db27b34
add tray icon to MacOS X 2017-05-11 13:44:08 +02:00
Jan Hellwig
c06e55df81
Use a dedicated tray icon when the database is unlocked. 2017-05-11 12:27:40 +02:00
Anton Gulenko
58463bc3dc Fixed string literals 2017-05-09 14:13:25 +02:00
VukoDrakkeinen
d1310b3337 Raise existing instance
Closes #193
2017-05-09 14:06:45 +02:00
thez3ro
b3160a17ea
enable minimize on close for macOS 2017-05-08 23:27:54 +02:00
Jonathan White
e4e2e886e8
Added small delays to autotype on Linux 2017-05-06 23:31:28 -04:00
Jonathan White
5c8809e55d
Update cmake files, fixes #331 2017-05-06 11:51:43 -04:00
Weslly
3640053415 Parse TOTP input string before first save 2017-05-03 22:00:58 -03:00
Weslly
d3ed14ebb7 Display TOTP code split in halfs 2017-05-03 21:26:08 -03:00
Weslly
4c9b8c7794 Review fixes 2017-05-03 21:04:12 -03:00
Weslly
bf57a28654 Add TOTP support 2017-05-03 20:55:14 -03:00
thez3ro
40b4dc3b61
Only printable extended ASCII 2017-05-01 01:18:42 +02:00
thez3ro
b474d34cf0
Add Extended ASCII to password generator 2017-04-28 21:36:43 +02:00
Louis-Bertrand Varin
fa7c945363
Adding EASCII character class. 2017-04-28 19:01:02 +02:00
Weslly
a94efddfe6 Fix compile issue on OSX El Capitan 2017-04-28 11:03:15 -03:00
seatedscribe
eb7f4d2eaa
Apply requested changes 2017-04-27 22:11:26 +02:00
seatedscribe
2e2e37098f [CSV import GUI] add option to choose dropdown menu field names from CSV
This should also close #458
2017-04-27 21:21:21 +02:00
Vladimir Svyatski
75c16d1cbb Add requested source code changes 2017-04-21 18:07:57 +03:00
Vladimir Svyatski
dea65b637c Add context menu entry to clean the Recycle Bin in databases
This implements the feature request (issue) #503.
2017-04-21 15:41:58 +03:00
TheZ3ro
47aec87a56 Merge branch 'develop' into fix-new-database-shortcut 2017-04-21 10:40:07 +02:00
Yen Chi Hsuan
b706e8f1fd 🐛 Really set the shortcut for "New database" to Ctrl+Shift+N
Ref: #316
Fixes #513
2017-04-21 12:59:20 +08:00
Jonathan White
1f469a7acc Merge pull request #464 from louib/feature/ignoreGroupExpansion
Ignore group expansion and other minor changes when marking database as dirty
2017-04-20 21:09:56 -04:00
Louis-Bertrand Varin
07050f6e9c Generalizing option to non-data changes. 2017-04-20 19:24:43 -04:00
Weslly
5fbf4af596 Fix OSX El Capitan compilation issue 2017-04-20 17:53:12 -03:00
Vladimir Svyatski
9477437256 🐛 Fix for the issue #108: Add a scrollbar in the AddEntry window when on "small" screen 2017-04-20 16:56:54 +03:00
Vladimir Svyatski
dc3e223875 Moved the "Clear history" menu item caption from MainWindow (Database > Recent Databases > Clear history) to the string resources. As a result it is no longer hardcoded and can be translated. 2017-04-18 16:04:32 +03:00
Mike Kasberg
70bd598ead Fix #447 - Menu Accelerators for Database & Tools 2017-04-16 19:33:53 -04:00
Weslly
3c85d29ece Set fixed size for entry clone dialog 2017-04-14 09:02:22 -03:00
Weslly
6f25c4750d Remove maximum size from label in clone dialog 2017-04-14 07:09:20 -03:00
Weslly
7620baee80 Fix clone dialog layout 2017-04-13 22:43:51 -03:00
Jonathan White
5696178de4 Merge pull request #373 from keepassxreboot/feature/new-password-generator
New Diceware passphrase generator
2017-04-09 12:36:56 -04:00
Jonathan White
c0f62e5633 Merge pull request #427 from weslly/feature/autotype-clearfield
Add auto-type {CLEARFIELD}
2017-04-09 11:56:40 -04:00
Jonathan White
3de4395d5e
Merge remote-tracking branch 'origin/master' into develop 2017-04-09 10:28:15 -04:00
Weslly
8a78616351 Set menu roles for application menu on macOS 2017-04-09 07:44:17 -03:00
Weslly
89382f6306 Implement support for auto-type {{} and {}} 2017-04-08 23:29:32 -04:00
Louis-Bertrand Varin
beba23ea2e Prioritize explicit databases. 2017-04-08 17:46:06 -04:00
Weslly
aba0633a78 Bring HTTP Confirmation window to the front 2017-04-08 17:40:43 -04:00
Weslly
0aa20f931d Change windows clearfield key sequence to avoid keyboard layout errors 2017-04-08 02:13:51 -03:00
Weslly
eefea5444e Change auto-type sequence on mac to support other keyboard layouts 2017-04-08 02:13:51 -03:00
thez3ro
a6e142dd02 support different keyboard layout 2017-04-08 02:13:51 -03:00
Weslly
6c1f023768 More accurate hotkey sequence 2017-04-08 02:13:51 -03:00
thez3ro
ea1ffe7fb5 use QT key instead of native ones 2017-04-08 02:13:51 -03:00
Weslly
36250f5180 Use AutoTypePlatformWin::sendKey instead of creating a new function 2017-04-08 02:13:51 -03:00
Weslly
268f09160d Add command modifier support for AutoTypePlatformMac::sendKey 2017-04-08 02:13:51 -03:00
thez3ro
7620395f92 Add auto-type {CLEARFIELD} on XCB 2017-04-08 02:13:51 -03:00
Weslly
28678f4e06 Add auto-type {CLEARFIELD} on Windows 2017-04-08 02:13:51 -03:00
Weslly
720ae949aa Rename ClearField keypress helper function 2017-04-08 02:13:51 -03:00
Weslly
32fe0493c4 Add auto-type {CLEARFIELD} on mac 2017-04-08 02:13:51 -03:00
Francois Ferrand
86e88c18b0 More compact search widget
* Move the search icon (with popup menu) and clear icon inside the
line edit
* Move the search widget to the right-side of toolbar
2017-04-06 07:19:56 -04:00
Jonathan White
e684e230a6
Bumped up version of KeePassHTTP to 1.8.4.2
* No protocol changes required
* Fixes #439
2017-04-04 22:58:33 -04:00
Louis-Bertrand Varin
a8b647e886 Typo in label for ignoreGroup. 2017-04-04 10:23:48 -04:00
Louis-Bertrand Varin
bce747e7f9 Ignore group expansion. 2017-04-04 10:21:45 -04:00
Weslly
b7546b45b3 Fix compiler warnings 2017-03-29 17:28:19 -04:00
thez3ro
f183260ad6 make stackedWidget index using enum 2017-03-29 17:27:14 -04:00
thez3ro
7ca13b3d51
fix RecentDatabases, closes #386 2017-03-29 17:09:33 +02:00
TheZ3ro
0d60cadffc Merge branch 'develop' into feature/csv-import-button 2017-03-25 21:04:09 +01:00
Toni Spets
07dafd697e Treat empty booleans in XML as false 2017-03-23 06:58:44 +02:00
seatedscribe
e48f86b289
Horizontal layout for import buttons 2017-03-22 22:34:29 +01:00
seatedscribe
e5c2b44572 Commit review request 2017-03-22 22:33:00 +01:00
seatedscribe
9307834ef0 Add a button for CSV import option 2017-03-22 22:33:00 +01:00
Weslly
5776f43b98 Add proxy icon to title bar in OSX 2017-03-21 23:01:44 -03:00
thez3ro
0c755846fe
fix camel case 2017-03-22 00:04:36 +01:00
thez3ro
19d1fa8e7d
change button position 2017-03-22 00:00:23 +01:00
thez3ro
8937647d5f
let every string as separator 2017-03-22 00:00:23 +01:00
thez3ro
7541f57aeb
some UI fix 2017-03-22 00:00:23 +01:00
thez3ro
b6a7771a23
hide comboBoxWordList if only one worlist present 2017-03-22 00:00:23 +01:00
thez3ro
1d32695f10
permit only wordcount > 0 2017-03-22 00:00:23 +01:00
thez3ro
044feea23a
remove short wordlists 2017-03-22 00:00:23 +01:00
thez3ro
67c6e10f5f
add underscore as separator 2017-03-22 00:00:23 +01:00
thez3ro
98e2c311c3
fix wordCount instead of length 2017-03-22 00:00:23 +01:00
thez3ro
be9bd16b4c
Add diceware tests 2017-03-22 00:00:23 +01:00
thez3ro
d9ccde94c9
New Diceware passphrase generator, close #21 2017-03-22 00:00:23 +01:00
Weslly
b6cfc82b4e Review fixes 2017-03-21 06:04:26 -03:00
Weslly
d50fe46f0e Merge branch 'develop' into feature/window-modified-indicator 2017-03-21 00:11:19 -03:00
Weslly
18b5b76a80 Get modified status directly from database object instead of using window title 2017-03-20 23:29:36 -03:00
Weslly
a87fab8d18 Set window modified indicator when database has unsaved changes 2017-03-20 21:11:17 -03:00
Louis-Bertrand Varin
d8ad360b38 Using format strings. 2017-03-19 16:05:52 -04:00
Louis-Bertrand Varin
a3840963e1 Checking config access errors in settings. 2017-03-18 14:00:31 -04:00
Louis-Bertrand Varin
e6b4528028 Adjust indentation. 2017-03-18 13:31:15 -04:00
Louis-Bertrand Varin
55a32c58a9 Moving access error to MainWindow. 2017-03-18 13:19:57 -04:00
Louis-Bertrand Varin
da85252347 Hide config errors by default. 2017-03-18 13:19:57 -04:00
Louis-Bertrand Varin
15a288aa5b Adding warning messages when config access error. 2017-03-18 13:19:57 -04:00
seatedscribe
506a2b99c5
Revert dialog index back to zero 2017-03-16 22:55:26 +01:00
seatedscribe
06bbd6e066
Get rid of Q_{EMIT,SLOTS,SIGNALS} 2017-03-16 21:46:53 +01:00
seatedscribe
3fcf342fbc Merge remote-tracking branch 'upstream/develop' into feature/import-csv-format 2017-03-16 21:25:38 +01:00
thez3ro
0e5a1cc8e4
resolve placeholders for custom attributes 2017-03-16 20:38:56 +01:00
thez3ro
e3602e3c75
fix regex for placeholders, fix #402, add regression test 2017-03-16 20:32:29 +01:00
thez3ro
558c75a452
Add ASAN to keepassxc-cli 2017-03-16 18:41:12 +01:00
Louis-Bertrand Varin
a661c17eca Adding group uuid to list. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
fd9d372e6a Adding second prompt for merge. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
cf23343911 Using openDatabaseFile in List. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
780e23301b Using openDatabaseFile in Merge. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
993f90cb2c Extracting openDatabaseFile. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
db1bf88934 Handling entry not found. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
15c2727a1d Adding the show command. 2017-03-16 10:09:50 -04:00
thez3ro
e01e9715b9 text for inserting password 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
98911af396 Fixed indentation. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
f579345059 Change cli commands description. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
64dfada038 Adding available commands. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
7ca475f968 Add list to keepassxc-cli 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
7636a559f9 Remove unused imports. 2017-03-16 10:09:50 -04:00
Louis-Bertrand Varin
b85941531d Keepass -> KeePass. 2017-03-16 10:09:50 -04:00
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
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