Commit Graph

40898 Commits

Author SHA1 Message Date
RehanSaeed 545fa9e70a Added MIME Types
Added the following MIME types which I have found to be missing:

.json - application/json (This one is pretty unbelievable)
.ttc - application/x-font-ttf
.webp - image/webp
.appcache - text/cache-manifest
.manifest - text/cache-manifest

Also the following MIME types need updating:

.ttf should be application/x-font-ttf and not application/octet-stream
2015-07-07 20:30:21 +01:00
Arthur Vickers 11e14de7e9 React to EF renaming 2015-07-07 10:10:38 -07:00
Ryan Nowak e985fa5d42 Split up MVC.Extensions into smaller packages
Startup.cs API experience to follow in a separate change. This change just
gets the bulk of the code churn out of the way.
2015-07-06 23:41:22 -07:00
Ryan Nowak 950b8b41a8 Rename IFilter -> IFilterMetadata 2015-07-06 23:40:43 -07:00
Stephen Halter 0670b7ae61 Ensure all the C# files have copyright notices 2015-07-06 17:49:00 -07:00
Stephen Halter 4b66edc4fe Move non-nested classes and interfaces to their own files 2015-07-06 17:48:58 -07:00
sornaks 57f1ae755f Optimizing TagBuilder.CreateSanitizedId to create buffer only when needed.
- Tested with a page containing 33% of invalid Ids which go through TagBuilder.CreateSanitizedId.
- Ran 10,000 requests with 20 in parallel and measured perf.
- Data before the change:
System.String allocated by CreateSanitizedId: 1.84 mb
System.Text.StringBuilder allocated by CreateSanitizedId: 1.68 mb
- Data after the change:
System.String allocated by CreateSanitizedId: 0.720 mb
System.Text.StringBuilder allocated by CreateSanitizedId: 0.560 mb

Around 60% improvement from the original case.
2015-07-06 17:19:38 -07:00
Eilon Lipton 4b18bfb494 Rename builder extension types to have more specific names 2015-07-06 16:35:44 -07:00
ASP.NET Push Bot 79587f81ef ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@f5cc09aefd
2015-07-06 11:42:51 -07:00
Eilon Lipton 0a250fd79c Merge pull request #49 from hishamco/format
Remove extra comma from project.json
2015-07-06 08:49:59 -07:00
Hisham Abdullah Bin Ateya bce1e8f5b4 Remove extra comma from project.json 2015-07-05 05:36:50 +03:00
N. Taylor Mullen fc2019c973 Modify `TypeConverterModelBinder`'s `ModelBindingResult.IsModelSet` to be false when model value is `null` for non-null accepting types.
- Previously `ModelBindingResult.IsModelSet` would be set to true if type conversions resulted in empty => `null` values for ValueTypes. This resulted in improper usage of `ModelBindingResult`s creating null ref exceptions in certain cases.
- Updated existing functional test to account for new behavior. Previously it was handling the null ref exception by stating that errors were simply invalid; now we can provide a more distinct error.
- Added unit test to validate `TypeConverterModelBinder` does what it's supposed to when conversions result in null values.
- Added additional integration tests for `TypeConverterModelBinder`.

#2720
2015-07-02 20:03:32 -07:00
sornaks 68523a3550 Fixing tests in Mono.
- Disabling tests which have corresponding bugs in mono.
- Fixing a few tests which do not handle *nix file system.
- Updating Travis configuration to use mono's alpha bits.
- Introducing PlatformNormalizer to normalize content across multiple platforms.
2015-07-02 17:24:14 -07:00
sornaks 7606c81482 Renaming - file case. 2015-07-02 14:20:10 -07:00
Hao Kung 3321adbe64 Add test verifying passwords are salted 2015-07-02 12:22:21 -07:00
Kirthi Krishnamraju 38748b54eb [JsonPatch]: Added NotNull attribute to parameters and updated comments 2015-07-02 12:19:38 -07:00
Hao Kung 85d2d3d46a Reenable Functional tests/Fix security stamp 2015-07-02 12:10:36 -07:00
Kiran Challa d9b136e20d 'Refresh' the session even when its not accessed in current request #41 2015-07-02 09:50:31 -07:00
Victor Hurdugaci 039cc18e8b Fix typo in project.json 2015-07-01 20:41:03 -07:00
Victor Hurdugaci 77d1b47377 Add repository information to project files 2015-07-01 20:35:25 -07:00
Victor Hurdugaci 6438362e0a Add repository information to project files 2015-07-01 20:34:07 -07:00
Victor Hurdugaci 2981bb281b Add repository information to project files 2015-07-01 20:27:37 -07:00
Victor Hurdugaci 5531b21d94 Add repository information to project files 2015-07-01 20:26:10 -07:00
Victor Hurdugaci 0d71421c05 Add repository information to project files 2015-07-01 20:25:17 -07:00
Victor Hurdugaci f135b7d8dd Add repository information to project files 2015-07-01 20:22:39 -07:00
Victor Hurdugaci f2e1f28908 Add repository information to project files 2015-07-01 20:21:13 -07:00
Victor Hurdugaci c2952f26fa Add repository information to project files 2015-07-01 20:18:53 -07:00
Victor Hurdugaci fd038b7b91 Add repository information to project files 2015-07-01 20:13:32 -07:00
Victor Hurdugaci 9fc993122e Add repository information to project files 2015-07-01 20:10:53 -07:00
Victor Hurdugaci bbbd0d9f35 Add repository information to project files 2015-07-01 20:02:24 -07:00
Victor Hurdugaci 430c55440b Add repository information to project files 2015-07-01 19:59:11 -07:00
Victor Hurdugaci 4cbc9ace9c Add repository information to project files 2015-07-01 19:48:35 -07:00
Victor Hurdugaci e332375f0e Add repository information to project files 2015-07-01 19:42:39 -07:00
Victor Hurdugaci c53dba25c8 Add repository information to project files 2015-07-01 19:30:37 -07:00
Hao Kung 62f5d79df2 Reenable social tests 2015-07-01 19:07:34 -07:00
Hao Kung 61bbe4cf52 Set user in OAuthContext 2015-07-01 19:01:44 -07:00
Hao Kung f78d41095d Disable smoke tests for now 2015-07-01 18:18:15 -07:00
Hao Kung 856f510168 Add missed file 2015-07-01 16:01:39 -07:00
Hao Kung eeb39d01e4 React to pinpoint PR 2015-07-01 15:50:46 -07:00
Kévin Chalet 9bb8b61146 Revisit OAuthAuthenticationHandler and add a new SaveTokensAsClaims option 2015-07-01 15:03:54 -07:00
Murat Girgin 85c9db8450 Delete Queries.md
Moved elsewhere
2015-07-01 14:59:54 -07:00
Hao Kung 6e67b1c9b1 Delete dead file 2015-07-01 14:38:29 -07:00
Chris R 00b5cdc4a2 #212 Check for duplicate Configure or ConfigureServices methods. 2015-07-01 13:00:54 -07:00
Hao Kung ec582d4512 React to security changes 2015-07-01 12:54:09 -07:00
Hao Kung 5e92de8009 Tweak SecurityHelper for MVC usage 2015-07-01 12:36:37 -07:00
Hao Kung b9f152ebb1 Cookie fixes 2015-07-01 11:55:06 -07:00
glennc 8106fc8613 Add beta5, add console logger to web and mvc so that you can see the URL that we listen on. 2015-07-01 11:16:18 -07:00
Chris R 2b5785c2c6 #131 Handle behavioral challenges (403 vs 401). 2015-07-01 10:35:10 -07:00
Murat Girgin e7e8e981a6 Update Queries.md
Added Troy's bugs.
2015-07-01 10:10:43 -07:00
Doug Bunting 69d8e52bf9 Add support for get-only indexer properties
- #399
- move invalid `HtmlAttributeNameAttribute.Name` checking to `TagHelperDescriptorFactory`
- add a few new error cases
 - but does not cover all the new error cases e.g. `[HtmlAttributeName(...)]` on a get-only `int` property

nit:
- `resx` target removed some older resources from `RazorResources.Designer.cs`
2015-06-30 23:03:10 -07:00