Louis-Bertrand Varin
3eb917055e
Add ClangFormat exceptions
2018-03-31 12:15:09 -04:00
Janek Bevendorff
e92d5e80ee
Merge branch 'release/2.3.2' into develop
2018-03-18 01:14:42 +01:00
Edward Jones
e66adfbf68
Make more strings translatable
...
Includes making certain modifiers (like "[locked]") positionable, in
case languages put this before the word
2018-03-13 20:41:12 +00:00
Edward Jones
3def6a3bc4
Fix weird base strings and reduce concatenation
2018-03-13 20:40:39 +00:00
Thomas Luzat
082ecc3f37
Fix dark tray icon option making all icons dark
...
Introduces a separate path for tray icons which are neither locked nor
unlocked.
Closes #1556 .
2018-03-08 21:34:15 +01:00
thez3ro
10170a555e
add test case for recursive placeholders
2018-03-06 15:56:27 +01:00
Benoit Mortgat
18628612b2
Allow references in part of a field
...
When a field value is of the form ...{REF:...}...
Then:
* Auto-type does not work with that field
* References to this field are not properly resolved
This commit fixes both issues.
2018-03-05 23:31:29 +01:00
Janek Bevendorff
2fd2085bb5
Fix qtbase translations not being loaded (regression)
2018-03-04 21:01:00 +01:00
Janek Bevendorff
ee8499f65c
Do not delete MacPasteboard instance on exit, resolves #1543
2018-03-03 02:33:43 +01:00
Janek Bevendorff
199f0932bf
Add additional KDBX4 upgrade tests for composite key integrity
2018-03-01 19:26:18 -05:00
Janek Bevendorff
4c8d426f23
Use copy instead of rename for unsafe saving on Linux
...
Resolves #1511
See https://bugreports.qt.io/browse/QTBUG-64008
2018-02-27 21:05:13 +01:00
Janek Bevendorff
e1558d6300
Avoid double file extension replacement in backup filename
2018-02-27 15:53:31 +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
Janek Bevendorff
4c52aa9c88
Check maxDepth on placeholder resolution to avoid infinite recursion
2018-02-17 18:04:29 +01:00
thez3ro
c5dd64d18a
Resolve reference in entry field, prevent recorsive loop, fix EditEntry association bug
2018-02-17 18:04:29 +01:00
Janek Bevendorff
ab3775d4c5
Fix regression introduced in 6723f42
...
Use of QString for static DefaultSeparator lead to crashes on Windows
2018-02-11 15:12:20 +01:00
thez3ro
1bfbb9242c
fix cli commands, translations and codestyle
2018-02-07 17:35:20 +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
thez3ro
e57a2e0fa9
add default charset when not specified
...
explicitly state the wordcount default value
2018-02-07 17:35:20 +01:00
thez3ro
a76c92ed9a
change inAutotype logic, preventing multiple autotype call
2018-02-04 23:13:15 +01:00
thez3ro
a9479fd662
refactor autotype sequences and entry-point functions
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
thez3ro
065a85e05c
fix effective autotype sequence
2018-02-04 23:13:15 +01:00
Janek Bevendorff
a8471f1617
Re-add QStandardPaths include to fix compilation error on macOS,
...
resolves #1455
2018-02-04 22:56:31 +01:00
frostasm
6007e0de71
Refactor DetailsWidget
2018-02-04 15:51:30 +02:00
Janek Bevendorff
527868a6b3
Guarantee that configuration values are committed to disk on exit
2018-02-04 13:56:46 +01:00
Janek Bevendorff
17e3f1c21f
Create history item when setting up a TOTP seed, resolves #1445
2018-02-01 19:16:17 +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
8dd6cdeb69
Fix history truncation based on max size and extend unit tests
2018-01-23 02:31:29 +01:00
Christian Kieschnick
258438f01f
Fix code-style issues
...
Fixed issues pointed out during review
2018-01-23 00:57:04 +01:00
Christian Kieschnick
943dc6cdd6
Add tests for modified, fix history for autotype
...
Added tests to ensure #1387 works
Fixed issue detected during testing - AutoTypeAssociations were not
pushed to history
2018-01-23 00:57:01 +01:00
Christian Kieschnick
045f157a63
Add extend entry-size calculation ( resolved #1387 )
...
Extended the calculation for the size of history items to match KeePass2
Small refactoring regarding readability in EntryAttachements
2018-01-23 00:56:58 +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
Janek Bevendorff
bbc5ff5103
Use actual full en_US translation for English and drop en_plurals file
2018-01-21 15:54:46 +01:00
Janek Bevendorff
8da3efa2c2
Add disambiguation info to source strings
2018-01-21 15:54:46 +01:00
Janek Bevendorff
3605bec8e0
Change 'unget' error message to untranslatable qWarning
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
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
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
df728083cc
Add challenge response to key before transformation, resolves #1060
...
* Re-implement KDBX4 challenge-response key assembly with transform
seed instead of master seed
2018-01-13 14:24:59 -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
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