Commit Graph

27546 Commits

Author SHA1 Message Date
Nate McMaster 26f1d4baa3 Use PackageLineup
PackageLineup is a way to manage PackageReference versions across large projects. It removes the version information from the repository and instead pulls the information from an external "lineup" file.
2017-08-16 14:10:43 -07:00
Nate McMaster b43b244830 Use Directory.Build.props/targets 2017-08-16 12:30:13 -07:00
N. Taylor Mullen db805eb3e3 Fix ModelExpression's in section directive blocks.
- Changed `SectionDirectivePass` to move non-token body nodes from the original `DirectiveIntermediateNode` to the `SectionIntermediateNode`. By doing this there's no longer dual references of `SectionIntermediateNode` bodies.
- Added MVC tests for current and 1_X extensions.

#1614
2017-08-16 10:25:53 -07:00
Cesar Blum Silveira 0fafd19ec9 Initial HTTP/2 support.
What works:

- HTTP/2 over TLS1.2 with ALPN
- Request and response flow
  - Headers are compressed and decompressed with HPACK
  - Request body can be read by streams (if present)
  - MVC template app with individual auth works fine
- PRIORITY frames are validated
- RST_STREAM frames are validated and abort streams
- SETTINGS frames are validated and ACKed
- PING frames are validated and ACKed
- GOAWAY frames stop connections
- WINDOW_UPDATE frames are validated
- CONTINUATION frames are sent for large header blocks

What doesn't work yet:

- Flow control in either direction
- It's not possible to encode a single header across more than one frame
  - Affects only a very large header (name and value combined ~16KB long)
- Request trailers
- Response trailers
- Limits and timeouts in `KestrelServerLimits` are not enforced on HTTP/2
- HPACK use is very limited on the send side
  - Literals are not Huffman-encoded
  - Common headers (e.g. "server: Kestrel") are never indexed
- Honoring client settings
- Some error checking is still missing (e.g. validating incoming frame size)
2017-08-16 10:04:44 -07:00
Nate McMaster c429467993 Add System.Buffers and System.Numerics.Vectors to the lineup 2017-08-16 10:04:18 -07:00
Nate McMaster c10ac85cf2 Add fixes for problems discovered by xunit.analyzers (#1999)
* Add fixes to tests for problems discovered by xunit.analyzers 0.6.1

* PR feedback. Add comments about why we have a #pragma
2017-08-16 09:37:49 -07:00
Nate McMaster dc66815c35 Add external packages require for aspnet/Common (#541) 2017-08-16 09:15:18 -07:00
David Fowler 5c775073a4 Initial bedrock refactoring (#1995)
- Added Protocols.Abstractions
 - IConnectionHandler.OnConnection takes an IFeatureCollection instead of
 IConnectionInfo
 - Removed IConnectionContext and IConnectionInformation replaced with
 IConnectionTransportFeature
 - Updated FrameConnectionContext and FrameContext to have the relevant
 state instead of flowing the ConnectionInformation.
 - Updated tests
2017-08-16 00:02:48 -07:00
Javier Calvarro Nelson eb43a41a4c Add a step to ensure the development certificate is on the machine 2017-08-15 18:53:56 -07:00
Javier Calvarro Nelson b3c8ff4ae5 Add a website for functional E2E tests and make an OIDC id_token flow succeed
Add a couple of functional tests for doing an id_token flow and an authorization_code flow
2017-08-15 18:04:39 -07:00
Pranav K f3745608af Switch to v3 NuGet feed 2017-08-15 16:14:19 -07:00
Eilon Lipton 379d6c7a63 Merge pull request #403 from hishamco/readme
Update README.md
2017-08-15 13:09:46 -07:00
Nate McMaster 221bcda1d9 Upgrade xunit to 2.3.0-beta4 and expand the lineup to include sub-packages in xunit 2017-08-15 10:04:52 -07:00
Pranav K 5fee1cac83 Merge pull request #6655 from aspnet/rel/2.0.0
Refactor CORS support out of MVC Core
2017-08-14 16:50:14 -07:00
Ajay Bhargav Baaskaran 8d2a9e5929 Support tuples for type directive tokens 2017-08-14 12:43:41 -07:00
Javier Calvarro Nelson f2a8c1cea7 Refactor CORS support out of MVC Core 2017-08-14 11:40:56 -07:00
Poul Kjeldager Sørensen 488eb44467 Fix obsolete warning message (#1363)
Fixes the messaged shown to developers when they are updating their applications to 2.0. Bad idea to set the domain with some random naming text.
2017-08-14 11:07:19 -07:00
Scott Addie b43ffc4acc Recommend CookieBuilder.HttpOnly instead of CookieBuilder.SameSite (#1366) 2017-08-14 11:06:32 -07:00
Saravanan 43db99a568 Updated for the TwitterOptions Validation for the ConsumerKey and Con… (#1337) 2017-08-14 10:29:02 -07:00
Hao Kung f3e2511672 Expose some internal helpers (#1348)
Validate/UpdateUser/Role are now protected
2017-08-14 10:27:30 -07:00
Pranav K 28a4bb4d5f Clone over https if we cannot determine the repository's clone url 2017-08-11 22:32:23 -07:00
Nate McMaster d3cf0494e7 Upgrade to xunit 2.3.0-beta3 2017-08-11 17:22:40 -07:00
Stephen Halter 02028b65c7 Stop using ConcurrentBag in tests for complex types (#1990)
dotnet/corefx#23068
2017-08-11 16:30:03 -07:00
Pranav K 418f58f31d Clone repositories over https 2017-08-11 16:05:16 -07:00
Ajay Bhargav Baaskaran 655a693e4a Make ViewComponentTagHelper use extension intermediate nodes 2017-08-11 12:01:21 -07:00
Nate McMaster 16b430ec9f Update to xunit 2.3.0-beta3-build3705 (#539) 2017-08-11 11:52:18 -07:00
Chris Ross 0c82d94a54 #772 Signout FormPost test (#1358) 2017-08-11 11:50:25 -07:00
Pawel Kadluczka 4898c0d3df Integrating MsgPack support in TS client 2017-08-11 11:44:52 -07:00
Pawel Kadluczka 9eabce1b02 Enabling tests which would have prevented a bug 2017-08-11 11:22:45 -07:00
BrennanConroy e8a673248a Conditional WebSockets testing (#714) 2017-08-11 10:46:50 -07:00
Nate McMaster ddd690200e React to changes in the gatekeeper build 2017-08-11 10:37:41 -07:00
Justin Kotalik 4eb1306692 Reacting to ResponseCookie Delete changes (#1362)
594f55947f
2017-08-11 10:24:18 -07:00
Pawel Kadluczka 29f9c54b86 Updating xUnit version 2017-08-10 19:00:31 -07:00
Pawel Kadluczka 4504ae56d5 Update protocol spec for Message Pack (#703)
* Updating the spec with MsgPack encoding
2017-08-10 18:44:00 -07:00
Justin Kotalik 594f55947f Keep ResponseCookie options on delete. (#905) 2017-08-10 18:01:30 -07:00
BrennanConroy b393200fd3 SSE StopAsync should ignore exception (handled elsewhere) (#708) 2017-08-10 14:18:34 -07:00
Ajay Bhargav Baaskaran 364fc1a55d Allow nullable types with generic arguments in directives 2017-08-10 11:47:43 -07:00
Nate McMaster f5710de3e5 Produce a lineup package containing all packages produced 2017-08-10 11:41:10 -07:00
Henk Mollema 456957bf57 Use dictionary for deployment parameters (#1126) 2017-08-10 10:56:21 -07:00
Mikael Mengistu eb008a0dfe Fix potential null ref in RedisHublifetimeManager RemoveGroup (#706) 2017-08-10 09:54:26 -07:00
Nate McMaster 5ff2176504 Remove unused TeamCity logger 2017-08-10 09:49:35 -07:00
Pavel Krymets 396f413b38 Rename testing metapackage (#218) 2017-08-10 09:38:19 -07:00
Pavel Krymets 653272600f Add site extension generation code (#217) 2017-08-10 08:11:57 -07:00
hishamco 5fc42c6dfc Update README.md 2017-08-10 17:39:10 +03:00
Nate McMaster d3fb5e76f1 Remove dependency on a custom task to detect when compiling on macOS (#1987)
MSBuild.IsOSPlatform is new to MSBuild 15.3 and can be used to determine when we are building on macOS.
2017-08-09 16:48:02 -07:00
Mikael Mengistu 8cda36157f Change Read to ReadAsync (#702) 2017-08-09 16:35:44 -07:00
Chris R c125022050 #772 Fill in OIDC test gaps 2017-08-09 15:29:34 -07:00
John Luo b5e81bd4a0 Use linux specific runtime identifier when gathering installer prerequisites 2017-08-09 14:27:04 -07:00
John Luo 3e0ece9936 Fix package archive name typo 2017-08-09 13:05:42 -07:00
Ajay Bhargav Baaskaran 4fe07f2298 Added unit tests for DefaultTemplateEngineFactoryService 2017-08-09 12:31:51 -07:00