Commit Graph

17720 Commits

Author SHA1 Message Date
Doug Bunting 6594d8bb7c
Merge branch 'release/3.0' => 'release/3.1' (#13790) 2019-09-08 12:24:27 -07:00
Justin Kotalik 1db76280ae
Don't call complete outside of main request loop (#13728) 2019-09-06 23:01:19 -07:00
Pranav K 17031a8edc
Publish Ingitor as a package (#13666)
* Publish Ignitor as a package

* Reorganize source code structure
* Remove IVT access to Components
* Fix bug in ContainerNode
* Misc QOL improvements
2019-09-06 20:06:43 -07:00
Doug Bunting 1c721aa747
Merge branch 'release/3.0' => 'release/3.1' (#13787) 2019-09-06 19:56:22 -07:00
Javier Calvarro Nelson c3fa16970d
[ApiAuth] Update partner dependencies to their final versions (#13260)
* Update oidc-client dependency to 1.9.4
* Update to the Identity Server 4 RTM version
* Updated entity framework migrations
2019-09-07 02:39:47 +02:00
Pranav K ded9638775
Fixup ref assembly 2019-09-06 16:27:05 -07:00
John Luo 36cbd22420
Merge pull request #13748 from dotnet-maestro-bot/merge/release/3.0-to-release/3.1
[automated] Merge branch 'release/3.0' => 'release/3.1'
2019-09-06 16:25:45 -07:00
Hao Kung ecb7288884
Turn on account confirmation for blazor server app template (#13559) 2019-09-06 16:13:14 -07:00
Justin Kotalik 8a8a0a5b82
Don't capture instance in Select for DataProtection. (#13743)
* Don't capture instance in project on Select

* Avoid capturing this by putting _logger in a local
2019-09-06 15:02:11 -07:00
John Luo 3e4c2a4c4f
Ship Site Extensions package (#13693) 2019-09-06 13:49:43 -07:00
Travis Illig f1f615282d Added ValueTask support to API Explorer response types. (#13739)
(cherry picked from commit 24b051de5ee386521f8b286c7c7d4f69ac1f2244)

Fixes https://github.com/aspnet/AspNetCore/issues/4883
2019-09-06 12:13:42 -07:00
Scott Addie f9c15caa7a Exclude empty ItemGroup in C# web API project template 2019-09-06 10:12:34 -07:00
Steve Sanderson 91a6fcc93d
Improve reliability of globalization E2E tests (#13678) 2019-09-06 16:20:14 +01:00
Javier Calvarro Nelson 73f969852b
[Templating] Infrastructure improvements (#13672)
* Automatically capture a screenshot when an assertion fails.
* Enable configurable options for different environments (CI|Dev).
* Include log errors in all exceptions.
* Add default timeout configurations and failure timeout configurations for CI and Dev environments.
2019-09-06 16:02:49 +02:00
Pranav K a7498f9595
Publish Ignitor package
* Reorganize source code structure
* Remove IVT access to Components
* Fix bug in ContainerNode
* Misc QOL improvements
2019-09-05 15:36:00 -07:00
Doug Bunting 5f6c0d3fe8
Merge branch 'release/3.0' => 'release/3.1' (#13670) 2019-09-04 23:13:19 -07:00
Javier Calvarro Nelson 3368ea6f9c
[Identity][Infrastructure] Improve test reliability (#13646)
* Catches HttpClient exceptions and retries on IdentityUI_ScriptTags_SubresourceIntegrityCheck and IdentityUI_ScriptTags_FallbackSourceContent_Matches_CDNContent
2019-09-04 22:09:08 +02:00
Javier Calvarro Nelson ddf987eb4e
[Templates][Fixes #13641] Run rimraf before running the app to give it a better chance of avoiding a failure
* Rimraf has reliability issues on windows.
* This change runs rimraf with a few retries before starting the app with `dotnet run` so that `npm run start` on the ReactDeveloperMiddleware has a better chance to succeed.
2019-09-04 20:12:51 +02:00
Ryan Brandenburg 7349b19e1e
components-reconnect-refused to components-reconnect-rejected (#13659)
components-reconnect-refused to components-reconnect-rejected
2019-09-04 11:07:19 -07:00
Kevin Pilch c9505a2911 Remove test workaround for fixed issue.
Fixes #11206
2019-09-04 10:29:47 -07:00
Daniel Roth 834e316f7a Correct the spelling of 'EnableEndpointRouting' (#13655)
Fixes #11467
2019-09-04 08:11:41 -07:00
Chris Ross 1095971a80
Skip broken shutdown test (#13652) 2019-09-03 12:40:50 -07:00
Pranav K 54710e4671
Do not infer Required attributes based on context for non-nullable generic types (#13551)
Fixes https://github.com/aspnet/AspNetCore/issues/13512
2019-09-03 11:13:16 -07:00
John Luo 437f149880
Build analyzers and bundled dotnet tools in source build (#13569)
* Add external package available in source buid
2019-09-03 10:39:23 -07:00
Stephen Halter 5d0b314e7d
Deflake ConcurrentPipeWriterTests.PassthroughIfAllFlushesAreAw… (#13563) 2019-08-30 10:35:36 -07:00
Justin Kotalik 78b46768d7 Lazyily initialize Https port in HttpsRedirectionMiddleware 2019-08-29 16:46:26 -07:00
Pranav K c3af33a023
Update manually generated reference for RenderTreeFrame (#13522)
Fixes https://github.com/aspnet/AspNetCore/issues/13504
2019-08-29 09:20:15 -07:00
Javier Calvarro Nelson 14136e7acd
[SPA] Enable support for publish single file (#13518)
* Updates the angular template to exclude the client-side files from the single file publish output
* Updates the react template to exclude the client-side files from the single file publish output
* Updates the react-redux template to exclude the client-side files from the single file publish output
2019-08-29 10:06:46 +02:00
Ryan Brandenburg 0d24bc27eb
Microsoft.dotnet-openapi is a shipping package (#13481)
Microsoft.dotnet-openapi is a shipping package
2019-08-28 11:43:41 -07:00
Ben Adams 649bcc8f61 Http2MessageBody.TryRead TryStart/TryStop (#13464) 2019-08-27 16:21:32 -07:00
Daniel Roth b9d1e067ee
Fixup Razor Class Library template namespace and component content (#13419) 2019-08-27 16:00:39 -07:00
Chris Ross b991e4b9c2
Fix AzureAd options validation (#13480)
* Skip getting AzureAdOptions for not AzureADUi Cookies scheme #13311 (#13327)

* Also check Azure Jwt options for #13311
2019-08-27 15:59:08 -07:00
Brennan ecae6838b8
Ignore MaxRequestBodySize for upgraded requests (#13477) 2019-08-27 13:53:09 -07:00
Kevin Pilch 3e253f6a40 Add XML docs to pubternal types 2019-08-27 13:45:33 -07:00
Doug Bunting 8ea3edadaf
Add tests of client code generation components (#13444)
- #4914
- test service ref MSBuild tasks
  - add `MockBuildEngine` class to support tests where a task logs
- correct an incredibly minor product issue about logging errors for `@(OpenApiProjectReference)` items
  - set `%(SourceProject)` metadata and use it when logging
- add test project that builds and can be tested in the future
2019-08-26 20:42:13 -07:00
Justin Kotalik 2d8cd179a1
Skip default port tests (#12983) 2019-08-26 14:07:31 -07:00
Brennan efa30e25f2
Move AfterBuild Target to more accurate project (#13281) 2019-08-26 09:42:17 -07:00
Doug Bunting d7b604810d Clean up reference conflict warnings in Microsoft.dotnet-openapi project 2019-08-26 09:05:11 -07:00
Doug Bunting b496781792
Remove last couple of (test-only) System.Data.SqlClient dependencies (#13426) 2019-08-26 09:04:10 -07:00
Doug Bunting a6597967e4
Merge branch 'release/3.0' into merge/release/3.0-preview9-to-release/3.0 2019-08-24 15:46:10 -07:00
Chris Ross 66de493473 Mark bytes as consumed #13372 (#13394) 2019-08-24 12:03:03 -07:00
Doug Bunting cb298f16e9
Merge branch 'release/2.2' => 'release/3.0' (#13100) 2019-08-24 11:06:25 -07:00
Doug Bunting 208b50afca
Merge branch 'release/3.0-preview9' => 'release/3.0' (#13283) 2019-08-24 11:02:55 -07:00
Hao Kung 4425876c89 [3.0] Also target netstandard2.1 for Identity.EFCore (#13402)
* Also target netstandard2.1 for Identity.EFCore

* Remove source build line
2019-08-24 08:22:28 -07:00
Javier Calvarro Nelson 61dc5fbe28 [ApiAuthorization] Disables pop-up logout by default
* There is an issue in Edge that prevents it from working.
* Can be enabled by setting 'popUpDisabled = false' in 'authorize.service.ts'
2019-08-23 20:00:53 -07:00
Doug Bunting 8417429b9b
Fix a typo and address remaining service reference TODO items (#13364)
- #4923
- typo caused problems when cleaning files
- add `%(OpenApiProjectReference.GlobalPropertiesToRemove)` metadata
  - stop removing `$(Configuration)` or `$(Platform)` global properties
- address timing issues cropping up occasionally in builds using service ref features
  - avoid `AfterTargets="Build"`; referencing projects sometimes continue while post-build work is done
    - instead use `BeforeTargets="Build"` since that's a no-op target wrapping up a build
- set only properties in buildMultiTargeting\Microsoft.Extensions.ApiDescription.Server.targets
  - items not evaluated early enough to reference in all cases
- rename Microsoft.Extensions.ApiDescription.Client tasks
- remove net461 task assembly
2019-08-23 15:59:58 -07:00
Doug Bunting e89a0519b9 Use Microsoft.Extensions.CommandLineUtils and Microsoft.Extensions.Tools.Internal in service ref programs
- add '--quiet' option
- add '--debug' option (when building Debug configuration)
- support `--` in `dotnet-getdocument`; users may want to explictly add options for GetDocument.Insider
- remove '--no-color' option
- use `IReporter` extension methods instead of static `Reporter` class
- reduce `static` use to ease testing (coming soon) and share the `IConsole` and `IReporter`
  - add `ProgramBase`
- allow mix of known and unknown command-line arguments
  - maintain existing behaviour using switch added in aspnet/Extensions#2210

nits:
- add a couple more `CommandLineApplicationExtensions` methods
- take VS suggestions
2019-08-23 15:54:55 -07:00
Steve Sanderson b16a26d50b Blazor fixes (#13377)
* Remove incorrect comment from template. Fixes #13331
* Fix reload button. Fixes #13370
* Fix navigation after reconnection. Fixes #13371
* Auth template fixes. Fixes #13374 and #13375
2019-08-23 15:48:24 -07:00
Brennan 6d311041f0
Properly wait for workaround (#13286) 2019-08-23 11:15:40 -07:00
John Luo 3b5a9e51d2 Set Blazor Client projects to use preview 9 label 2019-08-23 10:16:56 -07:00