Commit Graph

40898 Commits

Author SHA1 Message Date
Praburaj d9148bd6f7 Fixing KRE_ENV to ASPNET_ENV 2014-12-22 19:04:55 -08:00
David Fowler 217f9ca3d3 Merge pull request #125 from aidancasey/dev
NDC London bug fix! , changing environment variable name
2014-12-22 18:08:07 -08:00
N. Taylor Mullen e30e74dc5a Handle unclosed and invalid structure HTML tags for TagHelpers.
- Added detection of unclosed tags (tags without begin/end).
- Added recovery of potentially unclosed tags.
- Added detection of invalid structure tags (tags that do not end with '>').
- Modified detection of bad attribute values to be parse errors instead of runtime errors.
- Modified RazorParser to sort errors. This made writing tests more intuitive and ultimately ensures that the editor shows errors in the correct order.
- Added tests to validate invalid tag structure.
- Added tests to validate invalid attributes.
- Added tests to validate unclosed tags.

#104
2014-12-22 14:28:35 -08:00
Praburaj 9e62865dd9 Fixing code to pass KRE folder path not including bin 2014-12-22 13:14:02 -08:00
N. Taylor Mullen 6afd8710fa React to aspnet/Razor#207 changes. 2014-12-22 10:58:23 -08:00
Pranav K cce76cffd4 * Removing transitive dependencies from
Microsoft.AspNet.StaticFiles/project.json
* Replacing Contract.Assert with Debug.Assert and removing
  System.Diagnostics.Contracts dependency
* Fixing casing for Microsoft.AspNet.StaticFiles.Tests/project.json file
  name
2014-12-20 07:17:14 -08:00
Pranav K dc74729b6c More changes to DateTimeOffset 2014-12-20 07:07:43 -08:00
Pranav K 35ec5be17f Reacting to FileSystem changes 2014-12-20 06:50:20 -08:00
Pranav K 9df8a1e73f Reacting to FileSystem changes v2 2014-12-19 18:10:57 -08:00
Pranav K c6eaf00b02 Reacting to FileSystem changes 2014-12-19 17:38:29 -08:00
N. Taylor Mullen a86b0dca3e Add line mappings to project TagHelper attribute values.
- We now create LineMappings for instances where a TagHelper's attribute value is not of a string type.
- This will enable the Razor editor to create projections from .cshtml => .cs for TagHelper attributes.
- Modified the TagHelperCodeGenerator and TagHelperBlockBuiler to accurately track the attribute values start locations so it could flow into code generation.
- Modified existing tests to account for the new line mappings.

#207
2014-12-19 17:26:33 -08:00
Praburaj a9ea8a87c8 Fixing the KRE name issue on mono
On mono with a recent change --runtime <value> for kpm pack is null as the value is not populated.
2014-12-19 13:45:51 -08:00
Hao Kung 5d29d11ccb Remove all navigation property usage from EF Store 2014-12-19 13:26:54 -08:00
Suhas Joshi e5a92daa51 Corrected json for mono 2014-12-19 11:59:12 -08:00
Praburaj 2dae44a607 Disabling IIS variation test as CI machine does not have IIS installed. 2014-12-19 10:53:33 -08:00
mikary f76583b18b Reacting to API changes in EntityFramework 2014-12-19 10:47:45 -08:00
Praburaj 68102b8786 Enabling IIS variation of the test
Also organizing some test code.
2014-12-18 20:01:47 -08:00
Praburaj 3c49e439c9 Removing an incorrect test variation. 2014-12-18 19:25:59 -08:00
Praburaj 9c442e97ff Using the latest xunit skip condition attributes to skip tests
Also moved all the helper code into sub-directories.
2014-12-18 19:25:51 -08:00
Praburaj Thiagarajan 102270d8db Merge pull request #309 from stefaanvermassen/patch-2
Fixed README typo
2014-12-18 17:48:15 -08:00
Levi B e9c4a8c9de Conditionally run CNG tests only on supported platforms. 2014-12-18 15:43:08 -08:00
Chris Ross 4333003df0 Generalize BasePath logic. 2014-12-18 15:30:43 -08:00
Chris Ross 8b7d33baaf #63 - Use the PathBase in the Cookie path by default. 2014-12-18 14:41:16 -08:00
rowanmiller 5e00937d59 Handle wrapped exceptions in Database Error Page
If a database exception is wrapped later in the request (after EF has logged it) then we were not displaying the database error page.
This was occurring in ASP.NET Identity where the exception was getting wrapped in an AggregateException.
We now walk the tree of inner exceptions looking for a match.
Also adding some extra logging as this was hard to debug without resorting to source code.
2014-12-18 14:16:38 -08:00
Pranav K 52a72e6b0e Updating makefile.shade so build only-compile is pretty printed in
TeamCity
2014-12-18 14:06:45 -08:00
SonjaKhan c936ae80ca Logging assemblies, controllers, and actions 2014-12-18 10:52:20 -08:00
Victor Hurdugaci 03d174efe2 Skip bug config on CI 2014-12-18 10:50:57 -08:00
Suhas Joshi 3b99fb5b9e Added new target for release check 2014-12-18 10:35:45 -08:00
Ajay Bhargav Baaskaran 04c37a8d51 added few taghelper functional tests 2014-12-17 16:31:24 -08:00
Stefaan Vermassen b15e1a7880 Fixed README typos 2014-12-18 01:12:31 +01:00
Pranav K 50d9beae17 Merge branch 'release' into dev 2014-12-17 16:11:22 -08:00
Suhas Joshi ac86d94eb6 Added new methods on IdentityBuilder 2014-12-17 15:54:17 -08:00
Victor Hurdugaci a92e2e9c00 Throw when a repo fails to build 2014-12-17 15:52:24 -08:00
Brennan 46e60b1276 Update tests to use official xunit 2014-12-17 15:15:43 -08:00
Pranav K 2a57f93117 Updating Razor to not use K.Roslyn 2014-12-17 14:48:57 -08:00
Victor Hurdugaci c00007caab More disabled tests 2014-12-17 14:08:36 -08:00
Suhas Joshi 368e96ad32 Fixes teamcity issue with Console.ReadLine() 2014-12-17 11:50:33 -08:00
Pranav K 22ac7c45e5 Update Mvc to use official xunit runner 2014-12-17 11:27:07 -08:00
Brennan 47c870c871 Update tests to use official xunit 2014-12-17 10:56:55 -08:00
Brennan d08e5d3572 Updating tests to use official xunit 2014-12-17 10:46:08 -08:00
Brennan 2d2eedf89e Update tests to use official xunit 2014-12-17 10:41:02 -08:00
Brennan b014a9ef41 Update tests to use the official xunit 2014-12-17 10:23:40 -08:00
sornaks 07043ce1a9 Merge branch 'release' into dev 2014-12-16 14:52:16 -08:00
Hao Kung e3602fac98 Login -> log in 2014-12-16 14:03:21 -08:00
Stuart Leeks 4af03693bf Fix typos in Views\Home\Index.cshtml 2014-12-16 14:03:17 -08:00
Kai Ruhnau e0beec90f4 Fixed folder name casing of Compiler/* 2014-12-16 12:32:35 -08:00
Pranav K ce8d840cc6 Adding additional functional tests for ModelBinding 2014-12-16 12:25:37 -08:00
sornaks 1570e198ef Bug #1354 - ViewComponent View() fails on CoreCLR with IEnumerable<> passed in.
Fix - When the model is passed in to a View, ViewDataDictionary sets it. During this process, we recurse through all the properties and create FastPropertyGetters for each of them. In this case, since it is an enumerable, the properties which we recurse through are not the elements of the collection but the properties of the Enumerable instead. i.e - Enumerable.Current. Creating getters for these properties are not necessary. The fix moves the property iteration step to a place where the properties are actually requested.
- Splitting TypeInformation class into two and separating their caches appropriately.
2014-12-16 12:19:38 -08:00
Pranav K e078076408 Adding functional test for RazorViewEngineOptions.FileSystem 2014-12-16 12:08:40 -08:00
Ryan Nowak ceaf257cd5 Update Razor to use official xunit runner 2014-12-16 12:05:53 -08:00