Ajay Bhargav Baaskaran
499fefcc03
Added some missing docs
2016-08-26 16:35:44 -07:00
Ajay Bhargav Baaskaran
a6a4b5369a
[ Fixes #5166 ] Support passing instance directly when invoking ViewComponents with single parameter
2016-08-26 16:33:42 -07:00
Ajay Bhargav Baaskaran
9ed753288f
[ Fixes #5170 ] Fixed KeyNotFoundException in UrlHelperFactory.GetUrlHelper()
2016-08-26 11:27:02 -07:00
Nate McMaster
3aa6d739ce
Fix broken test caused by logging change aspnet/Logging#480
2016-08-26 10:59:30 -07:00
Kiran Challa
ece8f33a65
[ Fixes #5175 ] Async resource filters' short circuited result getting executed more than once.
2016-08-25 16:30:41 -07:00
N. Taylor Mullen
7036e2b0f5
Change `ViewComponent.View()` to flow the `ViewData.Model`.
...
- This is more consistent with how controllers work.
#4882
2016-08-25 10:22:23 -07:00
Pranav K
c942eab6e2
Adding support for Razor precompilation
...
Fixes #3917
2016-08-19 07:27:51 -07:00
N. Taylor Mullen
2f46113556
Merge branch 'rel/1.0.1' into dev
2016-08-17 14:34:15 -07:00
N. Taylor Mullen
516d91670a
Merge branch 'rel/1.0.1' (early part) into dev
2016-08-17 14:34:04 -07:00
N. Taylor Mullen
edb5baf81c
Change SHA256 algorithm to work on FIPS-compliant machines.
...
#5103
2016-08-17 14:25:22 -07:00
N. Taylor Mullen
6e5fd4f89f
Up Antiforgery to 1.0.1 for FIPS compliance changes.
2016-08-17 14:25:19 -07:00
Ryan Brandenburg
889af50318
Localize DataAnnotations ( #5129 )
2016-08-16 11:52:15 -07:00
Ajay Bhargav Baaskaran
8de4ddc010
Logging Info instead of Warning for Authorization failure in ControllerActionInvoker
2016-08-16 10:20:54 -07:00
Pranav K
4ca44f01cf
Merge remote-tracking branch 'origin/master' into rel/1.0.1
2016-08-12 10:37:52 -07:00
Pranav K
37ee065c08
Updating to dotnet.myget.org
2016-08-12 10:15:35 -07:00
Kiran Challa
a4ec3bb24a
[ Fixes #4991 ] Misleading MissingMethodException message for incorrect routes
2016-08-11 11:57:21 -07:00
Pranav K
0bb2c3c2f7
Switching to dotnet.myget.org feed
2016-08-09 15:06:23 -07:00
Kiran Challa
936f5a4f6a
Made HttpMethod match case-INsensitive
...
Related to https://github.com/aspnet/CORS/issues/77
2016-08-08 14:34:27 -07:00
Pranav K
67dce322df
Updating to Moq \ Castle.Core that does not require imports
2016-08-08 12:20:14 -07:00
ivano
6e5187c1ae
Using new StringRouteConstraint for area constraint
2016-08-08 08:47:04 -07:00
N. Taylor Mullen
663f6a1718
Expose `GetInputType` as a protected member of `InputTagHelper`.
...
- Added doc comments.
#4979
2016-08-04 15:13:29 -07:00
Kiran Challa
ac98417398
ModelBinding: Remove IsReadOnly checks and add/update tests
2016-08-04 14:20:23 -07:00
ivano scifoni
be5deef584
Created option for RequireHttpsAttribute.Permanent
...
Fixes #4650
2016-08-04 11:43:16 -07:00
BrennanConroy
f7e95751d8
Update .travis.yml
2016-08-02 13:05:14 -07:00
jacalvar
b56cab6414
Merge branch 'rel/1.0.1' into dev
2016-08-01 14:16:58 -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
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
Kristian Hellang
8d1e419a99
Added ObsoleteAttribute to unused ViewEngine property
...
Fixes #5066
2016-07-29 15:19:43 -07:00
Ryan Brandenburg
27a641f4bf
Only create filters for models that need them ( #5044 )
2016-07-27 16:36:26 -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
BrennanConroy
0a5f8e013e
AppDomain safety
2016-07-27 09:26:06 -07:00
Ryan Nowak
855974f128
Fix #4959 - Doc cleanup for RouteValueAttribute
2016-07-27 08:59:34 -07:00
Pranav K
5092e75387
Pin repo version to 1.0.1
2016-07-26 12:09:57 -07:00
Ajay Bhargav Baaskaran
4600100695
Added a test to verify ReflectionTypeLoadException
2016-07-25 12:06:16 -07:00
Doug Bunting
49a48a0a33
Mark `ValueProviderResultExtensions` as `[Obsolete]`
...
- #4521
2016-07-22 12:39:13 -07:00
Ryan Nowak
30221a0229
Merge branch 'rel/1.0.1' into dev
2016-07-21 13:29:32 -07:00
Ryan Nowak
85ca3e4976
Fix #4998 - Change lifetime of ViewComponentResultExecutor
...
This service has a scoped dependency so it should be scoped or transient.
2016-07-21 10:23:36 -07:00
Ryan Nowak
9e7bc919a3
Merge branch 'rel/1.0.1' into dev
2016-07-21 10:21:19 -07:00
Ryan Nowak
fb514d7ef8
Update versions to 1.0.1-*
...
Also adding a version number to TestConfiguration. This is not a leaf node
so it should have a version.
2016-07-21 09:55:28 -07:00
Ryan Nowak
b80f4d31f3
Add a test to verify our service lifetimes
...
This test uses the new features in the service provider to verify that we
don't reference any scoped services from singletons.
Note that this can't really cover the cases where we have optional
services or where we replace default services (like DI for controllers).
You'll just have to be careful.
2016-07-20 17:10:52 -07:00
Ryan Nowak
bc76c0ef31
Fix #4998 - Resolve IViewComponentHelper every time
...
This change resolves the scoped IViewComponentHelper every time its
needed, rather than misusing a shared instance. IViewComponentHelper is
stateful, so sharing an instance was the cause of this bug.
2016-07-20 17:01:39 -07:00
Doug Bunting
8a6e99c7c0
Always render antiforgery tokens if `!CanRenderAtEndOfForm`
...
- #5005
- also add `FormContext` doc comments
2016-07-20 15:25:08 -07:00
ivano scifoni
581a5ea573
column attribute for <textarea> is incorrect ( #5049 )
...
- Modify tagBuilder.MergeAttribute key to cols
2016-07-20 09:22:39 -07:00
Doug Bunting
35cc5b6e83
Use `IValidationAttributeAdapterProvider` more often
...
- #5009
- don't create a `RequiredAttributeAdapter` directly
2016-07-19 15:35:08 -07:00
Pranav K
6bdcf35670
Pin the version of dotnet-test-xunit to 1.0.0-rc3-00000-01
2016-07-19 11:14:56 -07:00
mnltejaswini
0240882031
Perf: Use RouteValueDictionary in AnchorTagHelper rather than creating a new Dictionary ( #4941 )
...
* Perf: Use lighter, more optimized dictionaries for route sensitive TagHelpers
* Changing the project dependency to Routing.Abstractions
2016-07-18 18:41:41 -07:00
Kiran Challa
52a7c112e8
[ Fixes #4876 ] ContentResult forcing chunked encoding
2016-07-18 16:10:01 -07:00