Doug Bunting
8babf2b380
Change in-box tag helpers to use `DefaultFrameworkSortOrder`
...
- #2905
- override `Order` implementation inherited from `TagHelper`
- only exception is `UrlResolutionTagHelper` which already overrides `Order` to execute much earlier
2015-08-22 15:32:02 -07:00
N. Taylor Mullen
d0688a7e00
Add the ability for `TagHelper`s to exist inside templates.
...
- Previously doing `@<mytaghelper />` was invalid due to how we constructed templates lambdas.
#489
2015-08-21 16:51:47 -07:00
Brennan
acefcff61d
Make work on Xplat CoreCLR
2015-08-21 16:28:16 -07:00
N. Taylor Mullen
dbcc5e240a
Change `GetHashCode()` for `CaseSensitiveTagHelperDescriptorComparer` to order values.
...
- Ordered `RequiredAttributes`, `AllowedChildren` and `Attributes`.
#489
2015-08-21 15:20:57 -07:00
Ryan Nowak
4a7ada5f64
Make IValueProvider sync, IValueProviderFactory async
2015-08-21 14:58:55 -07:00
Ajay Bhargav Baaskaran
3519c375fc
Minor cleanup - removed unwanted @
2015-08-21 14:40:35 -07:00
Doug Bunting
aaa47d5e0e
Workaround https://github.com/aspnet/External/issues/21 in a couple more tests
...
- led to Travis build failures
2015-08-21 14:12:15 -07:00
Hao Kung
84259975ca
Update exception text
2015-08-21 13:16:41 -07:00
Hao Kung
4e0000163b
Updates to AddManager behavior
2015-08-21 13:00:35 -07:00
Ajay Bhargav Baaskaran
774219b2ef
[ Fixes #2788 ] Added a sample taghelper that handles IE conditional comments
2015-08-21 11:19:49 -07:00
Ryan Nowak
6d365e9a32
Make ValueProviderResult a string-ish struct
2015-08-21 11:02:40 -07:00
Doug Bunting
02cc82a055
PR comments commit
2015-08-21 10:45:43 -07:00
Ryan Nowak
516a435ea5
Fix #365 - Make IFormFileCollection implmenent IReadOnlyList<T>
2015-08-21 10:39:27 -07:00
Doug Bunting
070be7b656
Make validation in `TryUpdateModelAsync()` consistent with model binding elsewhere
...
- #2941
- honor `ModelBindingResult.IsModelSet` and use `ModelBindingResult.ValidationNode`
- enable correct validation of collections or after model binding falls back to the empty prefix
- code previously matched `Controller.TryValidateModel()`; less context available in that case
2015-08-21 08:17:19 -07:00
Ryan Nowak
b5c9d905d9
Fix #2986 - Make ModelMetadata getters null-safe
2015-08-21 07:58:02 -07:00
David Fowler
6ba7793636
Merge pull request #376 from khellang/owin-request-user
...
Add owin.RequestUser
2015-08-21 01:00:50 -07:00
Kristian Hellang
138bc6a20f
Added owin.RequestUser
2015-08-21 09:38:53 +02:00
Kristian Hellang
68eb9646ea
Added asserts to tests
2015-08-21 09:38:53 +02:00
N. Taylor Mullen
55760b4fcb
Add copy constructor to `TagHelperAttribute`.
...
- Added test to validate copy constructor does its job.
#492
2015-08-20 22:09:46 -07:00
N. Taylor Mullen
902de1599c
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:47:54 -07:00
N. Taylor Mullen
8b5bb0133d
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:47:50 -07:00
N. Taylor Mullen
724027ac02
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:47:44 -07:00
N. Taylor Mullen
c885b92c99
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:47:40 -07:00
N. Taylor Mullen
ad0dbe7314
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:47:37 -07:00
N. Taylor Mullen
a60188e10b
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:47:28 -07:00
N. Taylor Mullen
6b432e4e0e
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:47:09 -07:00
N. Taylor Mullen
5a7e091330
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:47:05 -07:00
N. Taylor Mullen
ad029520d9
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:47:01 -07:00
N. Taylor Mullen
2a7dcea266
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:46:58 -07:00
N. Taylor Mullen
2fe720604a
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:46:54 -07:00
N. Taylor Mullen
c1108dd163
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:46:50 -07:00
N. Taylor Mullen
41b7ce4b23
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:46:47 -07:00
N. Taylor Mullen
b4ea8a59ff
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:46:43 -07:00
N. Taylor Mullen
7f5045d62f
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:46:27 -07:00
N. Taylor Mullen
f7d42ebe80
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:46:20 -07:00
N. Taylor Mullen
d013bdfbf6
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:46:08 -07:00
N. Taylor Mullen
35fd0403a6
Update 'build.sh' to pull Sake from v2 NuGet feed.
2015-08-20 20:46:00 -07:00
N. Taylor Mullen
c3e2e6fa0a
Change Script, Link and Image `TagHelper`s to work better with other `TagHelper`s.
...
- `ScriptTagHelper`, `LinkTagHelper` and `ImageTagHelper` now default to using `output.Attributes["href|src"]` if it's present when they run. This enables other `TagHelper`s to run prior and add those attributes.
- Added unit tests to validate this behavior.
- Updated `ImageTagHelper` functional test resources. Now that we're always defaulting to `output.Attributes["src"]` for `ImageTagHelper.Src` we're properly copying attributes back into the `output.Attributes` collection in the correct order (isntead of appending to the end).
#2902
2015-08-20 20:41:28 -07:00
Ryan Nowak
052479af6b
Revert "Swap back to nuget.org v2 feed"
...
This reverts commit a17da51256 .
2015-08-20 19:55:08 -07:00
N. Taylor Mullen
6d99391985
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:50 -07:00
N. Taylor Mullen
c666c9edb6
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:45 -07:00
N. Taylor Mullen
871def4dc1
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:40 -07:00
N. Taylor Mullen
a42eaefc58
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:35 -07:00
N. Taylor Mullen
e43e3c7b52
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:31 -07:00
N. Taylor Mullen
866998242b
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:27 -07:00
N. Taylor Mullen
dbab3e610b
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:23 -07:00
N. Taylor Mullen
150919f894
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:18 -07:00
N. Taylor Mullen
0c36470f8b
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:14 -07:00
N. Taylor Mullen
ed367df5bc
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:10 -07:00
N. Taylor Mullen
bd9894eca7
Update 'build.cmd' to pull Sake from v2 NuGet feed.
2015-08-20 15:38:06 -07:00