Commit Graph

2588 Commits

Author SHA1 Message Date
Toni Spets
a81a5fa31b SymmetricCipher: Support CTR mode
Includes AES-256-CTR non-stream tests
2017-11-19 14:38:59 +02:00
TheZ3ro
8625e2c051
Merge pull request #1170 from adolfogc/refactor/base32-implementation
Refactor base32 implementation
2017-11-17 19:34:32 +01: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
TheZ3ro
b28333ea0d
Merge pull request #1139 from frostasm/add-support-for-working-with-multiple-attachments
Add support for working with multiple entry attachments at once
2017-11-12 16:55:07 +01: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
TheZ3ro
f141325258
Merge pull request #1166 from adolfogc/hotfix/1156
Fix TOTP Segfault in DetailsWidget #1156
2017-11-12 15:33:53 +01: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
35136090cb
Merge pull request #1132 from AsavarTzeth/fix-1131
Fix id and appdata validation failures (#1131)
2017-11-08 18:04:35 +01:00
AsavarTzeth
4853014a61 Fix id and appdata validation failures (#1131)
According to the AppStream specification org.keepassxc is not a valid
id. The product name is missing. This results in failures if one tries
to validate the file and makes it unusable where validation is enforced.

Additionally it seems specification don't allow the `<icon>` tag with
component type desktop-application. I am not sure this tag is strictly
necessary. In any case validation tests require this to be removed.

Fixing both of these issues ensure the AppStream appdata is compliant
and works anywhere passing validations is a requirement.

Also provide some other fixes and improvements to the appdata.

Minor validation failures:

- Fix missing captions for screenshots (`appstreamcli`)
- Fix descriptions cannot start with `<ul>` tag (`appstream-util`)

Other enhancements:

- Add more URL types, but could not add donation type because "&" is not
  allowed in the `<url>` tag and using "%26" causes
  `appstreamcli validate` to fail.
- Add `<developer_name>`, which in cases such as KeePassXC is a team name.
2017-11-08 17:51:37 +01:00
TheZ3ro
7ef61b47e3
Merge pull request #1141 from keepassxreboot/hotfix/apply-button-save
Fix apply button not saving new entries
2017-11-06 20:27:15 +01:00
Janek Bevendorff
c280eac309
Merge pull request #1171 from yan12125/patch-1
COPYING: remove a duplicated entry
2017-11-06 12:00:38 +01:00
Yen Chi Hsuan
78408cf54b
COPYING: remove a duplicated entry
Already in line 46~48 :)
2017-11-06 16:05:39 +08:00
TheZ3ro
2106be6a04
Merge pull request #1164 from keepassxreboot/fix/add_db_creation_test
Add test for DB creation, re-use ChnageMasterKeyWidget instance in CsvImportWizard
2017-11-03 12:13:06 +01:00
thez3ro
d6e8e1be6e
use QTemporaryFile when creating a database for guitest 2017-11-02 20:07:41 +01:00
thez3ro
c3c67f18b8
add test for DB creation 2017-11-02 20:07:41 +01:00
TheZ3ro
c8911c0dfd
Merge pull request #1142 from frostasm/allow-to-change-preview-panel-height
Allow to change the height of the preview panel (fix #1135)
2017-11-02 19:56:01 +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
TheZ3ro
4e6a171a42
Merge pull request #1146 from frostasm/save-main-window-geometry-only-if-window-visible
Save the geometry of main window only if the window is visible
2017-10-30 23:36:10 +01: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
e100ba8362
Merge pull request #1145 from keepassxreboot/hotfix/prevent_crash_empty_database
Prevent crash with empty database
2017-10-28 21:48:45 +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
5718f3dca2 Merge pull request #1072 from frostasm/add-support-for-placeholders-on-keepasshttp-custom-fields
Add support for placeholders on the KeePassHTTP custom fields (#1067)
2017-10-26 16:22:38 +02:00
frostasm
2027429d87 Add support for placeholders on the KeePassHTTP custom fields 2017-10-26 14:30:20 +03:00
TheZ3ro
cfe4299301 Merge pull request #1124 from keepassxreboot/feature/hide_notes
Make notes hidden by default
2017-10-26 13:25:16 +02: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
TheZ3ro
3b9ffa194d Merge pull request #879 from keepassxreboot/feature/preview-panel
Add preview panel for entries and groups, closes #454 and #558
2017-10-26 12:40:07 +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
TheZ3ro
03eda06a38 Merge pull request #910 from Typz/xfce-lock
Detect session lock on Xfce/XUbuntu 16.04
2017-10-25 17:59:38 +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
Janek Bevendorff
0c3f352c63 Merge pull request #1119 from louib/no_reload_prompt_when_locked
Disable reload prompt when db is locked
2017-10-25 16:45:51 +02:00
Louis-Bertrand Varin
055ba4f14e Q_NULLPTR -> nullptr 2017-10-25 10:15:37 -04:00