Commit Graph

2730 Commits

Author SHA1 Message Date
Orivej Desh
f6a48f2672
Fix use of cmake_minimum_required
cmake_minimum_required() must be used before project(), otherwise it has no effect on internal cmake code that runs when project() is invoked. In particular CMP0025 does not default to NEW and CMake does not detect Clang features on Darwin, which is necessary to compile the project with the upstream (non Apple) compiler.
2017-12-20 08:25:55 +00:00
Janek Bevendorff
959103a416
Merge pull request #1303 from keepassxreboot/hotfix/snapcraft
Updated snapcraft build file
2017-12-19 09:09:57 +01:00
Jonathan White
b268671afd
Updated snapcraft build file
* Removed snapd-xdg-open support; built into snapd
* Updated desktop-qt5 stage packages
2017-12-19 00:08:12 -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
Janek Bevendorff
d8f408ee83
Merge pull request #1224 from hifi/fix/sshagent-ui
SSH Agent: Split private key selection
2017-12-16 12:36:54 +01: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
Janek Bevendorff
9b632eaaca
Merge pull request #1277 from keepassxreboot/feature/releasetool-mac-signing
Separate code and GPG signing and add support for macOS codesign to release-tool
2017-12-15 10:03:52 +01:00
Janek Bevendorff
b457c8c1fa Replace signtool with osslsigncode 2017-12-15 09:51:55 +01:00
Janek Bevendorff
f257145ee0 Separate code and GPG signing and add support for macOS codesign 2017-12-15 09:51:55 +01:00
louib
8b1c8f69f7
Removing password output from Estimate. (#1281)
* Removing password output from Estimate.

* clang-format
2017-12-14 20:22:59 -05:00
Janek Bevendorff
57845851c0
Merge branch 'master' into develop 2017-12-13 19:00:04 +01:00
Janek Bevendorff
4723f66d23
Release 2.2.4
- Prevent database corruption when locked [#1219]
- Fixes apply button not saving new entries [#1141]
- Switch to Consolas font on Windows for password edit [#1229]
- Multiple fixes to AppImage deployment [#1115, #1228]
- Fixes multiple memory leaks [#1213]
- Resize message close to 16x16 pixels [#1253]
2017-12-13 18:58:56 +01:00
Janek Bevendorff
6f68d05545
Update translations 2017-12-13 18:58:52 +01:00
Janek Bevendorff
8c682c80ce
Bump version to 2.2.4 2017-12-13 18:55:54 +01:00
Janek Bevendorff
525e66d566
Update release-tool with new AppStream info filename 2017-12-13 18:53:51 +01:00
Janek Bevendorff
3cde0a5b96 Add StartupWMClass to desktop file (backport from develop) 2017-12-13 18:45:23 +01:00
Janek Bevendorff
882f0ab8a5 Correct desktop and appdata file paths (backport from develop) 2017-12-13 18:45:23 +01:00
Germano Massullo
4cfa687a3f
Fixed typo in XML tag
Signed-off-by: Germano Massullo <germano.massullo@gmail.com>
2017-12-13 13:14:32 +01:00
Jonathan White
0141fa2f1c
Correct memory leaks in TestGroup.cpp 2017-12-12 23:46:25 -05:00
Germano Massullo
24b1ec2592 Fixed typo in XML tag
Signed-off-by: Germano Massullo <germano.massullo@gmail.com>
2017-12-12 23:44:02 +01:00
Jonathan White
28ad6ed552 Merge branch 'master' into develop 2017-12-11 21:10:25 -05:00
Jonathan White
cf94610f46
Release 2.2.3
- Prevent database corruption when locked [#1219]
- Fixes apply button not saving new entries [#1141]
- Switch to Consolas font on Windows for password edit [#1229]
- Multiple fixes to AppImage deployment [#1115, #1228]
- Fixes multiple memory leaks [#1213]
- Resize message close to 16x16 pixels [#1253]
2017-12-11 21:01:14 -05:00
Jonathan White
c7836f1157
Update translations 2017-12-11 21:01:00 -05:00
Jonathan White
228843b010
Version bump to 2.2.3 and changelog 2017-12-11 20:59:41 -05:00
Sebastian Marsching
ab31619745 Build MSI package when making a release. 2017-12-09 15:02:57 +01:00
Jonathan White
1bc2d58ae1
Corrected file link to INSTALL.md 2017-12-08 17:17:33 -05:00
Janek Bevendorff
89c59498d1
Merge pull request #1261 from chuinul/translate-extendedASCII
Enable translations for 'Extended ASCII' button
2017-12-08 22:29:35 +01: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
8a71c680ac resize message-close to 16x16 pixels 2017-12-05 22:03:55 +01:00
TheZ3ro
5584481bef
Merge pull request #1249 from mikewoudenberg/develop
Adds listener for Gnome specific screensaver activation
2017-12-05 17:32:44 +01:00
TheZ3ro
f2a464f626
Merge branch 'develop' into develop 2017-12-05 17:26:14 +01:00
TheZ3ro
44399991f4
Merge pull request #1144 from dupondje/fix_wmclass
Add WMClass to the desktop file to have proper linking to the desktop file
2017-12-04 22:51:13 +01:00
Jean-Louis Dupond
afe2967473 Add WMClass to the desktop file to have proper linking to the desktop file 2017-12-04 20:38:58 +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
Weslly
18c4df98ff
Merge pull request #1178 from frostasm/implement-resolving-for-references-placeholders
Implement search for reference placeholder based on fields other than ID
2017-11-30 17:10:02 -02: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
Serhii Moroz
5c7d34677d Merge pull request #1 from Logout22/implement-resolving-for-references-placeholders
Implement resolving for references placeholders
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
Martin Unzner
b44092ac43 Add capability to resolve UUID 2017-11-30 20:07:16 +02:00
frostasm
806dd5d783 Add unit test to search for referenced entries based on fields other than ID 2017-11-30 20:07:16 +02:00
Martin Unzner
d4d0f4c131 Add failing test for complete entry resolution 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
TheZ3ro
fb6636d182
Merge pull request #1053 from alterratz/feature/autoopen
added autoopen functionality (#477)
2017-11-30 15:13:41 +01:00