-
Notifications
You must be signed in to change notification settings - Fork 645
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
[AccountDeleter]Adding stubbed definition for missing DI objects. #8677
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,264 @@ | ||
// Copyright (c) .NET Foundation. All rights reserved. | ||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. | ||
|
||
using NuGet.Services.Entities; | ||
using System; | ||
using System.Collections.Generic; | ||
|
||
namespace NuGetGallery.AccountDeleter | ||
{ | ||
public class EmptyFeatureFlagService : IFeatureFlagService | ||
{ | ||
public bool AreDynamicODataCacheDurationsEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool AreEmbeddedIconsEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool AreEmbeddedReadmesEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool ArePatternSetTfmHeuristicsEnabled() | ||
{ | ||
//Until this feature is enabled by default, we will assume it is turned off here. | ||
//This is the only used feature flag that was added. | ||
return false; | ||
} | ||
|
||
public bool IsABTestingEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsAdvancedSearchEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsAlternateStatisticsSourceEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsAsyncAccountDeleteEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsDeletePackageApiEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsDisplayBannerEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsDisplayFuGetLinksEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsDisplayPackagePageV2Enabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsDisplayVulnerabilitiesEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsForceFlatContainerIconsEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsGet2FADismissFeedbackEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsGitHubUsageEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsGravatarProxyEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsImageAllowlistEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsLicenseMdRenderingEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsManageDeprecationApiEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsManageDeprecationEnabled(User user, PackageRegistration registration) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsManageDeprecationEnabled(User user, IEnumerable<Package> allVersions) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsManagePackagesVulnerabilitiesEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsMarkdigMdRenderingEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataDatabaseReadOnlyEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1FindPackagesByIdCountNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1FindPackagesByIdNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1GetAllCountEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1GetAllEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1GetSpecificNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1SearchCountNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV1SearchNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2FindPackagesByIdCountNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2FindPackagesByIdNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2GetAllCountNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2GetAllNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2GetSpecificNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2SearchCountNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsODataV2SearchNonHijackedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsPackageDependentsEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsPackageRenamesEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsPackagesAtomFeedEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsPreviewHijackEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsSearchSideBySideEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsSelfServiceAccountDeleteEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsShowEnable2FADialogEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsShowReportAbuseSafetyChangesEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsTyposquattingEnabled() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool IsTyposquattingEnabled(User user) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
public bool ProxyGravatarEnSubdomain() | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: The order of dependencies?