Nate McMaster
2789507808
Disable flaky test ProcessAsync_WorksForNestedCacheTagHelpers
2017-12-11 11:49:13 -08:00
N. Taylor Mullen
7cea779b7a
Update JsonHelper to escape HTML.
...
- This functionality can be disabled by setting the `Switch.Microsoft.AspNetCore.Mvc.AllowJsonHtml` switch in an app.config.
- Updated tests to react to this new behavior.
- Exposed a new `PublicSerializerSettings` property on `JsonOutputFormatter` so we can accurately copy settings from the used output formatter in `JsonHelper`.
2017-12-07 16:12:43 -08:00
Nate McMaster
82fd1c51c7
Bump version to 2.0.2
2017-12-06 16:25:12 -08:00
Nate McMaster
f8789f5d5c
Update build tools to 2.0.2-rc1-15526 and dependencies to 2.0.1-rtm-105
2017-10-13 13:12:14 -07:00
Nate McMaster
3bfb023679
Update how PackageReference versions are set
...
Changes:
- Remove floating versions
- Disable myget feeds during a Universe build
- Use package-specific MSBuild variables. Pattern = `packageId.Pascalize() + "PackageVersion"`, with a few exceptions.
2017-10-09 11:11:24 -07:00
Sébastien Ros
c4400d22d4
Port fix for URL helper redirect ( #6916 )
...
Fixes #6910
2017-10-05 11:24:36 -07:00
Nate McMaster
bf7c9e053e
Use MSBuild to set NuGet feeds instead of NuGet.config
2017-10-02 14:13:16 -07:00
Nate McMaster
fb142f0b24
Import dependencies.props last to ensure TargetFramework is set first
2017-09-29 17:02:30 -07:00
Jass Bagga
bd8b4d86df
Port fix for #6875 : Only set Content-Length when serving body ( #6888 )
...
Addresses #6887
2017-09-25 16:01:15 -07:00
Javier Calvarro Nelson
1ca5884388
Merge tag 'refs/tags/rel/2.0.0' into javiercn/rel/2.0.1
2017-09-25 13:23:18 -07:00
Javier Calvarro Nelson
562e0234d6
Add MVC 2.0 baselines
2017-09-25 13:01:21 -07:00
Nate McMaster
4678e7ca60
Update build scripts, tools, and dependencies for 2.0.x
2017-09-20 17:23:23 -07:00
Nate McMaster
a94e4df01a
Update the list of packages patching in 2.0.x
2017-09-20 13:41:03 -07:00
Ryan Brandenburg
f7e8efce37
Update bootstrappers
2017-09-19 15:26:46 -07:00
Pranav K
127d23a022
Parse LanguageVersion correctly
...
Fixes https://github.com/aspnet/Mvc/issues/6611
2017-09-19 13:38:40 -07:00
Doug Bunting
fd9cb08790
Add Switch.Microsoft.AspNetCore.Mvc.UseDateTimeTypeForDateTimeOffset quirks mode
...
- patch recipients can use switch to undo the #6648 fix
2017-09-18 15:13:43 -07:00
Doug Bunting
6041c6b966
Auto-select `type="text"` for `DateTimeOffset` values
...
- cherry-picked from 7e4a8fe in dev
- #6648
- a different take on #4871
- `DateTime` can also round-trip `DateTimeKind.UTC` with `[DataType("datetimeoffset")]` or `[UIHint("datetimeoffset")]`
- since they're now handled differently by default, add more `DateTime` tests
- expand tests involving `Html5DateRenderingMode.CurrentCulture`
nits: make VS-suggested changes to files updated in this PR
2017-09-18 15:13:33 -07:00
Pranav K
9f5e4eb483
Allow "page" route parameter to be used in Mvc controllers
...
Fixes #6660
2017-09-18 15:02:13 -07:00
Nate McMaster
8697f2b271
Update package feeds and dependencies for 2.0.1 ( #6843 )
2017-09-18 12:43:00 -07:00
Jass Bagga
b3aa691549
Add EnableRangeProcessingSwitch for FileContentResult and Fil… ( #6839 )
...
Addresses #6792
2017-09-18 10:57:49 -07:00
Nate McMaster
13e29e2d1e
Bump version to 2.0.1
2017-09-15 17:56:37 -07:00
Pranav K
c13cef6a74
Injecting IViewLocalizer into Razor Page causing IndexOutOfRangeException
...
Fixes #6694
2017-09-15 15:58:32 -07:00
Pranav K
3e8da43279
Pinning versions for 2.0.0
2017-08-17 15:00:47 -07:00
Javier Calvarro Nelson
f2a8c1cea7
Refactor CORS support out of MVC Core
2017-08-14 11:40:56 -07:00
Pranav K
2ef26486dd
Add global filters with the right scope
...
Previously global filters were added to the page application model with Action scope. This
would have resulted in incorrect ordering of filters during execution. We'll instead add
global filters separately with the right scope. #6579 will be used to express global filters
as part of the application model.
2017-07-21 14:02:07 -07:00
Pranav K
a5b55edb93
Fix filter order ( #6577 )
...
* Fix filter order
2017-07-21 10:50:34 -07:00
Hao Kung
36e24b7a31
Fix AuthZ Regression ( #6574 )
2017-07-20 21:18:53 -07:00
Mike Harder
161b6e7b94
Update Roslyn to 2.3.1 ( #6571 )
2017-07-20 10:48:37 -07:00
Pranav K
e65e647867
Add empty baselines to suppress api check
2017-07-19 13:18:09 -07:00
Pranav K
843d9820e2
Add breakingchanges.netcore.json for Microsoft.AspNetCore.Mvc.Razor
2017-07-18 09:23:53 -07:00
Pranav K
81fa9c8fcf
Increase wait timeouts for flaky tests ( #6548 )
...
* Increase wait timeouts for flaky tests
Fixes #6540
2017-07-17 16:40:06 -07:00
Ryan Nowak
c9f506d4ea
Fix #6542 - correct namespace of [TempData]
2017-07-14 10:49:15 -07:00
Pranav K
998547839e
Ensure IPageApplicationModelProviders are invoked in the sequence of their Order
...
Fixes #6536
2017-07-14 10:11:53 -07:00
Mike Harder
f94605df47
Update FSharp.Core and FSharp.NET.Sdk to latest ( #6538 )
2017-07-12 18:07:01 -07:00
Mike Harder
693d116481
Enable AppVeyor for release branches ( #6539 )
2017-07-12 17:26:13 -07:00
Pranav K
308d64277e
Update to Roslyn 2.3.0
2017-07-12 07:58:46 -07:00
Javier Calvarro Nelson
c43da19ff1
Do not add the configuration for CacheTagHelperOptions to the container multiple times
2017-07-10 19:10:04 -07:00
Javier Calvarro Nelson
0c07e1e725
[ Fixes #6522 ] Commit cache entries only when the content gets successfully generated
2017-07-10 18:18:32 -07:00
Mike Harder
5fe09f9df4
Upgrade Roslyn to 2.3.0-beta4-* ( #6523 )
2017-07-10 17:28:40 -07:00
Javier Calvarro Nelson
ca08b0e06b
Add breakingchanges.json for tag helpers
2017-07-10 15:52:33 -07:00
Javier Calvarro Nelson
3d76fdf086
Private cache for cache tag helper and distributed cache tag helper
2017-07-10 15:00:19 -07:00
Pranav K
65fce8dd65
Updating KoreBuild branch
2017-07-10 11:57:59 -07:00
Pranav K
03c32b79b3
Branching for 2.0.0 rtm
2017-07-10 11:44:51 -07:00
Javier Calvarro Nelson
9f60b42476
Change version suffix for Testing package
2017-07-10 10:24:07 -07:00
John Luo
492f820cf7
Missed caching API updates
2017-07-07 22:06:20 -07:00
John Luo
9ebece44e0
Reacting to caching API updates
2017-07-07 21:22:49 -07:00
Jass Bagga
b4fe715c71
Revert breaking change ( #6519 )
...
Addresses #6518
2017-07-07 17:09:36 -07:00
Ryan Brandenburg
9e2f8b7cb5
Comment on remaining PackageTargetFallbacks
2017-07-07 15:01:07 -07:00
Javier Calvarro Nelson
e1c1682065
Testing infrastructure cleanup
2017-07-07 13:18:42 -07:00
Ryan Nowak
f80f7cefa5
Fix #6480
...
This change logs when we encounter and exception reading temp data from a
cookie and swallows the exception. Additionally, we clear the cookie so
that this won't happen on subsequent requests.
This will handle cases where data protection is misconfigured, or a
request just has general garbage in the cookies.
2017-07-07 13:14:03 -07:00