Commit Graph

40898 Commits

Author SHA1 Message Date
ryanbrandenburg 6a16681ed4 * Replace MvcMinimalSample with functional test 2015-12-16 15:18:25 -08:00
Victor Hurdugaci dfb033e51c Use nuget add instead of dnu packages add 2015-12-16 15:15:43 -08:00
Andrew Stanton-Nurse e5f42498ac add .build dir to gitignore 2015-12-16 14:42:11 -08:00
Ajay Bhargav Baaskaran 43eb621d19 [Fixes #2743] Removed ErrorReporterMiddleware in some places 2015-12-16 14:39:35 -08:00
Ben Adams 559cd51255 Faster Headers.ClearFast 2015-12-16 22:23:33 +00:00
Ben Adams 9fa9c45eda ReuseStreams config and tests 2015-12-16 21:27:07 +00:00
Ben Adams 841ec73497 Prevent OnComplete modifying Streams 2015-12-16 20:51:45 +00:00
Ben Adams f5e45accac Amortize Stream Costs 2015-12-16 20:51:44 +00:00
Ryan Nowak bf6406bc2a PR feedback 2015-12-16 12:48:03 -08:00
Doug Bunting 3d8225502f Change `HtmlString` to inherit from `HtmlEncodedString`
- part of aspnet/HtmlAbstractions#5 fix
- also extend existing special cases to more general `HtmlEncodedString`
2015-12-16 12:42:13 -08:00
Ryan Nowak ea43ce1bb7 update gitignore 2015-12-16 12:38:21 -08:00
damianedwards 2e8ae969b7 Changed property name based on feedback 2015-12-16 12:11:22 -08:00
Ajay Bhargav Baaskaran 232b27ad5d [Fixes #3430] Removed RouteKeyHandling.CatchAll 2015-12-16 11:57:22 -08:00
Pranav K 7c40759e32 Reacting to Routing changes 2015-12-16 11:49:20 -08:00
Ajay Bhargav Baaskaran ef0ea537e2 Removed CatchAll and Fallback from DecisionTree 2015-12-16 10:52:53 -08:00
Cesar Blum Silveira 349af50977 Pre-allocate standard method and version strings. 2015-12-16 10:47:59 -08:00
Chris R de8c74bb89 Add missing System.Runtime.InteropServices dependency. 2015-12-16 09:14:33 -08:00
Pranav K 2ab24aa0f4 Remove custom url encoding
Fixes #214
2015-12-16 09:06:49 -08:00
Ben Adams 4460cd3470 Don't use Vector<byte>.Dot 2015-12-16 16:24:45 +00:00
Kiran Challa e8ab079b06 Revert "Run functional tets in parallel"
This reverts commit 0ac3e9d3a4.
2015-12-16 06:44:41 -08:00
Victor Hurdugaci 1b05921b70 Update the git template 2015-12-15 16:19:59 -08:00
Ben Adams 67c5ec29b3 Allow feature cache to be updated+invalidated 2015-12-15 16:12:37 -08:00
Kiran Challa 0ac3e9d3a4 Run functional tets in parallel 2015-12-15 16:05:50 -08:00
Ryan Nowak 9b9fd5ff00 React to breaking changes in antiforgery 2015-12-15 15:55:09 -08:00
Chris R 5e3c7cbbf0 #2 add options, #19 fix IP parser, update extensions. 2015-12-15 15:28:14 -08:00
Doug Bunting 234073cf6e Make `HtmlEncodedString` a suitable base for MVC's `HtmlString`
- #5
- provide `ToString()` implementation
- add missing `null` checks in `WriteTo()`; remove extraneous one in the constructor
- special-case `HtmlEncodedString` in `IHtmlContentBuilder.AppendFormat()` extension method

nits:
- ignore more files
- add missing `null` checks in `HtmlContentBuilderExtensions` too
2015-12-15 15:27:40 -08:00
damianedwards 1c5362bccb Added support for hierarchical culture fallback:
- Enabled by default and configured by RequestLocalizationOptions.FallbackToAncestorCulture/FallbackToAncestorUICulture
- Tries all candidate cultures first before trimming the list to parents and trying again, until a match is found, depth limit is reached, or none is found
- Updated functional tests to cover fallback case
- #112
2015-12-15 14:56:04 -08:00
Victor Hurdugaci 77bcf111fb All line endings 2015-12-15 14:44:00 -08:00
Victor Hurdugaci 28474fdc75 Fix line endings 2015-12-15 14:34:41 -08:00
Ryan Nowak 3280ff6ac5 Add Header support
This change adds support for retrieving an antiforgery CSRF token via a
configurable header in addition to the form field. This helps with doing
ajax requests in a 1st-party SPA when using cookie auth, and is similar to
functionality provided by a bunch of different frameworks.

In this change there's also a bunch of churn due to avoiding the term
'form' in favor of 'request' and 'session' in favor of 'cookie'. Where
code and error message now mention 'form' they specifically mean
form-encoded content.
2015-12-15 14:18:09 -08:00
javiercn c61cc65db3 [Fixes #3705] Bring back render partial 2015-12-15 12:20:06 -08:00
Nate McMaster cade3de890 Skip tests that fail to due threading bugs in Mono 2015-12-15 11:58:56 -08:00
Nate McMaster 4c56ac6548 Refactor EF tests database creation/deletion 2015-12-15 11:58:40 -08:00
ryanbrandenburg 5074bf0c57 * Default ResourcePath behavior is to look next to .cs file 2015-12-15 11:53:55 -08:00
Victor Hurdugaci 3e6551f80d Move KoreBuild-dotnet from release 2015-12-15 11:53:41 -08:00
Pranav K e384b7d4d0 Remove ErrorPageOptions 2015-12-15 11:08:47 -08:00
Pranav K 2baf6fecf5 Allow inline configure of options in UseDeveloperExceptionPage
Fixes #219
2015-12-15 10:57:24 -08:00
moozzyk 83cff16715 Changing the folder of ARM version of libuv to win7-arm
Depends on: https://github.com/aspnet/libuv-build/pull/4
Fixes: https://github.com/aspnet/Home/issues/1111
2015-12-15 10:37:29 -08:00
Mohammad Rahhal 8e38584800 Fix typo 2015-12-15 09:49:54 -08:00
Brennan cbc201ac26 Remove unused OnExecute 2015-12-15 08:53:41 -08:00
Doug Bunting c3c0b45225 Move functional tests of CORS middleware to this repo
- related to aspnet/Mvc#3612
2015-12-15 08:42:26 -08:00
SteveSandersonMS 269b31469c Slight simplification 2015-12-15 15:15:16 +00:00
SteveSandersonMS 39f7f1649f Add example of server and client validation for React 2015-12-15 12:47:52 +00:00
Ajay Bhargav Baaskaran bbba9dcde6 [Fixes #3524] Handle negative long values in TempData correctly 2015-12-15 00:17:37 -08:00
Doug Bunting 900663bfdd Make `project.json` formatting consistent 2015-12-14 21:51:04 -08:00
Doug Bunting 59824dc7be MVC functional test cleanup (part 1)
- #3612 subpart 2 of 2
- merge `ActionConstraintsWebSite`, `AntiforgeryTokenWebSite` and `ContentNegotiationWebSite` into `BasicWebSite`
  - remove tests depending on `ErrorReporterMiddleware` in merged sites; not used in `BasicWebSite`
- delete `CompositeViewEngineWebSite`, `Microsoft.AspNet.Mvc.ViewEngines.CompositeViewEngineTest` covers cases
- delete `CorsMiddlewareWebsite`, soon to be in Cors repo (see aspnet/CORS#57)
- remove `SendFileMiddleware` from FilesWebSite, unused there
2015-12-14 21:50:55 -08:00
Doug Bunting 1b7e67211f Do not override default `Layout` value
- #3745
2015-12-14 19:09:57 -08:00
Pranav K 736f2bcefb Adding Travis and AppVeyor badges 2015-12-14 16:28:23 -08:00
N. Taylor Mullen 29ea696c5a Add `Model` assessor to `ViewResult` for MVC5 portability.
#3495
2015-12-14 16:16:41 -08:00
Brennan 09278f7013 Adding logging event ids 2015-12-14 15:03:06 -08:00