Commit Graph

39960 Commits

Author SHA1 Message Date
Steve Sanderson a03cb48c7a When compiling Razor components, take base namespace from host project 2018-01-14 14:40:57 +00:00
Steve Sanderson a32b857d96 When compiling Razor files, generate namespace based on directory path 2018-01-14 14:35:13 +00:00
ASP.NET CI f59db6a63d Updating submodule(s)
MvcPrecompilation => d686acad87

[auto-updated: submodules]
2018-01-13 19:08:13 -08:00
Ryan Nowak d686acad87 Avoid use of AssemblyQualifiedName in tests
The type name generated by Razor is an implementation detail and
shouldn't be used in tests outside of the Razor repo. Testing that the
assembly name is correct should be enough to validate what we need for
these tests.
2018-01-13 18:24:50 -08:00
hishamco 2fe9fb4707 WIP 2018-01-13 23:34:43 +03:00
ASP.NET CI 54c12819e1 Updating submodule(s)
MvcPrecompilation => c3dedd9feb

[auto-updated: submodules]
2018-01-13 20:11:40 +00:00
Ryan Nowak c3dedd9feb update deps 2018-01-13 12:06:00 -08:00
ASP.NET CI db652b8256 Updating submodule(s)
Razor => d1984aa44b

[auto-updated: submodules]
2018-01-13 06:36:45 +00:00
Ryan Nowak d1984aa44b Add hook for precompilation 2018-01-12 21:24:15 -08:00
ASP.NET CI 613e502e30 Updating submodule(s)
Razor => 14cea3c1b9

[auto-updated: submodules]
2018-01-13 05:16:52 +00:00
Ryan Nowak 14cea3c1b9 Move properties 2018-01-12 21:11:28 -08:00
Ryan Nowak f0c3843a5b Implment support for publish 2018-01-12 21:11:28 -08:00
Ryan Nowak 07a63d2ddd Add tests for RazorCompile target
This target should be callable on its own without using Build so it
deserves a few tests.
2018-01-12 21:11:28 -08:00
Ryan Nowak e0d876deb9 Skip flaky test on OSX 2018-01-12 21:01:12 -08:00
ASP.NET CI 1e8783ddf6 Updating submodule(s)
Razor => 2555c5bab1

[auto-updated: submodules]
2018-01-13 03:11:10 +00:00
Ryan Nowak 2555c5bab1 WIP 2018-01-12 19:05:46 -08:00
ASP.NET CI ce3d57be0e Updating submodule(s)
Razor => f025a27f04

[auto-updated: submodules]
2018-01-13 02:02:46 +00:00
N. Taylor Mullen f025a27f04 Unify how AdhocWorkspace is constructed.
- Created a new `TestWorkspace` type to lock on `AdhocWorkspace` construction. This type can't be constructed/changed in parallel.
- Updated test usages of `AdhocWorkspace` to make use of `TestWorkspace`.
- Added a `Microsoft.CodeAnalysis.Razor.Workspaces.Test.Common` project to have the `TestWorkspace` type.

#1913
2018-01-12 17:54:53 -08:00
Ajay Bhargav Baaskaran d238c0dcfc Some pre-requisites for for Razor build server 2018-01-12 17:42:52 -08:00
ASP.NET CI 07431679e5 Updating submodule(s)
KestrelHttpServer => e6bb551018
Mvc => 946b64143e

[auto-updated: submodules]
2018-01-13 01:11:38 +00:00
Javier Calvarro Nelson e6bb551018 Adds support for loading the developer certificate from a pfx file
* If we can't find a developer certificate on the certificate store
  we will look for a developer certificate on the file system if a
  password has been specified for the Development certificate.
* We will look at ${APPDATA}/ASP.NET/https/<<AppName>>.pfx for windows
  and fallback to ${HOME}/.aspnet/https/<<AppName>>.pfx
* In case the password wasn't specified through configuration, the file
  is not found on the file system or can't be loaded, we won't
  do anything.
2018-01-12 16:32:06 -08:00
Pranav K 946b64143e Allow override routes on Pages
Fixes #6605
2018-01-12 15:57:13 -08:00
ASP.NET CI 326a38eec2 Updating submodule(s)
KestrelHttpServer => 1bce01cb9c
Mvc => 094b61dfc6
Razor => ecb323b5dc

[auto-updated: submodules]
2018-01-12 23:53:26 +00:00
Pranav K 094b61dfc6 Refactor PageRouteModel generation 2018-01-12 15:44:23 -08:00
Pranav K ecb323b5dc Use FilePath if RelativePhysicalPath on RazorProjectItem is null 2018-01-12 15:19:01 -08:00
Nate McMaster 1bce01cb9c Respect NoBuild from /t:StressTest 2018-01-12 14:47:52 -08:00
ASP.NET CI 6dc277bb7e Updating BuildTools from 2.1.0-preview1-15669 to 2.1.0-preview1-15670
[auto-updated: buildtools]
2018-01-12 14:36:27 -08:00
ASP.NET CI f280f09861 Updating submodule(s)
BasicMiddleware => 726035e3fb
DotNetTools => d4adf14819
Mvc => 66c13ae5e5
Razor => 8c7c486641

[auto-updated: submodules]
2018-01-12 14:36:08 -08:00
Nate McMaster 8c7c486641 Update build tools to 2.1.0-preview1-15670 and update list of exclusions for Razor.Design 2018-01-12 14:29:59 -08:00
Ryan Nowak 6bab1c682d Fix a build break introduced by new SDK
This is failing on the CI due to an issue with a newer build of the SDK.
I opened https://github.com/dotnet/sdk/issues/1854 to track the SDK bug.

- update korebuild
- upgrade deps
- remove System.Diagnostics.DiagnosticSource from test projects
2018-01-12 14:22:00 -08:00
Justin Kotalik 726035e3fb
Allow null SeverAddressFeature in Redirection Middleware (#289) 2018-01-12 13:20:06 -08:00
Jass Bagga 66c13ae5e5
Use weak comparison for If-None-Match header (#7237) 2018-01-12 12:40:51 -08:00
Nate McMaster d4adf14819 Update exclusions for nuget package verifier 2018-01-12 12:32:30 -08:00
ASP.NET CI 3e832370bd Updating submodule(s)
Antiforgery => e5de4e672c
EntityFrameworkCore => d7c350faaeace555c727a9b7cc38298e51d1cb46
Identity => e44cba9b75

[auto-updated: submodules]
2018-01-12 19:31:31 +00:00
Pranav K e44cba9b75 Split showing and generating recovery codes 2018-01-12 11:10:39 -08:00
Pranav K ce88212f49 Use AuthenticatorUrl generated on the server in EnableAuthenticator pages 2018-01-12 11:08:28 -08:00
Kiran Challa e5de4e672c Marked Antiforgery cookie as essential
Related to https://github.com/aspnet/Home/issues/2408 : Determine if the antiforgery cookie is considered essential
2018-01-12 11:06:47 -08:00
Brice Lambson 386c3f4664 Update EF Core submodule 2018-01-12 10:53:00 -08:00
ASP.NET CI c53fb9e877 Updating submodule(s)
EntityFrameworkCore => e1fcb3a4720f1ebc725d2ea1099655bebaafb42a
SignalR => a862959566

[auto-updated: submodules]
2018-01-12 10:16:21 -08:00
BrennanConroy a862959566
Support stream cancellation on TS client (#1275) 2018-01-12 10:10:51 -08:00
Nate McMaster 230e4a02ef
Split compilation and tests into separate phases (#779)
* Split compilation and tests into separate phases
* Ensure template tests are skipped, and reduce duplication between test/build repo targets
* Show summary at the end of which repos failed
2018-01-12 09:46:36 -08:00
Steve Sanderson 654c16fb44 Begin unit tests for RazorCompiler 2018-01-12 15:08:10 +00:00
ASP.NET CI 15b458602a Updating submodule(s)
Mvc => 91fb3eb41e

[auto-updated: submodules]
2018-01-12 14:27:17 +00:00
Kiran Challa 91fb3eb41e Changed CookieTempDataProvider's cookie SameSite to Lax
[Fixes #7190] Can not retrieve cookie-based TempData after Google authentication with account selection in Google Chrome
2018-01-12 06:20:10 -08:00
Steve Sanderson f8cbed2326 Update unit tests to reflect updated Mono BCL. Much of this will disappear once we start optimizing the BCL. 2018-01-12 14:16:41 +00:00
hishamco 29f7e4bd62 Add a builder API for configuring UseRequestLocalization 2018-01-12 17:08:32 +03:00
Steve Sanderson 42a79ba8e6 Fix tests affected by recent refactoring 2018-01-12 13:07:16 +00:00
Ryan Nowak d342ebf8c8 Use compatibility switch for auth filters 2018-01-11 17:42:32 -08:00
ASP.NET CI 89c3eabf1a Updating submodule(s)
EntityFrameworkCore => a26d3984be9a132ceae731a1a3e0681ed46bfd69

[auto-updated: submodules]
2018-01-11 17:33:05 -08:00
ASP.NET CI 579720234c Updating submodule(s)
EntityFrameworkCore => 677dc7a6e5d481e73e587e3cc458f436e27e82b1

[auto-updated: submodules]
2018-01-12 00:16:19 +00:00