Commit Graph

2513 Commits

Author SHA1 Message Date
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
f80b5af432
Merge pull request #1326 from keepassxreboot/feature/refactor-keyfile-generator
Generate random 128-byte stream instead of legacy XML format when creating key files
2017-12-27 01:28:11 +01:00
Janek Bevendorff
60b3037e4a Add additional unit tests for key file generation 2017-12-27 01:21:49 +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
ac6a9e7696
Merge pull request #1323 from keepassxreboot/feature/teamcity-build-icon
Replace Travis build icon with TeamCity build icon
2017-12-26 16:28:45 +01:00
Janek Bevendorff
d2555db952 Replace Travis build icon with TeamCity build icon 2017-12-26 13:46:33 +01:00
Janek Bevendorff
3e37cfa8ed
Merge pull request #1320 from keepassxreboot/hotfix/ssh-agent-regression
Correct regression to ssh-agent from entry attachment refactor
2017-12-26 13:24:58 +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
Janek Bevendorff
d571f22ec0
Merge pull request #1322 from phoerious/feature/teamcity-ci
Add TeamCity integration
2017-12-26 13:05:14 +01:00
Janek Bevendorff
910c630f8e Add CI Dockerfile 2017-12-26 03:39:12 +01:00
Jonathan White
cc1ab94a4f Correct regression to ssh-agent from entry attachment refactor 2017-12-25 23:22:10 +01:00
Janek Bevendorff
497eb3c587
Merge pull request #1319 from keepassxreboot/hotfix/testcsvparser-encoding
Correct encoding ambiguity in CSV Parser unicode test
2017-12-25 21:24:35 +01:00
Jonathan White
d217da421f Correct test failures in mingw 2017-12-25 11:10:30 -05:00
Janek Bevendorff
d7a83f1b83
Merge pull request #1298 from frostasm/improve-entry-attachments-view
Improve entry attachments view
2017-12-25 14:12:15 +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
0a9b250d73
Merge pull request #1307 from keepassxreboot/feature/fix-qtbase-translations
Fix missing qtbase translations
2017-12-24 14:56:42 +01:00
Jonathan White
6c2ccada13 Support built-in translations in Snap 2017-12-23 17:47:46 +01:00
Janek Bevendorff
a4cf32dce0 Bundle qtbase translations with macOS and AppImage releases 2017-12-23 17:47:46 +01: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
Janek Bevendorff
b807215aec
Merge pull request #1316 from yan12125/fix-preview-panel-url-label-font-size
Fix font size of URL label in the preview panel
2017-12-23 16:28:57 +01:00
Yen Chi Hsuan
fc39e8f27d Fix font size of URL label in the preview panel 2017-12-23 16:20:59 +08:00
Janek Bevendorff
fd27e6f928
Merge pull request #1153 from smarsching/issue-1148-msi-package
Build MSI packages
2017-12-22 13:26:26 +01: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
Janek Bevendorff
0c5ccba9be
Merge pull request #1308 from orivej/feature/cmake-minimum-required
Fix use of cmake_minimum_required
2017-12-20 09:47:51 +01:00
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