Commit Graph

40898 Commits

Author SHA1 Message Date
Pranav K ed9cd0ec11 Updating to release NuGet.config. 2015-08-17 14:48:44 -07:00
Pranav K 87eebdd0c1 Merge branch 'release' into dev 2015-08-17 14:48:41 -07:00
Pranav K 113a86d6a3 Updating to release NuGet.config. 2015-08-17 14:48:39 -07:00
Pranav K fa187a7cad Merge branch 'release' into dev 2015-08-17 14:48:27 -07:00
Pranav K b6bb7a52a2 Updating to release NuGet.config. 2015-08-17 14:48:25 -07:00
Pranav K c693b69793 Merge branch 'release' into dev 2015-08-17 14:48:18 -07:00
Pranav K d45b0a27e9 Updating to release NuGet.config. 2015-08-17 14:48:16 -07:00
Pranav K 1f1feb298d Merge branch 'release' into dev 2015-08-17 14:48:04 -07:00
Pranav K 7ca6982883 Updating to release NuGet.config. 2015-08-17 14:48:02 -07:00
Pranav K 73d959fae7 Merge branch 'release' into dev 2015-08-17 14:47:55 -07:00
Pranav K 17b7e92fc3 Updating to release NuGet.config. 2015-08-17 14:47:52 -07:00
Pranav K 94640d290c Merge branch 'release' into dev 2015-08-17 14:46:59 -07:00
Pranav K 1a29f7f93a Updating to release NuGet.config. 2015-08-17 14:46:57 -07:00
Pranav K e5bea0fa1e Switching to aspnetrelease feed in Universe
Short term fix in the absence of ability to do this via build.cmd.
2015-08-17 14:39:01 -07:00
Pranav K 0b8a3e8fcb Updating to release NuGet.config 2015-08-17 14:10:40 -07:00
Pranav K b87497c6da Tweaking update-release target to be runnable from the CI
* Relying on git log --exit-code to fail in case there are unmerged
  changes in the release branch.
* Specifically update aspnetvnext feed when branching to release.
2015-08-17 14:09:05 -07:00
Troy Dai 72ce66a300 Update packages' versions 2015-08-17 11:13:06 -07:00
Troy Dai e4722b0bef Update packages' versions 2015-08-17 11:11:16 -07:00
Troy Dai 9dd9d39bff Update packages' versions 2015-08-17 11:10:26 -07:00
Brice Lambson e8fc5a970a React to aspnet/EntityFramework#2831 2015-08-17 10:24:21 -07:00
Chris R 8735d455f9 Only run Kerberos tests if the machine is joined to the domain. 2015-08-17 09:46:49 -07:00
David Fowler 52388e89f8 Removed builder arg parameter from IStartupFilter
- It broke the composition model by allowing you to
reach out to the original app builder. This breaks
the ability to properly wrap and have all configure
methods see the wrapper.
2015-08-16 19:16:49 -07:00
Ryan Nowak 9d89a8cac3 Homogenize MVC startup code patterns
Use builder APIS for both AddMvc() and AddMvcCore()
Change various API patterns to all use .AddXyz(...) off of one or both of
these builders.
2015-08-16 18:48:24 -07:00
Ajay Bhargav Baaskaran dac75fa56d React to aspnet/Razor#441 change 2015-08-16 18:22:22 -07:00
Ajay Bhargav Baaskaran dad3e3ade3 [Fixes #441] Removed constructors from TagHelperAttributeDescriptor and
TagHelperDescriptor
2015-08-16 18:09:07 -07:00
Ryan Nowak dbeba581ea Revert "React to MVC model binding changes and fix build break"
This reverts commit 52e2784f82.

This 'MVC change' listed here was a compatibility bug with earlier
versions of MVC and has been reverted.
2015-08-16 16:43:32 -07:00
Ryan Nowak e384938425 Add more event notification data points
Also includes some cleanup of the testing code that we're using with
proxies.
2015-08-16 16:42:58 -07:00
Ryan Nowak 07fabde92a Part 3 of #2776 - revert a6ce9abab1 and add
some more tests.

This change reverts the behavior change from
a6ce9abab1 and adds more tests around the
scneario that was actually broken.

The right behavior is that unconvertable values result in a validation
error. There's no special behavior around value types and required values.
2015-08-16 16:20:44 -07:00
Daniel Lo Nigro 9ade227abb Implement support for UNIX sockets.
The common use-case for Kestrel in production will be behind a reverse proxy such as Nginx. In cases where the reverse proxy is located on the same machine as the application, connecting via a UNIX socket is more efficient than a TCP socket, as it avoids going through the network layer. Accessing 127.0.0.1 through TCP still needs to initiate a TCP connection and perform handshaking, checksumming, etc, all of which is avoided by using UNIX sockets.

 - Moved TCP-specific stuff from Listener into new TcpListener class (same with ListenerPrimary and ListenerSecondary)
 - Made Listener abstract
 - Created new PipeListener. Note that while the use case is for UNIX sockets, this is called "Pipe" in uv, so I've called this "PipeListener" so the terminology is consistant
 - Uses "unix" URL scheme to determine whether to use socket. "http://127.0.0.1:5000" is for listening via TCP while "unix:///var/run/kestrel-test.sock" is for listening via UNIX socket

#156
2015-08-15 15:50:34 -07:00
David Fowler dfe8c39fe0 Merge pull request #275 from hishamco/dev
Shift 'Development' & 'Production' constants into 'EnvironmentName' class
2015-08-15 11:22:58 -07:00
N. Taylor Mullen 96f1090ff1 Fix Travis.
- Fixed test that had newlines but indexes not based on them.
2015-08-15 10:07:02 -07:00
Hisham Abdullah Bin Ateya 8e39bf4ffb Shift 'Development' & 'Production' constants into 'EnvironmentName' class
Make 'EnvironmentName' static

Change constants -> static readonly fields

Remove trailing spaces
2015-08-15 13:46:40 +03:00
David Fowler 412b4b9d69 Use the same libuv install script on travis as kestrel 2015-08-15 03:25:42 -07:00
David Fowler 62a909d1a7 Handle broken assembly versions on mono 2015-08-15 03:12:59 -07:00
David Fowler 2af06269df Make build.sh executable 2015-08-15 02:35:17 -07:00
David Fowler b9e930038b Merge pull request #282 from Tragetaschen/linux-test-fix
Disable two tests failing on Mono
2015-08-15 01:34:45 -07:00
N. Taylor Mullen cf1355245f Add `RestrictChildrenAttribute` specific `TagHelperDescriptorFactory` tests.
- We covered invalid tag names in the attribute but not the full end-to-end descriptor factory resolution piece.

#255
2015-08-14 23:52:50 -07:00
N. Taylor Mullen 465ff9713d Add ability for `TagHelper`s to specify restricted children.
- Specifying the `RestrictChildrenAttribute` enables `TagHelper`s to only allow other `TagHelper`s targeting specified names to be in the children.
- Used the `null` value to indicate that `AllowedChildren` was not specified and therefore everything is allowed. This is the default.
- Added name verification to name values to ensure that no bad values pass through the system.
- Added parsing tests to validate a mixture of content generates errors when expected.

#255
2015-08-14 23:13:57 -07:00
Pranav K 3361507c29 Remove ability to specify ignored '@' in the middle of non-string
TagHelper bound attributes.

Fixes #436
2015-08-14 18:12:31 -07:00
sornaks 27f7f3d437 Issue #2779 - Normalize newlines to "\r\n" instead of "\n". 2015-08-14 17:13:29 -07:00
Stephen Halter 8e046a035b Enable ResponseFormats_Kestrel_Chunked test
https://github.com/aspnet/KestrelHttpServer/issues/97
2015-08-14 16:32:29 -07:00
Stephen Halter 753d64660d Ignore zero length writes when automatically chunking responses
- Zero length writes would previously be interpreted as the end of response
- Optimize writing the chunked response suffix
- Add tests for automatic response chunking
2015-08-14 15:59:47 -07:00
Stephen Halter 3fb33119ee Initial non-optimized support for automatically chunking responses 2015-08-14 15:59:39 -07:00
N. Taylor Mullen e73e73acdd Add `srcset` to list of application relative resolvable URLs.
- Now allow the attribute to exist on `img` and `source` tags.
- Updated existing `UrlResolutionTagHelper` functional test to validate `srcset` attribute.

#2964
2015-08-14 15:58:02 -07:00
Troy Dai 82dced7877 Remove Roslyn feed 2015-08-14 15:50:12 -07:00
Andrew Stanton-Nurse b1a1f52331 Direct users to docs site for Mac instructions 2015-08-14 15:42:53 -07:00
Hao Kung a98f86681d Revert "Move generics off of Validator/TokenProvider interfaces"
This reverts commit 62a1d49710.
2015-08-14 15:18:40 -07:00
Kiran Challa 52e2784f82 React to MVC model binding changes and fix build break 2015-08-14 13:13:09 -07:00
Ajay Bhargav Baaskaran 6fe5045c55 React to aspnet/Razor#488 2015-08-14 13:00:39 -07:00
Stephen Halter 32c4f314b6 Lock around Connection.End to make it thread-safe 2015-08-14 12:17:06 -07:00