Commit Graph

18017 Commits

Author SHA1 Message Date
John Luo 57dad8df8c Merge branch 'dev' of git://github.com/hishamco/Antiforgery into hdev 2016-02-04 14:59:32 -08:00
moozzyk ca6bef4c11 Adding missing [Fact] attribute 2016-02-04 13:28:33 -08:00
moozzyk 79df7c9ca7 Resolving relative application base paths 2016-02-04 12:48:48 -08:00
Ryan Nowak 33e3001d53 Remove GetHtml
It's being moved to MVC
2016-02-04 11:22:26 -08:00
Cesar Blum Silveira ce2f823c7d Build with dotnet (#70). 2016-02-04 11:15:27 -08:00
Ryan Nowak 3a2d09b066 Move exceptions from the store to the facade
My earlier change to add TryValidateRequestAsync didn't go far enough,
because the store will still throw when the tokens aren't present. This
change is to make the store just return null tokens in these cases, and
move the exceptions to DefaultAntiforgery.
2016-02-04 11:11:45 -08:00
Doug Bunting c91f0ee667 Clean up some tests
- avoid mocking `HttpContext`
- change `DefaultAntiforgeryTest` to mock token generators consistently
2016-02-04 10:11:05 -08:00
Ryan Nowak 0b39ee0468 Remove Routing.Extensions 2016-02-04 10:03:30 -08:00
Ryan Nowak d97947e229 Move routing extensions to .Routing 2016-02-04 09:55:09 -08:00
Hisham Bin Ateya fc236b07e2 Add 'UseServer' 2016-02-04 14:38:26 +03:00
Hisham Bin Ateya b1df299ec3 Add 'UseServer' 2016-02-04 13:37:04 +03:00
Mike Surcouf e00453af4d Ensure scope has no duplicates 2016-02-04 09:08:03 +00:00
John Luo 44905b6b8b Merge branch 'hishamco-dev' into dev 2016-02-03 16:17:05 -08:00
Doug Bunting 705c080d3b Move Antiforgery implementation details to `.Internal`
- leave `IAntiforgery`, `IAntiforgeryAdditionalDataProvider` and related bits behind
2016-02-03 15:39:33 -08:00
Ryan Nowak 4b980c8afa Optimize defensive copies where possible 2016-02-03 15:36:42 -08:00
Hisham Bin Ateya 82e1bcf261 Add 'UseServer' 2016-02-04 02:12:14 +03:00
Ryan Nowak 48ee352022 Add form and header name to token set 2016-02-03 14:28:25 -08:00
John Luo 8d804cfbbc Updating to new CLI 2016-02-03 13:40:06 -08:00
moozzyk 186c26f6a1 Adding ASPNET_APPLICATIONBASE environment variable to fix MVC views in IIS 2016-02-03 13:05:12 -08:00
Hisham Bin Ateya c9d8a1330e Add 'UseServer' 2016-02-03 23:53:13 +03:00
Cesar Blum Silveira 9c734ddbab Reference Microsoft.NETCore.Platforms where necessary. 2016-02-03 12:47:47 -08:00
John Luo 461fd40251 Updating to new CLI 2016-02-03 12:02:12 -08:00
Cesar Blum Silveira c5186cc01d Reference Microsoft.NETCore.Platforms where necessary. 2016-02-03 11:52:24 -08:00
Cesar Blum Silveira d264a86c5d Reference Microsoft.NETCore.Platforms where necessary. 2016-02-03 11:31:19 -08:00
Kiran Challa 906ed5f0fb Fixes #597: Hosting logging needs to use structured logging instead of format strings 2016-02-03 10:10:25 -08:00
Ryan Nowak 20140c4c15 Adds a IsRequestValidAsync method
Some other misc cleanup
- docs for IAntiforgeryTokenGenerator
- Add HttpContext parameter where to all IAntiforgeryGenerator methods
- rename parameters on DefaultAntiforgery
2016-02-03 08:08:30 -08:00
John Luo 1d22eed129 Updating to new CLI 2016-02-02 18:37:48 -08:00
Doug Bunting 0ddfa5f0d8 Pool `MemoryStream`, `BinaryReader`, `BinaryWriter`, and `SHA256` instances
- #23 part 2
- reduce `byte[]` and `char[]` allocations because all have internal buffers
 - fortunately, only `MemoryStream` has an unbounded buffer
2016-02-02 16:56:11 -08:00
Victor Hurdugaci f452597452 Add Microsoft.NETCore.Platforms to the projects that have to be built with dnu 2016-02-02 12:44:07 -08:00
Mike Surcouf e737f3207e Remove username from Facebook
Add default fields for Facebook

Remove default fields except name and email

Add all the core fields for Facebook

Fix location and field uniqueness
2016-02-02 11:58:08 -08:00
Ryan Nowak 48eb000a0e Fix routing build 2016-02-02 11:44:52 -08:00
John Luo da091104b7 Updating to new CLI 2016-02-02 10:17:24 -08:00
Ryan Nowak 96063e2476 Remove dependency on routing in sample
Removing the routing dependency since this is moving lower in the stack.
2016-02-02 09:24:29 -08:00
Doug Bunting 492c0798b1 Anything but `HtmlContentBuilder`
- #23 part 1
2016-02-02 08:51:02 -08:00
SteveSandersonMS 35e620ae48 Add ASP.NET Core build system 2016-02-02 16:22:32 +00:00
SteveSandersonMS e59e2e0328 Only use Webpack Dev Middleware in dev mode 2016-02-02 15:34:34 +00:00
SteveSandersonMS 8ef9ab31a7 Enable Webpack dev middleware and React hot module replacement 2016-02-02 15:26:15 +00:00
SteveSandersonMS 003918721d Tweak ReactGrid's Webpack config in preparation for use of dev middleware 2016-02-02 15:19:45 +00:00
Charalampos Karypidis 225dfdd168 #31 Ugrade to Babel 6 and update the ReactGrid sample 2016-02-02 15:11:22 +00:00
SteveSandersonMS 73e218de4e Add strong naming and fix DB path on IIS Express 2016-02-02 15:10:15 +00:00
John Luo 2d88b9957d Undo accidental change to Nuget.config 2016-02-01 20:31:30 -08:00
John Luo 4666564b87 Updating to new CLI 2016-02-01 19:21:41 -08:00
John Luo 8e94d40688 Updating to new CLI 2016-02-01 19:11:00 -08:00
Doug Bunting 7c7a4a905e Correct project dependencies
- use latest `System.Net.Http`, not hard-coded version
- add imports for the latest CLI
 - see aspnet/FileSystem@4a9a0fd for the inspiration
2016-02-01 18:53:40 -08:00
John Luo 0d4fe3ba72 Updating to new CLI 2016-02-01 18:52:41 -08:00
John Luo 2fd1490c4a Relocating dependencies 2016-02-01 18:33:21 -08:00
John Luo 8aa7a0993d Relocating dependencies 2016-02-01 18:26:36 -08:00
John Luo 82e17ce2b6 Removing redundant dependencies 2016-02-01 17:58:41 -08:00
John Luo 33629c5fc0 Updating to new CLI 2016-02-01 17:04:37 -08:00
John Luo 93079ea3a6 Updating to new CLI 2016-02-01 16:37:16 -08:00