Commit Graph

40898 Commits

Author SHA1 Message Date
N. Taylor Mullen d20df7393d Fix project.json System.Runtime dependency. 2016-02-05 18:22:51 -08:00
N. Taylor Mullen 42890042a3 Update shared project system.runtime dependency. 2016-02-05 17:50:53 -08:00
N. Taylor Mullen f957c04c24 Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:23:34 -08:00
N. Taylor Mullen cdf1d1f6c6 Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:23:13 -08:00
N. Taylor Mullen 67d2ec580c Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:23:05 -08:00
N. Taylor Mullen 9b6d837356 Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:22:49 -08:00
N. Taylor Mullen 6eb091052d Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:22:40 -08:00
N. Taylor Mullen d2ea17c6f0 Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:22:28 -08:00
N. Taylor Mullen e0fbc6e2c2 Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:22:05 -08:00
N. Taylor Mullen faf8a73953 Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:21:54 -08:00
N. Taylor Mullen 46d7d8988e Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:21:45 -08:00
N. Taylor Mullen 9959601c4b Update project.json to remove redundant System.Runtime dependency.
- This package is pulled in transitively.
2016-02-05 17:20:53 -08:00
SteveSandersonMS 5811c98230 Beginning React+Redux "Music Store" sample 2016-02-05 23:28:13 +00:00
Doug Bunting 08cf13b870 Remove `ValidateTokens()` from `IAntiforgery`
- `IAntiforgery` does not expose a way to get an invalid `AntiforgeryTokenSet`
2016-02-05 12:16:10 -08:00
Pranav K 33134f7f2a Change build to use dotnet
Fixes #198
2016-02-05 12:06:03 -08:00
jacalvar fe639f028f [Fixes 3961] Consider InputFormatter behavior when we can't read the charset
* Broken InputFormatter into InputFormatter and TextInputFormatter
* Added an exception to ModelState inside ReadAsync on TextInputFormatter
  when we can't find a valid encoding to read the body.
2016-02-05 10:42:36 -08:00
Ajay Bhargav Baaskaran c2194ea99d Updated Json.Net versions 2016-02-05 10:21:39 -08:00
John Luo 563052f800 Updating sample to new CLI 2016-02-04 17:34:31 -08:00
Hisham Bin Ateya 1da365ce4c Add 'UseServer' 2016-02-04 17:34:31 -08:00
Hisham Bin Ateya 1b4ccd0ddf Add 'UseServer' 2016-02-04 17:04:59 -08:00
Ajay Bhargav Baaskaran 8e8de413f8 Re-enable few tests on Mono 2016-02-04 16:53:09 -08:00
N. Taylor Mullen fc99082ea8 Make `TagHelperAttribute` immutable.
- Remove a lot of the ugly generic work done in `TagHelperAttributeList`/`ReadOnlyTagHelperAttributeList`.
- Removed error cases where we'd check on addition of `TagHelperAttribute`s that their `name` was not `null`. This was due to the pre-existing `string` indexer for `TagHelperAttributeList`. It no longer sets `TagHelperAttribute`s directly, instead it's `[key] = value` (instead of `[key] = new TagHelperAttribute(...))`.
- Updated tests to account for new immutability/string indexer format.
- Removed copy ctor from `TagHelperAttribute` since its immutability kills the value.
- Changed `ReadOnlyTagHelperAttributeList` to inherit from `ReadOnlyCollection`

#604
2016-02-04 16:38:30 -08:00
N. Taylor Mullen 59334dcf17 React to aspnet/Razor#604 2016-02-04 16:37:30 -08:00
Prasanna V. Loganathar edb1a1045a Correct Typo 2016-02-04 16:29:50 -08:00
Ajay Bhargav Baaskaran 49c553ec7b Updated Json.Net version 2016-02-04 16:13:22 -08:00
Ajay Bhargav Baaskaran 9445574aa1 Updated Json.Net version 2016-02-04 16:04:44 -08:00
Ajay Bhargav Baaskaran fa181819c1 Update Json.Net version 2016-02-04 15:33:16 -08:00
John Luo 57dad8df8c Merge branch 'dev' of git://github.com/hishamco/Antiforgery into hdev 2016-02-04 14:59:32 -08:00
Hao Kung 7ba61d6c6f UserManager should normalize role name 2016-02-04 14:09:11 -08:00
moozzyk ca6bef4c11 Adding missing [Fact] attribute 2016-02-04 13:28:33 -08:00
Hao Kung ada5756c87 Add more IdentityDbContext ctors 2016-02-04 13:23:42 -08:00
Ryan Nowak 9ea5a939cf Move Antiforgery.GetHtml() to MVC as an extension 2016-02-04 13:08:38 -08:00
moozzyk 79df7c9ca7 Resolving relative application base paths 2016-02-04 12:48:48 -08:00
Ryan Nowak 063bc1f8e8 Replace comparer with a bespoke BinarySearch 2016-02-04 11:25:34 -08:00
Ryan Nowak 33e3001d53 Remove GetHtml
It's being moved to MVC
2016-02-04 11:22:26 -08:00
jacalvar 1a87f6d91a [Fixes #3915] Update FormFileModelBinder to avoid re-parsing the ContentDisposition header 2016-02-04 11:17:11 -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 b8bc1e2d46 Add 'UseServer' 2016-02-04 14:34:01 +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