Commit Graph

44758 Commits

Author SHA1 Message Date
Hao Kung c9d27e27e6 Introduce SignInResult/IdentityError/Describer
Follows Resource pattern (IdentityErrorDescriber.StringName, or
FormatStringName(arg1, arg2)
Also cleaned up optional services, by allowing null in constructor
SignInStatus -> SignInFailure and introduced SignInResult to make
SignInManager APIs consistent with IdentityResult (but no strings needed
for SignIn)
Fixes: #86, #176, #287 and #177
2014-12-30 14:51:52 -08:00
Praburaj a4d2d185e1 Fixing tests on mono
kestrel command is now lowercased. Passing the right case from tests.
2014-12-30 13:30:36 -08:00
Praburaj e609602f2f Clean up and refactoring
1. Removed some console logging statements from code
2. Used database error page like templates.
3. Renamed the command `WebListener` to `web` with all lower case to be consistent with templates.
4. Lowercased `Kestrel` => `kestrel` to be consistent with remaining samples.
2014-12-30 13:16:08 -08:00
Suhas Joshi 625b270924 Added new apis to query users and fixed EF.Inmemory 2014-12-29 16:09:10 -08:00
Ajay Bhargav Baaskaran ff3ddfcc53 removed SessionState directive 2014-12-29 14:56:20 -08:00
Ajay Bhargav Baaskaran 891dfa5e3e renamed TagNameAttribute to HtmlElementNameAttribute 2014-12-29 10:50:27 -08:00
Kai Ruhnau 6cd5744383 Catch exceptions while disposing 2014-12-28 00:05:33 +01:00
David Fowler e421b3f01c Throw better error when libuv can't be loaded
- Throw more specific exception for *nix machines
2014-12-26 21:24:35 -08:00
Pranav K 82be0d3d4a Reacting to FileSystem changes part 3 2014-12-24 08:03:46 -08:00
Ajay Bhargav Baaskaran a818240d8a React to aspnet/Razor#263 changes 2014-12-23 16:34:13 -08:00
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