Commit Graph

44758 Commits

Author SHA1 Message Date
Pranav K b9b172c2e0 Merge branch 'release' into dev 2014-11-06 10:48:03 -08:00
Pranav K 75d8a81386 Updating to release NuGet.config 2014-11-06 10:47:59 -08:00
Pranav K 1ff89669a8 Merge branch 'release' into dev 2014-11-06 10:14:41 -08:00
Pranav K bbb6a56993 Updating to release NuGet.config 2014-11-06 10:14:32 -08:00
Pranav K 1070b7ccfa Merge branch 'release' into dev 2014-11-06 10:11:52 -08:00
Pranav K 71d283a4c0 Updating to release NuGet.config 2014-11-06 10:11:44 -08:00
Pranav K 38afedb080 Updating config to create release NuGet.config and phantom merge as part of update-release 2014-11-06 10:08:09 -08:00
SonjaKhan 27e0323a8a renaming TraceType to LogLevel 2014-11-06 09:24:02 -08:00
Levi B cce11ad2ae Update .kproj files to follow modern conventions 2014-11-05 14:48:56 -08:00
Louis DeJardin b7d9e11a84 Middleware invokation with per-request services
* Extension methods for .Use<TService1, ...> and
.Run<TService1, ...> add service parameters to lambda
* Middleware class .Invoke method may take services as
additional parameters
2014-11-05 13:32:25 -08:00
Levi B bf8728bec9 Allow the application developer to specify the iteration count for membership passwords. 2014-11-05 12:08:20 -08:00
SonjaKhan 673854b060 renaming TraceType to LogLevel 2014-11-05 10:47:42 -08:00
Chris Ross 02aa1c50ff #28 - Add Helper for building Uris. 2014-11-05 09:50:27 -08:00
Doug Bunting 687b174b63 Accept VS changes to avoid noise later 2014-11-04 22:42:51 -08:00
Doug Bunting f7ef604b86 Regenerate .kproj files
- does not seem to have a negative impact
- e.g. sample web projects run / debug fine
2014-11-04 22:41:53 -08:00
Ryan Nowak e37f1ad85f Fix #1502 - Remove duplicate unit tests 2014-11-04 13:30:15 -08:00
Hao Kung 7f1024aac0 Unify ConfigureServices to take IServiceCollection with Options 2014-11-04 12:32:24 -08:00
Hao Kung 8672bd7797 Rename parameter of IUserStore.SetNormalizedUserNameAsync method
Fixes https://github.com/aspnet/Identity/issues/244
2014-11-04 12:17:27 -08:00
tugberkugurlu d7f711bca1 added replace claim functionality. fixes #232
- added ReplaceClaimAsync method to IUserClaimStore interface
 - implemented ReplaceClaimAsync method from IUserClaimStore inside the
   Microsoft.AspNet.Identity.EntityFramework.UserStore<TUser, TRole,
   TContext, TKey>
 - added ReplaceClaimAsync method to UserManager
 - added UserManager tests for ReplaceClaimAsync method.
 - added some UserStore tests for ReplaceClaimAsync implementation of
   IUserClaimStore
2014-11-04 12:02:17 -08:00
Ryan Nowak 08c591c74b Fix for #104 - RouterMiddleware should take ILoggerFactory in the
constructor

Did some cleanup here to make these tests work on CoreCLR. They weren't
using Moq for anything important.
2014-11-03 12:38:17 -08:00
Doug Bunting 90e41b905a Add `ModelMetadata.HtmlEncode` property
- use new `ModelMetadata.HtmlEncode` property in HTML helpers
 - specifically in default HTML display and editor object templates (e.g.
   `@Html.DisplayFor()`) when value is non-`null` and the template is invoked
   with template depth greater than 1
- similar to MVC 5.2 commit [2b12791aee4f](https://aspnetwebstack.codeplex.com/SourceControl/changeset/2b12791aee4ffc56c7928b623bb45ee425813021)

nits:
- remove dupe `null` check in `DefaultDisplayTemplates.ObjectTemplate()`
- move backing fields initialized with constants together in `ModelMetadata`
2014-11-03 12:23:33 -08:00
Pranav K d5515bfbb6 Adding arg null or empty checks to RazorViewEngine.FindView &
FindPartialView
2014-11-02 18:33:56 -08:00
Pranav K 74da350086 Remove enableInstrumentation from CompilerCache and IMvcRazorHost 2014-11-02 18:15:39 -08:00
N. Taylor Mullen 4720381d78 Change the IRazorCompilationService's DI lifetime.
- Modified the MvcServices registration of IRazorCompilationService to be transient to ensure the IMvcRazorHost does not maintain state.
2014-10-31 22:41:07 -07:00
Ryan Nowak 30884d8d26 Removing types marked as obsolete 2014-10-31 18:54:18 -07:00
Ryan Nowak b8645eeb31 Follow up to JsonResult changes
Changing the WebAPI shim to use the new and improved JsonResult.
2014-10-31 18:33:15 -07:00
Ryan Nowak 0ccfcc4316 Fix for breaking API change from routing 2014-10-31 18:23:19 -07:00
Ryan Nowak 87f0bbb092 adding tests 2014-10-31 16:00:04 -07:00
Ryan Nowak aae9e67773 add docs 2014-10-31 15:02:54 -07:00
Ryan Nowak 105c99cbf2 Fix #1370 - Always use the provided formatter in JsonResult
The change here is to always use the provided formatter, instead of using
it as a fallback. This is much less surprising for users.

There are some other subtle changes here and cleanup of the tests, as well
as documentation additions.

The primary change is that we still want to run 'select' on a formatter
even if it's the only one. This allows us to choose a content type based
on the accept header.

In the case of a user-provided formatter, we'll try to honor the best
possible combination of Accept and specified ContentTypes (specified
ContentTypes win if there's a conflict). If nothing works, we'll still run
the user-provided formatter and let it decide what to do.

In the case of the default (formatters from options) we do conneg, and if
there's a conflict, fall back to a global (from services)
JsonOutputFormatter - we let it decide what to do.

This should leave us with a defined and tested behavior for all cases.
2014-10-31 14:30:31 -07:00
Ryan Nowak d78e5478a7 Fix for #65,116 - Implement 'stack of routers'
This is the routing part of the fix. MVC will be updated as well
(attribute routing).

As the graph of routers is traversed, routers add themselves to the
current 'path', which unwinds on a failed path.

This mechanism is opt-in. Whoever adds something needs to remove it as
part of cleanup. If a router in the tree doesn't interact with the
.Routers property, then there are no consequences for those that do.

Additionally, fixing #116 as part of the same change. This means that we
create a nested 'RouteData' and then restore it on the way out. This is
simpler than just dealing with the .Routers property in isolation.
2014-10-31 14:07:35 -07:00
sornaks d178200795 Adding functional tests for Filters. 2014-10-31 08:36:31 -07:00
David Fowler e1a88b6503 Merge branch 'release' into dev 2014-10-31 03:04:33 -07:00
David Fowler 1768bfd25f Added package descriptions 2014-10-31 03:00:59 -07:00
David Fowler f0bec06fe0 Merge branch 'release' into dev 2014-10-31 02:57:48 -07:00
David Fowler 82511a8489 Added package descriptions 2014-10-31 02:57:32 -07:00
David Fowler 4394a3e2fa Merge branch 'release' into dev 2014-10-31 02:46:34 -07:00
David Fowler 01a4d8d5bb Added package descriptions 2014-10-31 02:46:22 -07:00
David Fowler 9861d4cfaf Merge branch 'release' into dev 2014-10-31 02:31:34 -07:00
David Fowler c6c7b48358 Added package descriptions 2014-10-31 02:31:23 -07:00
David Fowler 6aed946a63 Merge branch 'release' into dev 2014-10-31 02:12:01 -07:00
David Fowler a5bd9d29e5 Added package descriptions 2014-10-31 02:11:42 -07:00
David Fowler c98019883b Merge branch 'release' into dev 2014-10-31 01:48:30 -07:00
David Fowler 0174d213d1 Added package descriptions 2014-10-31 01:48:15 -07:00
David Fowler 5696f3fd5d Merge branch 'release' into dev 2014-10-31 01:39:06 -07:00
David Fowler 3bbdce3511 Added package descriptions 2014-10-31 01:38:05 -07:00
David Fowler 7277dc910a Merge branch 'release' into dev 2014-10-31 01:07:04 -07:00
David Fowler c9e0f9beb1 Added package descriptions 2014-10-31 01:06:50 -07:00
David Fowler b7b0a4468a Merge branch 'release' into dev 2014-10-31 00:53:10 -07:00
David Fowler 5ae262f394 Added package descriptions 2014-10-31 00:52:45 -07:00