Skip to content

Commit 5b7c505

Browse files
Merge pull request #7229 from NuGet/dev
RI : dev -> master
2 parents 895a03e + 7874298 commit 5b7c505

162 files changed

Lines changed: 6043 additions & 314 deletions

File tree

Some content is hidden

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

NuGetGallery.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NuGet.Services.DatabaseMigr
3636
EndProject
3737
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NuGet.Services.DatabaseMigration.Facts", "tests\NuGet.Services.DatabaseMigration.Facts\NuGet.Services.DatabaseMigration.Facts.csproj", "{082357A1-682E-4CCC-8FCD-FA250204CDB6}"
3838
EndProject
39+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NuGetGallery.Services", "src\NuGetGallery.Services\NuGetGallery.Services.csproj", "{C7D5E850-33FA-4EC5-8D7F-B1C8DD5D48F9}"
40+
EndProject
3941
Global
4042
GlobalSection(SolutionConfigurationPlatforms) = preSolution
4143
Debug|Any CPU = Debug|Any CPU
@@ -82,6 +84,10 @@ Global
8284
{082357A1-682E-4CCC-8FCD-FA250204CDB6}.Debug|Any CPU.Build.0 = Debug|Any CPU
8385
{082357A1-682E-4CCC-8FCD-FA250204CDB6}.Release|Any CPU.ActiveCfg = Release|Any CPU
8486
{082357A1-682E-4CCC-8FCD-FA250204CDB6}.Release|Any CPU.Build.0 = Release|Any CPU
87+
{C7D5E850-33FA-4EC5-8D7F-B1C8DD5D48F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
88+
{C7D5E850-33FA-4EC5-8D7F-B1C8DD5D48F9}.Debug|Any CPU.Build.0 = Debug|Any CPU
89+
{C7D5E850-33FA-4EC5-8D7F-B1C8DD5D48F9}.Release|Any CPU.ActiveCfg = Release|Any CPU
90+
{C7D5E850-33FA-4EC5-8D7F-B1C8DD5D48F9}.Release|Any CPU.Build.0 = Release|Any CPU
8591
EndGlobalSection
8692
GlobalSection(SolutionProperties) = preSolution
8793
HideSolutionNode = FALSE
@@ -97,6 +103,7 @@ Global
97103
{DCED7162-A24C-4579-96C8-544BFAF4C305} = {2204C510-A559-4ED7-9590-FDC09093575B}
98104
{F4C8C34F-72A9-4773-A315-8FA3F2D5CE4E} = {155100FF-524B-4CAF-93C6-A57478B3DBAD}
99105
{082357A1-682E-4CCC-8FCD-FA250204CDB6} = {39E54EC3-CBAA-453A-BE64-748FE1559A58}
106+
{C7D5E850-33FA-4EC5-8D7F-B1C8DD5D48F9} = {155100FF-524B-4CAF-93C6-A57478B3DBAD}
100107
EndGlobalSection
101108
GlobalSection(ExtensibilityGlobals) = postSolution
102109
SolutionGuid = {064A3BDE-5203-4AD6-A6C9-5CF08301EC8F}

build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ Invoke-BuildStep 'Set version metadata in AssemblyInfo.cs' {
7979
$Paths = `
8080
(Join-Path $PSScriptRoot "src\NuGetGallery\Properties\AssemblyInfo.g.cs"), `
8181
(Join-Path $PSScriptRoot "src\NuGetGallery.Core\Properties\AssemblyInfo.g.cs"), `
82+
(Join-Path $PSScriptRoot "src\NuGetGallery.Services\Properties\AssemblyInfo.g.cs"), `
8283
(Join-Path $PSScriptRoot "src\NuGet.Services.Entities\Properties\AssemblyInfo.g.cs"), `
8384
(Join-Path $PSScriptRoot "src\NuGet.Services.DatabaseMigration\Properties\AssemblyInfo.g.cs"), `
8485
(Join-Path $PSScriptRoot "src\DatabaseMigrationTools\Properties\AssemblyInfo.g.cs")

src/Bootstrap/Gruntfile.js

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,23 @@ module.exports = function (grunt) {
165165
expand: true,
166166
src: 'fonts/**',
167167
dest: 'dist/'
168+
},
169+
gallerycss: {
170+
expand: true,
171+
cwd: 'dist/css/',
172+
src: [
173+
'bootstrap.css',
174+
'bootstrap-theme.css'
175+
],
176+
dest: '../NuGetGallery/Content/gallery/css/'
177+
},
178+
galleryjs: {
179+
expand: true,
180+
cwd: 'dist/js/',
181+
src: [
182+
'bootstrap.js'
183+
],
184+
dest: '../NuGetGallery/Scripts/gallery/'
168185
}
169186
},
170187

@@ -187,10 +204,10 @@ module.exports = function (grunt) {
187204
grunt.registerTask('dist-css', ['less:core', 'less:theme', 'postcss:core', 'postcss:theme', 'cssmin:core', 'cssmin:theme']);
188205

189206
// Full distribution task.
190-
grunt.registerTask('dist', ['clean:dist', 'dist-css', 'copy:fonts', 'dist-js']);
207+
grunt.registerTask('dist', ['clean:dist', 'dist-css', 'copy:fonts', 'dist-js', 'copy:gallerycss', 'copy:galleryjs']);
191208

192209
// Default task.
193-
grunt.registerTask('default', ['clean:dist', 'copy:fonts', 'dist-css', 'dist-js']);
210+
grunt.registerTask('default', ['clean:dist', 'copy:fonts', 'dist-css', 'dist-js', 'copy:gallerycss', 'copy:galleryjs']);
194211

195212
grunt.registerTask('build-glyphicons-data', function () {
196213
generateGlyphiconsData.call(this, grunt);

src/Bootstrap/dist/css/bootstrap-theme.css

Lines changed: 57 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bootstrap/less/theme/all.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
@import "page-profile.less";
2727
@import "page-report-abuse.less";
2828
@import "page-reset-password.less";
29+
@import "page-search-sxs.less";
2930
@import "page-sign-in.less";
3031
@import "page-statistics-most-downloaded.less";
3132
@import "page-statistics-overview.less";

src/Bootstrap/less/theme/base.less

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ body {
7070
.container {
7171
margin-top: 50px;
7272
margin-bottom: 50px;
73+
74+
// This is a workaround for the following bug:
75+
// https://github.com/microsoft/accessibility-insights-web/issues/692
76+
background-color: @panel-footer-bg;
7377
}
7478

7579
a {
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
.page-search-sxs {
2+
h1 {
3+
font-size: @font-size-h2;
4+
border-bottom: 1px solid lightgray;
5+
}
6+
7+
h2 {
8+
font-size: @font-size-h3;
9+
margin-top: 0;
10+
}
11+
12+
.list-packages .package {
13+
padding-top: 0;
14+
}
15+
16+
.list-packages .package .package-details,
17+
.list-packages .package .package-list,
18+
.list-packages .package .package-by {
19+
line-height: 16px;
20+
font-size: 13px;
21+
}
22+
23+
.list-packages .package .package-details,
24+
.list-packages .package .package-list {
25+
white-space: nowrap;
26+
overflow: hidden;
27+
text-overflow: ellipsis;
28+
29+
li {
30+
display: inline;
31+
}
32+
}
33+
34+
.list-packages .package .package-list {
35+
margin-top: 4px;
36+
margin-bottom: 4px;
37+
38+
li + li {
39+
margin-left: @padding-small-horizontal;
40+
padding-left: @padding-small-horizontal;
41+
border-left-style: solid;
42+
border-width: 1px;
43+
border-color: @gray-lighter;
44+
}
45+
}
46+
47+
.list-packages .package .package-header .reserved-indicator {
48+
width: 15px;
49+
}
50+
51+
.radio label {
52+
margin-right: 30px;
53+
}
54+
55+
.list-packages .package .package-header .package-title {
56+
font-size: 20px;
57+
}
58+
59+
.col-package-icon {
60+
padding-right: 0;
61+
}
62+
63+
.package .package-legacy-title {
64+
display: none;
65+
}
66+
67+
.panel-body p:last-child {
68+
margin-bottom: 0;
69+
}
70+
}

src/DatabaseMigrationTools/DatabaseMigrationTools.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@
9696
<Version>4.1.0-master-2602271</Version>
9797
</PackageReference>
9898
<PackageReference Include="NuGet.Services.Configuration">
99-
<Version>2.46.0</Version>
99+
<Version>2.49.0</Version>
100100
</PackageReference>
101101
<PackageReference Include="NuGet.Services.Validation">
102-
<Version>2.47.0-master-2652814</Version>
102+
<Version>2.49.0</Version>
103103
</PackageReference>
104104
</ItemGroup>
105105
<ItemGroup>

src/DatabaseMigrationTools/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System;
55
using System.Reflection;
66
using System.Resources;
7-
using System.Runtime.CompilerServices;
87
using System.Runtime.InteropServices;
98

109
[assembly: AssemblyTitle("DatabaseMigrationTools")]

src/GalleryTools/GalleryTools.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767
<Project>{097b2cdd-9623-4c34-93c2-d373d51f5b4e}</Project>
6868
<Name>NuGetGallery.Core</Name>
6969
</ProjectReference>
70+
<ProjectReference Include="..\NuGetGallery.Services\NuGetGallery.Services.csproj">
71+
<Project>{c7d5e850-33fa-4ec5-8d7f-b1c8dd5d48f9}</Project>
72+
<Name>NuGetGallery.Services</Name>
73+
</ProjectReference>
7074
<ProjectReference Include="..\NuGetGallery\NuGetGallery.csproj">
7175
<Project>{1dacf781-5cd0-4123-8bac-cd385d864be5}</Project>
7276
<Name>NuGetGallery</Name>

0 commit comments

Comments
 (0)