diff --git a/3rdParty/RazorGenerator/RazorGenerator.Core.dll b/3rdParty/RazorGenerator/RazorGenerator.Core.dll new file mode 100644 index 0000000000..b448c24a6d Binary files /dev/null and b/3rdParty/RazorGenerator/RazorGenerator.Core.dll differ diff --git a/3rdParty/RazorGenerator/RazorGenerator.MsBuild.dll b/3rdParty/RazorGenerator/RazorGenerator.MsBuild.dll new file mode 100644 index 0000000000..c0cd8f3da0 Binary files /dev/null and b/3rdParty/RazorGenerator/RazorGenerator.MsBuild.dll differ diff --git a/3rdParty/RazorGenerator/RazorGenerator.targets b/3rdParty/RazorGenerator/RazorGenerator.targets new file mode 100644 index 0000000000..90f4fc6724 --- /dev/null +++ b/3rdParty/RazorGenerator/RazorGenerator.targets @@ -0,0 +1,23 @@ + + + $(MSBuildThisFileDirectory)\RazorGenerator.MsBuild.dll + + + PrecompileRazorFiles; + $(CompileDependsOn); + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Scripts/NuGetGallery.msbuild b/Scripts/NuGetGallery.msbuild index 7acb92ce26..92248d4180 100644 --- a/Scripts/NuGetGallery.msbuild +++ b/Scripts/NuGetGallery.msbuild @@ -28,12 +28,8 @@ - - - - - + diff --git a/Website/Views/Helpers/ViewHelpers.cshtml b/Website/App_Code/ViewHelpers.cshtml similarity index 97% rename from Website/Views/Helpers/ViewHelpers.cshtml rename to Website/App_Code/ViewHelpers.cshtml index 0b8fb124ad..1c19af66e8 100644 --- a/Website/Views/Helpers/ViewHelpers.cshtml +++ b/Website/App_Code/ViewHelpers.cshtml @@ -1,93 +1,95 @@ - @* Generator: MvcHelper *@ - -@using System.Linq; -@using System.Collections; -@using NuGetGallery; - -@helper PreviousNextPager(IPreviousNextPager pager) { - if (pager.HasNextPage || pager.HasPreviousPage) { -
    - - -
- } -} - -@helper Option(string value, string label, string currentValue) { - -} - -@helper UploadSequence(int currentStep) { -
    - @SequenceStep(1, "Upload", currentStep) - @SequenceStep(2, "Verify Details", currentStep) - @SequenceStep(3, "Enjoy", currentStep) -
-
-} - -@helper SequenceStep(int step, string caption, int currentStep) { - if (currentStep > step) { -
  • @caption
  • - } - else if (currentStep == step) { -
  • @caption
  • - } - else { -
  • @caption
  • - } -} - -@helper OwnersGravatar(IEnumerable owners, int size, UrlHelper url, bool showName = true) { -
      - @foreach (var owner in owners) { -
    • - @ViewHelpers.OwnerGravatar(owner, size, url, showName) -
    • - } -
    -} - -@helper OwnerGravatar(User owner, int size, UrlHelper url, bool showName = true) { - - @GravatarImage(owner.EmailAddress, owner.Username, size) - @if (showName) { - @owner.Username - } - -} - -@helper GravatarImage(string email, string username, int size) { - - @Gravatar.GetHtml(email, size, "retro", GravatarRating.G, attributes: new { width = size, height = size, title = username, @class = "owner-image" }) - -} - -@helper ReleaseTag(){ - string name = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseName"]; - string sha = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseSha"]; - string branch = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseBranch"]; - string time = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseTime"]; - if(!String.IsNullOrEmpty(name) && !String.IsNullOrEmpty(sha) && !String.IsNullOrEmpty(branch) && !String.IsNullOrEmpty(time)){ -

    - @name - - Deployed from @sha.Substring(0,10) - on @branch - at @time. -

    - } + @* Generator: MvcHelper *@ + +@using System.Linq; +@using System.Collections; +@using System.Web.Mvc; +@using Microsoft.Web.Helpers; +@using NuGetGallery; + +@helper PreviousNextPager(IPreviousNextPager pager) { + if (pager.HasNextPage || pager.HasPreviousPage) { +
      + + +
    + } +} + +@helper Option(string value, string label, string currentValue) { + +} + +@helper UploadSequence(int currentStep) { +
      + @SequenceStep(1, "Upload", currentStep) + @SequenceStep(2, "Verify Details", currentStep) + @SequenceStep(3, "Enjoy", currentStep) +
    +
    +} + +@helper SequenceStep(int step, string caption, int currentStep) { + if (currentStep > step) { +
  • @caption
  • + } + else if (currentStep == step) { +
  • @caption
  • + } + else { +
  • @caption
  • + } +} + +@helper OwnersGravatar(IEnumerable owners, int size, UrlHelper url, bool showName = true) { +
      + @foreach (var owner in owners) { +
    • + @ViewHelpers.OwnerGravatar(owner, size, url, showName) +
    • + } +
    +} + +@helper OwnerGravatar(User owner, int size, UrlHelper url, bool showName = true) { + + @GravatarImage(owner.EmailAddress, owner.Username, size) + @if (showName) { + @owner.Username + } + +} + +@helper GravatarImage(string email, string username, int size) { + + @Gravatar.GetHtml(email, size, "retro", GravatarRating.G, attributes: new { width = size, height = size, title = username, @class = "owner-image" }) + +} + +@helper ReleaseTag(){ + string name = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseName"]; + string sha = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseSha"]; + string branch = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseBranch"]; + string time = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseTime"]; + if(!String.IsNullOrEmpty(name) && !String.IsNullOrEmpty(sha) && !String.IsNullOrEmpty(branch) && !String.IsNullOrEmpty(time)){ +

    + @name - + Deployed from @sha.Substring(0,10) + on @branch + at @time. +

    + } } \ No newline at end of file diff --git a/Website/AuthenticationController.generated.cs b/Website/AuthenticationController.generated.cs index 695a16b2e0..4dcf1fa441 100644 --- a/Website/AuthenticationController.generated.cs +++ b/Website/AuthenticationController.generated.cs @@ -20,14 +20,8 @@ using System.Web.Mvc.Html; using System.Web.Routing; using T4MVC; - - - namespace NuGetGallery { - public partial class AuthenticationController { - - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] protected AuthenticationController(Dummy d) { } @@ -37,14 +31,12 @@ public partial class AuthenticationController { return RedirectToRoute(callInfo.RouteValueDictionary); } - [NonAction] [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] public System.Web.Mvc.ActionResult LogOff() { return new T4MVC_ActionResult(Area, Name, ActionNames.LogOff); } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] public AuthenticationController Actions { get { return MVC.Authentication; } } [GeneratedCode("T4MVC", "2.0")] @@ -57,70 +49,44 @@ public partial class AuthenticationController { public ActionNamesClass ActionNames { get { return s_actions; } } [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] public class ActionNamesClass { - - public readonly string LogOn = "LogOn"; - - public readonly string LogOff = "LogOff"; - } - static readonly ViewNames s_views = new ViewNames(); [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] public ViewNames Views { get { return s_views; } } [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] public class ViewNames { -public readonly string LogOn = "~/Views/Authentication/LogOn.cshtml"; - + public readonly string LogOn = "~/Views/Authentication/LogOn.cshtml"; } } - [GeneratedCode("T4MVC", "2.0"), DebuggerNonUserCode] public class T4MVC_AuthenticationController: NuGetGallery.AuthenticationController { public T4MVC_AuthenticationController() : base(Dummy.Instance) { } - public override System.Web.Mvc.ActionResult LogOn() { var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOn); - return callInfo; } - public override System.Web.Mvc.ActionResult LogOn(NuGetGallery.SignInRequest request, string returnUrl) { var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOn); - - callInfo.RouteValueDictionary.Add("request", request); - callInfo.RouteValueDictionary.Add("returnUrl", returnUrl); - - return callInfo; } - public override System.Web.Mvc.ActionResult LogOff(string returnUrl) { var callInfo = new T4MVC_ActionResult(Area, Name, ActionNames.LogOff); - - callInfo.RouteValueDictionary.Add("returnUrl", returnUrl); - - return callInfo; } - } - - } - - #endregion T4MVC #pragma warning restore 1591 diff --git a/Website/Controllers/ForgotPasswordViewModel.cs b/Website/Controllers/ForgotPasswordViewModel.cs deleted file mode 100644 index 6aedd1e009..0000000000 --- a/Website/Controllers/ForgotPasswordViewModel.cs +++ /dev/null @@ -1,7 +0,0 @@ - -namespace NuGetGallery.Controllers -{ - class ForgotPasswordViewModel - { - } -} diff --git a/Website/DataServices/FeedPackage.cs b/Website/DataServices/FeedPackage.cs deleted file mode 100644 index 94cf805d3f..0000000000 --- a/Website/DataServices/FeedPackage.cs +++ /dev/null @@ -1,46 +0,0 @@ -using System; -using System.Data.Services.Common; - -namespace NuGetGallery { - [HasStream] - [DataServiceKey("Id", "Version")] - [EntityPropertyMapping("Id", SyndicationItemProperty.Title, SyndicationTextContentKind.Plaintext, keepInContent: false)] - [EntityPropertyMapping("Authors", SyndicationItemProperty.AuthorName, SyndicationTextContentKind.Plaintext, keepInContent: false)] - [EntityPropertyMapping("LastUpdated", SyndicationItemProperty.Updated, SyndicationTextContentKind.Plaintext, keepInContent: false)] - [EntityPropertyMapping("Summary", SyndicationItemProperty.Summary, SyndicationTextContentKind.Plaintext, keepInContent: false)] - public class FeedPackage { - public string Id { get; set; } - public string Version { get; set; } - - public string Authors { get; set; } - public string Copyright { get; set; } - public DateTime Created { get; set; } - public string Dependencies { get; set; } - public string Description { get; set; } - public int DownloadCount { get; set; } - public string ExternalPackageUri { get; set; } - public string GalleryDetailsUrl { get; set; } - public string IconUrl { get; set; } - public bool IsLatestVersion { get; set; } - public bool IsAbsoluteLatestVersion { get; set; } - public DateTime LastUpdated { get; set; } - public string LicenseUrl { get; set; } - public string PackageHash { get; set; } - public string PackageHashAlgorithm { get; set; } - public long PackageSize { get; set; } - public string ProjectUrl { get; set; } - public DateTime? Published { get; set; } - public string ReportAbuseUrl { get; set; } - public bool RequireLicenseAcceptance { get; set; } - public string Summary { get; set; } - public string Tags { get; set; } - public string Title { get; set; } - public int VersionDownloadCount { get; set; } - - // TODO: remove these from the feed in the future, is possible, if they aren't used - public string Categories { get { return string.Empty; } } - public string Language { get { return ""; } } - public string PackageType { get { return "Package"; } } - public decimal Price { get { return 0; } } - } -} \ No newline at end of file diff --git a/Website/DataServices/Feeds.svc b/Website/DataServices/Feeds.svc deleted file mode 100644 index 770e3b7cc9..0000000000 --- a/Website/DataServices/Feeds.svc +++ /dev/null @@ -1,3 +0,0 @@ - - -<%@ ServiceHost Language="C#" Factory="System.Data.Services.DataServiceHostFactory, System.Data.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Service="NuGetGallery.Feeds" %> diff --git a/Website/DataServices/Feeds.svc.cs b/Website/DataServices/Feeds.svc.cs deleted file mode 100644 index a5e8adc247..0000000000 --- a/Website/DataServices/Feeds.svc.cs +++ /dev/null @@ -1,110 +0,0 @@ -using System; -using System.Data.Services; -using System.Data.Services.Common; -using System.Data.Services.Providers; -using System.IO; -using System.Linq; -using System.ServiceModel; -using System.ServiceModel.Web; -using System.Web; -using System.Web.Mvc; -using System.Web.Routing; - -namespace NuGetGallery { - // TODO: make this work for both packages and screen shots? - - // TODO: Disable for live service - [ServiceBehavior(IncludeExceptionDetailInFaults = true)] - public class Feeds : DataService, IDataServiceStreamProvider, IServiceProvider { - readonly IEntityRepository packageRepo; - - public Feeds() { - // TODO: See if there is a way to do proper DI with data services - packageRepo = DependencyResolver.Current.GetService>(); - } - - // This method is called only once to initialize service-wide policies. - public static void InitializeService(DataServiceConfiguration config) { - config.SetServiceOperationAccessRule("Search", ServiceOperationRights.AllRead); - config.SetEntitySetAccessRule("Packages", EntitySetRights.AllRead); - config.SetEntitySetPageSize("Packages", 100); - config.DataServiceBehavior.MaxProtocolVersion = DataServiceProtocolVersion.V2; - config.UseVerboseErrors = true; - } - - protected override FeedsContext CreateDataSource() { - return new FeedsContext(packageRepo); - } - - public void DeleteStream( - object entity, - DataServiceOperationContext operationContext) { - throw new NotSupportedException(); - } - - public Stream GetReadStream( - object entity, - string etag, - bool? checkETagForEquality, - DataServiceOperationContext operationContext) { - throw new NotSupportedException(); - } - - public Uri GetReadStreamUri( - object entity, - DataServiceOperationContext operationContext) { - var package = (FeedPackage)entity; - var httpContext = new HttpContextWrapper(HttpContext.Current); - var urlHelper = new UrlHelper(new RequestContext(httpContext, new RouteData())); - - string url = urlHelper.PackageDownload(package.Id, package.Version); - - return new Uri(url, UriKind.Absolute); - } - - public string GetStreamContentType( - object entity, - DataServiceOperationContext operationContext) { - return "application/zip"; - } - - public string GetStreamETag( - object entity, - DataServiceOperationContext operationContext) { - return null; - } - - public Stream GetWriteStream( - object entity, - string etag, - bool? checkETagForEquality, - DataServiceOperationContext operationContext) { - throw new NotSupportedException(); - } - - public string ResolveType( - string entitySetName, - DataServiceOperationContext operationContext) { - throw new NotSupportedException(); - } - - public int StreamBufferSize { - get { return 64000; } - } - - public object GetService(Type serviceType) { - if (serviceType == typeof(IDataServiceStreamProvider)) { - return this; - } - - return null; - } - - [WebGet] - public IQueryable Search(string searchTerm, string targetFramework) { - return packageRepo.GetAll() - .Search(searchTerm) - .ToFeedPackageQuery(); - } - } -} diff --git a/Website/DataServices/FeedsContext.cs b/Website/DataServices/FeedsContext.cs deleted file mode 100644 index 55ae0af3d8..0000000000 --- a/Website/DataServices/FeedsContext.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Linq; - -namespace NuGetGallery { - public class FeedsContext { - private IEntityRepository packageRepo; - - public FeedsContext(IEntityRepository packageRepo) { - this.packageRepo = packageRepo; - } - - public IQueryable Packages { - get { - return packageRepo.GetAll().ToFeedPackageQuery(); - } - } - } -} diff --git a/Website/DataServices/V1Feeds.svc b/Website/DataServices/V1Feed.svc similarity index 100% rename from Website/DataServices/V1Feeds.svc rename to Website/DataServices/V1Feed.svc diff --git a/Website/DataServices/V1Feeds.svc.cs b/Website/DataServices/V1Feed.svc.cs similarity index 100% rename from Website/DataServices/V1Feeds.svc.cs rename to Website/DataServices/V1Feed.svc.cs diff --git a/Website/Errors/404.cshtml b/Website/Errors/404.cshtml index ff6ac29684..262a1f5ac9 100644 --- a/Website/Errors/404.cshtml +++ b/Website/Errors/404.cshtml @@ -1,4 +1,5 @@ -@{ +@* Generator : WebPage *@ +@{ Page.Title = "Page Not Found"; var errorPath = Request.QueryString["aspxerrorpath"]; diff --git a/Website/Errors/ErrorLayout.cshtml b/Website/Errors/ErrorLayout.cshtml index dc5231a1c9..fbb224862b 100644 --- a/Website/Errors/ErrorLayout.cshtml +++ b/Website/Errors/ErrorLayout.cshtml @@ -1,4 +1,5 @@ -@using NuGetGallery; +@* Generator : WebPage *@ +@using NuGetGallery; diff --git a/Website/Errors/_PageStart.cshtml b/Website/Errors/_PageStart.cshtml index 2aac4c766d..f5f2982c3d 100644 --- a/Website/Errors/_PageStart.cshtml +++ b/Website/Errors/_PageStart.cshtml @@ -1,3 +1,4 @@ -@{ +@* Generator : WebPage *@ +@{ Layout = "ErrorLayout.cshtml"; } \ No newline at end of file diff --git a/Website/Properties/AssemblyInfo.cs b/Website/Properties/AssemblyInfo.cs index 5c7770251d..479d6ba60c 100644 --- a/Website/Properties/AssemblyInfo.cs +++ b/Website/Properties/AssemblyInfo.cs @@ -1,37 +1,19 @@ -using System.Reflection; +using System; +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. [assembly: AssemblyTitle("NuGetGallery")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] +#if DEBUG +[assembly: AssemblyConfiguration("Debug")] +#else +[assembly: AssemblyConfiguration("Release")] +#endif [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("NuGetGallery")] [assembly: AssemblyCopyright("Copyright © Microsoft 2011")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("1edd5cb3-b983-4f07-9bb2-26f7e9b4c662")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Revision and Build Numbers -// by using the '*' as shown below: [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] - [assembly: InternalsVisibleTo("NuGetGallery.Facts")] +[assembly: CLSCompliant(false)] diff --git a/Website/Views/Authentication/LogOn.generated.cs b/Website/Views/Authentication/LogOn.generated.cs deleted file mode 100644 index 2bbe77749e..0000000000 --- a/Website/Views/Authentication/LogOn.generated.cs +++ /dev/null @@ -1,202 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.488 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Authentication -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - - #line 1 "..\..\Views\Authentication\LogOn.cshtml" - using NuGetGallery; - - #line default - #line hidden - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Authentication/LogOn.cshtml")] - public class LogOn : System.Web.Mvc.WebViewPage - { - public LogOn() - { - } - public override void Execute() - { - - -WriteLiteral("\r\n

    Log On

    \r\n\r\n

    \r\n Don\'t have an account yet? \r\n

    \r\n\r\n"); - - - - #line 10 "..\..\Views\Authentication\LogOn.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n Log On Form\r\n\r\n "); - - - - #line 14 "..\..\Views\Authentication\LogOn.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 15 "..\..\Views\Authentication\LogOn.cshtml" - Write(Html.ValidationSummary(true)); - - - #line default - #line hidden -WriteLiteral("\r\n\r\n"); - - - - #line 17 "..\..\Views\Authentication\LogOn.cshtml" - if (ViewBag.ConfirmationRequired != null && ViewBag.ConfirmationRequired) { - - - #line default - #line hidden -WriteLiteral(@"

    - Before you can log on, you’ll need to confirm your account. When you registered, - we sent you an email with a URL you can click to confirm your account. - Please check your spam folder if you did not receive the confirmation email. -

    -"); - - - -WriteLiteral("

    \r\n "); - - - - #line 24 "..\..\Views\Authentication\LogOn.cshtml" - Write(Html.ActionLink("Lost your confirmation email?", "ResendConfirmation", "Users")); - - - #line default - #line hidden -WriteLiteral("\r\n

    \r\n"); - - - - #line 26 "..\..\Views\Authentication\LogOn.cshtml" - } - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 28 "..\..\Views\Authentication\LogOn.cshtml" - Write(Html.EditorForModel()); - - - #line default - #line hidden -WriteLiteral("\r\n\r\n \r\n\r\n \r\n "); - - - - #line 33 "..\..\Views\Authentication\LogOn.cshtml" - Write(Html.ActionLink("Lost your Password?", "ForgotPassword", "Users")); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n"); - - - - #line 35 "..\..\Views\Authentication\LogOn.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\r\n \r\n \r\n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Helpers/ViewHelpers.generated.cs b/Website/Views/Helpers/ViewHelpers.generated.cs deleted file mode 100644 index f2c3c7beaf..0000000000 --- a/Website/Views/Helpers/ViewHelpers.generated.cs +++ /dev/null @@ -1,648 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery -{ - using System; - - #line 4 "..\..\Views\Helpers\ViewHelpers.cshtml" - using System.Collections; - - #line default - #line hidden - using System.Collections.Generic; - using System.IO; - - #line 3 "..\..\Views\Helpers\ViewHelpers.cshtml" - using System.Linq; - - #line default - #line hidden - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - - #line 5 "..\..\Views\Helpers\ViewHelpers.cshtml" - using NuGetGallery; - - #line default - #line hidden - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - public static class ViewHelpers - { - -public static System.Web.WebPages.HelperResult PreviousNextPager(IPreviousNextPager pager) { -return new System.Web.WebPages.HelperResult(__razor_helper_writer => { - - - -#line 7 "..\..\Views\Helpers\ViewHelpers.cshtml" - - if (pager.HasNextPage || pager.HasPreviousPage) { - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
      \r\n
    • \r\n"); - - - -#line 11 "..\..\Views\Helpers\ViewHelpers.cshtml" - if (pager.HasPreviousPage) { - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, " \r\n"); - - - -#line 13 "..\..\Views\Helpers\ViewHelpers.cshtml" - } - else { - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, " "); - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "Previous"); - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n"); - - - -#line 16 "..\..\Views\Helpers\ViewHelpers.cshtml" - } - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
    • \r\n
    • \r\n"); - - - -#line 19 "..\..\Views\Helpers\ViewHelpers.cshtml" - if (pager.HasNextPage) { - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, " \r\n"); - - - -#line 21 "..\..\Views\Helpers\ViewHelpers.cshtml" - } - else { - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, " "); - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "Next"); - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n"); - - - -#line 24 "..\..\Views\Helpers\ViewHelpers.cshtml" - } - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
    • \r\n
    \r\n"); - - - -#line 27 "..\..\Views\Helpers\ViewHelpers.cshtml" - } - -#line default -#line hidden - -}); - -} - - -public static System.Web.WebPages.HelperResult Option(string value, string label, string currentValue) { -return new System.Web.WebPages.HelperResult(__razor_helper_writer => { - - - -#line 30 "..\..\Views\Helpers\ViewHelpers.cshtml" - - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, " \r\n"); - - - -#line 32 "..\..\Views\Helpers\ViewHelpers.cshtml" - -#line default -#line hidden - -}); - -} - - -public static System.Web.WebPages.HelperResult UploadSequence(int currentStep) { -return new System.Web.WebPages.HelperResult(__razor_helper_writer => { - - - -#line 34 "..\..\Views\Helpers\ViewHelpers.cshtml" - - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
      \r\n "); - - - -#line 36 "..\..\Views\Helpers\ViewHelpers.cshtml" -WebViewPage.WriteTo(@__razor_helper_writer, SequenceStep(1, "Upload", currentStep)); - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n "); - - - -#line 37 "..\..\Views\Helpers\ViewHelpers.cshtml" -WebViewPage.WriteTo(@__razor_helper_writer, SequenceStep(2, "Verify Details", currentStep)); - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n "); - - - -#line 38 "..\..\Views\Helpers\ViewHelpers.cshtml" -WebViewPage.WriteTo(@__razor_helper_writer, SequenceStep(3, "Enjoy", currentStep)); - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n
    \r\n"); - - - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
    \r\n"); - - - -#line 41 "..\..\Views\Helpers\ViewHelpers.cshtml" - -#line default -#line hidden - -}); - -} - - -public static System.Web.WebPages.HelperResult SequenceStep(int step, string caption, int currentStep) { -return new System.Web.WebPages.HelperResult(__razor_helper_writer => { - - - -#line 43 "..\..\Views\Helpers\ViewHelpers.cshtml" - - if (currentStep > step) { - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
  • "); - - - -#line 45 "..\..\Views\Helpers\ViewHelpers.cshtml" -WebViewPage.WriteTo(@__razor_helper_writer, caption); - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
  • \r\n"); - - - -#line 46 "..\..\Views\Helpers\ViewHelpers.cshtml" - } - else if (currentStep == step) { - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
  • "); - - - -#line 48 "..\..\Views\Helpers\ViewHelpers.cshtml" -WebViewPage.WriteTo(@__razor_helper_writer, caption); - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
  • \r\n"); - - - -#line 49 "..\..\Views\Helpers\ViewHelpers.cshtml" - } - else { - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
  • "); - - - -#line 51 "..\..\Views\Helpers\ViewHelpers.cshtml" -WebViewPage.WriteTo(@__razor_helper_writer, caption); - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
  • \r\n"); - - - -#line 52 "..\..\Views\Helpers\ViewHelpers.cshtml" - } - -#line default -#line hidden - -}); - -} - - -public static System.Web.WebPages.HelperResult OwnersGravatar(IEnumerable owners, int size, UrlHelper url, bool showName = true) { -return new System.Web.WebPages.HelperResult(__razor_helper_writer => { - - - -#line 55 "..\..\Views\Helpers\ViewHelpers.cshtml" - - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
      \r\n"); - - - -#line 57 "..\..\Views\Helpers\ViewHelpers.cshtml" - foreach (var owner in owners) { - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
    • \r\n "); - - - -#line 59 "..\..\Views\Helpers\ViewHelpers.cshtml" -WebViewPage.WriteTo(@__razor_helper_writer, ViewHelpers.OwnerGravatar(owner, size, url, showName)); - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n
    • \r\n"); - - - -#line 61 "..\..\Views\Helpers\ViewHelpers.cshtml" - } - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "
    \r\n"); - - - -#line 63 "..\..\Views\Helpers\ViewHelpers.cshtml" - -#line default -#line hidden - -}); - -} - - -public static System.Web.WebPages.HelperResult OwnerGravatar(User owner, int size, UrlHelper url, bool showName = true) { -return new System.Web.WebPages.HelperResult(__razor_helper_writer => { - - - -#line 65 "..\..\Views\Helpers\ViewHelpers.cshtml" - - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, " \r\n"); - - - -#line 72 "..\..\Views\Helpers\ViewHelpers.cshtml" - -#line default -#line hidden - -}); - -} - - -public static System.Web.WebPages.HelperResult GravatarImage(string email, string username, int size) { -return new System.Web.WebPages.HelperResult(__razor_helper_writer => { - - - -#line 74 "..\..\Views\Helpers\ViewHelpers.cshtml" - - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, " "); - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n "); - - - -#line 76 "..\..\Views\Helpers\ViewHelpers.cshtml" -WebViewPage.WriteTo(@__razor_helper_writer, Gravatar.GetHtml(email, size, "retro", GravatarRating.G, attributes: new { width = size, height = size, title = username, @class = "owner-image" })); - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n "); - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "\r\n"); - - - -#line 78 "..\..\Views\Helpers\ViewHelpers.cshtml" - -#line default -#line hidden - -}); - -} - - -public static System.Web.WebPages.HelperResult ReleaseTag(){ -return new System.Web.WebPages.HelperResult(__razor_helper_writer => { - - - -#line 80 "..\..\Views\Helpers\ViewHelpers.cshtml" - - string name = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseName"]; - string sha = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseSha"]; - string branch = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseBranch"]; - string time = System.Configuration.ConfigurationManager.AppSettings["Gallery:ReleaseTime"]; - if(!String.IsNullOrEmpty(name) && !String.IsNullOrEmpty(sha) && !String.IsNullOrEmpty(branch) && !String.IsNullOrEmpty(time)){ - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, "

    \r\n "); - - - -#line 87 "..\..\Views\Helpers\ViewHelpers.cshtml" -WebViewPage.WriteTo(@__razor_helper_writer, name); - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, " - \r\n Deployed from \r\n on \r\n at "); - - - -#line 90 "..\..\Views\Helpers\ViewHelpers.cshtml" -WebViewPage.WriteTo(@__razor_helper_writer, time); - -#line default -#line hidden - -WebViewPage.WriteLiteralTo(@__razor_helper_writer, ".\r\n

    \r\n"); - - - -#line 92 "..\..\Views\Helpers\ViewHelpers.cshtml" - } - -#line default -#line hidden - -}); - -} - - - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/ConfirmOwner.generated.cs b/Website/Views/Packages/ConfirmOwner.generated.cs deleted file mode 100644 index 16e203aeb1..0000000000 --- a/Website/Views/Packages/ConfirmOwner.generated.cs +++ /dev/null @@ -1,135 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/ConfirmOwner.cshtml")] - public class ConfirmOwner : System.Web.Mvc.WebViewPage - { - public ConfirmOwner() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Packages\ConfirmOwner.cshtml" - - ViewBag.Title = "Confirm Ownership"; - - - - #line default - #line hidden -WriteLiteral("\r\n

    Confirm Ownership

    \r\n\r\n"); - - - - #line 8 "..\..\Views\Packages\ConfirmOwner.cshtml" - if (Model.Success) { - - - #line default - #line hidden -WriteLiteral("

    \r\n You are now an owner of the \r\n \'\' package.\r\n

    \r\n"); - - - - #line 13 "..\..\Views\Packages\ConfirmOwner.cshtml" -} -else { - - - #line default - #line hidden -WriteLiteral("

    \r\n Could not confirm package ownership for \'"); - - - - #line 16 "..\..\Views\Packages\ConfirmOwner.cshtml" - Write(Model.PackageId); - - - #line default - #line hidden -WriteLiteral("\'.\r\n

    \r\n"); - - - -WriteLiteral("

    \r\n Make sure you clicked on the confirmation URL in the email we se" + -"nt. \r\n It’s also possible that the existing owner revoked the \r\n " + -" request to add you as an owner.\r\n

    \r\n"); - - - - #line 23 "..\..\Views\Packages\ConfirmOwner.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/ContactOwners.generated.cs b/Website/Views/Packages/ContactOwners.generated.cs deleted file mode 100644 index 48604da875..0000000000 --- a/Website/Views/Packages/ContactOwners.generated.cs +++ /dev/null @@ -1,234 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.237 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/ContactOwners.cshtml")] - public class ContactOwners : System.Web.Mvc.WebViewPage - { - public ContactOwners() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Packages\ContactOwners.cshtml" - - ViewBag.Tab = "Packages"; - - - - #line default - #line hidden -WriteLiteral("\r\n

    Contact the Owners of \""); - - - - #line 6 "..\..\Views\Packages\ContactOwners.cshtml" - Write(Model.PackageId); - - - #line default - #line hidden -WriteLiteral("\"

    \r\n"); - - - - #line 7 "..\..\Views\Packages\ContactOwners.cshtml" - if (Model.Owners.Any()) { - - - #line default - #line hidden -WriteLiteral("

    \r\n By submitting this form, you agree to disclo" + -"se your email address \r\n to the package owners listed below so they " + -"can reply to you.\r\n

    \r\n"); - - - - #line 12 "..\..\Views\Packages\ContactOwners.cshtml" - using(Html.BeginForm()){ - - - #line default - #line hidden -WriteLiteral("
    \r\n Contact Owners\r\n " + -" "); - - - - #line 15 "..\..\Views\Packages\ContactOwners.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n
    \r\n
    \r\n "); - - - - #line 21 "..\..\Views\Packages\ContactOwners.cshtml" - Write(Html.LabelFor(m => m.Message)); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 22 "..\..\Views\Packages\ContactOwners.cshtml" - Write(Html.TextAreaFor(m => m.Message, 10, 50, null)); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 23 "..\..\Views\Packages\ContactOwners.cshtml" - Write(Html.ValidationMessageFor(m => m.Message)); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n \r\n
    \r\n"); - - - - #line 27 "..\..\Views\Packages\ContactOwners.cshtml" - } - -} -else { - - - #line default - #line hidden -WriteLiteral("

    \r\n Sorry, the owners of this package do not a" + -"llow contacting them through this form.\r\n Try visiting the project home p" + -"age for \""); - - - - #line 33 "..\..\Views\Packages\ContactOwners.cshtml" - Write(Model.PackageId); - - - #line default - #line hidden -WriteLiteral("\" in order to contact the package owner.\r\n

    \r\n"); - - - - #line 35 "..\..\Views\Packages\ContactOwners.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\r\n \r\n \r\n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/Delete.generated.cs b/Website/Views/Packages/Delete.generated.cs deleted file mode 100644 index 9a04120d2a..0000000000 --- a/Website/Views/Packages/Delete.generated.cs +++ /dev/null @@ -1,219 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.488 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/Delete.cshtml")] - public class Delete : System.Web.Mvc.WebViewPage - { - public Delete() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Packages\Delete.cshtml" - - ViewBag.Tab = "Packages"; - - - - #line default - #line hidden -WriteLiteral("\r\n

    "); - - - - #line 6 "..\..\Views\Packages\Delete.cshtml" - Write(Model.Title); - - - #line default - #line hidden -WriteLiteral(" "); - - - - #line 6 "..\..\Views\Packages\Delete.cshtml" - Write(Model.Version); - - - #line default - #line hidden -WriteLiteral(@" Listing

    -

    - Permanently deleting packages is not supported, but you can control how they are listed. -

    -

    - Unlisting a package hides the package from search results and all NuGet commands, but packages - are still available for download. For example, they can still be downloaded as dependencies to - other packages. -

    - -"); - - - - #line 16 "..\..\Views\Packages\Delete.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n Edit "); - - - - #line 18 "..\..\Views\Packages\Delete.cshtml" - Write(Model.Title); - - - #line default - #line hidden -WriteLiteral(" Package\r\n "); - - - - #line 19 "..\..\Views\Packages\Delete.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n "); - - - - #line 21 "..\..\Views\Packages\Delete.cshtml" - Write(Html.EditorFor(package => package.Listed)); - - - #line default - #line hidden -WriteLiteral("\r\n -
    - -

    - Unchecking this box means your package cannot be installed directly and it will - not show up in search results. -

    - - - \r\n
    " + -"\r\n"); - - - - #line 35 "..\..\Views\Packages\Delete.cshtml" -} - - - #line default - #line hidden -WriteLiteral(@" -

    Why can’t I delete my package?

    -

    - Our policy is to only permanently delete NuGet packages that really need it, such as - packages that contain passwords, malicious/harmful code, etc. This policy is very similar - to the policies employed by other package managers such as - Ruby Gems.

    -

    - Unlisting the package will remove the package from - being available in the NuGet. The package is still available for download as a dependency for - three main reasons. -

    -
      -
    • - Other packages may depend on that package. Those packages might not necessarily be in this gallery. -
    • -
    • - Ensures that folks using NuGet without committing packages (package restore) - will not be broken. -
    • -
    • - Helps ensure that important community owned packages are not mass deleted. -
    • -
    -

    -If you need the package permanently removed, click on the link and we'll take care -of it for you. PLEASE ONLY DO THIS IF THERE IS AN URGENT PROBLEM WITH THE PACKAGE. -(Passwords, malicious code, etc). Even if you remove it, it’s prudent to immediately -reset any passwords/sensitive data you accidentally pushed instead of waiting for us to delete -the package. -

    "); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/DisplayPackage.generated.cs b/Website/Views/Packages/DisplayPackage.generated.cs deleted file mode 100644 index b337e148f6..0000000000 --- a/Website/Views/Packages/DisplayPackage.generated.cs +++ /dev/null @@ -1,1115 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/DisplayPackage.cshtml")] - public class DisplayPackage : System.Web.Mvc.WebViewPage - { - public DisplayPackage() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Packages\DisplayPackage.cshtml" - - ViewBag.Tab = "Packages"; - Layout = "~/Views/Shared/TwoColumnLayout.cshtml"; - - - - #line default - #line hidden - -DefineSection("SideColumn", () => { - -WriteLiteral("\r\n \r\n
    \r\n
    \r\n

    "); - - - - #line 10 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.TotalDownloadCount.ToString("n0")); - - - #line default - #line hidden -WriteLiteral("

    \r\n

    \r\n Downloads

    \r\n " + -"
    \r\n
    \r\n

    "); - - - - #line 15 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.DownloadCount.ToString("n0")); - - - #line default - #line hidden -WriteLiteral("

    \r\n

    \r\n Downloads of v "); - - - - #line 17 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Version); - - - #line default - #line hidden -WriteLiteral("

    \r\n
    \r\n
    \r\n

    "); - - - - #line 20 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.LastUpdated.ToShortDateString()); - - - #line default - #line hidden -WriteLiteral("

    \r\n

    \r\n Last update

    \r\n " + -"
    \r\n
    \r\n \r\n"); - - -}); - -WriteLiteral("\r\n
    \r\n"); - - - - #line 52 "..\..\Views\Packages\DisplayPackage.cshtml" - if (Model.Prerelease) - { - - - #line default - #line hidden -WriteLiteral("

    \r\n This is a prerelease version " + -"of "); - - - - #line 55 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Title); - - - #line default - #line hidden -WriteLiteral(".\r\n

    \r\n"); - - - - #line 57 "..\..\Views\Packages\DisplayPackage.cshtml" - } - else if (!Model.IsLatestVersionAvailable) - { - - - #line default - #line hidden -WriteLiteral("

    \r\n This is not the of "); - - - - #line 62 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Title); - - - #line default - #line hidden -WriteLiteral(" available.\r\n

    \r\n"); - - - - #line 64 "..\..\Views\Packages\DisplayPackage.cshtml" - } - - - #line default - #line hidden -WriteLiteral("
    \r\n

    "); - - - - #line 66 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Title); - - - #line default - #line hidden -WriteLiteral("

    \r\n

    "); - - - - #line 67 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Version); - - - #line default - #line hidden -WriteLiteral("

    \r\n
    \r\n

    "); - - - - #line 69 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Description); - - - #line default - #line hidden -WriteLiteral("

    \r\n\r\n"); - - - - #line 71 "..\..\Views\Packages\DisplayPackage.cshtml" - if (!Model.Listed && Model.IsOwner(User)) - { - - - #line default - #line hidden -WriteLiteral("

    \r\n This package is unlisted and hi" + -"dden from package listings.\r\n You can see the package because you are" + -" one of its owners. To list the package again, \r\n .\r\n

    \r\n"); - - - - #line 78 "..\..\Views\Packages\DisplayPackage.cshtml" - } - - - #line default - #line hidden -WriteLiteral("

    \r\n To install "); - - - - #line 80 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Title); - - - #line default - #line hidden -WriteLiteral(", run the following command in the \r\n Package Manager Console\r\n " + -"

    \r\n
    \r\n

    \r\n PM> In" + -"stall-Package "); - - - - #line 85 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Id); - - - #line default - #line hidden -WriteLiteral("\r\n"); - - - - #line 86 "..\..\Views\Packages\DisplayPackage.cshtml" - if (!Model.LatestVersion || !Model.Listed) - { - - #line default - #line hidden -WriteLiteral(" "); - -WriteLiteral(" -Version "); - - - - #line 87 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Version); - - - #line default - #line hidden -WriteLiteral(" "); - - - - #line 87 "..\..\Views\Packages\DisplayPackage.cshtml" - } - - - #line default - #line hidden - - - #line 88 "..\..\Views\Packages\DisplayPackage.cshtml" - if (Model.Prerelease) - { - - #line default - #line hidden -WriteLiteral(" -Pre "); - - - - #line 89 "..\..\Views\Packages\DisplayPackage.cshtml" - } - - #line default - #line hidden -WriteLiteral("

    \r\n
    \r\n\r\n"); - - - - #line 92 "..\..\Views\Packages\DisplayPackage.cshtml" - if (!String.IsNullOrWhiteSpace(Model.ReleaseNotes)) - { - - - #line default - #line hidden -WriteLiteral("

    Release Notes

    \r\n"); - - - - #line 95 "..\..\Views\Packages\DisplayPackage.cshtml" - foreach (var note in Model.ReleaseNotes.Split('\n')) - { - - - #line default - #line hidden -WriteLiteral("

    "); - - - - #line 97 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(note); - - - #line default - #line hidden -WriteLiteral("

    \r\n"); - - - - #line 98 "..\..\Views\Packages\DisplayPackage.cshtml" - } - } - - - #line default - #line hidden -WriteLiteral("\r\n

    Owners

    \r\n "); - - - - #line 102 "..\..\Views\Packages\DisplayPackage.cshtml" -Write(ViewHelpers.OwnersGravatar(Model.Owners, 32, Url)); - - - #line default - #line hidden -WriteLiteral("\r\n

    Authors

    \r\n \r\n"); - - - - #line 110 "..\..\Views\Packages\DisplayPackage.cshtml" - if (!String.IsNullOrEmpty(Model.Copyright)) - { - - - #line default - #line hidden -WriteLiteral("

    Copyright

    \r\n"); - - - -WriteLiteral("

    "); - - - - #line 113 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Copyright); - - - #line default - #line hidden -WriteLiteral("

    \r\n"); - - - - #line 114 "..\..\Views\Packages\DisplayPackage.cshtml" - } - - - #line default - #line hidden - - - #line 115 "..\..\Views\Packages\DisplayPackage.cshtml" - if (@Model.Tags.AnySafe()) - { - - - #line default - #line hidden -WriteLiteral("

    Tags

    \r\n"); - - - -WriteLiteral(" \r\n"); - - - - #line 124 "..\..\Views\Packages\DisplayPackage.cshtml" - } - - - #line default - #line hidden -WriteLiteral("

    Dependencies

    \r\n"); - - - - #line 126 "..\..\Views\Packages\DisplayPackage.cshtml" - if (Model.Dependencies.Any()) - { - - - #line default - #line hidden -WriteLiteral(@" - - - - - - - -"); - - - - #line 140 "..\..\Views\Packages\DisplayPackage.cshtml" - foreach (var dependency in Model.Dependencies) - { - - - #line default - #line hidden -WriteLiteral(" \r\n \r\n \r\n \r\n"); - - - - #line 149 "..\..\Views\Packages\DisplayPackage.cshtml" - } - - - #line default - #line hidden -WriteLiteral(" \r\n
    - Id - - Version Range -
    \r\n " + -" \r\n "); - - - - #line 146 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(dependency.VersionSpec); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n"); - - - - #line 152 "..\..\Views\Packages\DisplayPackage.cshtml" - } - else - { - - - #line default - #line hidden -WriteLiteral("

    "); - - - - #line 155 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Id); - - - #line default - #line hidden -WriteLiteral(" "); - - - - #line 155 "..\..\Views\Packages\DisplayPackage.cshtml" - Write(Model.Version); - - - #line default - #line hidden -WriteLiteral(" does not have any dependencies\r\n

    \r\n"); - - - - #line 157 "..\..\Views\Packages\DisplayPackage.cshtml" - } - - - #line default - #line hidden -WriteLiteral(@"

    Version History

    - - - - - - \r\n"); - - - - #line 171 "..\..\Views\Packages\DisplayPackage.cshtml" - if (Model.IsOwner(User)) - { - - - #line default - #line hidden -WriteLiteral(" \r\n \r\n \r\n"); - - - - #line 180 "..\..\Views\Packages\DisplayPackage.cshtml" - foreach (var packageVersion in Model.PackageVersions) - { - if (packageVersion.Listed || Model.IsOwner(User)) - { - - - #line default - #line hidden - - - #line 184 "..\..\Views\Packages\DisplayPackage.cshtml" -WriteLiteral(" \r\n \r\n \r\n \r\n"); - - - - #line 201 "..\..\Views\Packages\DisplayPackage.cshtml" - if (Model.IsOwner(User)) - { - - - #line default - #line hidden -WriteLiteral(" \r\n"); - - - - #line 205 "..\..\Views\Packages\DisplayPackage.cshtml" - } - - - #line default - #line hidden -WriteLiteral(" \r\n"); - - - - #line 207 "..\..\Views\Packages\DisplayPackage.cshtml" - } - } - - - #line default - #line hidden -WriteLiteral(" \r\n
    - Version - - Downloads - \r\n Listed\r\n \r\n"); - - - - #line 176 "..\..\Views\Packages\DisplayPackage.cshtml" - } - - - #line default - #line hidden -WriteLiteral("
    \r\n
    \r\n"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/Download.generated.cs b/Website/Views/Packages/Download.generated.cs deleted file mode 100644 index e341878fe3..0000000000 --- a/Website/Views/Packages/Download.generated.cs +++ /dev/null @@ -1,94 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/Download.cshtml")] - public class Download : System.Web.Mvc.WebViewPage - { - public Download() - { - } - public override void Execute() - { - - - #line 1 "..\..\Views\Packages\Download.cshtml" - - ViewBag.Tab = "Packages"; - - - - #line default - #line hidden -WriteLiteral(@" -

    Where is the download link for this package?

    -

    - The short answer is, there is no download link because NuGet provides - a faster better way to incorporate a library into your project. -

    - -

    - Simply: -

    - - -

    Why NuGet?

    -

    - Typically, when you download a zip file that contains an assembly, you have to: -

    - -
      -
    • “Unblock” the package to mark the downloaded package as safe
    • -
    • Unzip the package contents (assemblies, images, css files, etc.) into a location in the solution
    • -
    • Add an assembly reference to the project
    • -
    • Update the web.config file with the correct settings (which you probably have to search for if they’re not included in the package somehow.)
    • -
    - -

    - NuGet does all this for you! For a brief overview of what NuGet is, - see NuGet overview. -

    - -"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/Edit.generated.cs b/Website/Views/Packages/Edit.generated.cs deleted file mode 100644 index 9f2d42509e..0000000000 --- a/Website/Views/Packages/Edit.generated.cs +++ /dev/null @@ -1,88 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/Edit.cshtml")] - public class Edit : System.Web.Mvc.WebViewPage - { - public Edit() - { - } - public override void Execute() - { - - - #line 1 "..\..\Views\Packages\Edit.cshtml" - - ViewBag.Tab = "Packages"; - - - - #line default - #line hidden -WriteLiteral("\r\n

    Edit "); - - - - #line 5 "..\..\Views\Packages\Edit.cshtml" - Write(Model.Title); - - - #line default - #line hidden -WriteLiteral(" Package

    \r\n

    \r\n To edit the metadata for a package, pleas" + -"e . -

    -

    - NuGet currently does not allow updating package metadata on the website. This helps ensure - that the package itself (and the source used to build the package) remains the one true - source of package metadata. -

    -

    - This does require that you increment the package version. -

    -"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/ListPackages.generated.cs b/Website/Views/Packages/ListPackages.generated.cs deleted file mode 100644 index 83e398d4cb..0000000000 --- a/Website/Views/Packages/ListPackages.generated.cs +++ /dev/null @@ -1,254 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/ListPackages.cshtml")] - public class ListPackages : System.Web.Mvc.WebViewPage - { - public ListPackages() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Packages\ListPackages.cshtml" - - ViewBag.Tab = "Packages"; - - - - #line default - #line hidden -WriteLiteral("\r\n\r\n\r\n
    \r\n"); - - - - #line 9 "..\..\Views\Packages\ListPackages.cshtml" - if (!String.IsNullOrEmpty(Model.SearchTerm)) { - - - #line default - #line hidden -WriteLiteral("

    Search for \""); - - - - #line 10 "..\..\Views\Packages\ListPackages.cshtml" - Write(Model.SearchTerm); - - - #line default - #line hidden -WriteLiteral("\" returned "); - - - - #line 10 "..\..\Views\Packages\ListPackages.cshtml" - Write(Model.TotalCount); - - - #line default - #line hidden -WriteLiteral(" packages

    \r\n"); - - - - #line 11 "..\..\Views\Packages\ListPackages.cshtml" - } - else { - - - #line default - #line hidden -WriteLiteral("

    There are "); - - - - #line 13 "..\..\Views\Packages\ListPackages.cshtml" - Write(Model.TotalCount); - - - #line default - #line hidden -WriteLiteral(" packages

    \r\n"); - - - - #line 14 "..\..\Views\Packages\ListPackages.cshtml" - } - - - #line default - #line hidden -WriteLiteral("

    Displaying results "); - - - - #line 15 "..\..\Views\Packages\ListPackages.cshtml" - Write(Model.FirstResultIndex); - - - #line default - #line hidden -WriteLiteral(" - "); - - - - #line 15 "..\..\Views\Packages\ListPackages.cshtml" - Write(Model.LastResultIndex); - - - #line default - #line hidden -WriteLiteral(".

    \r\n
    \r\n\r\n"); - - - - #line 18 "..\..\Views\Packages\ListPackages.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n Sort Order\r\n " + -"\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n"); - - - - #line 31 "..\..\Views\Packages\ListPackages.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n
      \r\n"); - - - - #line 34 "..\..\Views\Packages\ListPackages.cshtml" - foreach (var package in Model.Items) { - - - #line default - #line hidden -WriteLiteral("
    1. \r\n "); - - - - #line 36 "..\..\Views\Packages\ListPackages.cshtml" - Write(Html.Partial(MVC.Packages.Views._ListPackage, package)); - - - #line default - #line hidden -WriteLiteral("\r\n
    2. \r\n"); - - - - #line 38 "..\..\Views\Packages\ListPackages.cshtml" - } - - - #line default - #line hidden -WriteLiteral("
    \r\n\r\n\r\n"); - - - - #line 42 "..\..\Views\Packages\ListPackages.cshtml" -Write(ViewHelpers.PreviousNextPager(Model.Pager)); - - - #line default - #line hidden -WriteLiteral("\r\n\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\r\n \r\n"); - - -}); - -WriteLiteral("\r\n\r\n"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/ManagePackageOwners.generated.cs b/Website/Views/Packages/ManagePackageOwners.generated.cs deleted file mode 100644 index 7b2c210d78..0000000000 --- a/Website/Views/Packages/ManagePackageOwners.generated.cs +++ /dev/null @@ -1,211 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/ManagePackageOwners.cshtml")] - public class ManagePackageOwners : System.Web.Mvc.WebViewPage - { - public ManagePackageOwners() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Packages\ManagePackageOwners.cshtml" - - ViewBag.Tab = "Packages"; - - - - #line default - #line hidden -WriteLiteral("\r\n\r\n

    Manage Owners for Package "); - - - - #line 7 "..\..\Views\Packages\ManagePackageOwners.cshtml" - Write(Model.Title); - - - #line default - #line hidden -WriteLiteral(@"

    -
    - -

    Current Owners

    -
      -
    • - (that’s you!) - (pending approval) - -
    • -
    - -

    Add Owner

    -

    - Enter an owner's username to add them as a package owner. -

    -

    - NOTE: All package owners have full control over their packages, - including the ability to remove other users as owners. -

    -"); - - - - #line 27 "..\..\Views\Packages\ManagePackageOwners.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral(@"
    - Add Owner -
    - - -
    - \r\n
    \r\n"); - - - - #line 36 "..\..\Views\Packages\ManagePackageOwners.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n\r\n\r\n"); - - -DefineSection("bottomScripts", () => { - -WriteLiteral("\r\n\r\n -\r\n"); - - -}); - -WriteLiteral("\r\n\r\n"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/ReportAbuse.generated.cs b/Website/Views/Packages/ReportAbuse.generated.cs deleted file mode 100644 index 6f77990d7e..0000000000 --- a/Website/Views/Packages/ReportAbuse.generated.cs +++ /dev/null @@ -1,263 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.237 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/ReportAbuse.cshtml")] - public class ReportAbuse : System.Web.Mvc.WebViewPage - { - public ReportAbuse() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Packages\ReportAbuse.cshtml" - - ViewBag.Tab = "Packages"; - - - - #line default - #line hidden -WriteLiteral("\r\n

    Report Abuse

    \r\n\r\n

    \r\n Importan" + -"t: This form is for reporting abusive packages such as \r\n packages c" + -"ontaining malicious code or spam. If \""); - - - - #line 10 "..\..\Views\Packages\ReportAbuse.cshtml" - Write(Model.PackageId); - - - #line default - #line hidden -WriteLiteral("\" simply doesn\'t \r\n appear to work or work correctly, please \r\n \r\n

    \r\n\r\n

    Please provide a detailed abuse r" + -"eport. Include exactly what the package did.

    \r\n\r\n"); - - - - #line 17 "..\..\Views\Packages\ReportAbuse.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n Report Abuse\r\n "); - - - - #line 20 "..\..\Views\Packages\ReportAbuse.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n"); - - - - #line 22 "..\..\Views\Packages\ReportAbuse.cshtml" - if (!Model.ConfirmedUser) { - - - #line default - #line hidden - - #line 23 "..\..\Views\Packages\ReportAbuse.cshtml" - Write(Html.LabelFor(m => m.Email)); - - - #line default - #line hidden - - #line 23 "..\..\Views\Packages\ReportAbuse.cshtml" - - - - #line default - #line hidden - - #line 24 "..\..\Views\Packages\ReportAbuse.cshtml" - Write(Html.EditorFor(m => m.Email)); - - - #line default - #line hidden - - #line 24 "..\..\Views\Packages\ReportAbuse.cshtml" - - - - #line default - #line hidden -WriteLiteral(" Provide your email address so we can" + -" follow up with you.\r\n"); - - - - #line 26 "..\..\Views\Packages\ReportAbuse.cshtml" - - - #line default - #line hidden - - #line 26 "..\..\Views\Packages\ReportAbuse.cshtml" - Write(Html.ValidationMessageFor(m => m.Email)); - - - #line default - #line hidden - - #line 26 "..\..\Views\Packages\ReportAbuse.cshtml" - - } - else { - - - #line default - #line hidden -WriteLiteral(" \r\n"); - - - - #line 30 "..\..\Views\Packages\ReportAbuse.cshtml" - } - - - #line default - #line hidden -WriteLiteral("
    \r\n
    \r\n "); - - - - #line 33 "..\..\Views\Packages\ReportAbuse.cshtml" - Write(Html.LabelFor(m => m.Message)); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 34 "..\..\Views\Packages\ReportAbuse.cshtml" - Write(Html.TextAreaFor(m => m.Message, 10, 50, null)); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 35 "..\..\Views\Packages\ReportAbuse.cshtml" - Write(Html.ValidationMessageFor(m => m.Message)); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n \r\n
    \r\n"); - - - - #line 39 "..\..\Views\Packages\ReportAbuse.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\r\n \r\n \r\n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/UploadPackage.generated.cs b/Website/Views/Packages/UploadPackage.generated.cs deleted file mode 100644 index 25bc613241..0000000000 --- a/Website/Views/Packages/UploadPackage.generated.cs +++ /dev/null @@ -1,120 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - - #line 1 "..\..\Views\Packages\UploadPackage.cshtml" - using NuGetGallery; - - #line default - #line hidden - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/UploadPackage.cshtml")] - public class UploadPackage : System.Web.Mvc.WebViewPage - { - public UploadPackage() - { - } - public override void Execute() - { - - - - - #line 3 "..\..\Views\Packages\UploadPackage.cshtml" - - ViewBag.Tab = "Upload Your Package"; - - - - #line default - #line hidden -WriteLiteral("\r\n

    Upload Your Package

    \r\n\r\n"); - - - - #line 9 "..\..\Views\Packages\UploadPackage.cshtml" -Write(ViewHelpers.UploadSequence(1)); - - - #line default - #line hidden -WriteLiteral("\r\n\r\n"); - - - - #line 11 "..\..\Views\Packages\UploadPackage.cshtml" - using(Html.BeginForm("UploadPackage", "Packages", FormMethod.Post, new { enctype="multipart/form-data"})){ - - - #line default - #line hidden -WriteLiteral("
    \r\n Upload a Package\r\n "); - - - - #line 14 "..\..\Views\Packages\UploadPackage.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 15 "..\..\Views\Packages\UploadPackage.cshtml" - Write(Html.ValidationSummary(true)); - - - #line default - #line hidden -WriteLiteral(@" -

    Your package file will be uploaded and hosted on the NuGet Gallery server (NuGet.org).

    -
    - - -
    - - -
    -"); - - - - #line 24 "..\..\Views\Packages\UploadPackage.cshtml" -} - - #line default - #line hidden - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/VerifyPackage.generated.cs b/Website/Views/Packages/VerifyPackage.generated.cs deleted file mode 100644 index 1529cff4d7..0000000000 --- a/Website/Views/Packages/VerifyPackage.generated.cs +++ /dev/null @@ -1,355 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - - #line 1 "..\..\Views\Packages\VerifyPackage.cshtml" - using NuGetGallery; - - #line default - #line hidden - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/VerifyPackage.cshtml")] - public class VerifyPackage : System.Web.Mvc.WebViewPage - { - public VerifyPackage() - { - } - public override void Execute() - { - - - - - #line 3 "..\..\Views\Packages\VerifyPackage.cshtml" - - ViewBag.Tab = "Upload Your Package"; - - - - #line default - #line hidden -WriteLiteral("\r\n \r\n

    Verify Details & Submit

    \r\n\r\n"); - - - - #line 10 "..\..\Views\Packages\VerifyPackage.cshtml" -Write(ViewHelpers.UploadSequence(2)); - - - #line default - #line hidden -WriteLiteral(@" - -

    Verify Details

    -

    - These package details are read from the package file and cannot be changed. - If anything below is incorrect, click Cancel and upload - a correct package. -

    - -
      -
    • -

      Package ID

      -

      "); - - - - #line 22 "..\..\Views\Packages\VerifyPackage.cshtml" - Write(Model.Id); - - - #line default - #line hidden -WriteLiteral("

      \r\n
    • \r\n
    • \r\n

      Version

      \r\n

      "); - - - - #line 26 "..\..\Views\Packages\VerifyPackage.cshtml" - Write(Model.Version); - - - #line default - #line hidden -WriteLiteral("

      \r\n
    • \r\n"); - - - - #line 28 "..\..\Views\Packages\VerifyPackage.cshtml" - if (!String.IsNullOrEmpty(Model.Title)) { - - - #line default - #line hidden -WriteLiteral("
    • \r\n

      Title

      \r\n

      "); - - - - #line 31 "..\..\Views\Packages\VerifyPackage.cshtml" - Write(Model.Title); - - - #line default - #line hidden -WriteLiteral("

      \r\n
    • \r\n"); - - - - #line 33 "..\..\Views\Packages\VerifyPackage.cshtml" - } - - - #line default - #line hidden -WriteLiteral("
    • \r\n

      Description

      \r\n

      "); - - - - #line 36 "..\..\Views\Packages\VerifyPackage.cshtml" - Write(Model.Description); - - - #line default - #line hidden -WriteLiteral("

      \r\n
    • \r\n
    • \r\n

      Authors

      \r\n

      "); - - - - #line 40 "..\..\Views\Packages\VerifyPackage.cshtml" - Write(Model.Authors); - - - #line default - #line hidden -WriteLiteral("

      \r\n
    • \r\n"); - - - - #line 42 "..\..\Views\Packages\VerifyPackage.cshtml" - if (!String.IsNullOrEmpty(Model.Tags)) { - - - #line default - #line hidden -WriteLiteral("
    • \r\n

      Tags

      \r\n

      "); - - - - #line 45 "..\..\Views\Packages\VerifyPackage.cshtml" - Write(Model.Tags); - - - #line default - #line hidden -WriteLiteral("

      \r\n
    • \r\n"); - - - - #line 47 "..\..\Views\Packages\VerifyPackage.cshtml" - } - - - #line default - #line hidden - - - #line 48 "..\..\Views\Packages\VerifyPackage.cshtml" - if (!String.IsNullOrEmpty(Model.LicenseUrl)) { - - - #line default - #line hidden -WriteLiteral("
    • \r\n

      License URL

      \r\n

      \r\n"); - - - - #line 52 "..\..\Views\Packages\VerifyPackage.cshtml" - if (Model.RequiresLicenseAcceptance) { - - #line default - #line hidden -WriteLiteral("Acceptance of license required: "); - - - - #line 52 "..\..\Views\Packages\VerifyPackage.cshtml" - } - - - #line default - #line hidden -WriteLiteral(" \r\n \r\n

      \r\n
    • \r\n"); - - - - #line 57 "..\..\Views\Packages\VerifyPackage.cshtml" - } - - - #line default - #line hidden - - - #line 58 "..\..\Views\Packages\VerifyPackage.cshtml" - if (!String.IsNullOrEmpty(Model.ProjectUrl)) { - - - #line default - #line hidden -WriteLiteral("
    • \r\n

      Project URL

      \r\n

      \r\n
    • \r\n"); - - - - #line 63 "..\..\Views\Packages\VerifyPackage.cshtml" - } - - - #line default - #line hidden -WriteLiteral("
    \r\n\r\n\r\n

    Submit Package

    \r\n"); - - - - #line 68 "..\..\Views\Packages\VerifyPackage.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n Submit Package\r\n "); - - - - #line 71 "..\..\Views\Packages\VerifyPackage.cshtml" -Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n "); - - - - #line 73 "..\..\Views\Packages\VerifyPackage.cshtml" - Write(Html.EditorFor(package => package.Listed)); - - - #line default - #line hidden -WriteLiteral("\r\n \r\n
    \r\n \r\n \r\n
    \r\n"); - - - - #line 81 "..\..\Views\Packages\VerifyPackage.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral(@" - -"); - - -}); - -WriteLiteral("\r\n\r\n"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Packages/_ListPackage.generated.cs b/Website/Views/Packages/_ListPackage.generated.cs deleted file mode 100644 index 8414124046..0000000000 --- a/Website/Views/Packages/_ListPackage.generated.cs +++ /dev/null @@ -1,346 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Packages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Packages/_ListPackage.cshtml")] - public class _ListPackage : System.Web.Mvc.WebViewPage - { - public _ListPackage() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Packages\_ListPackage.cshtml" -WriteLiteral(""); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Pages/Home.generated.cs b/Website/Views/Pages/Home.generated.cs deleted file mode 100644 index a413b69c4e..0000000000 --- a/Website/Views/Pages/Home.generated.cs +++ /dev/null @@ -1,95 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Pages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Pages/Home.cshtml")] - public class Home : System.Web.Mvc.WebViewPage - { - public Home() - { - } - public override void Execute() - { - - - #line 1 "..\..\Views\Pages\Home.cshtml" - - ViewBag.Tab = "Home"; - - - - #line default - #line hidden -WriteLiteral(@"
    -
    -

    Jump Start Your Projects with NuGet

    -

    NuGet is a Visual Studio extension that makes it easy to install and update open source libraries and tools in Visual Studio.

    -

    So install NuGet and get a jump on your next project!

    - Install NuGet -
    - -
    - -
    -

    NuGet 1.6 Coming Soon!

    -

    - NuGet 1.6 is coming soon so stay tuned for more information! Why, wait though NuGet 1.5 has already been released so - head over to our docs site and read all the details of that release. -

    -
    - -
    -

    About

    -

    When you use NuGet to install a package, it copies the library files to your solution and automatically updates your project - (add references, change config files, etc.). If you remove a package, NuGet reverses whatever changes it made so that no clutter is left.

    - -

    Important Notice

    -

    You can develop your own package and share it via the NuGet Gallery. Read the documentation for more details on - how to - create and publish a package. If you don’t plan on submitting a package, there’s no need to register.

    -
    -"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Pages/Privacy.generated.cs b/Website/Views/Pages/Privacy.generated.cs deleted file mode 100644 index cedec660ef..0000000000 --- a/Website/Views/Pages/Privacy.generated.cs +++ /dev/null @@ -1,217 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.17020 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Pages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Pages/Privacy.cshtml")] - public class Privacy : System.Web.Mvc.WebViewPage - { - public Privacy() - { - } - public override void Execute() - { -WriteLiteral("
    \r\n

    \r\n PRIVACY POLICY

    \r\n \r\n Outercurve Foundation Online Privacy Statement\r\n

    \r\n " + -" Your privacy is important to the Outercurve Foundation (Outercurve). Our goal " + -"is\r\n to provide you with a personalized online experience that provides y" + -"ou with the\r\n information, resources, and services that are most relevant" + -" and helpful to you.\r\n This Privacy Statement has been written to describ" + -"e the conditions under which this\r\n Web site is being made available to y" + -"ou. The Privacy Statement discusses, among\r\n other things, how data obtai" + -"ned during your visit to this Web site may be collected\r\n and used. We st" + -"rongly recommend that you read the Privacy Statement carefully. By\r\n usin" + -"g this Web site, you agree to be bound by the terms of this Privacy Statement.\r\n" + -" If you do not accept the terms of the Privacy Statement, you are directe" + -"d to discontinue\r\n accessing or otherwise using the Web site or any mater" + -"ials obtained from it. If\r\n you are dissatisfied with the Web site, by al" + -"l means contact us at info@outercurve.orgotherwise,\r\n your only recourse " + -"is to disconnect from this site and refrain from visiting the\r\n site in t" + -"he future.

    \r\n

    \r\n The process of maintaining a Web site is an evo" + -"lving one, and Outercurve may decide\r\n at some point in the future, witho" + -"ut advance notice, to modify the terms of this\r\n Privacy Statement. Your " + -"use of the Web site, or materials obtained from the Web\r\n site, indicates" + -" your assent to the Privacy Statement at the time of such use. The\r\n effe" + -"ctive Privacy Statement will be posted on the Web site, and you should check\r\n " + -" upon every visit for any changes.

    \r\n

    \r\n Sites Covered by " + -"this Privacy Statement

    \r\n

    \r\n This Privacy Statement applies to " + -"all Outercurve-maintained Web sites, domains,\r\n information portals, and " + -"registries.

    \r\n

    \r\n Children\'s Privacy

    \r\n

    \r\n Out" + -"ercurve is committed to protecting the privacy needs of children, and we encoura" + -"ge\r\n parents and guardians to take an active role in their children\'s onl" + -"ine activities\r\n and interests. Outercurve does not intentionally collect" + -" information from children\r\n under the age of 13, and Outercurve does not" + -" target its Web site to children.

    \r\n

    \r\n Links to Non-Outercurve" + -" Web Sites

    \r\n

    \r\n Outercurve’s Web site may provide links " + -"to third-party Web sites for the convenience\r\n of our users. If you acces" + -"s those links, you will leave the Outercurve Web site.\r\n Outercurve does " + -"not control these third-party Web sites and cannot represent that\r\n their" + -" policies and practices will be consistent with this Privacy Statement. For\r\n " + -" example, other Web sites may collect or use personal information about you " + -"in a\r\n manner different from that described in this document. Therefore, " + -"you should use\r\n other Web sites with caution, and you do so at your own " + -"risk. We encourage you to\r\n review the privacy policy of any Web site bef" + -"ore submitting personal information.

    \r\n

    \r\n TYPES OF INFORMATION" + -" WE COLLECT

    \r\n

    \r\n Non-Personal Information

    \r\n

    \r\n " + -" Non-personal information is data about usage and service operation that is n" + -"ot directly\r\n associated with a specific personal identity. Outercurve ma" + -"y collect and analyze\r\n non-personal information to evaluate how visitors" + -" use the Outercurve Web site.

    \r\n

    \r\n Aggregate Information

    \r" + -"\n

    \r\n Outercurve may gather aggregate information, which refers to i" + -"nformation your computer\r\n automatically provides to us and which cannot " + -"be tied back to you as a specific\r\n individual. Examples include referral" + -" data (the Web sites you visited just before\r\n and just after our site), " + -"the pages viewed, time spent at our Web site, and Internet\r\n Protocol (IP" + -") addresses. An IP address is a number that is automatically assigned\r\n t" + -"o your computer whenever you access the Internet. For example, when you request\r" + -"\n a page from one of our sites, our servers log your IP address to create" + -" aggregate\r\n reports on user demographics and traffic patterns and for pu" + -"rposes of system administration.

    \r\n

    \r\n Log Files

    \r\n

    \r" + -"\n Every time you request or download a file from the Web site, Outercurve" + -" may store\r\n data about these events and your IP address in a log file. O" + -"utercurve may use this\r\n information to analyze trends, administer the We" + -"b site, track users\' movements,\r\n and gather broad demographic informatio" + -"n for aggregate use or for other business\r\n purposes.

    \r\n

    \r\n " + -" Cookies

    \r\n

    \r\n Our site may use a feature of your browser to" + -" set a \"cookie\" on your computer. Cookies\r\n are small packets of informat" + -"ion that a Web site\'s computer stores on your computer.\r\n Outercurve\'s We" + -"b site can then read the cookies whenever you visit our site. We\r\n may us" + -"e cookies in a number of ways, such as to save your password so you don\'t\r\n " + -" have to re-enter it each time you visit our site, to deliver content specific" + -" to\r\n your interests and to track the pages you\'ve visited. These cookies" + -" allow us to\r\n use the information we collect to customize your Outercurv" + -"e experience so that your\r\n visit to our site is as relevant and as valua" + -"ble to you as possible.

    \r\n

    \r\n Most browser software can be set u" + -"p to deal with cookies. You may modify your browser\r\n preference to provi" + -"de you with choices relating to cookies. You have the choice\r\n to accept " + -"all cookies, to be notified when a cookie is set or to reject all cookies.\r\n " + -" If you choose to reject cookies, certain of the functions and conveniences o" + -"f our\r\n Web site may not work properly, and you may be unable to use thos" + -"e Outercurve services\r\n that require registration in order to participate" + -", or you will have to re-register\r\n each time you visit our site. Most br" + -"owsers offer instructions on how to reset the\r\n browser to reject cookies" + -" in the \"Help\" section of the toolbar. We do not link non-personal\r\n info" + -"rmation from cookies to personally identifiable information without your permiss" + -"ion.

    \r\n

    \r\n Web Beacons

    \r\n

    \r\n Outercurve’" + -"s Web site also may use Web beacons to collect non-personal information\r\n " + -" about your use of our Web site and the Web sites of selected sponsors and adver" + -"tisers,\r\n your use of special promotions or newsletters, and other activi" + -"ties. The information\r\n collected by Web beacons allows us to statistical" + -"ly monitor how many people are\r\n using our Web site and selected sponsors" + -"\' sites; how many people open our emails;\r\n and for what purposes these a" + -"ctions are being taken. Our Web beacons are not used\r\n to track your acti" + -"vity outside of our Web site or those of our sponsors. Outercurve\r\n does " + -"not link non-personal information from Web beacons to personally identifiable\r\n " + -" information without your permission.

    \r\n

    \r\n Personal Info" + -"rmation

    \r\n

    \r\n Personal information is information that is assoc" + -"iated with your name or personal\r\n identity. Outercurve uses personal inf" + -"ormation to better understand your needs and\r\n interests and to provide y" + -"ou with better service. On some Outercurve Web pages,\r\n you may be able t" + -"o request information, subscribe to mailing lists, participate\r\n in onlin" + -"e discussions, collaborate on documents, provide feedback, submit information\r\n " + -" into registries, register for events, apply for membership, or join techn" + -"ical committees\r\n or working groups. The types of personal information yo" + -"u provide to us on these\r\n pages may include name, address, phone number," + -" email address, user IDs, passwords,\r\n billing information, or other info" + -"rmation.

    \r\n

    \r\n HOW WE USE YOUR INFORMATION

    \r\n

    \r\n " + -" Outercurve may use non-personal data that is aggregated for reporting about O" + -"utercurve\r\n Web site usability, performance, and effectiveness. It may be" + -" used to improve the\r\n experience, usability, and content of the site.\r\n

    \r\n Information Sharing

    \r\n

    \r\n Outercurve does " + -"not sell, rent, or lease any individual\'s personal information or\r\n lists" + -" of email addresses to anyone for marketing purposes, and we take commercially\r\n" + -" reasonable steps to maintain the security of this information. However, " + -"Outercurve\r\n reserves the right to supply any such information to any org" + -"anization into which\r\n Outercurve may merge in the future or to which it " + -"may make any transfer in order\r\n to enable a third party to continue part" + -" or all of the Council\'s mission. We also\r\n reserve the right to release " + -"personal information to protect our systems or business,\r\n when we reason" + -"ably believe you to be in violation of our Terms of Use or if we reasonably\r\n " + -" believe you to have initiated or participated in any illegal activity. In a" + -"ddition,\r\n please be aware that in certain circumstances, Outercurve may " + -"be obligated to release\r\n your personal information pursuant to judicial " + -"or other government subpoenas, warrants,\r\n or other orders.

    \r\n

    \r" + -"\n In keeping with our open process, Outercurve may maintain publicly acce" + -"ssible archives\r\n for the vast majority of our activities. For example, p" + -"osting an email message to\r\n any Outercurve-hosted mail list or discussio" + -"n forum, subscribing to any Outercurve\r\n newsletter or registering for on" + -"e of our public meetings may result in your email\r\n address becoming part" + -" of the publicly accessible archives.

    \r\n

    \r\n Please remember that" + -" any information (including personal information) that you disclose\r\n in " + -"public areas of our Web site, such as forums, message boards, and news groups,\r\n" + -" becomes public information that others may collect, circulate, and use. " + -"Because\r\n we cannot and do not control the acts of others, you should exe" + -"rcise caution when\r\n deciding to disclose information about yourself or o" + -"thers in public forums such\r\n as these.

    \r\n

    \r\n Given the i" + -"nternational scope of Outercurve, personal information may be visible\r\n t" + -"o persons outside your country of residence, including to persons in countries\r\n" + -" that your own country\'s privacy laws and regulations deem deficient in e" + -"nsuring\r\n an adequate level of protection for such information. If you ar" + -"e unsure whether\r\n this privacy statement is in conflict with applicable " + -"local rules, you should not\r\n submit your information. If you are located" + -" within the European Union, you should\r\n note that your information will " + -"be transferred to the United States, which is deemed\r\n by the European Un" + -"ion to have inadequate data protection. Nevertheless, in accordance\r\n wit" + -"h local laws implementing European Union Directive 95/46/EC of 24 October 1995\r\n" + -" on the protection of individuals with regard to the processing of person" + -"al data\r\n and on the free movement of such data (\"EU Privacy Directive\")," + -" individuals located\r\n in countries outside of the United States of Ameri" + -"ca who submit personal information\r\n do thereby consent to the general us" + -"e of such information as provided in this Privacy\r\n Statement and to its " + -"transfer to and/or storage in the United States of America.

    \r\n

    \r\n " + -" If you do not want your personal information collected and used by Outercurve," + -" please\r\n do not visit Outercurve’s Web site or apply for participa" + -"tion status.

    \r\n

    \r\n Security

    \r\n

    \r\n Outercurve m" + -"akes every effort to protect personal information by users of the Web\r\n s" + -"ite, including using firewalls and other security measures on its servers. No se" + -"rver,\r\n however, is 100% secure, and you should take this into account wh" + -"en submitting personal\r\n or confidential information about yourself on an" + -"y Web site, including this one.\r\n Much of the personal information is use" + -"d in conjunction with participation-level\r\n services such as collaboratio" + -"n and discussion, so some types of personal information\r\n such as your na" + -"me, company affiliation, and email address will be visible to other\r\n Out" + -"ercurve participators and to the public. Outercurve assumes no liability for\r\n " + -" the interception, alteration, or misuse of the information you provide. Yo" + -"u alone\r\n are responsible for maintaining the secrecy of your personal in" + -"formation. Please\r\n use care when you access this Web site and provide pe" + -"rsonal information.

    \r\n

    \r\n Opting Out

    \r\n

    \r\n Fro" + -"m time to time Outercurve may email you electronic newsletters, announcements,\r\n" + -" surveys or other information. If you prefer not to receive any or all of" + -" these communications,\r\n you may opt out by following the directions prov" + -"ided within the electronic newsletters\r\n and announcements.

    \r\n

    " + -"\r\n Contacting Us

    \r\n

    \r\n Questions about this Privacy Stat" + -"ement can be directed to info@outercurve.org.

    \r\n
    "); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Pages/Terms.generated.cs b/Website/Views/Pages/Terms.generated.cs deleted file mode 100644 index 9132a6a5d1..0000000000 --- a/Website/Views/Pages/Terms.generated.cs +++ /dev/null @@ -1,278 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.17020 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Pages -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Pages/Terms.cshtml")] - public class Terms : System.Web.Mvc.WebViewPage - { - public Terms() - { - } - public override void Execute() - { -WriteLiteral("
    \r\n

    TERMS & CONDITIONS

    \r\n

    Terms of" + -" Use

    \r\n

    \r\n Legal Notices. The " + -"Outercurve Foundation (Outercurve) Web site\r\n nuget.org (the \"Web site\") " + -"is provided by Outercurve as a public service to our\r\n users. Please care" + -"fully review the following basic rules that govern your use of\r\n the Web " + -"site. Please note that your use of the Web site constitutes your unconditional\r\n" + -" agreement to follow and be bound by these Terms and Conditions of Use. I" + -"f you (\"User\")\r\n do not agree to them, do not use the Web site, provide a" + -"ny materials to the site\r\n or download any materials from it. Outercurve " + -"reserves the right to update or modify\r\n these Terms and Conditions at an" + -"y time without prior notice to User. Your use of\r\n the site following any" + -" such change constitutes your unconditional agreement to follow\r\n and be " + -"bound by these Terms and Conditions as changed. For this reason, we encourage\r\n " + -" you to review these Terms and Conditions of Use whenever you use this Web" + -" site.\r\n These Terms and Conditions of Use apply to the use of the Outerc" + -"urve site and do\r\n not extend to any linked third party sites. These Term" + -"s and Conditions and our Privacy Policy,\r\n which are hereby inc" + -"orporated by reference, contain the entire agreement (the \"Agreement\")\r\n " + -"between Outercurve and User with respect to this site. Any rights not expressly\r" + -"\n granted herein are reserved.\r\n

    \r\n

    \r\n " + -" Permitted and Prohibited Uses. User may use the Outercurve We" + -"b\r\n site for the sole purpose of allowing Outercurve professionals to sha" + -"re and exchange\r\n their ideas. User may not use the Outercurve Web site t" + -"o violate any applicable\r\n local, state, national, or international law, " + -"including without limitation any applicable\r\n laws relating to antitrust " + -"or other illegal trade or business practices, federal\r\n and state securit" + -"ies laws, regulations promulgated by the U.S. Securities and Exchange\r\n C" + -"ommission, any rules of any national or other securities exchange, and any U.S.\r" + -"\n laws, rules, and regulations governing the export and re-export of comm" + -"odities or\r\n technical data. User may not upload or transmit any material" + -" that infringes or misappropriates\r\n any person\'s copyright, patent, trad" + -"emark, or trade secret, or disclose via the\r\n Outercurve Web site any inf" + -"ormation the disclosure of which would constitute a violation\r\n of a conf" + -"identiality obligation on User\'s part. User may not upload any viruses,\r\n " + -" worms, Trojan horses, or other forms of harmful computer code, nor subject Oute" + -"rcurve’s\r\n network or servers to unreasonable traffic loads, or oth" + -"erwise engage in conduct\r\n deemed disruptive to the ordinary operation of" + -" Outercurve’s Web site. User\r\n is strictly prohibited from communic" + -"ating on or through this site any unlawful,\r\n harmful, offensive, threate" + -"ning, abusive, libelous, harassing, defamatory, vulgar,\r\n obscene, profan" + -"e, hateful, fraudulent, sexually explicit, racially, ethnically,\r\n or oth" + -"erwise objectionable material of any sort, including, but not limited to,\r\n " + -" any material that encourages conduct that would constitute a criminal offense" + -", give\r\n rise to civil liability, or otherwise violate any applicable loc" + -"al, state, national,\r\n or international law.\r\n

    \r\n

    \r\n User Submissions. Outercurve does not want to r" + -"eceive confidential\r\n or proprietary information from User through this s" + -"ite. Any material, information,\r\n or other communication User transmits o" + -"r posts (\"Communications\") to Outercurve’s\r\n Web site will be consi" + -"dered non-confidential and non-proprietary and Outercurve\r\n will be under" + -" no obligation of any kind with respect to such information. Outercurve\r\n " + -" will be free to reproduce, make derivative works from, use, disclose, and distr" + -"ibute\r\n the Communications to others without limitation. At our sole elec" + -"tion, Outercurve\r\n may provide authorship attribution by listing User\'s n" + -"ame.\r\n

    \r\n

    \r\n User Discussion Forums." + -" Outercurve may, but is not obligated to,\r\n monitor or review an" + -"y areas on Outercurve’s Web site where users transmit\r\n or post com" + -"munications or communicate solely with each other, including but not\r\n li" + -"mited to chat rooms, bulletin boards or other user forums, and the content of\r\n " + -" any such communications. Outercurve, however, will have no liability rela" + -"ted to\r\n the content of any such communications, whether or not arising u" + -"nder the laws of\r\n copyright, libel, privacy, obscenity, or otherwise. Ou" + -"tercurve may edit or remove\r\n content on the Outercurve Web site at its d" + -"iscretion at any time.\r\n

    \r\n

    \r\n Use o" + -"f Personally Identifiable Information. Information submitted\r\n t" + -"o the Outercurve Web site is governed according to Outercurve’s then-curre" + -"nt\r\n Privacy Policy.\r\n

    \r\n

    \r\n User agrees" + -" to provide true, accurate, current, and complete information when registering\r\n" + -" with our Web site. It is User\'s responsibility to maintain and promptly " + -"update this\r\n account information to keep it true, accurate, current, and" + -" complete. If User provides\r\n any information that is fraudulent, untrue," + -" inaccurate, incomplete, or not current,\r\n or we have reasonable grounds " + -"to suspect that such information is fraudulent, untrue,\r\n inaccurate, inc" + -"omplete, or not current, we reserve the right to suspend or terminate\r\n y" + -"our account without notice and to refuse any and all current and future use of\r\n" + -" this site.\r\n

    \r\n

    \r\n Although sections" + -" of the site may be viewed simply by visiting the site, in order\r\n to acc" + -"ess some Content and/or additional features offered at the site, you may need\r\n " + -" to sign on as a guest or register as a member. If you create an account o" + -"n the site,\r\n you may be asked to supply your name, address, a User ID an" + -"d password. You are responsible\r\n for maintaining the confidentiality of " + -"the password and account and are fully responsible\r\n for all activities t" + -"hat occur in connection with your password or account. You agree\r\n to imm" + -"ediately notify us of any unauthorized use of either your password or account\r\n " + -" or any other breach of security. You further agree that you will not perm" + -"it others,\r\n including those whose accounts have been terminated, to acce" + -"ss this site using your\r\n account or User ID. You grant Outercurve, its a" + -"ffiliated companies, and all other\r\n persons or entities involved in the " + -"operation of the Site the right to transmit,\r\n monitor, retrieve, store, " + -"and use your information in connection with the operation\r\n of the Site a" + -"nd in the provision of services to you. Outercurve cannot and does\r\n not " + -"assume any responsibility or liability for any information you submit, or your\r\n" + -" or third parties\' use or misuse of information transmitted or received u" + -"sing Outercurve’s\r\n site. To learn more about how we protect the pr" + -"ivacy of the personal information\r\n in your account, please visit our \r\n " + -" Privacy Policy.\r\n

    \r\n

    \r\n Inde" + -"mnification. User agrees to defend, indemnify and hold harmless\r\n " + -" Outercurve, its employees, directors, officers, affiliated companies, agents, " + -"vendors\r\n or suppliers from and against any and all claims, damages, cost" + -"s and expenses, including\r\n reasonable attorneys\' fees, arising from or r" + -"elated to your use or misuse of the\r\n site, including, without limitation" + -", User\'s violation of these Terms and Conditions,\r\n the infringement by U" + -"ser, or any other subscriber or user of your account, of any\r\n intellectu" + -"al property right or other right of any person or entity.

    \r\n

    \r\n Termination. These Terms and Conditions of Use " + -"are effective until\r\n terminated by either party. If User no longer agree" + -"s to be bound by these Terms\r\n and Conditions, User must cease use of thi" + -"s Web site. If User is dissatisfied with\r\n this Web site, its content, or" + -" any of these terms, conditions, and policies, User\'s\r\n sole legal remedy" + -" is to discontinue using this Web site. Outercurve reserves the\r\n right t" + -"o terminate or suspend your access to and use of this site, or parts of this\r\n " + -" site, without notice, if we believe, in our sole discretion, that such use" + -" is (i)\r\n in violation of any applicable law; (ii) is harmful to our inte" + -"rests or the interests,\r\n including intellectual property or other rights" + -", of another person or entity; or\r\n (iii) where Outercurve has reason to " + -"believe that User is in violation of these\r\n Terms and Conditions of Use." + -"

    \r\n

    \r\n WARRANTY DISCLAIMER. OUT" + -"ERCURVE WEB SITE AND ASSOCIATED MATERIALS\r\n ARE PROVIDED ON AN \"AS IS\" AN" + -"D \"AS AVAILABLE\" BASIS. TO THE FULL EXTENT PERMISSIBLE\r\n BY APPLICABLE LA" + -"W, OUTERCURVE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING,\r\n " + -"BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PART" + -"ICULAR\r\n PURPOSE, OR NON-INFRINGEMENT OF INTELLECTUAL PROPERTY. OUTERCURV" + -"E MAKES NO REPRESENTATIONS\r\n OR WARRANTY THAT THE SITE WILL MEET YOUR REQ" + -"UIREMENTS, OR THAT YOUR USE OF THE SITE\r\n WILL BE UNINTERRUPTED, TIMELY, " + -"SECURE, OR ERROR FREE; NOR DOES OUTERCURVE MAKE ANY\r\n REPRESENTATION OR W" + -"ARRANTY AS TO THE RESULTS THAT MAY BE OBTAINED FROM THE USE OF\r\n THE SITE" + -". OUTERCURVE MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS\r\n " + -" OR IMPLIED, AS TO THE OPERATION OF THE SITE OR THE INFORMATION, CONTENT, MATER" + -"IALS,\r\n OR PRODUCTS INCLUDED ON THIS SITE.

    \r\n

    \r\n" + -" IN NO EVENT SHALL OUTERCURVE OR ANY OF ITS AFFILIATED COMPANIES, EMPLOYE" + -"ES, DIRECTORS,\r\n OFFICERS, AGENTS, VENDORS OR SUPPLIERS BE LIABLE FOR ANY" + -" DAMAGES WHATSOEVER (INCLUDING,\r\n WITHOUT LIMITATION, DAMAGES FOR LOSS OF" + -" PROFITS, BUSINESS INTERRUPTION, LOSS OF\r\n INFORMATION) ARISING OUT OF TH" + -"E USE, MISUSE OF OR INABILITY TO USE THE SITE, EVEN\r\n IF OUTERCURVE HAS B" + -"EEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. THIS DISCLAIMER\r\n CONSTIT" + -"UTES AN ESSENTIAL PART OF THIS AGREEMENT. BECAUSE SOME JURISDICTIONS PROHIBIT\r\n " + -" THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL " + -"DAMAGES,\r\n THE ABOVE LIMITATION MAY NOT APPLY TO YOU.

    \r\n

    \r\n YOU UNDERSTAND AND AGREE THAT ANY CONTENT DOWNLOADED OR OTHER" + -"WISE OBTAINED THROUGH\r\n THE USE OF THE SITE IS AT YOUR OWN DISCRETION AND" + -" RISK AND THAT YOU WILL BE SOLELY\r\n RESPONSIBLE FOR ANY DAMAGE TO YOUR CO" + -"MPUTER SYSTEM OR LOSS OF DATA OR BUSINESS INTERRUPTION\r\n THAT RESULTS FRO" + -"M THE DOWNLOAD OF CONTENT. OUTERCURVE SHALL NOT BE RESPONSIBLE FOR\r\n ANY " + -"LOSS OR DAMAGE CAUSED, OR ALLEGED TO HAVE BEEN CAUSED, DIRECTLY OR INDIRECTLY,\r\n" + -" BY THE INFORMATION OR IDEAS CONTAINED, SUGGESTED OR REFERENCED IN OR APP" + -"EARING ON\r\n THE SITE. YOUR PARTICIPATION IN THE SITE IS SOLELY AT YOUR OW" + -"N RISK. NO ADVICE OR\r\n INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY " + -"YOU FROM OUTERCURVE OR THROUGH\r\n OUTERCURVE, ITS EMPLOYEES, OR THIRD PART" + -"IES SHALL CREATE ANY WARRANTY NOT EXPRESSLY\r\n MADE HEREIN. YOU ACKNOWLEDG" + -"E, BY YOUR USE OF THE OUTERCURVE WEB SITE, THAT YOUR\r\n USE OF THE SITE IS" + -" AT YOUR SOLE RISK.

    \r\n

    \r\n Liability Limi" + -"tation. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL\r\n OR EQUITABLE" + -" THEORY, WHETHER IN TORT, CONTRACT, NEGLIGENCE, STRICT LIABILITY OR\r\n OTH" + -"ERWISE, SHALL OUTERCURVE OR ANY OF ITS AFFILIATED COMPANIES, EMPLOYEES, DIRECTOR" + -"S,\r\n OFFICERS, AGENTS, VENDORS OR SUPPLIERS BE LIABLE TO USER OR TO ANY O" + -"THER PERSON\r\n FOR ANY INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL LOSS" + -"ES OR DAMAGES OF ANY\r\n NATURE ARISING OUT OF OR IN CONNECTION WITH THE US" + -"E OF OR INABILITY TO USE THE OUTERCURVE\r\n WEB SITE OR FOR ANY BREACH OF S" + -"ECURITY ASSOCIATED WITH THE TRANSMISSION OF SENSITIVE\r\n INFORMATION THROU" + -"GH THE OUTERCURVE WEB SITE OR FOR ANY INFORMATION OBTAINED THROUGH\r\n THE " + -"OUTERCURVE SITE, INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOST PROFITS, LOSS\r\n" + -" OF GOODWILL, LOSS OR CORRUPTION OF DATA, WORK STOPPAGE, ACCURACY OF RESU" + -"LTS, OR\r\n COMPUTER FAILURE OR MALFUNCTION, EVEN IF AN AUTHORIZED REPRESEN" + -"TATIVE OF OUTERCURVE\r\n HAS BEEN ADVISED OF OR SHOULD HAVE KNOWN OF THE PO" + -"SSIBILITY OF SUCH DAMAGES.

    \r\n

    \r\n OUTERCURVE\'S TO" + -"TAL CUMULATIVE LIABILITY FOR ANY AND ALL CLAIMS IN CONNECTION WITH\r\n THE " + -"OUTERCURVE\'S WEB SITE WILL NOT EXCEED TWENTY FIVE THOUSAND U.S. DOLLARS ($25,000" + -".00).\r\n USER AGREES AND ACKNOWLEDGES THAT THE FOREGOING LIMITATIONS ON LI" + -"ABILITY ARE AN\r\n ESSENTIAL BASIS OF THE BARGAIN AND THAT OUTERCURVE WOULD" + -" NOT PROVIDE THE OUTERCURVE’S\r\n WEB SITE ABSENT SUCH LIMITATION.\r\n

    \r\n General. Outercurve is base" + -"d in the United States. Outercurve makes\r\n no claims that the Content on " + -"the site is appropriate or may be downloaded outside\r\n of the United Stat" + -"es. Access to the Content may not be legal by certain persons\r\n or in cer" + -"tain countries. If you access the site from outside the United States,\r\n " + -"you do so at your own risk and are responsible for compliance with the laws of y" + -"our\r\n jurisdiction. These Terms are governed in all respects by the laws " + -"of the State\r\n of Delaware, excluding Delaware\'s conflicts of laws provis" + -"ions. The provisions of\r\n the UN Convention on Contracts for the Internat" + -"ional Sale of Goods will not apply\r\n to these Terms. A party may give not" + -"ice to the other party only in writing at that\r\n party\'s principal place " + -"of business, attention of that party\'s principal legal officer,\r\n or at s" + -"uch other address or by such other method as the party shall specify in writing." + -"\r\n Notice shall be deemed given upon personal delivery or facsimile, or, " + -"if sent by\r\n certified mail with postage prepaid, 5 business days after t" + -"he date of mailing,\r\n or, if sent by international overnight courier with" + -" postage prepaid, 7 business\r\n days after the date of mailing. If any pro" + -"vision herein is held to be unenforceable,\r\n the remaining provisions wil" + -"l continue in full force without being affected in any\r\n way. Further, th" + -"e parties agree to replace such unenforceable provision with an\r\n enforce" + -"able provision that most closely approximates the intent and economic effect\r\n " + -" of the unenforceable provision. Section headings are for reference purpose" + -"s only\r\n and do not define, limit, construe or describe the scope or exte" + -"nt of such section.\r\n The failure of Outercurve to act with respect to a " + -"breach of this Agreement by User\r\n or others does not constitute a waiver" + -" and shall not limit Outercurve’s rights\r\n with respect to such bre" + -"ach or any subsequent breaches. Any action or proceeding\r\n arising out of" + -" or related to this Agreement or User\'s use of this site must be brought\r\n " + -" in the state or federal courts of the State of California, and User consents t" + -"o\r\n the exclusive personal jurisdiction and venue of such courts. Any cau" + -"se of action\r\n you may have with respect to your use of this site must be" + -" commenced within one\r\n (1) year after the claim or cause of action arise" + -"s. These Terms set forth the entire\r\n understanding and agreement of the " + -"parties, and supersedes any and all oral or written\r\n agreements or under" + -"standings between the parties, as to their subject matter. The\r\n waiver o" + -"f a breach of any provision of this Agreement shall not be construed as\r\n " + -" a waiver of any other or subsequent breach.

    \r\n

    \r\n " + -" Links to Other Materials. This Site may contain links to sit" + -"es\r\n owned or operated by independent third parties. These links are prov" + -"ided for your\r\n convenience and reference only. We do not control such si" + -"tes and, therefore, we\r\n are not responsible for any content posted on th" + -"ese sites. The fact that Outercurve\r\n offers such links should not be con" + -"strued in any way as an endorsement, authorization,\r\n or sponsorship of t" + -"hat site, its content or the companies or products referenced\r\n therein, " + -"and Outercurve reserves the right to note its lack of affiliation, sponsorship,\r" + -"\n or endorsement on this site. If you decide to access any of the third p" + -"arty sites\r\n linked to this Site, you do this entirely at your own risk. " + -"Because some sites employ\r\n automated search results or otherwise link yo" + -"u to sites containing information that\r\n may be deemed inappropriate or o" + -"ffensive, Outercurve cannot be held responsible\r\n for the accuracy, copyr" + -"ight compliance, legality, or decency of material contained\r\n in third pa" + -"rty sites, and you hereby irrevocably waive any claim against us with\r\n r" + -"espect to such sites.\r\n

    \r\n

    \r\n Notifi" + -"cation Of Possible Copyright Infringement. In the event you\r\n be" + -"lieve that material or content published on the site may infringe on your copyri" + -"ght\r\n or that of another, please provide detailed written notice of such " + -"possible infringement\r\n to Paula Hunter,\r\n Outercurve Foundation, 781" + -"-876-6227 (office), 781-224-1239 (fax).\r\n

    \r\n
    \r\n"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Shared/EditorTemplates/Object.generated.cs b/Website/Views/Shared/EditorTemplates/Object.generated.cs deleted file mode 100644 index a794489f2d..0000000000 --- a/Website/Views/Shared/EditorTemplates/Object.generated.cs +++ /dev/null @@ -1,181 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.237 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Shared.EditorTemplates -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/EditorTemplates/Object.cshtml")] - public class Object : System.Web.Mvc.WebViewPage - { - public Object() - { - } - public override void Execute() - { - - - #line 1 "..\..\Views\Shared\EditorTemplates\Object.cshtml" - if (ViewData.TemplateInfo.TemplateDepth > 1) -{ - - - #line default - #line hidden - - #line 3 "..\..\Views\Shared\EditorTemplates\Object.cshtml" -Write(ViewData.ModelMetadata.SimpleDisplayText); - - - #line default - #line hidden - - #line 3 "..\..\Views\Shared\EditorTemplates\Object.cshtml" - -} -else -{ - foreach (var prop in ViewData.ModelMetadata.Properties.Where(pm => pm.ShowForEdit && !ViewData.TemplateInfo.Visited(pm))) - { - if (prop.HideSurroundingHtml) - { - - - #line default - #line hidden - - #line 11 "..\..\Views\Shared\EditorTemplates\Object.cshtml" - Write(Html.Editor(prop.PropertyName)); - - - #line default - #line hidden - - #line 11 "..\..\Views\Shared\EditorTemplates\Object.cshtml" - - } - else - { - - var className = String.Empty; - if (ViewData.ModelState[prop.PropertyName] != null && ViewData.ModelState[prop.PropertyName].Errors != null && ViewData.ModelState[prop.PropertyName].Errors.Count > 0) - { - className = "invalid"; - } - - - #line default - #line hidden -WriteLiteral(" \r\n"); - - - - #line 34 "..\..\Views\Shared\EditorTemplates\Object.cshtml" - } - } -} - - - #line default - #line hidden - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Shared/Error.generated.cs b/Website/Views/Shared/Error.generated.cs deleted file mode 100644 index 3ebc416956..0000000000 --- a/Website/Views/Shared/Error.generated.cs +++ /dev/null @@ -1,98 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Shared -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/Error.cshtml")] - public class Error : System.Web.Mvc.WebViewPage - { - public Error() - { - } - public override void Execute() - { - - - #line 1 "..\..\Views\Shared\Error.cshtml" - - Layout = "~/Errors/ErrorLayout.cshtml"; - Page.Title = "Error"; - - - - #line default - #line hidden -WriteLiteral(@" -

    - Sorry, an error occurred while processing your request. -

    - -
    -

    Error: Oh no, we broke something!

    -

    You might be here because:

    -
      -
    • There is an error on our server and the server is "given her all she's got, captain."
    • -
    • The system is down, the system is down, the system is down.
    • -
    • Our name is smalls.
    • -
    - -

    - We have logged the error and we will look into it, and make sure it doesn’t happen again. However if you keep - seeing this page please File a bug in the NuGet Gallery issue tracker. -

    - -

    Search For Something Else

    -
    - - -
    - -
    - - \r\n\r\n"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Shared/Layout.generated.cs b/Website/Views/Shared/Layout.generated.cs deleted file mode 100644 index b7cca80abd..0000000000 --- a/Website/Views/Shared/Layout.generated.cs +++ /dev/null @@ -1,342 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Shared -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - - #line 1 "..\..\Views\Shared\Layout.cshtml" - using NuGetGallery; - - #line default - #line hidden - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/Layout.cshtml")] - public class Layout : System.Web.Mvc.WebViewPage - { - public Layout() - { - } - public override void Execute() - { - -WriteLiteral(" \r\n \r\n \r\n \r\n \r\n NuGet Gallery \r\n \r\n \r\n \r\n "); - - - - #line 11 "..\..\Views\Shared\Layout.cshtml" - Write(MvcMiniProfiler.MiniProfiler.RenderIncludes()); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 12 "..\..\Views\Shared\Layout.cshtml" - Write(Analytics.GetGoogleHtml("UA-177588-7")); - - - #line default - #line hidden -WriteLiteral("\r\n \r\n \r\n
    \r\n \r\n \r\n "); - - - - #line 18 "..\..\Views\Shared\Layout.cshtml" - Write(Html.Partial(MVC.Shared.Views.UserDisplay)); - - - #line default - #line hidden -WriteLiteral("\r\n \r\n \r\n " + -"
    \r\n"); - - - - #line 41 "..\..\Views\Shared\Layout.cshtml" - if (TempData.ContainsKey("Message")) { - - - #line default - #line hidden -WriteLiteral("

    "); - - - - #line 42 "..\..\Views\Shared\Layout.cshtml" - Write(TempData["Message"]); - - - #line default - #line hidden -WriteLiteral("

    \r\n"); - - - - #line 43 "..\..\Views\Shared\Layout.cshtml" - } - - - #line default - #line hidden -WriteLiteral(" "); - - - - #line 44 "..\..\Views\Shared\Layout.cshtml" - Write(RenderBody()); - - - #line default - #line hidden -WriteLiteral(@" -
    -
    -
    -
    -
      -
    • - Overview -

      NuGet is a Visual Studio 2010 extension that makes it easy to add, remove, and update libraries and...

      -
    • -
    • - Install -

      NuGet can be installed and updated using the Visual Studio Extension Manager. To check if your copy...

      -
    • -
    • - Videos -

      Watch screencasts and presentations about anything and everything NuGet.

      -
    • -
    • - FAQ -

      Read the Frequently Asked Questions about NuGet and see if your question made the list.

      -
    • -
    -
    -

    - © "); - - - - #line 69 "..\..\Views\Shared\Layout.cshtml" - Write(DateTime.UtcNow.Year); - - - #line default - #line hidden -WriteLiteral(" Outercurve Foundation.\r\n

    \r\n "); - - - - #line 71 "..\..\Views\Shared\Layout.cshtml" - Write(ViewHelpers.ReleaseTag()); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n
    \r\n
    \r\n \r\n "); - - - - #line 76 "..\..\Views\Shared\Layout.cshtml" - Write(RenderSection("BottomScripts", required: false)); - - - #line default - #line hidden -WriteLiteral("\r\n \r\n"); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Shared/TwoColumnLayout.generated.cs b/Website/Views/Shared/TwoColumnLayout.generated.cs deleted file mode 100644 index 9371f34e29..0000000000 --- a/Website/Views/Shared/TwoColumnLayout.generated.cs +++ /dev/null @@ -1,95 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.237 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Shared -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/TwoColumnLayout.cshtml")] - public class TwoColumnLayout : System.Web.Mvc.WebViewPage - { - public TwoColumnLayout() - { - } - public override void Execute() - { - - - #line 1 "..\..\Views\Shared\TwoColumnLayout.cshtml" - - Layout = "Layout.cshtml"; - - - - #line default - #line hidden -WriteLiteral("\r\n\r\n
    \r\n "); - - - - #line 7 "..\..\Views\Shared\TwoColumnLayout.cshtml" -Write(RenderSection("SideColumn")); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n
    \r\n "); - - - - #line 10 "..\..\Views\Shared\TwoColumnLayout.cshtml" -Write(RenderBody()); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n\r\n
    \r\n\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\r\n "); - - - - #line 16 "..\..\Views\Shared\TwoColumnLayout.cshtml" -Write(RenderSection("BottomScripts", required: false)); - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Shared/UserDisplay.generated.cs b/Website/Views/Shared/UserDisplay.generated.cs deleted file mode 100644 index 2aa9e72616..0000000000 --- a/Website/Views/Shared/UserDisplay.generated.cs +++ /dev/null @@ -1,137 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.17020 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Shared -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Shared/UserDisplay.cshtml")] - public class UserDisplay : System.Web.Mvc.WebViewPage - { - public UserDisplay() - { - } - public override void Execute() - { -WriteLiteral("
    \r\n"); - - - - #line 2 "..\..\Views\Shared\UserDisplay.cshtml" - if (!User.Identity.IsAuthenticated) - { - - - #line default - #line hidden -WriteLiteral(" \r\n"); - - - -WriteLiteral(" \r\n"); - - - - #line 6 "..\..\Views\Shared\UserDisplay.cshtml" - } - else { - - - #line default - #line hidden -WriteLiteral(" \r\n"); - - - -WriteLiteral(" \r\n \r\n \r\n"); - - - - #line 12 "..\..\Views\Shared\UserDisplay.cshtml" - } - - - #line default - #line hidden -WriteLiteral("
    "); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/Account.generated.cs b/Website/Views/Users/Account.generated.cs deleted file mode 100644 index a63a612a2f..0000000000 --- a/Website/Views/Users/Account.generated.cs +++ /dev/null @@ -1,200 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/Account.cshtml")] - public class Account : System.Web.Mvc.WebViewPage - { - public Account() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Users\Account.cshtml" - - ViewBag.Tab = "Contribute"; - - - - #line default - #line hidden -WriteLiteral("\n

    My Account

    \n\n
    \n

    Actions" + -"

    \n
      \n
    • \n

      -

      - Upload and publish your package for other NuGet users to download and enjoy. - You can upload multiple revisions of the same package, as long as the version - is different. -

      -
    • -
    • -

      \n

      Edit package details or Remove packa" + -"ges that you have previously uploaded.

      \n
    • \n
    • \n

      \n

      Edit your public profile.

      \n \n
    • \n

      -

      Change your password.

      -
    • -
    -
    - - - -
    -

    API Key

    -

    - Your API key provides you with a token that identifies you to the gallery. - Keep this a secret. You can always regenerate your key at any time (invalidating - previous keys) if your token is accidentally revealed. The - NuGet command-line utility allows you to - submit a NuGet package to the gallery, and you would pass you token like this: -

    - -
    -

    Your API key is:

    - -
    -

    "); - - - - #line 50 "..\..\Views\Users\Account.cshtml" - Write(Model.ApiKey); - - - #line default - #line hidden -WriteLiteral("

    \n\n
    \n Generate New AP" + -"I Key\n"); - - - - #line 54 "..\..\Views\Users\Account.cshtml" - using(Html.BeginForm("GenerateApiKey", "Users", FormMethod.Post)){ - - - #line default - #line hidden - - #line 55 "..\..\Views\Users\Account.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden - - #line 55 "..\..\Views\Users\Account.cshtml" - - - - #line default - #line hidden -WriteLiteral(" \n"); - - - - #line 57 "..\..\Views\Users\Account.cshtml" - } - - - #line default - #line hidden -WriteLiteral("
    \n\n

    Example usage:

    \n

    nuget.exe push MyPackage.1.0.nupkg "); - - - - #line 61 "..\..\Views\Users\Account.cshtml" - Write(Model.ApiKey); - - - #line default - #line hidden -WriteLiteral("

    \n \n
    \n\n
    \n Your key is hidden for privacy, click to show.\n " + -"
    \n
    \n
    \n\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\n \n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/ChangePassword.generated.cs b/Website/Views/Users/ChangePassword.generated.cs deleted file mode 100644 index 47d34188a6..0000000000 --- a/Website/Views/Users/ChangePassword.generated.cs +++ /dev/null @@ -1,157 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.237 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/ChangePassword.cshtml")] - public class ChangePassword : System.Web.Mvc.WebViewPage - { - public ChangePassword() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Users\ChangePassword.cshtml" - - ViewBag.Title = "Change Password"; - - - - #line default - #line hidden -WriteLiteral(" \r\n

    Change Password

    \r\n\r\n"); - - - - #line 8 "..\..\Views\Users\ChangePassword.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n Register Form\r\n\r\n "); - - - - #line 12 "..\..\Views\Users\ChangePassword.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 13 "..\..\Views\Users\ChangePassword.cshtml" - Write(Html.ValidationSummary(true)); - - - #line default - #line hidden -WriteLiteral("\r\n \r\n "); - - - - #line 15 "..\..\Views\Users\ChangePassword.cshtml" - Write(Html.EditorForModel()); - - - #line default - #line hidden -WriteLiteral("\r\n\r\n \r\n\r\n \r\n \r\n
    \r\n"); - - - - #line 22 "..\..\Views\Users\ChangePassword.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\r\n \r\n \r\n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/Confirm.generated.cs b/Website/Views/Users/Confirm.generated.cs deleted file mode 100644 index 2aa7e01943..0000000000 --- a/Website/Views/Users/Confirm.generated.cs +++ /dev/null @@ -1,146 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/Confirm.cshtml")] - public class Confirm : System.Web.Mvc.WebViewPage - { - public Confirm() - { - } - public override void Execute() - { - -WriteLiteral("\r\n

    Confirm Registration

    \r\n\r\n"); - - - - #line 5 "..\..\Views\Users\Confirm.cshtml" - if (Model.SuccessfulConfirmation) { - - - #line default - #line hidden -WriteLiteral("

    \r\n"); - - - - #line 7 "..\..\Views\Users\Confirm.cshtml" - if (Model.ConfirmingNewAccount) { - - - #line default - #line hidden -WriteLiteral(" "); - -WriteLiteral(" Account registration completed!\r\n"); - - - - #line 9 "..\..\Views\Users\Confirm.cshtml" - } - else { - - - #line default - #line hidden -WriteLiteral(" "); - -WriteLiteral(" Email address change confirmed!\r\n"); - - - - #line 12 "..\..\Views\Users\Confirm.cshtml" - } - - - #line default - #line hidden -WriteLiteral("

    \r\n"); - - - - #line 14 "..\..\Views\Users\Confirm.cshtml" - if (Model.ConfirmingNewAccount) { - - - #line default - #line hidden -WriteLiteral("

    \r\n Click on the Log On link to logon to the site.\r\n " + -"

    \r\n"); - - - -WriteLiteral("

    \r\n You may now upload packages and make your mark in \r\n " + -" the community.\r\n

    \r\n"); - - - - #line 22 "..\..\Views\Users\Confirm.cshtml" - } - else { - - - #line default - #line hidden -WriteLiteral("

    \r\n Your email address is now updated.\r\n

    \r\n"); - - - - #line 27 "..\..\Views\Users\Confirm.cshtml" - } -} - - else { - - - #line default - #line hidden -WriteLiteral("

    \r\n Could not confirm your email address.\r\n " + -"

    \r\n"); - - - -WriteLiteral("

    \r\n Make sure you clicked on the confirmation URL in the email we se" + -"nt.\r\n

    \r\n"); - - - - #line 37 "..\..\Views\Users\Confirm.cshtml" -} - - #line default - #line hidden - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/Edit.generated.cs b/Website/Views/Users/Edit.generated.cs deleted file mode 100644 index 60fcf5435c..0000000000 --- a/Website/Views/Users/Edit.generated.cs +++ /dev/null @@ -1,240 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/Edit.cshtml")] - public class Edit : System.Web.Mvc.WebViewPage - { - public Edit() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Users\Edit.cshtml" - - ViewBag.Title = "Edit Profile"; - - - - #line default - #line hidden -WriteLiteral("\r\n\r\n

    Edit Profile

    \r\n\r\n"); - - - - #line 9 "..\..\Views\Users\Edit.cshtml" -Write(Html.ValidationSummary(true)); - - - #line default - #line hidden -WriteLiteral("\r\n\r\n"); - - - - #line 11 "..\..\Views\Users\Edit.cshtml" - if (!String.IsNullOrEmpty(Model.PendingNewEmailAddress)) { - - - #line default - #line hidden -WriteLiteral("

    \r\n You recently requested to change your email addr" + -"ess to "); - - - - #line 13 "..\..\Views\Users\Edit.cshtml" - Write(Model.PendingNewEmailAddress); - - - #line default - #line hidden -WriteLiteral(". \r\n This change will take effect when you confirm the address. C" + -"heck your inbox (or spam folder) for an \r\n email with a confirmation link" + -".\r\n

    \r\n"); - - - - #line 17 "..\..\Views\Users\Edit.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - - - #line 19 "..\..\Views\Users\Edit.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden - - #line 20 "..\..\Views\Users\Edit.cshtml" -Write(Html.AntiForgeryToken()); - - - #line default - #line hidden - - #line 20 "..\..\Views\Users\Edit.cshtml" - - - - - #line default - #line hidden -WriteLiteral("
    \r\n Edit Profile\r\n\r\n \r\n "); - - - - #line 26 "..\..\Views\Users\Edit.cshtml" - Write(Html.LabelFor(m => m.EmailAddress)); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 27 "..\..\Views\Users\Edit.cshtml" - Write(Html.EditorFor(m => m.EmailAddress)); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 28 "..\..\Views\Users\Edit.cshtml" - Write(Html.ValidationMessageFor(m => m.EmailAddress)); - - - #line default - #line hidden -WriteLiteral("\r\n If you change your email address, " + -"you will need to confirm \r\n your new address for it to take effec" + -"t.\r\n \r\n\r\n
    \r\n "); - - - - #line 34 "..\..\Views\Users\Edit.cshtml" - Write(Html.EditorFor(m => m.EmailAllowed)); - - - #line default - #line hidden -WriteLiteral(@" - -

    - Important: This setting allows other registered users of the site to contact you - about packages that you own using the Contact Owners form, or to request that you become an owner - of their package. Unchecking this means users cannot contact you for these reasons. -

    - -
    - - \r\n\r\n \r\n \r\n
    \r\n"); - - - - #line 51 "..\..\Views\Users\Edit.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\r\n \r\n \r\n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/ForgotPassword.generated.cs b/Website/Views/Users/ForgotPassword.generated.cs deleted file mode 100644 index 211cbd885d..0000000000 --- a/Website/Views/Users/ForgotPassword.generated.cs +++ /dev/null @@ -1,159 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.237 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/ForgotPassword.cshtml")] - public class ForgotPassword : System.Web.Mvc.WebViewPage - { - public ForgotPassword() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Users\ForgotPassword.cshtml" - - ViewBag.Title = "Forgot Password"; - - - - #line default - #line hidden -WriteLiteral("\r\n

    Forgot Password

    \r\n\r\n

    \r\n We are sorry to hear " + -"you forgot your password. Enter your email below and we will \r\n send instruct" + -"ions to reset your password.\r\n

    \r\n\r\n"); - - - - #line 13 "..\..\Views\Users\ForgotPassword.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n Register Form\r\n\r\n "); - - - - #line 17 "..\..\Views\Users\ForgotPassword.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 18 "..\..\Views\Users\ForgotPassword.cshtml" - Write(Html.ValidationSummary(true)); - - - #line default - #line hidden -WriteLiteral("\r\n \r\n "); - - - - #line 20 "..\..\Views\Users\ForgotPassword.cshtml" - Write(Html.EditorForModel()); - - - #line default - #line hidden -WriteLiteral("\r\n\r\n \r\n\r\n \r\n \r\n
    \r\n"); - - - - #line 27 "..\..\Views\Users\ForgotPassword.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\r\n \r\n \r\n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/Packages.generated.cs b/Website/Views/Users/Packages.generated.cs deleted file mode 100644 index 76eed31624..0000000000 --- a/Website/Views/Users/Packages.generated.cs +++ /dev/null @@ -1,419 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/Packages.cshtml")] - public class Packages : System.Web.Mvc.WebViewPage - { - -public System.Web.WebPages.HelperResult PrintPublishedPackages(IEnumerable packages, bool unlisted) { -return new System.Web.WebPages.HelperResult(__razor_helper_writer => { - - - -#line 37 "..\..\Views\Users\Packages.cshtml" - - var totlalDownloads = 0; - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, @" - - - - - - - - - - - -"); - - - -#line 51 "..\..\Views\Users\Packages.cshtml" - foreach (var package in packages) { - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, " \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"); - - - -#line 82 "..\..\Views\Users\Packages.cshtml" - totlalDownloads += package.DownloadCount; - } - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, " \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    ActionsPackagePackage IDDescriptionDownloads
    \r\n"); - - - -#line 54 "..\..\Views\Users\Packages.cshtml" - if (unlisted) - { - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, " \r\n"); - - - -#line 57 "..\..\Views\Users\Packages.cshtml" - } - else - { - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, " \r\n"); - - - -WriteLiteralTo(@__razor_helper_writer, " \r\n"); - - - -#line 62 "..\..\Views\Users\Packages.cshtml" - } - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, " \r\n \r\n "); - - - -#line 67 "..\..\Views\Users\Packages.cshtml" -WriteTo(@__razor_helper_writer, package.Id); - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, "\r\n"); - - - -#line 69 "..\..\Views\Users\Packages.cshtml" - if (String.IsNullOrEmpty(package.Description) || package.Description.Length < 65) - { - -#line default -#line hidden - - -#line 71 "..\..\Views\Users\Packages.cshtml" -WriteTo(@__razor_helper_writer, package.Description); - -#line default -#line hidden - - -#line 71 "..\..\Views\Users\Packages.cshtml" - - } - else - { - -#line default -#line hidden - - -#line 75 "..\..\Views\Users\Packages.cshtml" -WriteTo(@__razor_helper_writer, package.Description.Substring(0, 65)); - -#line default -#line hidden - - -#line 75 "..\..\Views\Users\Packages.cshtml" - - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, " \r\n"); - - - -#line 77 "..\..\Views\Users\Packages.cshtml" - } - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, " "); - - - -#line 80 "..\..\Views\Users\Packages.cshtml" -WriteTo(@__razor_helper_writer, package.DownloadCount); - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, "
    \r\n You have a total of "); - - - -#line 88 "..\..\Views\Users\Packages.cshtml" - WriteTo(@__razor_helper_writer, packages.Count()); - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, " packages.\r\n \r\n " + -" "); - - - -#line 91 "..\..\Views\Users\Packages.cshtml" -WriteTo(@__razor_helper_writer, totlalDownloads); - -#line default -#line hidden - -WriteLiteralTo(@__razor_helper_writer, "\r\n
    \r\n"); - - - -#line 96 "..\..\Views\Users\Packages.cshtml" - -#line default -#line hidden - -}); - -} - - - public Packages() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Users\Packages.cshtml" - - ViewBag.Tab = "Packages"; - - - - #line default - #line hidden -WriteLiteral("\r\n

    Manage My Packages

    \r\n\r\n\r\n"); - - - - #line 9 "..\..\Views\Users\Packages.cshtml" - if (Model.Packages.Any()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n

    Packages

    \r\n

    These package" + -"s are currently published for the world to see.

    \r\n\r\n "); - - - - #line 14 "..\..\Views\Users\Packages.cshtml" - Write(PrintPublishedPackages(Model.Packages.Where(p => p.Listed), unlisted: false)); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n"); - - - - #line 16 "..\..\Views\Users\Packages.cshtml" - - var unlistedPackages = Model.Packages.Where(p => !p.Listed); - if (unlistedPackages.Any()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n

    Unlisted Packages

    \r\n

    These" + -" packages are currently unlisted.

    \r\n\r\n "); - - - - #line 23 "..\..\Views\Users\Packages.cshtml" - Write(PrintPublishedPackages(unlistedPackages, unlisted: true)); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n"); - - - - #line 25 "..\..\Views\Users\Packages.cshtml" - } -} -else { - - - #line default - #line hidden -WriteLiteral("
    \r\n

    No Packages!

    \r\n

    \r\n " + -" You don\'t have any packages. Maybe now is a good time to \r\n .\r\n

    \r\n
    \r\n"); - - - - #line 35 "..\..\Views\Users\Packages.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/PasswordChanged.generated.cs b/Website/Views/Users/PasswordChanged.generated.cs deleted file mode 100644 index cb5e22a245..0000000000 --- a/Website/Views/Users/PasswordChanged.generated.cs +++ /dev/null @@ -1,58 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.237 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/PasswordChanged.cshtml")] - public class PasswordChanged : System.Web.Mvc.WebViewPage - { - public PasswordChanged() - { - } - public override void Execute() - { -WriteLiteral("

    Password changed!

    \r\n\r\n\r\n

    \r\n Don" + -"\'t forget to use your new password the next time you \r\n . \r\n

    "); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/PasswordSent.generated.cs b/Website/Views/Users/PasswordSent.generated.cs deleted file mode 100644 index df0591fb35..0000000000 --- a/Website/Views/Users/PasswordSent.generated.cs +++ /dev/null @@ -1,115 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.237 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/PasswordSent.cshtml")] - public class PasswordSent : System.Web.Mvc.WebViewPage - { - public PasswordSent() - { - } - public override void Execute() - { - - - #line 1 "..\..\Views\Users\PasswordSent.cshtml" - - ViewBag.Title = "Password Reset"; - - - - #line default - #line hidden -WriteLiteral("\r\n\r\n

    Password Reset Sent

    \r\n\r\n\r\n

    \r\n We\'ve sent an" + -" email \r\n"); - - - - #line 11 "..\..\Views\Users\PasswordSent.cshtml" - if (!String.IsNullOrEmpty(ViewBag.Email)) { - - - #line default - #line hidden -WriteLiteral(" "); - -WriteLiteral("to "); - - - - #line 12 "..\..\Views\Users\PasswordSent.cshtml" - Write(ViewBag.Email); - - - #line default - #line hidden -WriteLiteral("\r\n"); - - - - #line 13 "..\..\Views\Users\PasswordSent.cshtml" - } - else { - - - #line default - #line hidden -WriteLiteral(" "); - -WriteLiteral("to you\r\n"); - - - - #line 16 "..\..\Views\Users\PasswordSent.cshtml" - } - - - #line default - #line hidden -WriteLiteral(" containing a temporary url that will allow you to reset your password for \r\n " + -" the next "); - - - - #line 18 "..\..\Views\Users\PasswordSent.cshtml" - Write(ViewBag.Expiration); - - - #line default - #line hidden -WriteLiteral(" hours. \r\n

    \r\n

    \r\n Please check your spam folder if you don\'t receive the e" + -"mail within a \r\n few minutes.\r\n

    "); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/Profiles.generated.cs b/Website/Views/Users/Profiles.generated.cs deleted file mode 100644 index 4a2e3f912e..0000000000 --- a/Website/Views/Users/Profiles.generated.cs +++ /dev/null @@ -1,289 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - - #line 1 "..\..\Views\Users\Profiles.cshtml" - using NuGetGallery; - - #line default - #line hidden - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/Profiles.cshtml")] - public class Profiles : System.Web.Mvc.WebViewPage - { - public Profiles() - { - } - public override void Execute() - { - - - - - #line 3 "..\..\Views\Users\Profiles.cshtml" - - ViewBag.Title = @Model.Username; - Layout = "~/Views/Shared/TwoColumnLayout.cshtml"; - - - - #line default - #line hidden -WriteLiteral("\r\n\r\n"); - - -DefineSection("SideColumn", () => { - -WriteLiteral("\r\n "); - - - - #line 10 "..\..\Views\Users\Profiles.cshtml" -Write(ViewHelpers.GravatarImage(Model.EmailAddress, Model.Username, 128)); - - - #line default - #line hidden -WriteLiteral("\r\n
    \r\n
    \r\n

    "); - - - - #line 13 "..\..\Views\Users\Profiles.cshtml" - Write(Model.Packages.Count.ToString("n0")); - - - #line default - #line hidden -WriteLiteral("

    \r\n

    Packages

    \r\n
    \r\n \r\n

    "); - - - - #line 17 "..\..\Views\Users\Profiles.cshtml" - Write(Model.TotalPackageDownloadCount.ToString("n0")); - - - #line default - #line hidden -WriteLiteral("

    \r\n

    Downloads of "); - - - - #line 18 "..\..\Views\Users\Profiles.cshtml" - Write(Model.Username); - - - #line default - #line hidden -WriteLiteral("\'s packages

    \r\n
    \r\n \r\n"); - - -}); - -WriteLiteral("\r\n\r\n

    "); - - - - #line 23 "..\..\Views\Users\Profiles.cshtml" -Write(Model.Username); - - - #line default - #line hidden -WriteLiteral("\'s Profile

    \r\n\r\n

    Packages

    \r\n
      \r\n"); - - - - #line 27 "..\..\Views\Users\Profiles.cshtml" - foreach (var package in Model.Packages) { - - - #line default - #line hidden -WriteLiteral("
    • \r\n
      \r\n
      \r\n " + -" \r\n
      \r\n
      \r" + -"\n

      \r\n \r\n

      \r\n"); - - - - #line 39 "..\..\Views\Users\Profiles.cshtml" - if (String.IsNullOrEmpty(package.Description) || package.Description.Length < 350) { - - - #line default - #line hidden - - #line 40 "..\..\Views\Users\Profiles.cshtml" - Write(package.Description); - - - #line default - #line hidden - - #line 40 "..\..\Views\Users\Profiles.cshtml" - - } - else { - - - #line default - #line hidden - - #line 43 "..\..\Views\Users\Profiles.cshtml" - Write(package.Description.Substring(0, 350)); - - - #line default - #line hidden - -WriteLiteral("... "); - - - -WriteLiteral("\r\n"); - - - - #line 44 "..\..\Views\Users\Profiles.cshtml" - } - - - #line default - #line hidden -WriteLiteral("

      \r\n\r\n
      \r\n

      \r\n "); - - - - #line 49 "..\..\Views\Users\Profiles.cshtml" - Write(package.TotalDownloadCount.ToString("n0")); - - - #line default - #line hidden -WriteLiteral(" downloads\r\n

      \r\n
      \r\n \r\n
      \r\n
    • \r\n"); - - - - #line 55 "..\..\Views\Users\Profiles.cshtml" - } - - - #line default - #line hidden -WriteLiteral("
    "); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/Register.generated.cs b/Website/Views/Users/Register.generated.cs deleted file mode 100644 index 35a1172c75..0000000000 --- a/Website/Views/Users/Register.generated.cs +++ /dev/null @@ -1,170 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.237 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/Register.cshtml")] - public class Register : System.Web.Mvc.WebViewPage - { - public Register() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Users\Register.cshtml" - - ViewBag.Title = "Register"; - Layout = "~/Views/Shared/TwoColumnLayout.cshtml"; - - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -DefineSection("SideColumn", () => { - -WriteLiteral("\r\n

    With your account, you’ll be able to achieve all kinds of fame and glory" + -" by submitting your own packages.

    \r\n

    Already have an account?

    \r\n"); - - -}); - -WriteLiteral("\r\n\r\n\r\n

    Create A New Account

    \r\n\r\n"); - - - - #line 15 "..\..\Views\Users\Register.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n Register Form\r\n\r\n "); - - - - #line 19 "..\..\Views\Users\Register.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 20 "..\..\Views\Users\Register.cshtml" - Write(Html.ValidationSummary(true)); - - - #line default - #line hidden -WriteLiteral("\r\n \r\n "); - - - - #line 22 "..\..\Views\Users\Register.cshtml" - Write(Html.EditorForModel()); - - - #line default - #line hidden -WriteLiteral("\r\n\r\n \r\n\r\n \r\n
    \r\n"); - - - - #line 28 "..\..\Views\Users\Register.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\r\n \r\n \r\n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/ResendConfirmation.generated.cs b/Website/Views/Users/ResendConfirmation.generated.cs deleted file mode 100644 index fcffc4040a..0000000000 --- a/Website/Views/Users/ResendConfirmation.generated.cs +++ /dev/null @@ -1,169 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/ResendConfirmation.cshtml")] - public class ResendConfirmation : System.Web.Mvc.WebViewPage - { - public ResendConfirmation() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Users\ResendConfirmation.cshtml" - - ViewBag.Title = "Resend Email Confirmation"; - - - - #line default - #line hidden -WriteLiteral(@" -

    Resend Email Confirmation

    - -

    - We are sorry to hear you did not get our confirmation email. Enter your email below - and we will resend the confirmation email. Alternatively you might have been - redirected to this page because the confirmation link you clicked was old and needs - to be updated. Enter your email address and a new one will be sent, sorry for the - inconvenience. -

    - -"); - - - - #line 16 "..\..\Views\Users\ResendConfirmation.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral("
    \n Resend Email Confirmation\n\n " + -" "); - - - - #line 20 "..\..\Views\Users\ResendConfirmation.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\n "); - - - - #line 21 "..\..\Views\Users\ResendConfirmation.cshtml" - Write(Html.ValidationSummary(true)); - - - #line default - #line hidden -WriteLiteral("\n \n "); - - - - #line 23 "..\..\Views\Users\ResendConfirmation.cshtml" - Write(Html.EditorForModel()); - - - #line default - #line hidden -WriteLiteral("\n\n \n\n \n \n
    \n"); - - - - #line 30 "..\..\Views\Users\ResendConfirmation.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\n \n \n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/ResetPassword.generated.cs b/Website/Views/Users/ResetPassword.generated.cs deleted file mode 100644 index 535570dab8..0000000000 --- a/Website/Views/Users/ResetPassword.generated.cs +++ /dev/null @@ -1,159 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.237 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - using NuGetGallery; - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/ResetPassword.cshtml")] - public class ResetPassword : System.Web.Mvc.WebViewPage - { - public ResetPassword() - { - } - public override void Execute() - { - - - - #line 2 "..\..\Views\Users\ResetPassword.cshtml" - - ViewBag.Title = "Reset Password"; - - - - #line default - #line hidden -WriteLiteral("\r\n\r\n

    Forgot Password

    \r\n\r\n

    \r\n We are sorry to hea" + -"r you forgot your password. Enter your email below and we will \r\n send instru" + -"ctions to reset your password.\r\n

    \r\n\r\n"); - - - - #line 14 "..\..\Views\Users\ResetPassword.cshtml" - using (Html.BeginForm()) { - - - #line default - #line hidden -WriteLiteral("
    \r\n Register Form\r\n\r\n "); - - - - #line 18 "..\..\Views\Users\ResetPassword.cshtml" - Write(Html.AntiForgeryToken()); - - - #line default - #line hidden -WriteLiteral("\r\n "); - - - - #line 19 "..\..\Views\Users\ResetPassword.cshtml" - Write(Html.ValidationSummary(true)); - - - #line default - #line hidden -WriteLiteral("\r\n \r\n "); - - - - #line 21 "..\..\Views\Users\ResetPassword.cshtml" - Write(Html.EditorForModel()); - - - #line default - #line hidden -WriteLiteral("\r\n\r\n \r\n\r\n \r\n \r\n
    \r\n"); - - - - #line 28 "..\..\Views\Users\ResetPassword.cshtml" -} - - - #line default - #line hidden -WriteLiteral("\r\n"); - - -DefineSection("BottomScripts", () => { - -WriteLiteral("\r\n \r\n \r\n"); - - -}); - - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Views/Users/Thanks.generated.cs b/Website/Views/Users/Thanks.generated.cs deleted file mode 100644 index 1ed4d1d9bd..0000000000 --- a/Website/Views/Users/Thanks.generated.cs +++ /dev/null @@ -1,140 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.239 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace NuGetGallery.Views.Users -{ - using System; - using System.Collections.Generic; - using System.IO; - using System.Linq; - using System.Net; - using System.Text; - using System.Web; - using System.Web.Helpers; - using System.Web.Mvc; - using System.Web.Mvc.Ajax; - using System.Web.Mvc.Html; - using System.Web.Routing; - using System.Web.Security; - using System.Web.UI; - using System.Web.WebPages; - using Microsoft.Web.Helpers; - - #line 1 "..\..\Views\Users\Thanks.cshtml" - using NuGetGallery; - - #line default - #line hidden - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.2.0.0")] - [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Users/Thanks.cshtml")] - public class Thanks : System.Web.Mvc.WebViewPage - { - public Thanks() - { - } - public override void Execute() - { - -WriteLiteral("\r\n\r\n\r\n"); - - - - #line 5 "..\..\Views\Users\Thanks.cshtml" - if (!Request.IsAuthenticated) { - - - #line default - #line hidden -WriteLiteral("

    \r\n Thanks for registering

    \r\n"); - - - - #line 8 "..\..\Views\Users\Thanks.cshtml" -} -else { - - - #line default - #line hidden -WriteLiteral("

    \r\n You are all set

    \r\n"); - - - - #line 12 "..\..\Views\Users\Thanks.cshtml" -} - - - #line default - #line hidden - - - #line 13 "..\..\Views\Users\Thanks.cshtml" - if (!Request.IsAuthenticated) { - - - #line default - #line hidden -WriteLiteral(" But you\'re not done yet!\r\n"); - - - - #line 15 "..\..\Views\Users\Thanks.cshtml" - if (Request.IsLocal) { - - - #line default - #line hidden -WriteLiteral("

    \r\n Pssst! I see you\'re running this in a de" + -"velopment environment. Check the \r\n \\App_Data\\Mail folder for the email.\r\n

    \r\n"); - - - - #line 20 "..\..\Views\Users\Thanks.cshtml" - } else { - - - #line default - #line hidden -WriteLiteral("

    \r\n An email with instructions on how to activate your accou" + -"nt is on its way to you.\r\n

    \r\n"); - - - - #line 24 "..\..\Views\Users\Thanks.cshtml" - } -} -else { - - - #line default - #line hidden -WriteLiteral("

    \r\n It looks like you\'ve already confirmed your account and are good" + -" to go.\r\n

    \r\n"); - - - -WriteLiteral("

    \r\n Click on the Upload package link in the menu to start u" + -"ploading packages.\r\n

    \r\n"); - - - - #line 33 "..\..\Views\Users\Thanks.cshtml" -} - - #line default - #line hidden - - } - } -} -#pragma warning restore 1591 diff --git a/Website/Website.csproj b/Website/Website.csproj index 2e41a4d173..2af1724de3 100644 --- a/Website/Website.csproj +++ b/Website/Website.csproj @@ -114,6 +114,7 @@ + @@ -153,8 +154,8 @@ Code - - V1Feeds.svc + + V1Feed.svc Code @@ -250,11 +251,6 @@ - - True - True - ViewHelpers.cshtml - @@ -576,176 +572,6 @@ - - True - True - LogOn.cshtml - - - True - True - ConfirmOwner.cshtml - - - True - True - ContactOwners.cshtml - - - True - True - Delete.cshtml - - - True - True - DisplayPackage.cshtml - - - True - True - Download.cshtml - - - True - True - Edit.cshtml - - - True - True - ListPackages.cshtml - - - True - True - ManagePackageOwners.cshtml - - - True - True - ReportAbuse.cshtml - - - True - True - UploadPackage.cshtml - - - True - True - VerifyPackage.cshtml - - - True - True - _ListPackage.cshtml - - - True - True - Home.cshtml - - - True - True - Privacy.cshtml - - - True - True - Terms.cshtml - - - True - True - Object.cshtml - - - True - True - Error.cshtml - - - True - True - Layout.cshtml - - - True - True - TwoColumnLayout.cshtml - - - True - True - UserDisplay.cshtml - - - True - True - Account.cshtml - - - True - True - ChangePassword.cshtml - - - True - True - Confirm.cshtml - - - ResendConfirmation.cshtml - True - True - - - True - True - Edit.cshtml - - - True - True - ForgotPassword.cshtml - - - True - True - Packages.cshtml - - - True - True - PasswordChanged.cshtml - - - True - True - PasswordSent.cshtml - - - True - True - Profiles.cshtml - - - True - True - Register.cshtml - - - True - True - ResetPassword.cshtml - - - True - True - Thanks.cshtml - @@ -782,7 +608,7 @@ - + @@ -844,134 +670,50 @@ Web.config - - _ViewStart.generated.cs - Always - - - Error.generated.cs - RazorGenerator - - - Confirm.generated.cs - RazorGenerator - - - Thanks.generated.cs - RazorGenerator - - - RazorGenerator - Profiles.generated.cs - - - RazorGenerator - LogOn.generated.cs - - - RazorGenerator - ContactOwners.generated.cs - - - RazorGenerator - DisplayPackage.generated.cs - - - RazorGenerator - ListPackages.generated.cs - - - RazorGenerator - VerifyPackage.generated.cs - - - RazorGenerator - ReportAbuse.generated.cs - - - RazorGenerator - UploadPackage.generated.cs - - - RazorGenerator - _ListPackage.generated.cs - - - RazorGenerator - Home.generated.cs - - - RazorGenerator - Object.generated.cs - - - RazorGenerator - Layout.generated.cs - - - RazorGenerator - UserDisplay.generated.cs - - - RazorGenerator - Account.generated.cs - - - RazorGenerator - Packages.generated.cs - - - RazorGenerator - Register.generated.cs - - - RazorGenerator - ViewHelpers.generated.cs + + + + + + + + + + + + + + + + + + + + + NuGetGallery - - - RazorGenerator - ChangePassword.generated.cs - - - PasswordChanged.generated.cs - RazorGenerator - - - RazorGenerator - ForgotPassword.generated.cs - - - RazorGenerator - PasswordSent.generated.cs - - - RazorGenerator - ResetPassword.generated.cs - - - RazorGenerator - Edit.generated.cs - - - RazorGenerator - Download.generated.cs - - - RazorGenerator - ConfirmOwner.generated.cs - + 1 + + + + + + + + + - - _ViewStart.generated.cs - Always - + + + + + + + - RazorGenerator - ResendConfirmation.generated.cs @@ -1004,33 +746,8 @@ T4MVC.cs - - Delete.generated.cs - RazorGenerator - - - Edit.generated.cs - RazorGenerator - - - Terms.generated.cs - RazorGenerator - - - Privacy.generated.cs - RazorGenerator - - - ManagePackageOwners.generated.cs - RazorGenerator - - - TwoColumnLayout.generated.cs - RazorGenerator - - @@ -1063,4 +780,5 @@ + \ No newline at end of file