Commit Graph

40898 Commits

Author SHA1 Message Date
Chris R 1f754f65d3 Add ISession.Id 2016-03-04 14:28:20 -08:00
Hao Kung ef6dd41384 SaveTokens in OIDC 2016-03-04 12:55:32 -08:00
John Luo ec9d212dc3 Reacting to Hosting deployer change 2016-03-04 12:22:07 -08:00
John Luo c8849685cf Update cookie name 2016-03-04 12:14:43 -08:00
John Luo a04dae1b14 Merge branch 'johluo/fix-deployers' into dev 2016-03-04 12:11:20 -08:00
John Luo 8f811502d5 Reacting to Hosting deployer change 2016-03-04 11:56:20 -08:00
Osman M Elsayed 8645ca0dc5 Update MicrosoftAccount to use converged auth
-Updated MicrosoftAccountDefaults to use app model v2 & graph API
-Updated MicrosoftAccountHelper to extract user info from the user object
returned by the graph API
-Updated MicrosoftAccountMiddlewareTests accordingly
-Added the app model v2 client credentials to SocialSample/config.json
-Configured SocialSample to use SSL

Startup.cs
- Sorted namespaces
- Dropped openid scope from Microsoft-AccessToken
project.json
- Sorted dependencies
MicrosoftAccountHelper.cs
- Removed name claim transofmation
- renamed GetName, GetFirstName & GetLastName
2016-03-04 11:52:43 -08:00
Ryan Nowak b138aadf1d Repair global.json 2016-03-04 11:26:35 -08:00
jacalvar 38b727948b Make ServiceCollectionExtensions consistent 2016-03-04 10:57:30 -08:00
David Obando 15649b7e31 Faster SubMatch implementation
Submatch has been sped up by implementing a modified Boyer–Moore–Horspool algorithm with an average-case complexity of O(N) on random text. Worst case, it behaves similarly to the previous implementation O(MN), where M is the length of the boundary and N is the length of the buffer to operate on.

Method SubMatch looks for two things:

  1. Whether the byte array segment fully contains the boundary, or
  2. Whether the byte array ends with the start of the boundary.

Case 1 is now a lot faster than the previous implementation. Case 2 remains using the same code as before. The method will do Case 1 until the matchOffset is equal to N-M. It then switches to Case 2, unless a match is found.

The code can be further sped up with a full Boyer–Moore implementation, or something more sophisticated. This however can be evaluated in the case that this implementation is insufficiently performant for our main scenarios.

This commit resolves issue #575.
2016-03-04 10:54:20 -08:00
John Luo aa28b85d6a Reacting to Hosting deployers change 2016-03-04 10:51:22 -08:00
John Luo 18828d7c2e Add a parameter for tests to specify TFM for publish before deployment. #626 2016-03-04 10:40:55 -08:00
Pranav K cb73debd4d Use use-ci-loggers instead of use-teamcity 2016-03-04 10:36:50 -08:00
Pranav K 7bd7b32fcb Reacting to Localization CookieName change 2016-03-04 10:33:50 -08:00
Pranav K 3aa3799494 Rename ICanHasViewContext to IViewContextAware
Fixes #4073
2016-03-04 10:33:49 -08:00
Chris R 909c342711 Small sample updates. 2016-03-04 10:19:09 -08:00
Victor Hurdugaci 52244da9e8 Temporary disable the tests that hang while investigating 2016-03-04 10:11:01 -08:00
Ryan Nowak 9bd06a5dfc React to changes in HTML abstractions
This change implements the new API for flattening content in Razor.

Also, some optimizations to avoid allocations on paths where we need
to encode HTML attribute values.
2016-03-04 07:56:53 -08:00
Ryan Nowak 0b7035ddcf Implement MoveTo semantics in Mvc
- Simplify things that used to rely on HtmlTextWriter. This behavior is
  now the default.

- Simplify a whole mess of Razor TextWriter code.

- Integration test for merging of TagHelper buffers back into the 'main'
  buffer.
2016-03-04 07:54:31 -08:00
Ryan Nowak 2705510508 Add Copy/Move for content - Remove HtmlTextWriter
Currently we overload the definition of WriteTo on IHtmlContent
implementation classes to either represent a "real" write or a "flatten"
by checking if the writer inherits HtmlText writer.

This overloading is a bit of an odd fit and hides the real semantic we
want for flattening.

Additionally, we want to gradually make the concept of a pooled
backing-buffer for IHtmlContent first-class - using pooled buffers
dictates that we support move-semantics to some degree.

This change makes the work that we do for flattening into pooled buffers
explicit rather than hidden.
2016-03-04 07:52:14 -08:00
Cesar Blum Silveira cd8e8f0a11 Prevent DebugAssertException from blocks not returned by non-graceful shutdowns (#667). 2016-03-03 23:57:22 -08:00
John Luo 91b955e080 Update cookie name 2016-03-03 22:48:13 -08:00
Ajay Bhargav Baaskaran 8474003b14 Removed duplicate attributes 2016-03-03 22:45:10 -08:00
Pranav K f78abb5bcf Removing extra AssemblyInfo 2016-03-03 18:35:12 -08:00
Ajay Bhargav Baaskaran 6b933b5e8a Removed duplicate attribute 2016-03-03 18:10:20 -08:00
Ajay Bhargav Baaskaran 467e520b35 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:54:13 -08:00
Ajay Bhargav Baaskaran 0896ac4f95 Added missed attributes 2016-03-03 17:53:04 -08:00
Ajay Bhargav Baaskaran 97940747c3 Added missed attribute 2016-03-03 17:50:40 -08:00
Ajay Bhargav Baaskaran 4792719236 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:53 -08:00
Ajay Bhargav Baaskaran e2fd41e416 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:48 -08:00
Ajay Bhargav Baaskaran 327751690d Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:39 -08:00
Ajay Bhargav Baaskaran 3b560d65df Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:34 -08:00
Ajay Bhargav Baaskaran a561fecb91 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:30 -08:00
Ajay Bhargav Baaskaran 91f44549ac Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:26 -08:00
Ajay Bhargav Baaskaran 94e0088eea Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:22 -08:00
Ajay Bhargav Baaskaran 73a9ed7a64 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:17 -08:00
Ajay Bhargav Baaskaran 26c4fc5fa1 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:13 -08:00
Ajay Bhargav Baaskaran 8a59bcff08 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:09 -08:00
Ajay Bhargav Baaskaran 553e2e3c01 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:33:04 -08:00
Ajay Bhargav Baaskaran 7c60cd5fa6 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:58 -08:00
Ajay Bhargav Baaskaran c737227b3c Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:54 -08:00
Ajay Bhargav Baaskaran 65f83015e3 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:50 -08:00
Ajay Bhargav Baaskaran d6d43047b1 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:46 -08:00
Ajay Bhargav Baaskaran fc51cb1f30 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:36 -08:00
Ajay Bhargav Baaskaran 5b7dc0d1bc Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:27 -08:00
Ajay Bhargav Baaskaran dd7198f410 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:08 -08:00
Ajay Bhargav Baaskaran 078cbb5d78 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:32:02 -08:00
Ajay Bhargav Baaskaran b9d2dc89aa Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:31:53 -08:00
Ajay Bhargav Baaskaran e95ed5d204 Added Company, Copyright and Product attributes to AssemblyInfo 2016-03-03 17:31:17 -08:00
Kiran Challa 65f24a3fc7 Temporarily comment out flaky google login scenario tests to unblock build 2016-03-03 16:59:19 -08:00