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

Browser feature: Add omit WWW subdomain group option #7988

Conversation

varjolintu
Copy link
Member

@varjolintu varjolintu commented May 1, 2022

Adds a new group option "Omit WWW subdomain from matching" that ignores the common subdomain from all entries during matching.
This option is also useful when importing credentials from other password managers.

Testing strategy

Manually + automatic tests added.

Type of change

  • ✅ New feature (change that adds functionality)

@codecov-commenter
Copy link

codecov-commenter commented May 1, 2022

Codecov Report

Attention: Patch coverage is 51.85185% with 26 lines in your changes missing coverage. Please review.

Project coverage is 64.47%. Comparing base (a2aac70) to head (7a6a3c9).
Report is 410 commits behind head on develop.

Files with missing lines Patch % Lines
src/browser/BrowserService.cpp 60.87% 18 Missing ⚠️
src/gui/group/EditGroupWidget.cpp 0.00% 8 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7988      +/-   ##
===========================================
+ Coverage    64.40%   64.47%   +0.07%     
===========================================
  Files          339      339              
  Lines        43682    43696      +14     
===========================================
+ Hits         28131    28170      +39     
+ Misses       15551    15526      -25     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@varjolintu varjolintu force-pushed the feature/browser_omit_www_subdomain branch from 8d3509b to 9b0cbbb Compare May 1, 2022 17:56
@droidmonkey droidmonkey added the pr: backport pending Pull request yet to be backported to a previous release label May 28, 2022
src/browser/BrowserService.cpp Outdated Show resolved Hide resolved
src/browser/BrowserService.cpp Outdated Show resolved Hide resolved
@droidmonkey
Copy link
Member

I want to test this with the browser but the code looks good!

@droidmonkey droidmonkey force-pushed the feature/browser_omit_www_subdomain branch from f8cae7d to 7a6a3c9 Compare June 12, 2022 20:00
@droidmonkey
Copy link
Member

Thankfully we have robust tests cause you made a couple copy/paste errors in the sortPriority function! All fixed now.

@varjolintu
Copy link
Member Author

@droidmonkey Oops. Thanks!

@droidmonkey droidmonkey merged commit 6cb6f1f into keepassxreboot:develop Jun 12, 2022
@varjolintu varjolintu deleted the feature/browser_omit_www_subdomain branch June 13, 2022 03:57
@droidmonkey droidmonkey added pr: backported Pull request backported to previous release and removed pr: backport pending Pull request yet to be backported to a previous release labels Jun 27, 2022
@phoerious phoerious added pr: new feature Pull request that adds a new feature and removed new feature labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: Browser pr: backported Pull request backported to previous release pr: new feature Pull request that adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants