Commit Graph

18017 Commits

Author SHA1 Message Date
BrennanConroy 09ad082913 No dnu 2016-02-25 10:13:21 -08:00
Doug Bunting af97bcd8e2 Do not attempt to use localDb except on Windows
- #251

nit: add `--quiet` to Travis configuration so that log can be displayed in browser
2016-02-25 09:58:24 -08:00
Doug Bunting 37055517ee Correct test attributes
- #654
- `[IPv6SupportedCondition]` requires `[ConditionalFact]` or `[ConditionalTheory]`
2016-02-24 22:35:20 -08:00
mnltejaswini 1c9a54aeb8 [Perf] Reduce allocations in Link generation code paths 2016-02-24 17:25:32 -08:00
Ryan Nowak 4629148519 [Design] Add antiforgery middleware
This new middleware participates in authentication and acts as a filter
when the request doesn't include a valid CSRF token for a POST.

Any authentication middleware that you want to validate an antiforgery
token should go ahead of this middleware in the pipeline (Cookies,
IISIntegration). This also takes care of automatic auth (Windows) done by
weblistener.

Any authentication middleware that you want to ignore antiforgery should
go after this middleware in the pipeline.

To facilitate this, there are a few changes in the antiforgery API
surface. Namely we can now pass in a principal to validate tokens. You
can't pass in a principal to generate tokens - we expect you to be logged
in at that poing. Also, ValidateRequestAsync(...) now checks the HTTP verb
and won't validate GETs and such.
2016-02-24 15:04:09 -08:00
Doug Bunting 7ebbbce052 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:13:31 -08:00
Doug Bunting c035f3b029 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:12:43 -08:00
Doug Bunting 4d0d9a8d8c Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:10:12 -08:00
Doug Bunting b3bc995d31 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:05:45 -08:00
Doug Bunting d0caad8631 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:04:58 -08:00
Doug Bunting a9ac505088 Use Mono 4.0.5
- Mono beta is now 4.2.1 which doesn't work reliably with `nuget.exe`
  - see also aspnet/External#48
2016-02-24 13:04:07 -08:00
Doug Bunting a80a63271f Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:01:39 -08:00
Doug Bunting 835b696e0e Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:54:38 -08:00
Doug Bunting d83ad64ad6 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:48:16 -08:00
Doug Bunting 34c0c20851 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:47:22 -08:00
Doug Bunting 40e242cb98 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:46:33 -08:00
Doug Bunting 54f8004a4e Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:45:01 -08:00
Doug Bunting 05b2b8e7d8 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:44:10 -08:00
Doug Bunting 3776e38d7c Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:43:00 -08:00
Doug Bunting 24d4c027b1 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:37:07 -08:00
Doug Bunting 09db7f413d Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:36:21 -08:00
Doug Bunting f344d798c1 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:34:44 -08:00
Doug Bunting 24ce2c9cdf Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:33:47 -08:00
Doug Bunting 9783a7c42b Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 12:27:40 -08:00
Doug Bunting edd1f7a0d0 Update template's `build.cmd` to match best of our repo's
- #347
- `%KOREBUILD_VERSION%` doesn't work without this fix

Will apply accross the repos once this is approved.
2016-02-24 12:15:02 -08:00
SteveSandersonMS c1b808f8af Fix code style inconsistencies 2016-02-24 18:37:47 +00:00
SteveSandersonMS c668387dac Add data-loading example to ReactSpa template, and remove server-side rendering (because you really need Redux/Flux or similar for that to make sense) 2016-02-24 18:32:31 +00:00
Doug Bunting 5de08352fa Update `build.sh` to match other repos
- currently attempts to `source KoreBuild.sh`
2016-02-24 09:37:41 -08:00
Pranav K 0efa8c9204 Use Dotnet to run tests for DNXCore50
Fixes #400
2016-02-24 08:14:05 -08:00
SteveSandersonMS a6ea8b5101 Change ReactSpa template to something more like a dashboard with sidebar navigation 2016-02-24 14:41:29 +00:00
SteveSandersonMS eac76683cc Enable server-side rendering for ReactSpa template 2016-02-24 11:02:21 +00:00
SteveSandersonMS f0b0160419 Add Webpack dev middleware and React hot module replacement to ReactSpa template 2016-02-24 10:47:45 +00:00
Pranav K f461329cdb Reduce the number of directories we look for projects to build in. 2016-02-23 17:27:50 -08:00
moozzyk 8eb3946caf Preventing from running dotnet test if test runner is not specified 2016-02-23 16:33:26 -08:00
John Luo 4ad6bbcdd3 Add required dependency for running test site 2016-02-23 16:26:30 -08:00
SteveSandersonMS de488987c1 Add Angular2Spa template 2016-02-23 23:13:20 +00:00
Kiran Challa 04a9313009 Disable running E2ETests in parallel 2016-02-23 14:40:03 -08:00
Kiran Challa 67e49d3636 Enable passing in 'parallel' parameter to dotnet test 2016-02-23 14:10:17 -08:00
moozzyk 38d7bab73d Removing -pre as it causes test failures due to version mismatch
between what the build runs vs what project references

Also removing for Sake since it is not needed
2016-02-23 12:56:12 -08:00
Pranav K aca02c8311 Don't invoke k-clean as part of default lifecycle.
Fixes #382
2016-02-23 10:35:16 -08:00
moozzyk 0aa39e9d29 Adding -noappdomain option to work aroun a Mono issue 2016-02-23 09:30:58 -08:00
Pranav K 4bf99de4e4 Remove framework from dotnet-test 2016-02-23 09:06:05 -08:00
BrennanConroy 638380b0bb Fix samples as well 2016-02-23 08:34:55 -08:00
SteveSandersonMS a55394638f Add ReactSpa template 2016-02-23 15:04:58 +00:00
SteveSandersonMS 0c5eabc022 Switch to Webpack 2016-02-23 13:48:07 +00:00
Pranav K a7642bd20d Only run one set of desktop tests (net451 or dnx451). 2016-02-22 23:24:21 -08:00
Ben Adams c2e5124d5a Fix XML Comment 2016-02-22 22:43:30 -08:00
Ben Adams a23ab5bd22 Parallel on Appveyor 2016-02-22 22:43:28 -08:00
moozzyk 90763b60a5 Fixing the build caused by new dotnet CLI 2016-02-22 17:31:04 -08:00
moozzyk f4e69beea1 Creating webroot if one does not exists
One scenario it is useful is where the webroot does not contain any files. In this case even if the webroot is included in the "content" section dotnet publish does will not publish it.
2016-02-22 17:11:57 -08:00