Commit Graph

43822 Commits

Author SHA1 Message Date
Kiran Challa 52d9c0b336 Added outline to buttons in developer exception page 2016-08-01 13:27:38 -07:00
Chris R 484955f83e Make MessagePump constructor public for DI 2016-08-01 13:23:55 -07:00
jacalvar f0732e9e21 [Fixes #5038] HTTP Verbs mapping error GET and DELETE
When an action contained an attribute derived from HttpMethodAttribute,
doesn't specify an attribute route and there is also another attribute
extending HttpMethodAttribute that has a route defined on it; we ignored
the HttpMethodAttribute attribute without a defined route when building
the set of action selectors for the method.

This caused the resulting action to be unbounded and to accept requests
for other verbs not associated with it. The root cause of the problem was
that attributes override equality and do a field by field comparison but
ignore fields in the base classes of the type, so if an attribute is part
of a class hierarchy (like Http*Attributes) there might be two different
attributes that get considered equal.

The fix for the problem has been to change using Contains on a couple of
collections (that uses the equals method on the underlying object) and
check for the existence of the attribute on the collection directly by
using reference equality.
2016-08-01 12:49:23 -07:00
Mike Harder 4ece3f4b68 Change "String." to "string." to match coding convention 2016-08-01 11:09:31 -07:00
N. Taylor Mullen fc4a61586e Obsolete `EditorHints`.
- For tests added grouped pragma warning disables to not pollute the test files with too many duplicate warning disable/restores.

#780
2016-08-01 11:08:03 -07:00
Ryan Nowak e77dc3af6a Implement manual state machine 2016-08-01 10:38:46 -07:00
N. Taylor Mullen d60ed06c19 Add link tag attributes to generated fallback tags.
- Updated functional tests and link tag script to include modified extra attributes content.

#4084
2016-07-29 16:30:56 -07:00
Chris R 235ac59551 API cleaup, organization 2016-07-29 15:19:44 -07:00
Kristian Hellang 8d1e419a99 Added ObsoleteAttribute to unused ViewEngine property
Fixes #5066
2016-07-29 15:19:43 -07:00
Kiran Challa 22492ed752 [Fixes #319] It is not possible to copy text to clipboard from error message on development page. 2016-07-29 14:57:38 -07:00
Hao Kung 137e18f39d Add test 2016-07-29 13:26:36 -07:00
Hao Kung 2a6ab2be8c Add UpdateTokenValue API 2016-07-29 13:26:25 -07:00
Ajay Bhargav Baaskaran 1ad5d0e317 var cleanup 2016-07-28 17:29:06 -07:00
Ajay Bhargav Baaskaran 3733b53700 Removed unnecessary methods in DataProtectionServiceDescriptors 2016-07-28 17:17:27 -07:00
Ryan Brandenburg c16fc06cb9 Modify warning about policy behavior (#924) 2016-07-28 16:55:08 -07:00
Stephen Halter 00a540dcb8 Merge branch 'benaadams/more-block-collect-info' into dev 2016-07-28 16:51:35 -07:00
Stephen Halter 5d6da35cb9 Add test verifying a chunked response can be written manually 2016-07-28 16:43:23 -07:00
Ryan Brandenburg 27a641f4bf Only create filters for models that need them (#5044) 2016-07-27 16:36:26 -07:00
John Luo d204adafd2 Add CI status to readme 2016-07-27 14:58:58 -07:00
jacalvar 7a3f24d49d [Fixes #4960] Action results returned from controller actions rendered as json instead of executed 2016-07-27 14:42:46 -07:00
Derek f3f2bcdbb5 Update comments to reflect the correct default values for HtmlDateRenderingMode (#4997) 2016-07-27 13:20:12 -07:00
Pranav K cad72e769f Remove cyclic dependency between Mvc and Scaffolding 2016-07-27 12:18:47 -07:00
John Luo e815537907 Add ResponseCaching 2016-07-27 11:05:25 -07:00
Andrew Stanton-Nurse 935d15a15e don't run Autobahn tests on Win7/Server2008 (#104) 2016-07-27 10:54:05 -07:00
John Luo 1628d42b43 Clean up and update to post RTM 2016-07-27 10:41:38 -07:00
Chris R a14bb69d6a Rough outline of middleware, sample, and test projects. 2016-07-27 10:40:45 -07:00
Chris R ed9f238eda Add build infrastructure. 2016-07-27 10:40:45 -07:00
Chris R 3d2e1c4d3e Factoring out UrlGroup, ServerSession, RequestQueue, ChannelBinding,
Disconnect Listener.
2016-07-27 10:04:26 -07:00
BrennanConroy 0a5f8e013e AppDomain safety 2016-07-27 09:26:06 -07:00
Justin Kotalik 4687aad61e Fixing language on comment 2016-07-27 09:05:16 -07:00
Ryan Nowak 855974f128 Fix #4959 - Doc cleanup for RouteValueAttribute 2016-07-27 08:59:34 -07:00
SteveSandersonMS 3403eb7548 Make aspnet-webpack compatible with older versions of the NodeServices package 2016-07-27 13:29:18 +01:00
SteveSandersonMS 0a3463031b Add Node.js support in all the Docker containers 2016-07-27 13:09:54 +01:00
SteveSandersonMS e9ca434405 Update all templates to match latest "yo aspnet" output 2016-07-27 12:25:32 +01:00
SteveSandersonMS de960d80aa Allow explicit configuration of port number for webpack dev middleware server. Fixes #223. 2016-07-27 11:13:09 +01:00
SteveSandersonMS 14337e32ab WebpackDevMiddleware now preserves client's view of hostname when doing 302 to /__webpack_hmr 2016-07-27 11:03:04 +01:00
SteveSandersonMS 698921d157 Update Dockerfile in all templates to match .NET Core 1.0 RTM. Fixes #120 2016-07-27 10:43:16 +01:00
SteveSandersonMS c892f7da35 Support debugging when on IPv6 network (Node's "Debugger listening" message is phrased differently there) 2016-07-27 09:50:43 +01:00
Troy Dai 763df65c14 Revise if-else order in RemoteAuthenticateHandler 2016-07-26 16:27:28 -07:00
Troy Dai 0e855b25a8 Update Google and Microsoft Account Handler exception message 2016-07-26 14:16:16 -07:00
Troy Dai 0d216d726a Minor fixes in RemoteAuthenticationHandler and FacebookHandler 2016-07-26 13:58:07 -07:00
Justin Kotalik 6b2e092aad Fix for regex coherence error. Small clean up. 2016-07-26 13:44:30 -07:00
Pranav K 5092e75387 Pin repo version to 1.0.1 2016-07-26 12:09:57 -07:00
Kiran Challa e3e092ec60 [Fixes #288] DeveloperExceptionPage needs better text spacing on OSX/Safari 2016-07-26 11:35:24 -07:00
SteveSandersonMS f2f67fe880 Support new config options to launch the Node process with a debug listener. This is compatible with node-inspector. 2016-07-26 18:33:27 +01:00
Troy Dai 1c17bddc02 Update HandleRemoteCallbackAsync readability 2016-07-26 10:30:50 -07:00
Troy Dai 210c4b2061 Fix incorrect exception messages 2016-07-26 10:30:50 -07:00
Troy Dai 6f46bc94f8 Sort using statements 2016-07-26 10:30:50 -07:00
Troy Dai 5211f22f44 Update comment on HandleRemoteAuthenticateAsync 2016-07-26 10:30:50 -07:00
Troy Dai cd9e9fa498 Update comment on HandleRemoteAuthenticateAsync 2016-07-26 10:30:50 -07:00