Commit Graph

40929 Commits

Author SHA1 Message Date
Doug Bunting 42f3e764b0 Move logic from `HtmlLocalizer` to `LocalizedHtmlString`
- part of #3123 (4 of 5)
- `LocalizedHtmlString` should not subclass `HtmlString`; now implements `IHtmlContent`

nits:
- clean up a few doc comments
- remove duplicate tests reported while testing these fixes in VS
2015-12-02 18:39:37 -08:00
Ben Adams a85f37697c Add SSL+Upgrade regression test 2015-12-03 02:10:37 +00:00
Ben Adams a55be21469 Empty buffer when null buffer 2015-12-03 02:10:36 +00:00
John Luo 7a310a35db Reacting to verbose rename 2015-12-02 18:00:17 -08:00
Ryan Nowak 9fc3a80056 Remove IActionContextAccessor from UrlHelper
This change removes the IActionContextAccessor as a dependency of
UrlHelper, and shifts UrlHelper to use a factory pattern. Consumers of
IUrlHelper should create an instance using the factory when needed.

This is the last part of MVC that has a dependency on IActionContext
accessor. As part of this change we no longer register it by default, and
treat it as an optional component.
2015-12-02 17:09:43 -08:00
Ryan Nowak c911a10692 Add Routing.Abstractions 2015-12-02 16:43:35 -08:00
Doug Bunting 6b9e3985e0 Ignore `launchSettings.json` files
nit: reordered `.gitignore` file a bit by copying from another repo
2015-12-02 14:06:55 -08:00
Brennan 3062eea7d0 Dispose FileWatcher, MvcRazorHost, and ChunkTree 2015-12-02 13:07:45 -08:00
Pranav K a424e3e278 React to namespace rename part 3 2015-12-02 11:56:38 -08:00
Chris R 92c479869b #600 Update the Twitter AuthenticationEndpoint 2015-12-02 11:51:43 -08:00
Pranav K 6ab9acc3f6 React to Microsoft.AspNet.Html namespace rename part 2 2015-12-02 11:32:21 -08:00
Pranav K 7e2eb16960 React to Microsoft.AspNet.Html namespace rename 2015-12-02 11:15:54 -08:00
Chris R a18181d363 #565 Update facebook APIs to v2.5. 2015-12-02 10:43:17 -08:00
Pranav K 463e8f9473 React to HtmlAbstractions namespace rename 2015-12-02 10:30:01 -08:00
Pranav K 66c9a21848 Reacting to Microsoft.AspNet.Html namespace renames 2015-12-02 10:17:04 -08:00
Doug Bunting 1b0e2e50e1 Restore previous package name: `Microsoft.AspNet.Html.Abstractions`
nit: add a couple of solution items
2015-12-02 09:59:27 -08:00
Ryan Nowak 07085ca69b Remove IHttpContextAccessor from TempData
This change removes the dependency of TempData on the IHttpContextAccessor
by creating an ITempDataDictionaryFactory abstraction. In general, no one
will replace the factory, it's just indirection.

This allows us to drop our dependency on IHttpContextAccessor, and move it
to the functional tests where we specifically depend on it.

The bulk of code churn here is to update tests that use TempData.
2015-12-02 08:18:57 -08:00
Ben Adams b7c60de98a Don't allocate request processing delegate 2015-12-02 15:23:09 +00:00
Pranav K a0a1c38e44 Moving Microsoft.AspNet.Html.Abstractions to a HtmlAbstractions repo
Fixes #418
2015-12-01 17:35:20 -08:00
Chris R 17e9a3336f Update the sample dependencies, commands, etc.. 2015-12-01 15:54:12 -08:00
John Luo 208f0f8a58 Reacting to hosting test server changes 2015-12-01 15:47:25 -08:00
Pranav K f9661e2bf1 Initial commit 2015-12-01 15:36:17 -08:00
John Luo 32a038e5ea Reacting to the removal of ILoggerFactory.MinimumLevel 2015-12-01 15:24:36 -08:00
Eilon Lipton b14fa9d990 Create CONTRIBUTING.md 2015-12-01 14:36:26 -08:00
Eilon Lipton 95ae948349 Create LICENSE.txt 2015-12-01 14:36:15 -08:00
Eilon Lipton 48243bbc0c Create README.md 2015-12-01 14:35:51 -08:00
John Luo 168f4770f4 Reacting to new IServer and IHttpApplication design 2015-12-01 13:03:46 -08:00
Pranav K 0d042572b9 Allowing CoreCLR tests to run on Travis 2015-12-01 12:47:49 -08:00
Pranav K fa8eceb342 Allowing CoreCLR tests to run on Travis 2015-12-01 12:42:34 -08:00
Brent Newbury 657a5ab26b Fixed an issue where invalid characters in the path could cause FileExtensionContentTypeProvider.TryGetExtension to throw an exception. 2015-12-01 12:38:24 -08:00
Chris R efd40862f0 Add tooling sample configuration. 2015-12-01 12:37:20 -08:00
Pranav K 70bdb6eb3e Removing CopyTo from RazorTextWriter 2015-12-01 12:37:11 -08:00
Stephen Halter 0c33cad343 Merge branch 'benaadams/kestrel-thread-api' into dev 2015-12-01 12:20:41 -08:00
John Luo 8c256a0d87 New IServer design with IHttpApplication added #395 2015-12-01 12:08:40 -08:00
glennc 87e970d812 update tags 2015-12-01 11:42:03 -08:00
glennc 060f99428b rc1-update1 samples for Docker build 2015-12-01 11:41:04 -08:00
John Luo 8712ba4855 Reacting to new IServer IHttpApplication design 2015-12-01 11:40:52 -08:00
Pranav K daf16ad184 Enabling CoreCLR tests on Travis 2015-12-01 11:02:49 -08:00
Pranav K a2e4c4e133 Enabling tests on CoreCLR 2015-12-01 11:01:13 -08:00
Pranav K 23f44aa082 Enabling tests on CoreCLR 2015-12-01 11:00:09 -08:00
Pranav K b81f947042 Remove unused references 2015-12-01 10:55:47 -08:00
Pranav K 0db9a16c91 Use the newest build of OpenIdConnect packages cloned to AspNet feeds.
Fixes #576
2015-12-01 10:38:42 -08:00
Pranav K 5d5f278824 Enable CoreCLR tests on Travis 2015-12-01 10:35:16 -08:00
Pranav K 65e63c893b Enable CoreCLR tests on Travis 2015-12-01 10:34:49 -08:00
Pranav K cd02665909 Allow tests to run on CoreCLR 2015-12-01 10:12:53 -08:00
Chris R 8b996d11e6 Merge pull request #595 from Kukkimonsuta/patch-1
Update url of basic authentication example
2015-12-01 09:56:34 -08:00
Pranav K ca62719f9d Skip tests that are failing due to Mono issues
Fixes #214
2015-12-01 09:54:47 -08:00
Lukáš Novotný b77d22cfcb Update url of basic authentication example
Url of the example implementation of basic authentication has changed to https://github.com/Kukkimonsuta/Odachi/tree/master/src/Odachi.AspNet.Authentication.Basic due to namespace change.
2015-12-01 18:20:37 +01:00
Pavel Krymets 943ba9f47e Add test to ensure 404 when wwwroot not set 2015-12-01 08:45:44 -08:00
Pavel Krymets f600604140 Add tests for map path without wwwroot, and typos 2015-12-01 08:44:00 -08:00