Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add show/hide expired entries on global AutoType #5283

Conversation

Colfenor
Copy link
Contributor

Fixes #1855

A new checkbox is introduced in the Settings -> General -> Auto-Type - section
named 'Hide expired entries on selecting multiple for global Auto-Type'.

When checked, on hitting the autoType-hotkey and entering the selection screen of multiple entries for the autoType feature, expired entries will not be shown to the user.

If unchecked both expired and valid entries will be shown.

Considering unit-testing, would you like to have a test which ensures the removal of expired entries in the internal matchList ?

Screenshots

Testing strategy

(match URL & Entry Title on global AutoType checkboxes were enabled)

Multiple entries with the same title were created and some were set to expired.
The total count of the valid/expired entries was recorded and compared to the count
if valid/expired items in the AutoTypeSelectDialog screen depending of the checkBox
state set/unset.

Type of change

  • ✅ New feature (change that adds functionality)

src/autotype/AutoType.cpp Outdated Show resolved Hide resolved
@Colfenor Colfenor requested a review from droidmonkey August 28, 2020 23:16
@droidmonkey droidmonkey added this to the v2.7.0 milestone Aug 29, 2020
* Add setting to hide expired entries from Auto-Type
* Expired entries will not be shown in selection dialogs or be auto-picked for use
* Fixes keepassxreboot#1855
@droidmonkey droidmonkey force-pushed the feature/toggle-expired-entries-on-AutoType branch from 6f9da0c to 8ca6ab1 Compare August 29, 2020 12:48
@droidmonkey
Copy link
Member

Cleaned up the commits and code a little. Good to go.

@droidmonkey droidmonkey merged commit 745f1be into keepassxreboot:develop Aug 30, 2020
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.

Show/hide expired entries on auto-type
2 participants