damianedwards
72533d66df
Update functional test:
...
- #1577
2015-02-27 10:44:35 -08:00
damianedwards
8b64e3c7bb
Add support for globbing to ScriptTagHelper:
...
- Fixes #1577
2015-02-27 10:37:36 -08:00
damianedwards
6490b113d8
Make LinkTagHelper JS down-level browser safe:
...
- #2088
2015-02-27 10:20:29 -08:00
Wei Wang
64ddbe0160
React to runtime perf changes in functional tests
2015-02-27 02:53:46 -08:00
Pranav K
ed3f5118e3
Reacting to NullLoggerFactory removal
2015-02-26 17:52:50 -08:00
Pranav K
73f44889f2
ViewLocationExpanderContext should have a flag that indicates if the
...
lookup is for a full or partial view
Fixes #1212
2015-02-26 16:41:54 -08:00
Levi B
b821b706b7
React to DataProtection rename
2015-02-25 17:31:02 -08:00
Ajay Bhargav Baaskaran
9f9dcbe6ec
Additional functional tests for ElementalValueProvider
2015-02-25 10:22:43 -08:00
damianedwards
e282d2a861
Ensure results of GlobbingUrlBuilder are sorted:
...
- #2062
2015-02-24 15:07:36 -08:00
Ajay Bhargav Baaskaran
dc49a2c194
Added HttpNotFoundObjectResult and added relevant tests
2015-02-24 11:57:48 -08:00
Kiran Challa
5bb69e495e
[ Fixes #1184 ] Formatting issues in requests should not cause a 500 response
2015-02-24 10:39:11 -08:00
Kiran Challa
f737083c94
Added JsonContractResolver to validate value type properties
2015-02-24 06:34:35 -08:00
Kiran Challa
c276ddaa39
Added support for validation of Required attributes in case of XmlDataContractSerializerInputFormatter
2015-02-23 23:15:48 -08:00
damianedwards
eef8884d0f
LinkTagHelper & ScriptTagHelper now log view path:
...
- #1949
2015-02-23 21:51:45 -08:00
Ryan Nowak
9d5364cf9b
Removing ModelMetadata.Model
2015-02-23 19:56:59 -08:00
Yishai Galatzer
ed8e5716ea
Remove INestedProviderXXX
...
React to aspnet/DependencyInjection#179
2015-02-23 15:18:39 -08:00
Doug Bunting
3dbdf3b2d6
Avoid exception in `MvcTagHelper` JavaScript
...
- `blank` is undefined so `blank.wooptido` threw
2015-02-23 14:26:28 -08:00
Kirthi Krishnamraju
f6e701b2b2
Reverting #1837 and add non-generic overloads for TryUpdateModel
2015-02-23 10:02:51 -08:00
N. Taylor Mullen
1cc9be5df7
React to aspnet/Razor#238 .
...
- Updated tests to create TagHelperContext correctly.
2015-02-22 20:29:25 -08:00
N. Taylor Mullen
df4b92b1c1
Update MVC projects to utilize Common repo classes.
...
- Had to add extra dependencies to work around aspnet/XRE#1237 .
- Updated src and test projects.
2015-02-22 18:23:28 -08:00
ianhong
4bb85eeaeb
React to the selfclosing support in TagHelpers
2015-02-20 21:11:02 -08:00
Mugdha Kulkarni
4f0ba26c79
Adding the test cases for generating lower case URLs
2015-02-20 15:50:58 -08:00
Doug Bunting
43fc844524
Correct `grunt-bower-task` operation
...
- jQuery and jQuery-validation files were not being copied
- update to match more-recent VS templates
nit: simplify wwwroot/lib directory tree slightly
2015-02-20 12:19:23 -08:00
Pranav K
e797b0af51
Disable functional tests in CoreCLR until System.Runtime.Dynamic issue is sorted out
2015-02-20 08:36:16 -08:00
Pranav K
57f5b19f25
* Move precompiled assemblies into a resource in the primary assembly.
...
* Emit the primary assembly if a tag helper requires it.
* Make TagHelperSample.Web use precompilation.
Fixes #1693
2015-02-19 17:50:54 -08:00
Luke Waters
d9e2581c9a
responding to interface break
2015-02-19 14:46:57 -08:00
Hao Kung
12541f7bba
React to hosting change
2015-02-19 13:54:50 -08:00
Ajay Bhargav Baaskaran
9fcf31fa43
Activate ViewDataDictionary in DefaultTagHelperActivator
2015-02-19 13:21:06 -08:00
Ajay Bhargav Baaskaran
d236d4ffde
Added CanReadType to InputFormatter
2015-02-19 13:06:36 -08:00
Yishai Galatzer
b12c4c5ef8
Cleanup services
...
Explicitly register nestedprovider managers
Make IActionSelector singleton
2015-02-19 11:14:09 -08:00
Harsh Gupta
cf80721994
Fixing Build break due to Readme change
2015-02-19 10:56:45 -08:00
Harsh Gupta
e0f7c1b810
Fixing Readme
2015-02-19 10:20:16 -08:00
Praburaj
1f98918f1f
PR feedback to StatusCode filter.
2015-02-19 09:44:13 -08:00
Harsh Gupta
85b6382c69
Fix for #563 - FromForm, FromQuery and FromValue allow providing a Name which is used as a prefix. Also the name is used for reporting model state errors.
2015-02-18 16:48:12 -08:00
Pranav K
1cb170ce02
Add delay after _GlobalImport is deleted to allow file system watcher to react
2015-02-18 11:36:51 -08:00
Pranav K
4ac3acca22
Wait for precompiled file to change.
2015-02-18 11:23:57 -08:00
Pranav K
eb7b0d6ae3
* Introduce _GlobalImports to inherit directives.
...
* Remove inheritance from _ViewStarts
Fixes #825
2015-02-18 10:02:37 -08:00
Doug Bunting
8eb63271b5
Make HTML helper parameter names consistent
...
- #944
- name `string` expression name and `Expression<Func<TModel, TResult>>`
parameters "expression"
- single special case is `GenerateIdFromName(string fullName)` since every
other expression name is relative to the current
`ViewData,TemplateInfo.HtmlFieldPrefix` value
- applied from `IHtmlHelper` and `IHtmlGenerator` on up
- name `IHtmlHelper` and `IHtmlHelper<TModel>` parameters "htmlHelper"
- rename `TProperty` and `TValue` type parameters to `TResult`
nits:
- clean up abbreviated names in `CachedExpressionCompiler`
- change `ObjectToDictionary()`'s parameter name to `value`
- use `nameof` more to make renaming (and refactoring) easier in the future
- rewrap parameters and arguments to avoid long lines and orphans
2015-02-17 17:53:53 -08:00
Harsh Gupta
f19c2e493d
Merging Model Validation for body and non body validation.
...
This also fixes #1503 .
Currently all model binders except mutable object binder are independent of validation code. The mutable object binder which needs to do some validation ( for scenarios involving [BindRequired] and [BindNever]).
We would be going with an approach where required validaiton happens in input formatters and model binders.
This is needed as validation for value types can best be done at creation time.
Followup PRs:
Introduce support for skipping validation (and not binding) for a particular property/type etc.
2015-02-17 11:50:39 -08:00
Levi B
cf36a601c6
React to HttpRequest.IsSecure being renamed
2015-02-17 11:15:56 -08:00
Kiran Challa
3dc3d280d5
Fixed XmlAssert and added tests
2015-02-16 19:11:02 -08:00
damianedwards
6e845f0171
Add globbing support to the LinkTagHelper:
...
- #1581
2015-02-16 18:29:59 -08:00
Yishai Galatzer
bcbbc58515
Api cleanup (remove List and Dictionary in favor of IList and IDictionary)
...
from the public surface copy header values on registration.
Make a copy of the mediatypeheader value in FormatterMappings so it's
really immutable.
2015-02-16 18:19:55 -08:00
Ryan Nowak
d2aa55893d
Functional tests for #302
...
This feature allows routing to generate a link when the action that is
being linked-to does not yet exist. See the PR in routing for the actual
implementation changes. This PR just has a simple functional test for the
scenario.
2015-02-16 17:59:31 -08:00
Stephen Halter
5de210f527
Fix for #1416 - Remove all uses of ITypeActivator and use the static method instead
...
- ITypeActivator is being removed
- Where an ITypeActivator was used before, use the static ActivatorUtilities
2015-02-16 16:02:39 -08:00
Hao Kung
94ef6cf8fa
React to Authorize changes
2015-02-16 15:40:57 -08:00
Ajay Bhargav Baaskaran
3d30fd653e
added Link method to IUrlHelper
2015-02-16 13:38:12 -08:00
N. Taylor Mullen
48a1cbb0e5
Fixed build break.
...
- IScopedInstance now implements IDisposable.
2015-02-16 13:08:10 -08:00
Pranav K
5e69d90076
* Modify DefaultControllerTypeProvider to look at the object graph to
...
determine if any ancestor has the "Controller" suffix.
* Introduce NonControllerAttribute to opt out of Controller detection.
Fixes #1274
2015-02-15 22:11:37 -08:00
Praburaj
3fc61eeac9
Introducing SkipStatusCodePagesAttribute attribute to disable StatusCodepages
2015-02-13 16:03:59 -08:00