Commit Graph

12950 Commits

Author SHA1 Message Date
Javier Calvarro Nelson 7f53f7e95b [Platform] Detect and fix certificates with potentially inaccessible keys on Mac OS (2.1) (#17560)
* [Https] Detects and fixes HTTPS certificates where the key is not guaranteed to be accessible across security partitions

* Fix dotnet dev-certs https --check

* Update logic for detecting missing certs

* Fix security command

* Update warning logic

* Check that the key is accessible in Kestrel

* Add correct link to docs

* Update src/Tools/dotnet-dev-certs/src/Program.cs

Co-Authored-By: Daniel Roth <daroth@microsoft.com>

* Update src/Tools/dotnet-dev-certs/src/Program.cs

Co-Authored-By: Daniel Roth <daroth@microsoft.com>

* Add test for 2.1

* Update src/Tools/dotnet-dev-certs/src/Program.cs

Co-Authored-By: Chris Ross <Tratcher@Outlook.com>

* Address feedback

* Fix non-interctive path

* Fix tests

* Remove a couple of test from an unshipped product

* Check only for certificates considered valid

* Switch the exception being caught, remove invalid test

Co-authored-by: Daniel Roth <daroth@microsoft.com>
Co-authored-by: Chris Ross <Tratcher@Outlook.com>
2020-01-15 22:54:11 -08:00
Chris Ross 8211a1c313 [2.1] CookieChunkingManager needs to flow the Secure attribute… (#17953) 2020-01-15 11:07:15 -08:00
Brennan 164ddfd48b Fix flaky LongPolling tests (#14395) 2020-01-15 11:06:16 -08:00
John Luo 183a09f763 Update branding to 2.1.16 2020-01-14 14:42:47 -08:00
Brennan Conroy 07579555be Merged PR 2918: Cancel Sends if they take too long 2019-11-22 23:28:28 +00:00
John Luo 147f950686
Update branding to 2.1.15 (#17273) 2019-11-20 17:10:59 -08:00
Brennan Conroy 57e68b069e Merged PR 3557: Revert "Wait to Complete Pipe" 2019-10-11 01:46:11 +00:00
Brennan Conroy 7fd42c4e94 Merged PR 3115: Wait to Complete Pipe
Fixed the `PipeWriterStream` to properly detect a canceled write and throw an `OperationCanceledException` in those cases. And making sure `Complete` is called in a safe manner by ensuring it is in a lock so writes can't be in-progress.
2019-10-10 04:41:00 +00:00
Chris Ross f198e559f8 [2.1] Re-implement SameSite for 2019 (#13746)
* Re-implement SameSite for 2019 #12125

* Rename compat flag

* Use Microsoft.AspNetCore.SuppressSameSiteNone compat key

* Backport CookiePolicy quirk and sample

* Patch config
2019-10-03 14:37:24 -07:00
Doug Bunting 82c42d58ae Update branding to 2.1.14
- aspnet/AspNetCore-Internal#3153
2019-09-23 22:45:27 -07:00
Steve Sanderson d49d7d7e0a Merged PR 2262: Fix encoding used in JS generated by prerenderer
Fix encoding used in JS generated by prerenderer
2019-08-08 22:24:48 +00:00
Mikael Mengistu fd023a6698 Merged PR 2157: Bump version of Microsoft.Data.OData to 5.8.4
Bump version of Microsoft.Data.OData to 5.8.4

Work item: https://dev.azure.com/dnceng/internal/_workitems/edit/222/
2019-07-19 15:38:28 +00:00
Justin Kotalik 010fdeac8e Generate VS nuget package for 2.1 (#11616) 2019-07-16 08:26:29 -07:00
Ryan Brandenburg c8fc054096 Version the SPA template package [release/2.1] (#11774)
* Version the SPA template package

* Update src/Templating/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/Microsoft.DotNet.Web.Spa.ProjectTemplates.csproj

* Fix templates
2019-07-12 11:45:46 -07:00
Doug Bunting 59d43346e6
Update branding to 2.1.12 (#12096)
* also improve PreparingPatchUpdates.md
  - document changes to dependencies.props
  - reflect changes in how Templating is handled
    - e.g. use EF Core examples
  - nit: adjust indentation to avoid markdown warnings
2019-07-11 15:35:47 -07:00
dotnet-bot 7b0f67689b Merge in 'release/2.1' changes 2019-06-14 20:30:02 +00:00
Justin Kotalik f74ca433b4 Always include ANCM in build output (#11199) 2019-06-14 13:29:00 -07:00
dotnet-bot 800f380325 Merge in 'release/2.1' changes 2019-06-11 21:36:23 +00:00
Pranav K d805ee112b Make the test input a bit more reasonable (#11096)
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/2626
2019-06-11 14:35:19 -07:00
Chris Ross (ASP.NET) c2bb354675 Merged PR 1480: [2.1] HttpSys path normalization
This takes PathNormalizer from Kestrel to normalize the request path and prevent traversals. (e.g. "/./" and "/../").

In 2.1 only HttpSys was affected. In 2.2 HttpSys and IIS-in-proc will share this code (with additional tests). In 3.0 we'll refactor it to use more shared source across all three servers.
2019-06-07 21:20:28 +00:00
John Luo aed62cdd9f
Skip model binding test due to environment changes (#10923) 2019-06-05 15:45:12 -07:00
Nate McMaster 6ab3df58af
Update branding to 2.1.12 (#10865) 2019-06-04 16:58:12 -07:00
Nate McMaster d558350d50
Move updateMigrations.cmd back into its correct subfolder 2019-05-14 10:49:47 -07:00
Nate McMaster fafae36461
Merge changes from 'release/2.1' 2019-04-15 17:02:10 -07:00
Pranav K 836964a653 Don't log action and page handler arguments above Trace level (#9227) 2019-04-15 13:29:07 -07:00
dotnet-bot f70a87ccac Merge in 'release/2.1' changes 2019-04-15 17:51:13 +00:00
Doug Bunting e0a4673e0b
Add missing package archives (#9351)
- not mandatory (it seems) for 2.1 but useful pseudo-documentation
2019-04-15 10:49:43 -07:00
Brennan Conroy 182c48f0b0 Merged PR 891: Update MessagePack dependency
Update MessagePack dependency

Related work items: #142
2019-04-12 17:40:48 +00:00
Pranav K 5424045dac Ensure PackageArchive contains the right build of Razor.Design package (#6992)
* Ensure PackageArchive contains the right build of Razor.Design package

* Re-order values in build\dependencies.props to ensure Razor.Design's package version is
  overwritten.
* Convert additional package refs to project refs

Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1708

* Update CodeCheck.ps1
2019-04-11 17:14:11 -07:00
Stephen Halter 2b80b9fa01 Attempt to make MaxRequestBufferSizeTests.LargeUpload less flaky (#8582)
This is for the release/2.1 branch, but should probably be ported forward to master so the test can be unskipped.

Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1775 (hopefully)
See https://github.com/aspnet/AspNetCore-Internal/issues/1970 for the master version.
2019-03-28 11:42:45 -07:00
Doug Bunting e497f4101f
Update branding to 2.1.10 (#8265) 2019-03-06 19:45:46 -08:00
Pranav K db3795b368
Put MVC's functional tests in a separate test group (#8118)
Possible fix to https://github.com/aspnet/AspNetCore/issues/7313
One of the characteristics of these failures were that the
test took long to run. The build log has warnings for
several long running tests. This might be a result of CPU
contention since mondo-ification that make MVC's functional tests
run with nearly every other test project in the solution
2019-03-01 17:52:50 -08:00
Pranav K a2e6322721
Restore testassets during build to prevent timeouts (#8038)
* Restore testassets during build to prevent timeouts
Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1695
2019-03-01 11:43:03 -08:00
Pranav K 1ca6202e7e
Add some additional logging to ErrorPageMiddlewareWebSite (#8049)
* Add some additional logging to ErrorPageMiddlewareWebSite

DeveloperExceptionMiddleware will log an error if rendering the exception page
throws. The test failure in https://github.com/aspnet/AspNetCore-Internal/issues/1730
suggests that we encountered an error like so but do not have anything further to go by.

This change adds logging to the test so we could identify possible issues
2019-03-01 10:49:54 -08:00
Doug Bunting f8c3f02345
[2.1. test only] Remove checks for Microsoft.VisualStudio.Web.CodeGeneration.Design in templates (#7983)
- see aspnet/AspNetCore-Internal#1759
2019-02-26 16:50:35 -08:00
Doug Bunting 2764ac66b0
Undo "Restore Microsoft.VisualStudio.Web.CodeGeneration.Design references in templates"
- not intended for `release/2.1` without a PR!

This reverts commit 4ed02ebc5c
2019-02-22 11:00:26 -08:00
Doug Bunting 4ed02ebc5c
Restore Microsoft.VisualStudio.Web.CodeGeneration.Design references in templates
- revert part of "Remove aspnet/Scaffolding submodule (#7166)"
- that was commit bb8c6fcd46
2019-02-22 10:58:53 -08:00
Pranav K b2a84b7b5f
Regenerate baselines for precompilation test (#7766)
* Regenerate baselines for precompilation test

Fixes https://github.com/aspnet/AspNetCore-Internal/issues/1822
2019-02-20 15:21:45 -08:00
Ryan Brandenburg bd4af873b0 Fix urls 2019-02-14 17:13:06 -08:00
Ryan Brandenburg 137d2d2357 Fix whitespace 2019-02-14 17:13:06 -08:00
Ryan Brandenburg 6786f97526 Update simpleapp test 2019-02-14 17:13:06 -08:00
Ryan Brandenburg 271e222b51 Update to bootstrap 3.4.1 2019-02-14 17:13:06 -08:00
Ajay Bhargav Baaskaran 4cceccd568
Make Mvc repo folder layout consistent (#7518) 2019-02-13 10:53:39 -08:00
Doug Bunting 5bb5bafbed Update branding to 2.1.9 2019-02-12 19:12:20 -08:00
Doug Bunting bb8c6fcd46
Remove aspnet/Scaffolding submodule (#7166)
- aspnet/AspNetCore-Internal#1341
- remove Scaffolding references from `build/artifacts.props`, `build/buildorder.props`, `build/submodules.props`, and our templates
- add versions for these packages in `build/dependencies.props` to enable their inclusion in the package archives
2019-02-01 10:15:49 -08:00
Chris Ross 31d57a5756
Move Kestrel Sockets tests to their own group (#6869) 2019-01-22 08:58:33 -08:00
Chris Ross 9dee5d7e26
Move identity functional test to their own group (#6865) 2019-01-18 19:29:46 -08:00
Pranav K a65e34bd30 Revert "Revert "Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725)" (#6753)"
This reverts commit 9831238b7c.
2019-01-17 10:02:03 -08:00
Ajay Bhargav Baaskaran ad31f9429d
Fix failing Razor file comparison tests (#6757) 2019-01-16 14:41:50 -08:00
Ajay Bhargav Baaskaran 9831238b7c
Revert "Put Razor.Design.Test and Razor.Language.Test in a different test group (#6725)" (#6753)
This reverts commit 563ff7c639.
2019-01-16 11:06:44 -08:00