Commit Graph

39740 Commits

Author SHA1 Message Date
Wei Wang a7be2e0b30 Change the default author in makefile.shade 2014-06-18 16:21:39 -07:00
Wei Wang fa27f77150 Change the default author in makefile.shade 2014-06-18 16:17:31 -07:00
Wei Wang 213cddb339 Default author is set in KoreBuild script
- If there is a non-empty env var "K_AUTHOR", use its value as default
  author
- Otherwise, use the value of predefined var "AUTHORS"
2014-06-18 15:28:29 -07:00
N. Taylor Mullen 8099dcda63 Remove error for "@" in nested codeblocks.
Also removed the corresponding test and resource for this change.

#64
2014-06-18 14:51:31 -07:00
harshgMSFT 08b64a2a4a InlineConstraint Functional Test, removing the dependency on a physical file. 2014-06-18 13:42:33 -07:00
Yishai Galatzer 9e1deb7982 Fixup unit tests to mock RequestServices instead of ApplicationServices 2014-06-18 13:40:58 -07:00
Wei Wang 4b665e06b3 Add proxy support in kvm
- Add proxy option to "kvm upgrade"
- "kvm upgrade" uses global proxy (http_proxy env var) by default
- Support authenticated proxies
2014-06-18 13:34:07 -07:00
Louis DeJardin 17e566c5d1 Adding "server.urls" configuration support to kestrel 2014-06-17 22:45:53 -07:00
Louis DeJardin 45933b149e IServerFactory is never a registered service
IServerManager is registered when needed

Or the caller may provide context.ServerFactory instance when an
override is needed
2014-06-17 15:10:13 -07:00
Yishai Galatzer 14c43c351d Use request services instead of application services by default 2014-06-16 19:17:12 -07:00
Yishai Galatzer 6aa1f84420 Add Service monitoring as middleware to make sure the monitoring doesn't affect autofac services counts
Scoping of three services
Caching of action binding context.
Make input formatters lazy
2014-06-16 19:03:30 -07:00
Stephen Halter 0ab560e086 Add UseServices overload that takes a Func returning IServiceProvider
- This should be useful for third-party IoC containers
2014-06-16 18:32:20 -07:00
DamianEdwards 7ec9c71181 MusicStore.Spa changes:
- Make the account manage page work
- Changed ngTextBoxFor extension not use the base TextBoxFor helper as it was adding unwanted client validation attributes
- Fix controller route
2014-06-16 18:09:08 -07:00
Tian Pan e27742fd0b IsValidActionMethod fails to check static methods.
Fix #638
2014-06-16 18:04:09 -07:00
Pranav K fdbac041f9 Updating designer files by re-running build resx 2014-06-16 16:27:30 -07:00
Pranav K 85bd056780 CreateActionResult should work when action returns Task.
Fixes #647
2014-06-16 16:13:18 -07:00
DamianEdwards 4a4fe86df4 Changed use of custom SmartJsonResult to JsonResult in MusicStore.Spa 2014-06-16 15:55:50 -07:00
DamianEdwards 2934514909 Fix MusicStore.Spa:
- Support self-host via commands
- Comment out calls to EF APIs that throw NIE
2014-06-16 15:00:57 -07:00
Ryan Nowak d79943d30f Fixing issues build/project issues that someone else missed. 2014-06-16 13:26:49 -07:00
harshgMSFT 170283c724 Fixing StyleCop Issues for issues reported for commit# b58083f73a 2014-06-16 13:16:37 -07:00
Ryan Nowak 1bae3bcaa2 Issue #592 - ActionResult is not being executed by ResultFilterAttribute
The issue here is actually different than described in the bug.
ResultFilter should only short circuit when .Cancel is set to true. This
is consistent with legacy MVC.

Added tests for all of this stuff. There's already good test coverage for
the invoker, what was missing was coverage for the attributes and for the
methods on Controller. ExceptionFilterAttribute and
AuthorizationFilterAttribute don't have short circuiting logic inside of
them, so they are already covered by tests for the invoker.
2014-06-16 12:42:59 -07:00
harshgMSFT 10285d7d39 This additional constraint enables adding a route to the template (and potentially to the UseMvc method) without actually implementing the actual artifact.
For example without adding an area to a controller, a route can still be added to the template.
- Also added functional tests.
2014-06-16 11:24:22 -07:00
harshgMSFT 0ca5576926 StyleCop Fixes for routing. 2014-06-16 11:18:01 -07:00
David Fowler a1583f298c Change k build to kpm build. 2014-06-15 07:49:55 -07:00
David Fowler 2e6f9859a9 Fixed duplicates in repo list 2014-06-15 07:42:33 -07:00
David Fowler 8422d7413a Fix dependency order or projects 2014-06-15 07:32:53 -07:00
David Fowler 60c1d007fa Merge pull request #65 from khellang/patch-1
Added exception message to warning when `git clone` fails
2014-06-15 06:52:57 -07:00
Louis DeJardin 6ac6419f4f Adding support for 'k web --server kestrel' 2014-06-13 13:10:46 -07:00
Chris Ross 434a128f1a Rename AcceptWebSocket to AcceptWebSocketAsync. 2014-06-13 08:37:23 -07:00
David Fowler 32aa84d975 Fixed project.json casing 2014-06-13 07:32:14 -07:00
David Fowler 0c0321c694 Renamed Project.json to Project.json2 2014-06-13 07:32:13 -07:00
Chris Ross 2deea2c299 Delete old file. 2014-06-12 20:16:25 -07:00
Chris Ross 7484db54c6 Compile for CoreClr. Seperate Client project. Rename everything. 2014-06-12 20:11:12 -07:00
Ryan Nowak c5593491e0 fix breaking change from mvc 2014-06-12 17:21:07 -07:00
harshgMSFT b58083f73a Renaming AntiForgeryConfig-> AntiForgeryOptions.
Adding MvcOptions and updating AntiForgery system to use AntiForgeryConfiguration from MvcOptions
2014-06-12 16:55:49 -07:00
Chris Ross b9d7561bf9 Enable WebSocket and Opaque features. 2014-06-12 15:05:58 -07:00
Hao Kung a3991400bc Switch to Crypto from DataProtection 2014-06-12 13:33:19 -07:00
DamianEdwards ced2c3950f Delete pre-processed *.ng.ts files from repo 2014-06-12 10:24:59 -07:00
Stephen Halter abbd763f0f Use GetServiceOrDefault for optional dependency 2014-06-11 18:32:40 -07:00
Ryan Nowak 7f34c94de7 Adding a context class for ValueProviderFactories
This allows model binding to once again be independent of routing. Sending
RouteContext into model binding was an odd choice from a layering
point-of-view.
2014-06-11 18:03:09 -07:00
Louis DeJardin 9c7cb6a958 Adding some tests for Http11
Requires updating to test utilities
Adding initial EventSource to try to see some order of events
2014-06-11 17:09:25 -07:00
Ryan Nowak 545c614320 temporarily disable stylecop for tests 2014-06-11 16:47:17 -07:00
Phil Haack 2dcbe545e3 Sort namespaces
How did @eilon let this ship with the namespaces unsorted. He's growing soft in his old age. :trollface:
2014-06-11 13:55:23 -07:00
Glenn Condron 611469e3a9 Update KVM to newer build, update Readme to show how to use KVMInstall. Pipe md to out-null when creating temp directory. 2014-06-11 13:45:59 -07:00
Praburaj 1ca9e25e54 Fixing an invalid 'And' condition while checking for process exited already 2014-06-11 13:31:55 -07:00
Praburaj 6b1a61f208 Checking if the host process is actually running before attempting to kill
adding some more diagnostics in case of host process failed to start.
2014-06-11 13:20:24 -07:00
Ryan Nowak 44ed23f65e Fix a build break in k10 2014-06-11 12:49:15 -07:00
Stephen Halter 25bbfa7165 Fix test now that ServiceProvider throws a generic exception
aspnet/DependencyInjection#87
2014-06-11 12:14:37 -07:00
Tian Pan 31915f0b46 Remove ComponentResultHelper
Fix #598
2014-06-11 11:32:22 -07:00
Stephen Halter af66fe1611 Inject all dependencies directly into RoleManager and UserManager
- All dependencies for RoleManager and UserManager should be required
- The old calls to GetService inside the constructors will throw instead of
  returning null if left in after PR aspnet/DependencyInjection#87 is merged
2014-06-11 11:23:49 -07:00