Commit Graph

40898 Commits

Author SHA1 Message Date
Pranav K 70bdb6eb3e Removing CopyTo from RazorTextWriter 2015-12-01 12:37:11 -08:00
Stephen Halter 0c33cad343 Merge branch 'benaadams/kestrel-thread-api' into dev 2015-12-01 12:20:41 -08:00
John Luo 8c256a0d87 New IServer design with IHttpApplication added #395 2015-12-01 12:08:40 -08:00
glennc 87e970d812 update tags 2015-12-01 11:42:03 -08:00
glennc 060f99428b rc1-update1 samples for Docker build 2015-12-01 11:41:04 -08:00
John Luo 8712ba4855 Reacting to new IServer IHttpApplication design 2015-12-01 11:40:52 -08:00
Pranav K daf16ad184 Enabling CoreCLR tests on Travis 2015-12-01 11:02:49 -08:00
Pranav K a2e4c4e133 Enabling tests on CoreCLR 2015-12-01 11:01:13 -08:00
Pranav K 23f44aa082 Enabling tests on CoreCLR 2015-12-01 11:00:09 -08:00
Pranav K b81f947042 Remove unused references 2015-12-01 10:55:47 -08:00
Pranav K 0db9a16c91 Use the newest build of OpenIdConnect packages cloned to AspNet feeds.
Fixes #576
2015-12-01 10:38:42 -08:00
Pranav K 5d5f278824 Enable CoreCLR tests on Travis 2015-12-01 10:35:16 -08:00
Pranav K 65e63c893b Enable CoreCLR tests on Travis 2015-12-01 10:34:49 -08:00
Pranav K cd02665909 Allow tests to run on CoreCLR 2015-12-01 10:12:53 -08:00
Chris R 8b996d11e6 Merge pull request #595 from Kukkimonsuta/patch-1
Update url of basic authentication example
2015-12-01 09:56:34 -08:00
Pranav K ca62719f9d Skip tests that are failing due to Mono issues
Fixes #214
2015-12-01 09:54:47 -08:00
Lukáš Novotný b77d22cfcb Update url of basic authentication example
Url of the example implementation of basic authentication has changed to https://github.com/Kukkimonsuta/Odachi/tree/master/src/Odachi.AspNet.Authentication.Basic due to namespace change.
2015-12-01 18:20:37 +01:00
Pavel Krymets 943ba9f47e Add test to ensure 404 when wwwroot not set 2015-12-01 08:45:44 -08:00
Pavel Krymets f600604140 Add tests for map path without wwwroot, and typos 2015-12-01 08:44:00 -08:00
Sunny Ahuwanya 6251b8f3e6 Changed timer interval to 1 second. 2015-12-01 09:29:54 -05:00
apxoht 7e1a6222aa Removed unused private method in DefaultActionSelector 2015-11-30 17:14:28 -08:00
Jeffiy 8428ec46e1 Remove extra null checks.
Fixes #3657
2015-11-30 16:53:10 -08:00
Cesar Blum Silveira 921c338a40 Support PathBase (#214). 2015-11-30 16:42:02 -08:00
Brennan a7a6a90f1d Dispose FileWatcher in tests 2015-11-30 15:14:27 -08:00
Kiran Challa e6376a89a6 Use in-memory store for openid connect testing on non-windows platforms 2015-11-30 13:54:29 -08:00
Kiran Challa d584c09413 Fixed OpenIdConnectBackChannelHttpHandler's path to the configuration file 2015-11-30 13:45:03 -08:00
Chris R 909a14e504 Enable CoreClr tests on Travis. 2015-11-30 12:33:51 -08:00
Chris R 51cc52e855 Tooling sample updates. 2015-11-30 11:57:49 -08:00
Chris R 4cf32eb678 #411 Handle validation failures from ValidateToken. 2015-11-30 11:56:57 -08:00
Ryan Nowak 6875ee55d3 Remove Magic Link Generation
This change resolves #3512 and #3636 by removing 'magic' link generation
and adding an extension method to add routes to areas correctly using the new
pattern. This is pretty much exactly the same as how MapWebApiRoute works.

For site authors, we recommend adding area-specific routes in a way that
includes a default AND constraint for the area. Put your most specific
(for link generation) routes FIRST.

Ex:

  routes.MapRoute(
      "Admin/{controller}/{action}/{id?}",
      defaults: new { area = "Admin" },
      constraints: new { area = "Admin" });

The bulk of the changes here are to tests that unwittingly relied on the
old behavior.
2015-11-30 11:24:23 -08:00
ryanbrandenburg 91e837d465 * Debug log exceptions in JsonInput deserializing 2015-11-30 11:19:22 -08:00
ryanbrandenburg d22d6793ba * Include DisplayName in errorMessage 2015-11-30 11:18:14 -08:00
Pranav K c5346f7bf9 Use string.IsNullOrEmpty instead of string.IsNullOrWhitespace
Fixes #3593
2015-11-30 10:00:44 -08:00
Ryan Nowak 4441fba4ee Clean up folders and test names 2015-11-30 09:36:07 -08:00
Ryan Nowak 123eaf2278 Fix #233 - Routing stops when constraint is rejected
The fix here is to 'continue' instead of 'return'. Added the relevant test
cases, which only had positive cases for constraints.
2015-11-30 09:28:15 -08:00
Ryan Nowak 9fc51ecbee Add launchsettings.json to .gitignore 2015-11-30 09:27:32 -08:00
David Fowler 8b310c4583 Merge pull request #436 from benaadams/imemorypool
Remove unused IMemoryPool
2015-11-29 08:12:06 -08:00
Ben Adams 9102c1bb92 Remove unused IMemoryPool 2015-11-29 10:13:14 +00:00
John Luo 5ed05d34ac Adding directory existence check for nuget-install 2015-11-29 00:05:52 -08:00
Ben Adams 2937fc3c98 OnConnection->OnConnectionAsync
Resolves  #433
2015-11-29 03:57:47 +00:00
Sunny Ahuwanya 67a0f2d420 Reverted ISystemClock to use DateTimeOffset 2015-11-28 21:27:51 -05:00
Sunny Ahuwanya 7f025a6bd4 Speed up DateHeaderValueManager
Replaced PumpTimer() method with StartTimer(), introduced StopTimer()
method which pauses timer when idle instead of disposing it,
ISystemClock returns DateTime instead of DateTimeOffset.
2015-11-28 20:15:17 -05:00
SteveSandersonMS ad04dd1750 Work around CoreCLR issue 2015-11-26 11:47:12 +00:00
SteveSandersonMS 6f840b60ca Improvements to form UI 2015-11-26 10:57:08 +00:00
N. Taylor Mullen 490fcf1ab4 Remove the use of `Linq` and unneeded enumerators from Mvc `TagHelper`s.
- Prior to this change we were using `Linq` throughout our `TagHelper`s which resulted excess allocations.
- Also went through our data structures and changed some from `Enumerable<T>` to `IList<T>` where we were just not exposing the more accessible types (list).
- Changed several locations of `foreach` to `for` to remove the enumerator allocation.

#3599
2015-11-25 21:31:24 -08:00
John Luo 7a30e13004 Removing redundant src placeholder 2015-11-25 17:13:29 -08:00
Ryan Nowak a14fdd8637 Remove FormatFilter dependency on IActionContextAccessor
This change simplifies IFormatFilter's API and removes the dependency on
IActionContext accessor.

The old API for IFormatFilter required computing state based on the
current request as part of the constructor, which in turn implied the use
of a context accessor. This isn't really needed. I didn't preserve caching of
the 'format' as that seems like an early optimization.
2015-11-25 17:01:16 -08:00
Ryan Nowak d8cc2b85d5 Adds ActionContext to Validation contexts
This change makes it possible to access the ActionContext/ActionDescriptor
from inside of validators and client validators.
2015-11-25 16:38:26 -08:00
Pranav K 017bf1a20f Changes to use moq-netcore 2015-11-25 16:04:04 -08:00
Ryan Nowak 0832365ec2 Adds ActionContext to OperationBindingContext
This change makes it possible to access the ActionContext/ActionDescriptor
from inside of modelbinding.
2015-11-25 15:17:09 -08:00