Commit Graph

39185 Commits

Author SHA1 Message Date
Youngjune Hong 40e479c915 MvcTagHelpers tests for
1) A few `<input/>` tag helpers in a partial view invoked (`@Html.PartialAsync()`) in a loop within a `@for` inside an `using @Html.BeginForm()` block.
2) A custom template e.g. EditorTemplates/MyType.cshtml containing a mix of `<input/>`, `<select/>`, and various input HTML helpers invoked (`@Html.Editor[For]()`) in a loop within a `@for` inside an `using @Html.BeginForm()` block.
3)  `<select/>` tag helpers with an `using @Html.BeginForm()` block
4) HTML helpers in the <form/> tag helper
2015-01-13 10:12:19 -08:00
ASP.NET Push Bot 2646c38823 ⬆️ kvm.ps1, kvm.cmd
Source: aspnet/kvm@70bfec8eb2
2015-01-13 09:52:42 -08:00
Pranav K cbea96cf37 Reacting to Roslyn version change 2015-01-13 08:19:49 -08:00
Pranav K b7d44666b8 Adding support for flowing compilation errors to Diagnostics middleware
Fixes #872
2015-01-13 07:32:58 -08:00
Ajay Bhargav Baaskaran 62b6ab8721 Added missed license header and removed unused file 2015-01-12 17:42:05 -08:00
Ryan Nowak 08b83fefc3 Some cleanup of action invoker and related code
The action invoker no longer needs access to model metadata or to the
input formatter selector. This change removes the same as constructor
parameters and cleans up tests which use the invoker.
2015-01-12 16:44:39 -08:00
Ajay Bhargav Baaskaran 4377bb24ce Added extension methods for FormFile 2015-01-12 14:54:12 -08:00
Ryan Nowak 61d9c2cbf8 fix build break 2015-01-12 14:36:21 -08:00
Pranav K 576731e86e Adding contract interfaces for specifying runtime compilation exceptions.
Fixes #12
2015-01-12 14:35:15 -08:00
Ryan Nowak 5ac5c53c09 Adding Resource Filters
This is a new filter stage that surrounds the existing model binding,
action, and result parts of the pipeline. Resource Filters run after
Authorization Filters.

The other major change is to support one of the primary scenarios for
Resource Filters. We want a filter to be able to modify the inputs the
model binding (formatters, model binders, value providers, etc) -- this
means that those changes need to be held on a context object and preserved
so that they can be used in the controller.

So, IActionBindingContextProvider is removed - the ActionBindingContext
will be created by the invoker. For now it will be part of the action
context.
2015-01-12 14:18:20 -08:00
stanislavromanov 990473aebc Change remark for FlushAsync method. close #1721 2015-01-12 14:07:58 -08:00
Ajay Bhargav Baaskaran 3dedef422a Merged compiler/resources with Compiler/Resources 2015-01-12 13:29:37 -08:00
Aligned d5143f5004 Change ASP.NET vNext to ASP.Net 5 2015-01-12 15:13:17 -06:00
Ajay Bhargav Baaskaran 191af4a5a9 added activation tests for tag helpers 2015-01-12 12:51:41 -08:00
Hao Kung 69ac9abcc5 Rehash passwords when needed
Fixes https://github.com/aspnet/Identity/issues/17
2015-01-12 12:47:08 -08:00
Hao Kung 41806a6067 Merge branch 'attach1-10' into dev 2015-01-12 12:38:59 -08:00
Hao Kung 4eff17c9b2 Cleanup DataProtectionTokenProvider 2015-01-12 12:34:16 -08:00
ASP.NET Push Bot 3e5733064c ⬆️ kvm.ps1, kvm.cmd
Source: aspnet/kvm@101fa9a15e
2015-01-12 12:20:55 -08:00
Praburaj Thiagarajan 29acc23ea8 Merge pull request #268 from peterblazejewicz/fix/compiler-warning
Refactor method to explicit helper. Fixes #253
2015-01-12 12:19:06 -08:00
ASP.NET Push Bot 56947842bf ⬆️ kvm.ps1, kvm.cmd
Source: aspnet/kvm.git@0471222770
2015-01-12 12:13:51 -08:00
Hao Kung b59440d95f Normalize all lookups with one service 2015-01-12 12:12:53 -08:00
Peter Blazejewicz 36073fff3c Refactor method to explicit helper. Fixes #253
- change method name to be more explicit about method role
- update method use in controller

#253
2015-01-12 20:58:42 +01:00
Hao Kung 63940bee87 Fix doc comments 2015-01-12 11:47:08 -08:00
ASP.NET Push Bot 80d9fb4781 ⬆️ kvm.ps1, kvm.cmd
Source: git@github.com:aspnet/Home commit 9af8d52c9fd9779827d84a8e11dde5b0d5478165
2015-01-12 11:42:59 -08:00
Chris Ross 01620d487e Update QueryBuilder dependency. 2015-01-12 10:34:39 -08:00
Hao Kung 157b633758 React to IContextAccessor -> IScopedInstance 2015-01-12 10:25:21 -08:00
Hao Kung f786fb7bd0 Add HttpContextAccessor 2015-01-12 10:22:15 -08:00
Hao Kung 06de635149 Add attach tests for disconnected user/role 2015-01-10 02:34:00 -08:00
Praburaj fdfe88f8e0 Using Console logger to print logs instead of using Console.WriteLine 2015-01-09 16:44:08 -08:00
Praburaj a6bf0e16aa Adding console logger to the sample 2015-01-09 15:12:53 -08:00
Praburaj ce178243fc Fixing a test regression
Deleted a boolean flag passed to ignore login/register links in the home page.
2015-01-09 13:54:30 -08:00
Praburaj 56d6dfeb1b Adding a retry logic for NtlmAuth test
The other two tests already have this.
2015-01-09 13:39:30 -08:00
Youngjune Hong f8cb519c2f Adding the functional tests for MvcTagHelpers (1) 2015-01-08 17:23:42 -08:00
Barry Dorrans 53b994da19 XMLDoc updates. Seperation of classes. 2015-01-08 11:09:08 -08:00
Chris Ross 44dadb1d0f Handle ReadForAsync changes. 2015-01-07 18:30:36 -08:00
Chris Ross fbe80ee64e Handle ReadFormAsync breaking changes. 2015-01-07 18:10:42 -08:00
Ajay Bhargav Baaskaran 52a984c52d react to aspnet/HttpAbstractions#146 changes 2015-01-07 17:53:35 -08:00
Chris Ross e6218c0429 React to ReadFor breaking change. 2015-01-07 17:06:22 -08:00
Chris Ross 97b151f2c2 Handle ReadFormAsync breaking change. 2015-01-07 16:25:42 -08:00
Chris Ross 76017af97c Handle Form and helpers breaking changes. 2015-01-07 16:15:41 -08:00
Chris Ross 5872feb224 #139 - Mime multipart request parsing. 2015-01-07 15:42:46 -08:00
mikary 32e28a8fc8 Reacting to API changes in EntityFramework Migrations 2015-01-07 14:51:05 -08:00
Hao Kung 0e7755ab79 Remove navigation properties
InMemory test was the only one left using them, moved to a specific user
subclass which had them for that test project
2015-01-07 13:26:47 -08:00
Hao Kung c558fe8d20 Remove DefaultSecurityClaimType constant
Fixes https://github.com/aspnet/Identity/issues/316
2015-01-07 13:24:18 -08:00
Hao Kung a8c872aba9 Concurrency support for EF Store
- CRUD operations on IUserStore now return IdentityResult
- Fixes: https://github.com/aspnet/Identity/issues/296,
https://github.com/aspnet/Identity/issues/245
2015-01-07 13:17:36 -08:00
Barry Dorrans e76d1c2809 XMLDoc updates. 2015-01-07 12:28:35 -08:00
Chris Ross fec32f6746 #82 - Improve error handling mechanics. 2015-01-07 10:05:26 -08:00
Doug Bunting 6df288bce7 Correct StyleCop violations
- StyleCop working again (handles C# 6.0 additions) though only locally for me
- disable some new rules:
 - ConstFieldNamesMustBeginWithUpperCaseLetter
 - InstanceReadonlyElementsMustAppearBeforeInstanceNonReadonlyElements
 - StaticReadonlyElementsMustAppearBeforeStaticNonReadonlyElements
 - StaticReadonlyFieldsMustBeginWithUpperCaseLetter
 - PrefixCallsCorrectly
- correct remaining violations
 - lots of long lines for example
 - use more `var`; some manual updates since StyleCop doesn't check seemingly-unused blocks

nit: remove new trailing whitespace (was paranoid about adding it w/ fixes)
2015-01-06 16:23:57 -08:00
Kiran Challa 227f564098 Logging functional tests using ElmLogger 2015-01-06 16:16:12 -08:00
Barry Dorrans cf68fac658 XML Doc Update (one by one for ease of eventual merging) 2015-01-06 15:40:24 -08:00