Commit Graph

39740 Commits

Author SHA1 Message Date
N. Taylor Mullen 30221f7ce0 Add @removetaghelper directive.
- Added parsing recognition of the @removetaghelper directive.
- Added TagHelperDescriptor handling: @removetaghelper will cause the system to ignore TagHelpers that are added via @addtaghelper.
- Added Chunk generation, this involved building a CodeGenerator (soon to be named ChunkGenerator) that pulled out the stringified @removetaghelper lookup text which it then uses to construct a RemoveTagHelperChunk.
- Modified CodeVisitors to now understand RemoveTagHelperChunk's.
- Added code generation, this involved creating a dummy string in order to give the @removetaghelper "..." coloring.

#112
2014-10-29 10:24:57 -07:00
Pranav K 5f8c410d0b Merge branch 'release' into dev 2014-10-29 10:23:13 -07:00
David Fowler 29731533af Merge branch 'release' into dev 2014-10-29 10:22:40 -07:00
David Fowler 5b515fd132 Updated JSON.NET to 6.0.6 2014-10-29 10:22:19 -07:00
Pranav K 07ff6eb3be Update to JSON.Net 6.0.6
Fixes #1473
2014-10-29 10:18:55 -07:00
jacalvar 6b2ab32885 Revert "Added a functional test for view precompilation"
This reverts commit 310feeb826.
2014-10-28 19:14:50 -07:00
ajcvickers 947a3f8790 Reacting to EF API renames 2014-10-28 18:55:57 -07:00
ajcvickers 0bbd7c8b48 Reacting to EF naming change 2014-10-28 18:51:30 -07:00
jacalvar 310feeb826 Added a functional test for view precompilation 2014-10-28 18:38:15 -07:00
Ryan Nowak 305dd87b9b Fix for #1442 - Find better names for ApiExplorerProperties
Taking the suggestion here to move these to a sub-object. This is future
proof in the event that we need to capture more data for ApiExplorer, and
reads better.
2014-10-28 13:03:19 -07:00
Ryan Nowak 46897037e9 TODO removal part 1 - ActionExecutorTests 2014-10-28 12:54:14 -07:00
Pranav K b95247d3c4 Merge branch 'release' into dev 2014-10-28 12:36:55 -07:00
Ryan Nowak 9a77c2bc1e Fix for #1448 - ViewComponents must be public top-level classes
ViewComponents and Controllers now follow the same rules exactly for what
types of classes they can be.

Also corrected a bug in a test for controllers. Closed-generic types can
be controllers, the test was wrong.
2014-10-28 12:36:07 -07:00
Pranav K 1e5fd25375 Merge branch 'release' into dev 2014-10-28 12:31:23 -07:00
Pranav K e25e4c4a5d Change logging in Mvc to log with TraceType.Verbose
Fixes #1457
2014-10-28 12:11:33 -07:00
Pranav K cfd38d2845 Merge branch 'release' into dev 2014-10-28 06:57:23 -07:00
Pranav K d35057deea Reacting to Roslyn version changes 2014-10-28 06:34:06 -07:00
Pranav K 6c4462a76f * Porting Hidden and HiddenFor unit tests
Partial fix to #453
2014-10-27 17:54:56 -07:00
Doug Bunting 1f670bf3a7 Merge branch 'release' into dev 2014-10-27 16:43:02 -07:00
Pranav K 0350ca1dba Switching TraceType to Verbose 2014-10-27 16:27:58 -07:00
Doug Bunting cfcb1f2e2f Add more unit tests of `ViewDataDictionary` copy constructors 2014-10-27 16:26:04 -07:00
Doug Bunting 4bde6f6caf Add "/home/nulluser" view to MVC sample
- exercises display and editor helpers when `Model==null`
2014-10-27 16:25:48 -07:00
Doug Bunting 8d2a1c47e5 Change `ViewDataDictionary` copy constructor to ensure `ModelMetadata` is
never that for `object`
- `ViewDataDictionary<TModel>.ModelMetadata` was for `object` after base
 copy constructor got value from `ViewDataDictionary<object>`
- problem led to #1426 symptoms
- with copy constructor leaving `base.ModelMetadata==null` more often,
 `ViewDataDictionary<TModel>.ModelMetadata` usually tracks `TModel` if
 `Model==null`

nit:
- fix existing comment in main `ViewDataDictionary` copy constructor
2014-10-27 16:25:24 -07:00
Levi B fc4213b1f8 Reliability: Don't compile against 'experimental' language features.
This will help prevent Roslyn changes from breaking us.
2014-10-27 16:18:42 -07:00
David Fowler 653d31b336 Don't lock metadata references 2014-10-27 16:14:32 -07:00
Chris Ross a492b8fcbd #84 - Fix regression with OAuth Notifications. 2014-10-27 16:01:31 -07:00
Hao Kung 556c15273e Add SignInManager CanSignIn
new hook which can be used to block sign in
Fixes https://github.com/aspnet/Identity/issues/129
2014-10-27 15:46:48 -07:00
Levi B 5899177af2 Merge branch 'release' into dev 2014-10-27 15:31:23 -07:00
Pranav K e0116bab30 Modifying ArgumentNullOrEmpty message to be consistent with Mvc 5 \
testing code.
2014-10-27 15:07:53 -07:00
Hao Kung 2c9f43a160 Enable and fix Async/Cancellation tests 2014-10-27 12:58:46 -07:00
Levi B 6797dfea48 Fix %APPDATA% detection logic. 2014-10-27 12:55:59 -07:00
Hao Kung cb3948b86f Use DataProtectionTokenProvider from DI
Fixes https://github.com/aspnet/Identity/issues/224
2014-10-27 12:51:45 -07:00
Chris Ross 374a0ec055 Only build samples if samples dir exists. 2014-10-27 10:52:59 -07:00
Chris Ross 1e9c6007a9 Remove WebListener and WebSockets from sample due to dependencies. 2014-10-27 10:36:42 -07:00
Chris Ross 84c23e1e0a #96 - Build samples 2014-10-27 10:25:43 -07:00
N. Taylor Mullen 7934c432c8 React to case insensitive TagHelperOutput.Attributes.
- Cleaned up some existing bad code that worked around case sensitive TagHelperOutput.Attributes.
- Modified MergeAttributes to be case insensitive when it comes to merging class attributes.
- Added a test to verify the new MergeAttribute case insensitive class merging.

aspnet/Razor#186
2014-10-26 13:32:11 -07:00
N. Taylor Mullen 09af7bb77b Change TagBuilder Attributes and HTML Helper dependencies to be case insensitive.
- This involved adding the StringComparer.OrdinalIgnoreCase comparer to the TagBuilder's Attributes dictionary.
- Added tests to validate that all methods that made use of TagBuilder.Attributes abide by the new ignore case mechanic.
- Added two sets of tests to validate the new functionality of Object => Dictionary HTML helper tests.
- Modified a functional test that utilizes HTML Helpers to provide same attribute-different case objects.
- Fixed existing HTML helper tests to account for new ordering of attrbutes (dictionary no longer adds key value pairs, it sets them).

#1328
2014-10-26 13:15:09 -07:00
Chris Ross be8859d07c Cleanup. 2014-10-24 15:25:41 -07:00
Chris Ross 035983f90e Add missing dependency. 2014-10-24 15:24:01 -07:00
Chris Ross 76d3043bbe Update Autobahn server app with native and managed paths. 2014-10-24 15:14:07 -07:00
Chris Ross 75caf72cb3 Merge branch 'release' into dev 2014-10-24 12:25:49 -07:00
Chris Ross 6e2b94dde3 #76 - Suppress shutdown error logs. 2014-10-24 12:15:07 -07:00
Pranav K f38e258f89 Removing unused references from project.json 2014-10-24 08:24:39 -07:00
Pranav K 9309765ffa Fixing System.Diagnostics.Contracts reference 2014-10-24 08:01:10 -07:00
Pranav K 1e3828eb7d Changing NewtonSoft.Json version to 6.0.6 2014-10-24 01:16:32 -07:00
Pranav K 16725ac0d7 Adding reference to System.Reflection.Extensions 2014-10-24 01:09:02 -07:00
Pranav K c9fbaccde1 Cleaning up project.json
Updating Newtonsoft.Json version to 6.0.6
2014-10-24 00:45:27 -07:00
Pranav K 733eb85b54 Adding reference to allow building 2014-10-24 00:26:35 -07:00
Pranav K 10ef1b33c1 Reacting to System.Collections.Concurrent version change 2014-10-24 00:04:46 -07:00
Pranav K e174b66b4f Reacting to System.Collections.Concurrent versioning change 2014-10-23 23:10:18 -07:00