Commit Graph

18002 Commits

Author SHA1 Message Date
SteveSandersonMS 4effd630a4 Fix typos 2016-09-01 12:42:12 +01:00
SteveSandersonMS 7f5810a622 Add docs about configuring Webpack to build LESS/SASS 2016-09-01 12:36:47 +01:00
David Fowler 6795ca2f78 Make the char array for utf8 decoding smaller 2016-08-31 18:54:15 -07:00
John Luo 52f219b16e Support conditional requests and send 304 when possible 2016-08-31 14:44:12 -07:00
Chris R b31ec7d7a7 #204 Consolidate unsafe buffer access into NativeRequestContext 2016-08-31 14:19:56 -07:00
Victor Hurdugaci ac2f21514f Add a flag to specify the log level 2016-08-31 11:48:02 -07:00
Stephen Halter 1ecef8094a Make Kestrel's response buffer limit configurable 2016-08-30 16:01:42 -07:00
John Luo a4d2e5ebcd Update static files to use strong comparison on ETags 2016-08-30 15:07:29 -07:00
John Luo e4afd782e8 Add strong and weak ETag comparisons 2016-08-30 14:15:16 -07:00
John Luo a5e9215982 Update calls for string comparison 2016-08-30 12:29:27 -07:00
Kiran Challa 56b3fb9b6f [Fixes #351] Error message incorrectly references RouteCollection when you don't set the default handler on RouteBuilder 2016-08-30 11:16:35 -07:00
Cesar Blum Silveira bfa10db258 Run functional tests sequentially to mitigate flakiness on OS X. 2016-08-30 10:05:00 -07:00
Stephen Halter acfcafb6e1 Ensure MockLibuv.OnPostTask doesn't complete too early 2016-08-29 20:53:00 -07:00
Stephen Halter 0742d113be Make all calls to ThreadPool.QueueUserWorkItem through IThreadPool
- This allows SocketOutputTests to cause QUWI to exec synchronously
- To avoid allocations, the logger can't be captured making it "unsafe"
2016-08-29 20:52:47 -07:00
John Luo 1d6c5af72c Add option for VaryBy query string params 2016-08-29 16:38:59 -07:00
Kiran Challa c224a726f9 Moved PageGenerator to Razor repo and moved diagnostic view page sources to Common. 2016-08-29 13:43:00 -07:00
Kiran Challa 9c44d493ca Revert "Revert "Remove existing implementation of StartupExceptionPage and use the one in Common""
This reverts commit 3f6b558cf3.
2016-08-29 12:40:13 -07:00
Stephen Halter 4587a0fc95 Prevent possible deadlocks when using MockLibuv.OnPostTask 2016-08-29 12:14:19 -07:00
Chris R 3d1dbbaae5 #183 Set empty paths for OPTIONS * requests 2016-08-26 16:01:20 -07:00
Troy Dai 4158be273f Fix OpenIdConnect test
https://github.com/aspnet/Security/pull/925
2016-08-26 15:53:04 -07:00
Cesar Blum Silveira b6a177ef0b Test for categoryName passed to ILoggerFactory.CreateLogger() in KestrelServer.ctor() (#797) 2016-08-26 15:37:15 -07:00
Troy Dai cbbec15d37 Ignore null ExpiresUtc property in RequestRefresh
Issue: https://github.com/aspnet/Security/issues/949
2016-08-26 14:55:36 -07:00
Stephen Halter 08d7f66108 Merge branch 'benaadams/less-unsafe' into dev 2016-08-26 14:44:18 -07:00
John Luo 8c5a5f7394 Use ObjectPool for StringBuilder 2016-08-26 13:50:58 -07:00
Cesar Blum Silveira aadc723873 Merge branch 'benaadams/improve-inline-errors' into dev 2016-08-26 10:33:19 -07:00
Pranav K aa97e4d777 Fail gracefully when repositories have cycles
Fixes #451
2016-08-26 10:19:21 -07:00
Chris R c2f52db3a5 Reorder SendFileAsync to match Write/FlushAsync 2016-08-26 10:10:09 -07:00
Troy Dai 3a5df89f1c Move a nullref check to base class 2016-08-26 08:56:48 -07:00
Troy Dai a79a0360c1 Update OpenIdConnectHandler 2016-08-26 08:56:48 -07:00
Troy Dai c5509fb594 Minor update in OpenIdConnectHandler and Options
1. Default post sign out uri to the root of the applciation;
2. Throw ArgumentNullException for null context in HandleSignOutAsync;
3. Guard null from Unprotected;
4. Clean up code
2016-08-26 08:56:48 -07:00
Troy Dai ed6984fab5 Update signed out redirect url in sample 2016-08-26 08:56:48 -07:00
Troy Dai fa0a68a847 Fix xml comments error 2016-08-26 08:48:27 -07:00
Troy Dai 8f5c7aef57 Update tests 2016-08-26 08:47:56 -07:00
Kiran Challa 175a4c961e Revert "Moved PageGenerator and DiagnosticsViewPage projects to Common repo and some updates"
This reverts commit 7cabb3f117.
2016-08-25 17:22:09 -07:00
Kiran Challa 3f6b558cf3 Revert "Remove existing implementation of StartupExceptionPage and use the one in Common"
This reverts commit 83e0d4798e.
2016-08-25 17:21:29 -07:00
Kiran Challa 83e0d4798e Remove existing implementation of StartupExceptionPage and use the one in Common
[Fixes #831] Fix startup exception page to handle flattened exceptions
2016-08-25 16:27:30 -07:00
John Luo fb724a71de Add configurable options for ResponseCaching
Override RequestIsCacheable

Override ResponseIsCacheable

Append customized cache key
2016-08-25 16:26:25 -07:00
Kiran Challa 7cabb3f117 Moved PageGenerator and DiagnosticsViewPage projects to Common repo and some updates 2016-08-25 16:25:15 -07:00
Troy Dai 26956c5ce1 Update OIDC signout flow
OIDC signout should return to CallbackPath then locally redirect to AuthProperties.RedirectUri
2016-08-25 15:23:12 -07:00
Troy Dai 0d5482685b Update OpenIdConnect.AzureAdSample 2016-08-25 15:21:52 -07:00
John Luo 4f61c65931 Update no-store behaviour 2016-08-25 14:29:55 -07:00
Sourabh Shirhatti dff0db80ca Initial upload 2016-08-25 12:23:56 -07:00
BrennanConroy e927dd6924 More old code 2016-08-25 11:45:19 -07:00
Ben Adams be51e5aecb Remove unneeded unsafe modifiers 2016-08-25 08:07:15 +01:00
Ben Adams 7dc0a8c7bd Return count from trywrite 2016-08-25 07:58:36 +01:00
Ben Adams af73e519c1 Comment inlinability changes 2016-08-25 07:53:01 +01:00
BrennanConroy 0bd8a841bb Remove old code 2016-08-24 16:21:59 -07:00
Troy Dai 59a86c17e2 Update OpenIdConnectSample
1. Use bootstrap to enhance the view.
2. Html encoding
3. Improve readability
2016-08-24 14:28:31 -07:00
BrennanConroy c2a1b8d17f React to NullLogger move 2016-08-24 09:41:16 -07:00
Troy Dai d887d74819 Update OpenIdConnectChallengeTests
1. Set header and status code in OnRedirectToIdentityProviderEventHandlesResponse
2. Move field to the top
2016-08-23 21:27:00 -07:00