Commit Graph

24198 Commits

Author SHA1 Message Date
Praburaj f243244972 Adding ability to turn off the status code pages
Added a feature named IStatusCodeFeature with an enabled property. MVC or any framework can get this feature and turn it off if
it does not want status code pages logic to take over and send HTML response.

Also refactored the sample flow to make it easier to understand.
2015-02-12 11:09:47 -08:00
Pranav K 26cd8d51b6 Removing ANIs 2015-02-12 09:07:47 -08:00
Levi B e5c6fd401f Add TextWriter-based overloads to the encoding routines
These make the core implementations slightly slower but
provide the benefit of reducing allocations, which is
useful when these methods are called frequently by Razor.
2015-02-11 17:49:37 -08:00
Ryan Nowak 9ee946073a Add support for best-effort link-generation
This change adds a feature needed for aspnet/Mvc#302

There's a new option in routing that allows link-generation to proceed
when the route values cannot be validated. The key scenario for this is
during development of an MVC site. Routing will refuse to generate a link
to actions which don't exists, this is a breaking change from the MVC5
behavior. Setting UseBestEffortLinkGeneration will allow routing to return
a value even when we can't match the action.

This option will remain off by default - setting this to on will impact
link-generation in a bunch of scenarios involving areas where we've
improved the logic for MVC6. If you're considering leaving this on outside
of development scenarios, then make sure to be as explicit with route values
as possible (don't rely on ambient values).

Functional tests to follow up in the MVC repo.
2015-02-11 14:38:30 -08:00
Levi B 14c872d981 Update HtmlEncoder to wrap UnicodeEncoderBase 2015-02-11 12:03:47 -08:00
Levi B fc7ed3a9cd Add TLS token binding feature 2015-02-11 11:40:40 -08:00
Levi B 1008e17259 Add HtmlEncoder, UrlEncoder, and JavaScriptStringEncoder
Also add interfaces for abstracting each of these
Unit tests are not in yet but are coming soon
2015-02-11 11:39:22 -08:00
Eilon Lipton dadd9cd9f3 Merge pull request #189 from ironyx/patch-1
Logical AND would never be true; broke into OR statement
2015-02-11 09:35:06 -08:00
Hao Kung 083f05a7d0 React to identity cancellationToken removal 2015-02-10 17:45:29 -08:00
Praburaj 31afaca7e3 Renaming some extensions to disambiguate ones with similar parameters. 2015-02-10 17:03:41 -08:00
Praburaj 686d517966 Updating extension names 2015-02-10 16:30:42 -08:00
Praburaj 23ef6d4eb8 Changing extensions from StatusCodePagesOptions to IApplicationBuilder.
Addressing few more PR comments.
2015-02-10 16:18:06 -08:00
Praburaj 6850035d8e PR comments
Addressing some outstanding PR feedback.
2015-02-10 14:54:59 -08:00
David Haney 9e7fbde9f1 Logical AND would never be true; broke into OR statement 2015-02-10 17:41:06 -05:00
Chris Ross 6444f3e15d Move the reason phrase lookup to WebUtilities. 2015-02-10 13:29:59 -08:00
Chris Ross cd238d4545 Outline for StatusCodePages middleware. 2015-02-10 13:29:48 -08:00
Praburaj 04c6b1f101 Adding necessary dependencies to OpenIdConnect directly
OpenIdconnect project is betting on the dependencies included by Microsoft.IdentityModel.Protocol.Extensions for the types that are referenced directly in this library but not used in Protocol.Extensions library.

This change is to enable Wilson clean up its unused dependencies.
2015-02-10 11:25:30 -08:00
Mugdha Kulkarni 4e5fc2e2dd Fixing Routing Issue: 136
The RegEx inline constraint doesn't take care of Escape characters.
2015-02-10 11:16:30 -08:00
Brice Lambson a09d8a4ead React to Migrations changes 2015-02-10 11:07:18 -08:00
David Fowler bb2352c638 Remove build time deps and fixed formatting 2015-02-10 11:01:03 -08:00
David Fowler 0354345c9c Removed build time deps and fixed dependencies 2015-02-10 10:50:41 -08:00
David Fowler f6e049ff85 Removed the build time dependency and added a reference to Hosting.Interfaces 2015-02-10 10:27:41 -08:00
David Fowler e8d9414d92 Removed build time dependency 2015-02-10 10:08:16 -08:00
David Fowler 6208698a5c Added Microsoft.AspNet.Hosting.Interfaces package 2015-02-09 22:10:29 -08:00
Praburaj 2c881cf6a6 Adding verification for openIdconnect logout flow
As well removed the logic to wait for the creation of the db file in userprofile folder
as we now have retry logic.
2015-02-06 12:09:11 -08:00
Pranav K 74bb8e089d Reacting to System.Dynamic.Runtime version changes 2015-02-06 09:55:22 -08:00
Praburaj 0d673eafc9 Changing DbSet<T>.Remove -> RemoveRange() 2015-02-05 16:41:21 -08:00
Praburaj 3e82cbc052 Merge branch 'release' into dev 2015-02-05 16:40:09 -08:00
Praburaj b5bfb5a93d Remove Azure AD feed from nuget.config
Wilson packages are from our own feed.
2015-02-05 16:39:44 -08:00
Praburaj 47b786f8f9 Merge branch 'release' into dev 2015-02-05 15:14:22 -08:00
Praburaj 710c2d7d21 Removing the AzureAD feed from security repo
Wilson packages are now part of aspnet myget feeds. Removing azure feed from restore sources.
2015-02-05 15:11:15 -08:00
Doug Bunting 3de5db0c78 Provide `deep-clean` target to remove folders `git clean` cannot
- use `rimraf` instead of noisier, slower `robocopy-delete`
- _rimraf.shade is modeled after bower.shade
2015-02-05 14:25:44 -08:00
Doug Bunting 530d655d59 Use `default` for `*GloballyInstalled` variables
- allows calling .shade files to avoid repeated `TestCommand()` calls

nit in _node-install.shade:
- name `default nodeDir` variable to match other shade files; reusing value
2015-02-05 14:21:10 -08:00
Doug Bunting f1154a850c Speed up developer builds a bit
- do not delete node_modules folders during every build
2015-02-05 12:09:33 -08:00
Doug Bunting 80f7e445e5 Pay attention to `bower` and `grunt` libraries, not containing folder
- should help to avoid repeated CI failures executing `bower`

also get `grunt` working on Linux machines when globally installed
2015-02-05 12:09:10 -08:00
ajcvickers 4139f3f18b React to EF changes in tests. 2015-02-05 11:09:32 -08:00
ajcvickers 88d977b193 React to EF changes 2015-02-05 10:56:14 -08:00
Andrew Nurse 35ac526aec update instructions from release 2015-02-05 10:48:00 -08:00
Praburaj c635116278 Changing some more logger usage to use structured logging. 2015-02-05 10:38:49 -08:00
Praburaj d78932d927 Using structure logging strings. 2015-02-04 17:29:04 -08:00
Brennan 4a0518ec99 Updating .kproj file 2015-02-04 14:29:14 -08:00
Brennan 51b80f660e Updating .kproj file 2015-02-04 14:27:26 -08:00
Brennan b17d718d27 Updating .kproj files 2015-02-04 14:24:28 -08:00
Brennan 6224268953 Updating .kproj files 2015-02-04 14:20:22 -08:00
Suhas Joshi 1165ba363e Increasing time out for mono 2015-02-04 12:00:15 -08:00
Praburaj 8617bdc223 Printing the runtime information at the beginning of the test 2015-02-04 11:10:53 -08:00
Brennan a54886b3f3 Updating .kproj files 2015-02-04 09:13:50 -08:00
damianedwards ff63cb8b0d Move grunt execution to before compilation 2015-02-03 17:17:41 -08:00
sornaks 67dcdbf8a1 Issue #1669: Adding extension method ConfigureRouteOptions. 2015-02-03 16:18:19 -08:00
Victor Hurdugaci afb8f51d19 Environment variable to specify the build branch 2015-02-03 15:37:12 -08:00