Skip to content

Enhance attribute entry#220

Merged
droidmonkey merged 5 commits intodevelopfrom
feature/attribute-enhancements
Mar 8, 2017
Merged

Enhance attribute entry#220
droidmonkey merged 5 commits intodevelopfrom
feature/attribute-enhancements

Conversation

@droidmonkey
Copy link
Copy Markdown
Member

Description

  • Allow protected attributes to be hidden
  • Entry area is resizable

Fixes #111 and fixes #45

Motivation and Context

Attribute entry area was ugly and boring. It is now awesome (or at least slightly better)! The protected view is powered by the already existing protected attributes in the entry class.

How Has This Been Tested?

Manual testing

Screenshots (if appropriate):

keepassxc_attributes

Types of changes

  • ✅ New feature (non-breaking change which adds functionality)

Checklist:

  • ✅ I have read the CONTRIBUTING document. [REQUIRED]
  • ✅ My code follows the code style of this project. [REQUIRED]
  • ✅ All new and existing tests passed. [REQUIRED]

@droidmonkey droidmonkey added this to the v2.2.0 milestone Jan 26, 2017
Copy link
Copy Markdown
Member

@phoerious phoerious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far, but the attribute name list panel should have a sane default and min-width. It's great that it's resizable now, but it still has the tiny default size it had before and I can even drag it further to the left until it disappears.

@droidmonkey
Copy link
Copy Markdown
Member Author

Yah i need to look into sizing properties a little more. Almost everything in keepassxc is set to what i call "shrinkwrap mode"

@droidmonkey droidmonkey force-pushed the feature/attribute-enhancements branch from ffab299 to 27d815f Compare January 28, 2017 22:59
@droidmonkey droidmonkey force-pushed the feature/attribute-enhancements branch from 27d815f to 8047bc2 Compare February 8, 2017 03:12
@droidmonkey
Copy link
Copy Markdown
Member Author

@phoerious please take a look at the new fixes

@TheZ3ro
Copy link
Copy Markdown
Contributor

TheZ3ro commented Feb 11, 2017

Can we include gui-tests before merging?

@droidmonkey
Copy link
Copy Markdown
Member Author

Yes sorry, forgot about those.

@droidmonkey droidmonkey force-pushed the feature/attribute-enhancements branch from c89e6c7 to 78b10a9 Compare March 7, 2017 04:00
@droidmonkey
Copy link
Copy Markdown
Member Author

ping @phoerious

Copy link
Copy Markdown
Member

@phoerious phoerious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor style thing. Otherwise it looks ok as is.

QModelIndex index = m_advancedUi->attributesView->currentIndex();
if (!m_history && index.isValid()) {
QString key = m_attributesModel->keyByIndex(index);
if (state)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have braces, because with the comment lines, it looks more like two lines.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrected, thanks

@droidmonkey droidmonkey merged commit 31494ec into develop Mar 8, 2017
@droidmonkey droidmonkey deleted the feature/attribute-enhancements branch March 8, 2017 03:38
droidmonkey added a commit that referenced this pull request Jun 25, 2017
- Added YubiKey 2FA integration for unlocking databases [#127]
- Added TOTP support [#519]
- Added CSV import tool [#146, #490]
- Added KeePassXC CLI tool [#254]
- Added diceware password generator [#373]
- Added support for entry references [#370, #378]
- Added support for Twofish encryption [#167]
- Enabled DEP and ASLR for in-memory protection [#371]
- Enabled single instance mode [#510]
- Enabled portable mode [#645]
- Enabled database lock on screensaver and session lock [#545]
- Redesigned welcome screen with common features and recent databases [#292]
- Multiple updates to search behavior [#168, #213, #374, #471, #603, #654]
- Added auto-type fields {CLEARFIELD}, {SPACE}, {{}, {}} [#267, #427, #480]
- Fixed auto-type errors on Linux [#550]
- Prompt user prior to executing a cmd:// URL [#235]
- Entry attributes can be protected (hidden) [#220]
- Added extended ascii to password generator [#538]
- Added new database icon to toolbar [#289]
- Added context menu entry to empty recycle bin in databases [#520]
- Added "apply" button to entry and group edit windows [#624]
- Added macOS tray icon and enabled minimize on close [#583]
- Fixed issues with unclean shutdowns [#170, #580]
- Changed keyboard shortcut to create new database to CTRL+SHIFT+N [#515]
- Compare window title to entry URLs [#556]
- Implemented inline error messages [#162]
- Ignore group expansion and other minor changes when making database "dirty" [#464]
- Updated license and copyright information on souce files [#632]
- Added contributors list to about dialog [#629]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rework entry attributes user interface Display Entry Attributes as Passwords

3 participants