Skip to content

Commit 255919b

Browse files
authored
Moving ContentObject, User, Package Services (#7230)
* minimal changes to pull DeleteService. * Update test project o use new library. Expose more quietlog methods. * cshtml corrections for library. * Update Gallery Tools to reference services library. * Fix mvc reference. * Signing and versioning. * Fixing Namespacing. Added Comment to Interface. Revert some stuff back to internal. Expose to Test. * Clean up usings. Remove some leftover stuff. Revert support request stuff back into wierd namespace. * Move reference up a dependency. Fix tests. * Make entities strings internal. Don't build razor locally. * More namespace reverts. ServiceStrings -> ServicesStrings. * Pull packageService. * Moving PackageOwnershipManagementService. And related. Included most Permissions * Move SecurityPolicyService * Put back a using. Fix reference to DeleteAccountStatus in UsersController. * Fix DeleteAccountStatus references in tests. * Merge and rebase out of delete branch. * Moving ContentObjectService * Rebase onto dev. Update Web.Config. * Fix assemblyinfo that got deleted during merge somehow. * Remove GitConstants move to ServicesContants. * Remove Referneces to deleted namespace.
1 parent 107acd9 commit 255919b

80 files changed

Lines changed: 932 additions & 374 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/NuGetGallery/Diagnostics/DiagnosticsSourceExtensions.cs renamed to src/NuGetGallery.Core/Extensions/DiagnosticsSourceExtensions.cs

File renamed without changes.
File renamed without changes.

src/NuGetGallery.Core/NuGetGallery.Core.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
<Compile Include="Entities\IEntityRepository.cs" />
133133
<Compile Include="Entities\ReadOnlyModeException.cs" />
134134
<Compile Include="Entities\SuspendDbExecutionStrategy.cs" />
135+
<Compile Include="Extensions\DiagnosticsSourceExtensions.cs" />
135136
<Compile Include="Extensions\EntitiesContextExtensions.cs" />
136137
<Compile Include="Extensions\PackageValidationSetExtensions.cs" />
137138
<Compile Include="Extensions\StorageExceptionExtensions.cs" />

src/NuGetGallery.Services/Models/DeleteAccountStatus.cs renamed to src/NuGetGallery.Services/AccountManagement/DeleteAccountStatus.cs

File renamed without changes.

src/NuGetGallery/Infrastructure/Authentication/ApiKeyV4.cs renamed to src/NuGetGallery.Services/Authentication/ApiKeyV4.cs

File renamed without changes.

src/NuGetGallery/Authentication/AuthenticatedUser.cs renamed to src/NuGetGallery.Services/Authentication/AuthenticatedUser.cs

File renamed without changes.

src/NuGetGallery/Infrastructure/Authentication/CredentialBuilder.cs renamed to src/NuGetGallery.Services/Authentication/CredentialBuilder.cs

File renamed without changes.

src/NuGetGallery.Services/Authentication/IAuthenticationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ public interface IAuthenticationService
1717
/// <returns>Returns a task that will complete when the credential has succesfully been removed.</returns>
1818
Task RemoveCredential(User user, Credential cred, bool commitChanges = true);
1919
}
20-
}
20+
}

src/NuGetGallery/Infrastructure/Authentication/ICredentialBuilder.cs renamed to src/NuGetGallery.Services/Authentication/ICredentialBuilder.cs

File renamed without changes.

src/NuGetGallery/Infrastructure/Authentication/V3Hasher.cs renamed to src/NuGetGallery.Services/Authentication/V3Hasher.cs

File renamed without changes.

0 commit comments

Comments
 (0)