Commit 619bede
authored
Merge pull request #6412 from NuGet/dev
* Update bootstrap dependencies (#6325)
Addresses https://github.com/NuGet/Engineering/issues/1634
* Simplify the security policy service to have 1 handler list for all accounts (#6330)
* Set-StrictMode in build script (#6338)
* Add member/add owner/transform to org fails with specific message if email is input instead of username (#6329)
* Move admin pages to redesigned layout and remove unused scripts (#6323)
* Use strong name version of third party dependencies (#6337)
Progress on https://github.com/NuGet/Engineering/issues/1577
Address #3849
Copy in ServiceResponse from NuGet.Services.Platform to eliminate a dependency
* Typosquatting: add typosquatting check service codes (#6315)
Add the codes of typosquatting algorithms and retrieve the latest owner list info.
1. Typosquatting check service with distance calculation and comparison;
2. Normalize the string before checking;
3. Call `public bool IsDistanceLessThanThreshold(string str1, string str2, int threshold)` to compare two strings; (changed to private)
4. Call `public bool IsUploadedPackageIdTyposquatting(string uploadedPackageId)` to check typosquatting in the checlist.
Fixes: https://github.com/NuGet/Engineering/issues/1593
* Validation warnings for repository URLs (#6335)
* works
* improve log
* PR comments
* Fix comments
* bug fix
* repo url warnings
* add UT
* align
* Update _VerifyMetadata.cshtml
Fixed: issue**s**(s) to issue(s)
* PR feedback
* support explicit 443 port for github
* fix build
* Add MicroBuild dependency and signing of output DLLs (#6344)
Progress on https://github.com/NuGet/Engineering/issues/1577
* Gallery: enable blocking packages with too many package entries (#6358)
Progress on #6357.
* Fix PackageRef dependencies
* PR feedback
* Add max-age for the symbol packages (#6343)
* Fix repo url validation message UI (#6366)
* tablist is not under a menubar (#6345)
* Log search service exceptions encountered during retry (#6232)
* Typo squatting checklist retrieval (#6361)
* Typo squatting checklist retrieval
* refactor and delete PackagesCheckListService
* update codes based on the review
* Change linq and Delete concurrent dictionary for normalized Ids
* Update index migration files and Fix issues in reviews
* include ID in the index
* Delete unnecessary codes in Facts
* Fix threshold
* Add tool to verify the clear-text of an API key (#6383)
* Additional copyright values for auto-add MSFT feature (#6376)
* Additional copyright values for auto-add MSFT feature #1664
* Removing support for a specific copyright value in MicrosoftTeamSubscription
* improve test readability
* Fix inconsistent messaging around expired legacy API key (#6384)
Address #6318
* Add BlockSearchEngineIndexing to allow site-wide search engine blocking (#6385)
Progress on #6381
* Fix incorrect pending revalidation count (#6382)
Fixes #6362
Depends on NuGet/ServerCommon#190
* Telemetry metrics for symbol push. (#6372)
* Add gallery telemetry metrics for the symbol push.
* ApiController actions should not throw exceptions when called with an unparseable version (#6089)
* Typosquatting: finish configuration file and feature flags (#6390)
* Typosquatting: finish configuration file and feature flags
* Update unit tests
* Update
* update unit tests
* Transform Project Url scheme to HTTPs for known domains (#6398)
* Transform Project Url scheme to HTTPs for known domains
* PR feedback
* Add telemetry for auto-add package owner feature (#6374)
* Fix msa login account selection (#6400)
* [NuGet Symbol Server]Symbols validation status view (#6407)
* Obfuscate secret tokens in logging (#6399)
Issue 1670 fix - obfuscate secret tokens.
* Covert to https URLs in known domains in release notes, description (#6408)
* Covert to https URLs in known domains in release notes, description
* another UT
* PR comments216 files changed
Lines changed: 3679 additions & 21993 deletions
File tree
- src
- Bootstrap
- GalleryTools
- Commands
- NuGet.Services.Search.Client
- Client
- NuGetGallery.Core
- Packaging
- Services
- NuGetGallery
- App_Code
- App_Data/Files/Content
- App_Start
- Areas/Admin
- Controllers
- DynamicData
- Services
- Views
- Config
- DeleteAccount
- Delete
- Home
- LockPackage
- Lucene
- ReservedNamespace
- Revalidation
- SecurityPolicy
- SupportRequest
- Validation
- Authentication/Providers/AzureActiveDirectoryV2
- Branding/Views
- Configuration
- Content
- font-awesome
- font
- Controllers
- Extensions
- Helpers
- Infrastructure/Lucene
- Migrations
- Properties
- Queries
- Scripts
- gallery
- Security
- Services
- Telemetry
- ViewModels
- Views
- Authentication
- CuratedFeeds
- CuratedPackages
- Errors
- Organizations
- Packages
- Pages
- Statistics
- Users
- tests
- NuGetGallery.Core.Facts
- Packaging
- Services
- NuGetGallery.Facts
- Controllers
- Extensions
- Framework
- Helpers
- SearchClient
- Security
- Services
- Telemetry
- TestUtils
- ViewModels
- Views/Packages
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
99 | 101 | | |
100 | 102 | | |
101 | 103 | | |
| |||
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
113 | | - | |
| 115 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
| 92 | + | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | | - | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
94 | 100 | | |
95 | 101 | | |
96 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
58 | 57 | | |
59 | 58 | | |
60 | 59 | | |
61 | | - | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
0 commit comments