Commit Graph

27752 Commits

Author SHA1 Message Date
Peter Blazejewicz 012eb9a864 Use proper JavaScript comment. Closes #519
This commit replaces Razor syntax specific comment with default,
line JavaScript comment
2015-08-07 09:34:31 -07:00
Peter Blazejewicz 7f88a655c9 Add missing helper tag fallback attr. Closes #520
This commit add missing fallback test attribute to script tag helper.
This fix will remove missing fallback attribute warning from console
for this specific tag helper.
2015-08-07 09:34:30 -07:00
Ryan Nowak 4b3bac9dbb Fix #2874 part 1 - XML formatter support for IMvcBuilder 2015-08-07 08:26:27 -07:00
Ajay Bhargav Baaskaran fcad4c5c57 [Fixes #2841] Support comma separated globbed include and exclude pattern in Script and Link tag helpers 2015-08-06 16:55:12 -07:00
Doug Bunting ed4896d1fd Support `[Display(Name = "")]` on enum values
- #2851
2015-08-06 16:07:50 -07:00
Doug Bunting 4a813773d0 Make `CompositeValueProvider` consistent with `IBindingSourceValueProvider` contract
- #2907
- return `null` if `Filter()` finds no matching value provider in collection
- fix lack of defensiveness in model binders' use of `IBindingSourceValueProvider` implementations
- remove test workaround for unusual `CompositeValueProvider` behaviour
2015-08-06 16:05:13 -07:00
Hao Kung ece1011536 Make Roles/Users virtual
Fixes https://github.com/aspnet/Identity/issues/514
2015-08-06 14:31:02 -07:00
Hao Kung 0e77bbdbbd Used scoped instead of transient lifetimes
Fixes https://github.com/aspnet/Identity/issues/519
2015-08-06 14:25:44 -07:00
Hao Kung b2eb5feb8c Replace regex with string of legal username chars 2015-08-06 14:24:12 -07:00
sornaks 1aef84b50d Issue #2745 - ViewHierarchyUtility.GetHierarchicalPath does not handle root paths *nix file systems.
Fix: It is not necessary to check for root paths in this place because ViewHierarchyUtility.GetHierarchicalPath is always called with a relative path. Hence removing the check.
2015-08-06 10:31:11 -07:00
unknown b922d816be Fix aspnet/Mvc#2749 - fail gracefully with non-form content
This change will report a more specific error when antiforgery is used
with non-form content than "invalid content type".
2015-08-06 10:29:16 -07:00
Ryan Nowak 9bcecf3994 Fix #5 - better error message for missing tokens
This fix changes the model for error messaging in antiforgery. Now only
the token store will report a detailed error message including the names
of form field and cookie. Other components will give more generic errors
and assume that this was handled by the token store.

This way you still see an error if the user creates a token store that
doesn't throw, but it's a generic error that doesn't give incorrect
information.
2015-08-06 08:48:47 -07:00
moozzyk 3147920607 Reaciting to removing folder (including `.`) from the dnx command 2015-08-06 07:40:14 -07:00
Victor Hurdugaci ef4a0a3ebb Add the ability to specify what repos to include/exclude while building 2015-08-05 14:45:18 -07:00
Stephen Halter 5dfca955b3 Move GeneratedCode project so no NuGet package gets created 2015-08-05 12:22:59 -07:00
Troy Dai e55bbe179b Add feeds for Roslyn 2015-08-05 12:01:13 -07:00
Troy Dai 9be27a82b7 Add feeds for Roslyn 2015-08-05 11:58:55 -07:00
Stephen Halter 7dd256f26e Add a "dnu restore" prepare step before generating code
- This ensures the generated code project's project.lock.json is created
2015-08-05 11:54:17 -07:00
Stephen Halter 51693304c1 Update dependencies after rename to Microsoft.Dnx.Compilation.CSharp 2015-08-05 11:07:13 -07:00
Troy Dai 87c5384390 Add feeds for Roslyn and CoreFx 2015-08-05 10:44:36 -07:00
Doug Bunting bda850187d Add support for jQuery syntax in form data
- #2705
- add `JQueryFormValueProvider` and `JQueryFormValueProviderFactory`
  - carry some code forward from MVC 5; correct to follow current coding guidelines
- refactor `ReadableStringCollectionValueProviderTest` into abstract `EnumerableValueProviderTest`
  - enables reuse in new `JQueryFormValueProviderTest`
  - also run these tests in `CompositeValueProviderTest`

nits:
- do not create a duplicate `CompositeValueProvider` instance in `Filter()`
- correct garbled sentence in `IBindingSourceValueProvider` doc comments
- simplify `FormValueProviderFactoryTest` (no need for Moq) and correct test name
- correct test class / file names
  - `CompositeValueProviderTests` -> `CompositeValueProviderTest`
  - `FormValueProviderFactoryTests` -> `FormValueProviderFactoryTest`
2015-08-05 10:31:24 -07:00
Hisham Abdullah Bin Ateya 1cfc62dbfd Fix 'QueryStringRequestCultureProvider' Issue 2015-08-05 20:23:19 +03:00
Troy Dai a7d717d19c Update CoreCLR versions 2015-08-05 09:35:37 -07:00
Troy Dai 3cd5907fc5 Update CoreCLR versions 2015-08-05 09:33:00 -07:00
Pranav K 018e803dc1 Removing Autofac dependency \ tests from ControllersFromServicesWebSite 2015-08-04 15:50:10 -07:00
Pranav K 5d4c684758 Using packages from Autofac nightly feed. 2015-08-04 15:12:24 -07:00
Pranav K 43e4870fa2 Switching to the official Autofac package. 2015-08-04 15:12:19 -07:00
Kiran Challa a0ef3ee814 [Fixes #510] Remove or fix Helios.cmd 2015-08-04 13:48:19 -07:00
Troy Dai e174d2e154 Update CoreCLR versions 2015-08-04 10:15:38 -07:00
Troy Dai a24fd18dc0 Update CoreCLR versions 2015-08-04 10:15:37 -07:00
Troy Dai eb266a1a7c Update CoreCLR versions 2015-08-04 10:15:32 -07:00
Troy Dai 2a204e473b Update CoreCLR versions 2015-08-04 10:15:32 -07:00
Troy Dai fa9f2ace5f Update CoreCLR versions 2015-08-04 10:15:31 -07:00
Troy Dai cc0c4e1f55 Update CoreCLR versions 2015-08-04 10:15:29 -07:00
Troy Dai 31070b68f7 Update CoreCLR versions 2015-08-04 10:15:28 -07:00
Troy Dai b8f930bb4c Update CoreCLR versions 2015-08-04 10:15:28 -07:00
Troy Dai 051bb87578 Update CoreCLR versions 2015-08-04 10:15:27 -07:00
Troy Dai 6a606a8c9a Update CoreCLR versions 2015-08-04 10:15:24 -07:00
Troy Dai 7fe2a43b05 Update CoreCLR versions 2015-08-04 10:15:23 -07:00
Troy Dai 72a7fb06c2 Update CoreCLR versions 2015-08-04 10:15:22 -07:00
Troy Dai fbe9dc58e8 Update CoreCLR versions 2015-08-04 10:15:20 -07:00
Chris R 9c3a39123a #341 Add HttpReqeuest GetEncodedUrl and GetDecodedUrl extensions. 2015-08-04 10:09:39 -07:00
Chris R 0e05c64855 React to IFeatureCollection changes, test cleanup. 2015-08-04 09:09:53 -07:00
Hao Kung 19d56be977 Delete unused classes
Fixes https://github.com/aspnet/Identity/issues/531
2015-08-03 17:43:14 -07:00
Kiran Challa 80150ec3a6 Changed SessionSample's registratio of RedisCache service from Transient to Singleton 2015-08-03 16:41:13 -07:00
Stephen Halter e5144e3139 Include Server and Date in the initial response header dictionary 2015-08-03 16:20:34 -07:00
Stephen Halter 978dd39924 Update the prepare script used to generate code
- The syntax to run dnx with a modified appbase has recently changed
2015-08-03 16:20:32 -07:00
Stephen Halter 7446fe4cc7 Update SocketOutputTests to account for the "immediate" Write param 2015-08-03 16:20:30 -07:00
Louis DeJardin 6ff894bb19 Using masked byte sequences to recognize well-known header names 2015-08-03 16:20:28 -07:00
Louis DeJardin b999b47218 String concatination showed up in profiler 2015-08-03 16:20:26 -07:00