Commit Graph

36463 Commits

Author SHA1 Message Date
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
Louis DeJardin f6dc72544c Response headers don't need to be queued before subsequent write 2015-08-03 16:20:24 -07:00
Louis DeJardin c0728edda7 Linq .Any() was causing enumeration 2015-08-03 16:20:22 -07:00
Louis DeJardin f9cf9f1936 Improvements to appending request header 2015-08-03 16:20:20 -07:00
Louis DeJardin 96b03ee212 Perf - enumerate with struct
Conflicts:
	src/Microsoft.AspNet.Server.Kestrel/project.json
2015-08-03 16:20:18 -07:00
Louis DeJardin ad089be477 Removing "I like pie" diagnostics 2015-08-03 16:20:16 -07:00
Louis DeJardin 963f086eb0 Prototypeing a fast header dictionary
Conflicts:
	src/Microsoft.AspNet.Server.Kestrel/project.json
2015-08-03 16:20:14 -07:00
Mikael Mengistu ab56ac6038 Added headers to store original IP, host, and protocol values 2015-08-03 16:04:56 -07:00
N. Taylor Mullen 0ef68eefc8 Added default `UrlResolutionTagHelper` to resolve app relative URLs.
- Razor removed the ability to automatically resolve URLs prefixed with `~/`; therefore `ScriptTagHelper`, `LinkTagHelper` and `ImageTagHelper` have changed to take in `IUrlHelper`s and auto-resolve their URL based properties if they start with `~/`.
- Added a catch-all `~/` resolver for non `TagHelper` based HTML elements. Razor used to resolve any attribute value that started with `~/` now the behavior is restricted to attributes that can contain URLs.
- Updated `IUrlHelper` to accept `null` values.
- Added functional tests to validate that URLs resolve correctly.
- Updated `TagHelper` tests to ensure that URLs are resolved via an `IUrlHelper`.

#2807
2015-08-03 16:00:33 -07:00