Jonathan White
5e2e12977d
Correct intermittent crash due to stale history items
2018-02-25 19:27:06 +01:00
Weslly
daaa3c5b41
Enable focus outline for global auto-type shortcut on macOS
2018-02-23 17:28:40 +01:00
Janek Bevendorff
f15088f496
Ask user before deleting custom plugin data and disable button if no data selected
2018-02-21 13:23:14 +01:00
Janek Bevendorff
5410d78bbb
Properly save custom header data
...
Ensure adding custom data upgrades to KDBX4
Implement review feedback
2018-02-21 13:23:14 +01:00
Christian Kieschnick
0b54710734
Introduced missing CustomData on Group and Entry
...
Introduce missing CustomData-attributes of KDBX4 format to allow
storing of plugin data for groups and entries - adopt Metadata to use
the same storage mechanism
Add simple view for CustomData as part of EditWidgetProperties
Tracking of CustomData-Modification using SIGNAL-SLOT update-mechanism
2018-02-21 13:23:14 +01:00
Jonathan White
cd3e1fc27e
Ask to apply generated password when commiting an entry edit
...
* Rename saveEntry to commitEntry to accurately capture its purpose
* Add message to user when commit is successful
* Made all inline messages in edit entry view 2 sec visibility
2018-02-21 09:38:27 +01:00
Jonathan White
397d804cdd
Add tests & minor edits
2018-02-21 09:04:46 +01:00
Jonathan White
ca30d1832d
Add support for foreground and background entry colors
...
* Add foreground/background color elements to advanced tab
* Center paperclip icon
2018-02-21 09:04:46 +01:00
Weslly
6a85556b33
Fix about dialog size policy
2018-02-19 09:40:26 +01:00
Nick Spain
5c51d11651
Fix Issue #1447 by using entry's group when not creating entry
2018-02-18 16:17:12 +01:00
Janek Bevendorff
924d472de5
Add support for pre-releases
2018-02-18 10:20:34 +01:00
Janek Bevendorff
d36e9875c5
Enable word wrap for long lines
...
Make all text except contributor names translatable
2018-02-18 00:19:38 +01:00
thez3ro
c5dd64d18a
Resolve reference in entry field, prevent recorsive loop, fix EditEntry association bug
2018-02-17 18:04:29 +01:00
thez3ro
6723f4215a
centralize every password generator default option. add extended ASCII to XC_HTTP generator
2018-02-07 17:35:20 +01:00
Jonathan White
490e92167d
Replace qhttp client with curl for favicon downloading ( #1460 )
...
Replace qhttp client with curl for favicon downloading
2018-02-07 07:10:56 -05:00
thez3ro
b33259b1f2
relock database after successful autotype
2018-02-05 20:12:24 +01:00
thez3ro
aa54c7b6b3
fix MatchView activation with Enter/Return on macOS
2018-02-04 23:32:51 +01:00
thez3ro
a76c92ed9a
change inAutotype logic, preventing multiple autotype call
2018-02-04 23:13:15 +01:00
thez3ro
ba4ef52e9e
improve Window Associations UI/UX
2018-02-04 23:13:15 +01:00
thez3ro
b5cabbeb43
add support for multiple autotype sequence, fix #559
2018-02-04 23:13:15 +01:00
Toni Spets
cbb70cdc7c
SSH Agent: Support old unencrypted DSA and RSA keys
2018-02-04 15:59:08 +02:00
frostasm
b264614b9d
Use ElidedLabel in DetailsWidget
2018-02-04 15:51:30 +02:00
frostasm
6007e0de71
Refactor DetailsWidget
2018-02-04 15:51:30 +02:00
Janek Bevendorff
7cc3d911ba
Fix plural handling in KDF settings
2018-02-04 13:56:49 +01:00
Janek Bevendorff
527868a6b3
Guarantee that configuration values are committed to disk on exit
2018-02-04 13:56:46 +01:00
Toni Spets
e987479d04
SSH Agent: Always use freshly selected key
2018-02-03 08:19:08 +02:00
Janek Bevendorff
a326d72be9
Update list of contributors
2018-01-31 00:24:51 +01:00
Jonathan White
5b72407746
Deconflict snapshot warning with http deprecation warning
2018-01-30 21:21:23 +01:00
Jonathan White
3e2443a861
Add support for nightly builds to release tool
2018-01-30 21:21:23 +01:00
Jonathan White
6a4b275d40
Minor changes to address comments
2018-01-28 11:31:56 -05:00
Jonathan White
3db9a86a4c
After 3 failed saves, offer to disable safe saves
...
* User is prompted to disable safe saves after three failed attempts
* Completely retooled basic settings to group settings logically
* Added setting for "atomic saves"
2018-01-28 11:28:39 -05:00
Jonathan White
d7f408e455
Correct saving files to DropBox/Drive/OneDrive
...
* Replaces QSaveFile with QTemporaryFile
* Added backup before save config setting
* This method may cause data loss (see comments)
2018-01-28 11:28:33 -05:00
Janek Bevendorff
07a2077c1e
Make 'Welcome to KeePassXC $VERSION' string properly translatable, resolves #1236
2018-01-28 16:44:36 +01:00
thez3ro
98a89e4f2c
add function for locking DBs from DBus, fix #687
2018-01-25 23:48:58 +01:00
Didier Fabert
e560650bf3
Add DBus support: control keepassxc on desktop events (load database when log in, close all databases when log out)
2018-01-25 23:48:58 +01:00
Janek Bevendorff
aabf5f09ab
Unset explicit label alignment to let platform choose
2018-01-24 00:47:33 +01:00
Janek Bevendorff
75d2895db6
Add compression option to database settings
2018-01-24 00:20:44 +01:00
Janek Bevendorff
0f5307437c
Fix multiple TOTP issues, resolves #1360
...
- Fix crash when deleting TOTP entry
- Fix memory leak when selecting TOTP entries
- Fix TOTP update timeout on DetailsWidget
- Fix TOTP settings attributes not being applied before first call to totpSeed()
2018-01-23 00:22:04 +01:00
thez3ro
745d255808
add cyclic arrowkey navigation for entryview
2018-01-23 00:12:36 +01:00
Janek Bevendorff
8da3efa2c2
Add disambiguation info to source strings
2018-01-21 15:54:46 +01:00
Fonic
8c78aca69e
Code cleanup
...
Comprehensive code cleanup:
- formatting
- comments
- obsolete code
2018-01-21 15:17:05 +01:00
Fonic
161d0ea50f
Add column 'Paperclip' to entry view table
...
Add additional column 'Paperclip' to entry view table:
- add column itself
- add display role data provider
- add sort role data provider
- update total column count
2018-01-21 15:17:05 +01:00
Fonic
e3a5a22b84
Update state syncer to account for new features
...
Update state syncer (class DatabaseWidgetStateSync) to account for new
features:
- properly sync view state when switching tabs
- properly read/write view state from/to config
Update classes EntryModel and EntryView to consistenly name list/search
modes. Before, both classes defined list mode as 'group mode' and search
mode as 'entry list mode', which differed from naming in other classes
such as DatabaseWidget.
2018-01-21 15:17:05 +01:00
Fonic
18be1a0254
Add 'copy-on-doubleclick' feature to entry view table
...
Add 'copy-on-doubleclick' feature to entry view table by extending
already existing DatabaseWidget::entryActivationSignalReceived().
Currently, username, password and notes are copyied on doubleclick,
while doubleclicking URL still opens browser as before.
Can easily be extended to account for other/additional columns
(switch-case).
2018-01-21 15:17:05 +01:00
Fonic
31d73626e5
Add header context menu to entry view table
...
Add header context menu to entry view table (accessible using right
click on header), providing:
- Actions to toggle 'Hide Usernames' / 'Hide Passwords'
- Actions to toggle column visibility
- Actions to resize columns
- Action to reset view to defaults
2018-01-21 15:17:05 +01:00
Fonic
34a7ba4477
Add additional columns to entry view table
...
Add additional columns 'Password', 'Notes', 'Expires', 'Created',
'Modified', 'Accessed' and 'Attachments' to entry view table:
- add columns themselves
- add display role data providers
- introduce/apply sort role
- add sort role data providers
- add settings to display usernames/passwords visible/hidden
- minor addition to EntryModel::columnCount() as advised by Qt
documentation
2018-01-21 15:17:05 +01:00
Janek Bevendorff
cfe8ca9836
Always initialize m_httpClient to nullptr to avoid accidental dereferencing, resolves #1410
2018-01-20 14:45:22 +01:00
Janek Bevendorff
a6fd52d1f9
Show KeePassHTTP deprecation notice three times and use MessageWidget
2018-01-19 20:44:15 +01:00
Janek Bevendorff
30f77b07bb
Improve KMessageWidget visuals
2018-01-19 20:40:56 +01:00
Janek Bevendorff
f520a0f272
Deprecate KeePassHTTP and introduce WITH_XC_NETWORKING CMake option
2018-01-19 20:40:54 +01:00
Janek Bevendorff
f2b3181735
Rework browser integration settings
2018-01-19 20:40:51 +01:00
thez3ro
00ce60ef20
create new entry while searching
2018-01-18 01:16:46 +01:00
Janek Bevendorff
871332ecf0
Add warning when using legacy key file formats.
2018-01-14 18:26:28 -05:00
Nick Fox
ed46f9ac7e
Implement #1208 : CSV Import Created and Modified Dates
2018-01-14 00:42:36 +01:00
Janek Bevendorff
43a620b9ff
Explicitly include <QMimeData>, resolves #1366
2018-01-13 23:49:24 +01:00
Janek Bevendorff
1575088585
Add 'KDBX 4' to Argon2 KDF name and select first category in the database settings by default
2018-01-13 22:45:10 +01:00
Janek Bevendorff
b04c8c2b6e
Explicitly support AES-KDF in KDBX4 and don't convert KDBX4 files with AES-KDF back to KDBX3 when saving
2018-01-13 14:25:00 -05:00
Janek Bevendorff
d327c16904
Increase Argon2 warning threshold and set parallelism default value to number of available processors
2018-01-13 14:24:59 -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
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
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
angelsl
4532108678
Add support for KDFs and cyphers to the db settings widget
2018-01-13 14:23:25 -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
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
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
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
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
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
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
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
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
Yen Chi Hsuan
fc39e8f27d
Fix font size of URL label in the preview panel
2017-12-23 16:20:59 +08:00
louib
8037a79673
Add \n in merge request message. ( #1310 )
2017-12-20 18:08:18 -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
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
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
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
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
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
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
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
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