Add compatibility assistant module

This commit is contained in:
Daniel
2021-11-17 14:09:42 +01:00
parent 3193cd35b9
commit 113f37dcab
15 changed files with 557 additions and 6 deletions

View File

@@ -68,9 +68,16 @@ type Profile struct { //nolint:maligned // not worth the effort
// Name is a human readable name of the profile. It
// defaults to the basename of the application.
Name string
// Description may holds an optional description of the
// Description may hold an optional description of the
// profile or the purpose of the application.
Description string
// Warning may hold an optional warning about this application.
// It may be static or be added later on when the Portmaster detected an
// issue with the application.
Warning string
// WarningLastUpdated holds the timestamp when the Warning field was last
// updated.
WarningLastUpdated time.Time
// Homepage may refer the the website of the application
// vendor.
Homepage string

View File

@@ -112,7 +112,7 @@ func getSpecialProfile(profileID, linkedPath string) *Profile {
},
)
// Add description to tell users about the quirks of this profile.
systemResolverProfile.Description = `The System DNS Client is a system service that requires special handling. For regular network connections, the configured settings will apply as usual, but DNS requests coming from the System DNS Client are handled in a special way, as they could actually be coming from any other application on the system.
systemResolverProfile.Warning = `The System DNS Client is a system service that requires special handling. For regular network connections, the configured settings will apply as usual, but DNS requests coming from the System DNS Client are handled in a special way, as they could actually be coming from any other application on the system.
In order to respect the app settings of the actual application, DNS requests from the System DNS Client are only subject to the following settings:
@@ -179,7 +179,7 @@ func specialProfileNeedsReset(profile *Profile) bool {
switch profile.ID {
case SystemResolverProfileID:
return canBeUpgraded(profile, "1.6.2021")
return canBeUpgraded(profile, "18.11.2021")
case PortmasterAppProfileID:
return canBeUpgraded(profile, "8.9.2021")
default: