Commit Graph

39515 Commits

Author SHA1 Message Date
Ryan Nowak dacebacb90 Optimize PrefixContainer
There's really no need for us to sanitize null. This code handles null
correctly. Additionally, CopyTo should be able to do better than our
hand-written foreach in the worst case, and avoids an enumerator
allocation.

Removed a custom implementation of IndexOfAny.
2016-02-10 09:48:29 -08:00
Ryan Nowak 698502df8c Rewrite MutableObjectModelBinder
A rewrite focused on simplifying extensibility points and reducing
allocations.
2016-02-10 09:48:05 -08:00
SteveSandersonMS 558aa31542 Fix compiler warning 2016-02-10 09:25:39 -08:00
Kiran Challa 552afb87b5 Enable tests to run using dotnet xunit runner 2016-02-10 05:47:19 -08:00
Kiran Challa 84ac19571c Enable tests to run using dotnet xunit runner 2016-02-10 00:20:35 -08:00
Kiran Challa 8a3d1bd881 Enable tests to run using dotnet xunit runner 2016-02-10 00:18:03 -08:00
Kiran Challa dfcd6a6227 Enable tests to run using dotnet xunit runner 2016-02-09 23:48:09 -08:00
Kiran Challa d1a5ce82c0 Enable tests to use dotnet xunit runner 2016-02-09 23:36:14 -08:00
Kiran Challa 5a8c5bf48d Enable tests to run using dotnet xunit runner 2016-02-09 23:29:13 -08:00
SteveSandersonMS a84688d65c Ensure data is only loaded if not already loaded (needed to keep client/server state consistent) 2016-02-09 23:06:30 -08:00
Kiran Challa 50d160d805 Enable tests to run using dotnet xunit runner 2016-02-09 22:33:08 -08:00
Kiran Challa de419e26ce Enable tests to run using dotnet xunit runner 2016-02-09 22:27:43 -08:00
Kiran Challa 24b224e046 Enable tests to run using dotnet xunit runner 2016-02-09 22:26:36 -08:00
Kiran Challa 3fa76b26c8 Enable tests to run using dotnet xunit runner 2016-02-09 22:24:32 -08:00
Kiran Challa a03b2dc6b4 Enable tests to run using dotnet xunit runner 2016-02-09 22:18:22 -08:00
Kiran Challa 4a3e2ad3c5 Enable tests to run using dotnet xunit runner 2016-02-09 22:11:54 -08:00
SteveSandersonMS 3a567823e8 Extract CSS into a separate file so it can be loaded independently of JS execution 2016-02-09 22:03:01 -08:00
Kiran Challa 72f8b04a33 Enable tests to run using dotnet xunit runner 2016-02-09 21:52:03 -08:00
Kiran Challa 668b67170f Enable tests to run in donet xunit runner 2016-02-09 21:50:19 -08:00
Kiran Challa 85b1ac37bf Enable tests to run using donet xunit test runner 2016-02-09 21:42:36 -08:00
SteveSandersonMS 2e9a43d1dc WebpackDevMiddleware should run in a separate Node instance that doesn't restart when files change (otherwise there's no point in running it at all) 2016-02-09 17:26:04 -08:00
Doug Bunting c85badcf71 Fix bad merge
- not exactly logging at the right spot in `GetAndStoreTokens()`
- test helpers were creating two separate `ServiceCollections`
 - also didn't compile!
2016-02-09 16:43:01 -08:00
SteveSandersonMS 6c903f33ae Move React server-side rendering into more general SpaServices package 2016-02-09 16:42:42 -08:00
Doug Bunting 73695fc443 Serialize cookie token at most once
- #23 part 3
- `Get[AndStore]Tokens()` would deserialize cookie token from request even if `IsRequestValidAsync()` already had
- `GetAndStoreTokens()` serialized an old (never saved) cookie token once and a new one twice

- refactor serialization from `DefaultAntiforgeryTokenStore` to `DefaultAntiforgery`
 - divide responsibilities and ease overall fix
- above refactoring took `IAntiforgeryContextAccessor` responsibilities along to `DefaultAntiforgery` as well
 - store all tokens in `IAntiforgeryContextAccessor` to avoid repeated (de)serializations
 - remove `AntiforgeryTokenSetInternal`

nits:
- bit more parameter renaming to `httpContext`
- remove argument checks in helper methods
 - did _not_ do a sweep through the repo; just files in this PR
2016-02-09 15:29:04 -08:00
SteveSandersonMS b35ac19485 Reference external redux-typed package 2016-02-09 11:20:47 -08:00
SteveSandersonMS b8224d2bef Move TypedRedux out into a new NPM package called 'redux-typed' 2016-02-09 11:17:41 -08:00
SteveSandersonMS 047d14a6cd Merge domain-task repo into this one 2016-02-09 10:39:48 -08:00
Victor Hurdugaci e7eb076a39 Change the deployers to use dotnet 2016-02-09 10:23:43 -08:00
ryanbrandenburg c8a9ecc0c1 * Add logging to Antiforgery 2016-02-09 09:27:51 -08:00
Kiran Challa c00a2de2c7 Enabled tests to run in dotnet xunit runner 2016-02-09 02:38:51 -08:00
Chris R fa9f13db2d React to MediaTypeHeaderValue.Parse exception message change. 2016-02-08 22:26:55 -08:00
SteveSandersonMS 32349fa85b Rename domain-tasks to domain-task 2016-02-08 18:20:23 -08:00
SteveSandersonMS 4312d6e28c Temporary fake .d.ts for domain-tasks until moved to definitelytyped 2016-02-08 18:15:20 -08:00
SteveSandersonMS ad55e9c94d Use external domain-tasks NPM module 2016-02-08 17:57:58 -08:00
Victor Hurdugaci e9921a75a2 Build with dotnet 2016-02-08 15:16:34 -08:00
Victor Hurdugaci df548e1d04 Build with dotnet 2016-02-08 15:04:53 -08:00
Kiran Challa 96e5d9bec5 Remove System.Runtime reference 2016-02-08 14:07:48 -08:00
Chris R 44850090e3 #110 Fix sample to publish the wwwroot dir as content. 2016-02-08 13:39:47 -08:00
Chris R 34bc9c52e1 #456 Unify OIDC Code/IdToken/Hybride flows. 2016-02-08 12:06:13 -08:00
Chris R 4f8d1863d8 React to ISendFileFeature parameter name change. 2016-02-08 11:53:57 -08:00
Kévin Chalet bbcabc0212 Move GenerateCorrelationId and ValidateCorrelationId to RemoteAuthenticationHandler 2016-02-08 11:37:49 -08:00
SteveSandersonMS e419ec43fc Make render-server able to load TS/ES2015 without precompilation 2016-02-08 11:28:51 -08:00
Chris R 04e9da4e88 #527 Add IFileInfo overloads for SendFileAsync. 2016-02-08 10:55:36 -08:00
Ryan Nowak 44834debeb Fix broken code path in antiforgery 2016-02-08 10:51:33 -08:00
Chris R 3e6c7171be #515 Make forgiving vs strict header list parsers. 2016-02-08 10:21:28 -08:00
SteveSandersonMS 1fc3426278 render-server.js shouldn't depend on React/Redux-specific concepts 2016-02-08 10:08:35 -08:00
Pranav K 99fbeb6ac3 Reacting to CoreCLR package version changes 2016-02-08 09:33:51 -08:00
Pranav K fe9aa69970 Reacting to CoreCLR package version changes 2016-02-08 09:33:50 -08:00
Pranav K 2e916284cc Reacting to CoreCLR package version changes 2016-02-08 09:33:49 -08:00
Pranav K 5e72b580d9 Reacting to CoreCLR package version changes 2016-02-08 09:33:48 -08:00