dependabot[bot]
f06ebb692a
Build(deps): Bump PackageManagement from 1.2.4 to 1.3.1 in /src/Modules ( #8800 )
...
Updated the wxs file.
2019-01-31 16:57:50 -08:00
Travis Plunk
e96b0bf85b
Refactor Unified Release Build ( #8804 )
...
Refactor Unified Release Build
- Make injecting the nuget.config a template
- Make setting the version variable a template
- Add parameters to templates where needed
- Run defender scan before uploading linux packages (and rename step to plain english)
2019-01-31 15:10:19 -08:00
Steve Lee
313c8c06a1
Enable Write-Information
to accept $null ( #8774 )
2019-01-31 13:16:34 -08:00
Ilya
5c8a5f355e
Update GitHub templates ( #8792 )
...
Update GitHub templates.
Fill free add commits if needed.
2019-01-31 12:42:22 -08:00
Travis Plunk
079926298a
Fix broken link in FAQs.md
( #8803 )
2019-01-31 11:44:59 -08:00
James Truher [MSFT]
bbcedd2590
Update Pester version to 4.4.4 ( #8739 )
2019-01-31 11:41:26 -08:00
Reece Dunham
9e4e50a84e
Remove appveyor functions from New-DockerTestBuild.psm1 ( #8756 )
2019-01-31 11:15:31 -08:00
Joshua T
c935bce1ac
Adding parameter "ReplyTo" to Send-MailMessage ( #8727 )
2019-01-30 16:33:15 -08:00
Reece Dunham
528b0992b2
Updated basics.md
to add a link for showing example for installing git on all package managers ( #8735 )
2019-01-30 14:30:50 -08:00
Paul Higinbotham
f3efcab91e
Change xUnit RunspaceTests to run sequentially ( #8796 )
2019-01-30 14:12:26 -08:00
Travis Plunk
a872b8d5be
Add compliance to Coordinated build ( #8798 )
...
Add compliance to Coordinated build
- Also switch to mac internal pool for release build
- Also turn some duplicate tasks into templates
- Also fix issue with vscode configuration which causes yaml files not to be recogized as yaml
2019-01-30 14:10:52 -08:00
Travis Plunk
f416fd3815
Switch to 1.11 of FPM to fix FPM install issue ( #8797 )
...
Switch to 1.11 of FPM to fix FPM install issue
2019-01-30 11:08:08 -08:00
pougetat
1d7651f233
Fix Get-Help
PSTypeName
issue with -Parameter
when only one parameter is declared ( #8754 )
2019-01-30 08:55:33 -08:00
Ilya
5097e2ae1f
Fix cleanup config files for the csharp xUnit tests ( #8761 )
2019-01-29 17:24:18 -08:00
Aditya Patwardhan
53c76d1658
Update the universal build with framework dependent package for dotnet sdk ( #8773 )
...
Update the universal build to also build the framework package needed for the dotnet sdk container image.
## PR Context
We build the package in individual builds. This change brings over the steps in the universal build.
2019-01-29 10:59:30 -08:00
Reece Dunham
5581c0a0ed
Update some info in md-link-checks ( #8757 )
2019-01-29 08:54:23 +05:00
Andrew
cec4557932
moved fxdependent-dotnetsdk-latest/Dockerfile ( #8738 )
2019-01-28 15:54:58 -08:00
Paul Higinbotham
7948cb63d3
Update README.md
for preview.4
( #8772 )
2019-01-28 15:54:18 -08:00
Travis Plunk
b779b88c79
Merge `release-v6.2.0-preview.4'
...
# Conflicts:
# test/Test.Common.props
# tools/packaging/packaging.psm1
2019-01-28 13:50:00 -08:00
Steve Lee
3e8f85a682
Enable catching NotImplementedException when calling into RawUI for members that are not implemented
2019-01-28 12:13:15 -08:00
Takuya Shibata
ecc3c875df
Updating README.md for supported openSUSE version and updating link to OS versions supported by CoreFx ( #8701 )
...
* Update openSUSE 42.2 to 42.3, and adding [openSUSE Leap 15](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-6#installation---opensuse-leap-15 ).
* [Installation - openSUSE Leap 15](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-6#installation---opensuse-leap-15 )
* Update CoreFx version 2.0 to 2.1.
* [.NET Core 2.1 - Supported OS versions](https://github.com/dotnet/core/blob/master/release-notes/2.1/2.1-supported-os.md )
2019-01-28 10:20:18 -08:00
Reece Dunham
e5897ba2f7
Fix broken reference ( #8753 )
2019-01-28 17:00:34 +05:00
Joel Sallow (/u/ta11ow)
db1b309800
Correctly Report impact level when SupportsShouldProcess
is not set to 'true' ( #8209 )
...
Major changes are:
- Make all commands return 'ConfirmImpact.None' if `SupportsShouldProcess` is not set to `true`.
- Update some cmdlets to explicitly use `ConfirmImpact.Low`.
- Update `DefaultCommands.Tests.ps1` to test for 'ConfirmImpact' level.
2019-01-26 03:12:00 -08:00
Mark Kraus
ff83206e1c
Fix Request Charset Issues in Web Cmdlets ( #8742 )
...
Instantiating a new MediaTypeHeaderValue object fails when the -ContentType parameter includes a charset such as application/json; charset=utf-8. This makes it impossible to set the content encoding on web requests. Moving to Parse() ensures we actually get a proper MediaTypeHeaderValue when the charset is present, thus allowing users to set their request encoding via proper -ContentType values.
2019-01-26 12:48:47 +05:00
Reece Dunham
43b68c43cc
Remove GitKracken files from GitIgnore ( #8743 )
...
<!-- Anything that looks like this is a comment and can't be seen after the Pull Request is created. -->
## PR Summary
GitKracken now automatically prevents them from being committed, so this is not needed.
<!-- Summarize your PR between here and the checklist. -->
## PR Context
<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
## PR Checklist
- [X] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- Use the present tense and imperative mood when describing your changes
- [X] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [X] [Change is not breaking](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes )
- [X] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [X] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress ).
- If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready.
- **User-facing changes**
- [X] Not Applicable
- **OR**
- [ ] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [ ] Issue filed: <!-- Number/link of that issue here -->
- **Testing - New and feature**
- [X] N/A or can only be tested interactively
- **OR**
- [X] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting )
- [X] [Add `[feature]` to your commit messages if the change is significant or affects feature tests](https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/testing-guidelines.md#requesting-additional-tests-for-a-pr )
2019-01-25 15:49:57 -08:00
Reece Dunham
04a31ff22f
Refactor appveyor.psm1
to ci.psm1
( #8733 )
2019-01-25 15:30:31 -08:00
Travis Plunk
d798ce7f5e
Make every csproj
files have its own folder ( #8750 )
...
* move csproj files into individual folders
* get csproj files from individual folders
2019-01-25 13:44:25 -08:00
Aditya Patwardhan
6ccbebda27
Improve check for developer mode by checking minimum required build number ( #8749 )
...
* Improve check for developer mode by checking minimum required build number
The test would fail if the developer mode is enabled but the machine has an older build than the minimum required build.
The change adds a check for the build version in the test.
* Update test/powershell/Modules/Microsoft.PowerShell.Management/New-Item.Tests.ps1
2019-01-25 13:14:29 -08:00
Dongbo Wang
12547c01e8
Add complete xml docs for ConvertToJsonContext constructors ( #8737 )
2019-01-25 12:02:41 -08:00
Alex Earl
89b2dcdeff
Update README.md for ARM to include both 32-bit and 64-bit PS package links ( #8677 )
2019-01-25 12:01:29 -08:00
Dongbo Wang
c35fd70b15
Simplify the declaration of new experimental features ( #8726 )
2019-01-25 11:57:28 -08:00
Reece Dunham
719b808941
Update issue templates with new supported values ( #8718 )
2019-01-25 11:56:10 -08:00
Dongbo Wang
1264a00a76
Update packaging script to build reference assembly targeting netcoreapp2.1
and use actual .csproj
files ( #8729 )
2019-01-25 11:10:47 -08:00
Paul Higinbotham
9acd174225
Merged PR 6702: Add change log for v6.2.0-preview.4 release
...
Add change log for v6.2.0-preview.4 release
2019-01-25 18:24:38 +00:00
dependabot[bot]
28042f3f44
Build(deps): Bump NJsonSchema from 9.13.16 to 9.13.17 ( #8747 )
...
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema ) from 9.13.16 to 9.13.17.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases )
- [Commits](https://github.com/rsuter/NJsonSchema/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-25 19:36:39 +05:00
Sergey Vasin
a9841d98fa
Make Join-String -InputObject 1,2,3
result equal to 1,2,3 | Join-String
result ( #8611 )
...
Make `Join-String -InputObject 1,2,3` result equal to `1,2,3 | Join-String` result.
Fix #8610
2019-01-24 12:53:37 -08:00
xtqqczze
863528881f
Use https in URLs where available ( #8622 )
...
Use https in URLS across the repository where the domain serves content by https.
2019-01-24 12:50:11 -08:00
Reece Dunham
6ee4521cd3
Update maintainer docs about the CLA PR labels ( #8734 )
2019-01-24 11:46:51 -08:00
dependabot[bot]
60edeb2c76
Build(deps): Bump XunitXml.TestLogger from 2.0.0 to 2.1.26 ( #8731 )
2019-01-24 11:01:24 -08:00
dependabot[bot]
4f3f2fb32e
Build(deps): Bump NJsonSchema from 9.13.15 to 9.13.16 ( #8732 )
...
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema ) from 9.13.15 to 9.13.16.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases )
- [Commits](https://github.com/rsuter/NJsonSchema/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-24 19:12:06 +05:00
Mark Kraus
0ced5c92f0
Update path of test\xUnit\xUnit.tests.csproj in PowerShell.sln ( #8730 )
2019-01-24 11:45:47 +05:00
Mark Kraus
4590bf3cf9
Ignore files added by SelfSignedCertificate ( #8728 )
...
WebListener module depends on SelfSignedCertificate module and restore it so we should ignore the files in git.
2019-01-24 11:42:20 +05:00
Travis Plunk
2b81a706ae
Add Andrew to the maintainer list ( #8722 )
...
* Add andrew to the maintainer list
* update dictionary
2019-01-23 15:08:53 -08:00
Steve Lee
3a8205018e
Fix Enter-PSHostProcess test to wait until runspace is ready before attempting to enter ( #8725 )
...
This fixes CI test failure in Windows build.
2019-01-23 15:07:34 -08:00
Paul Higinbotham
4a1fc4b382
Remove AMSI unitialized assert and replace with call to uninitialize ( #8713 )
2019-01-23 13:58:23 -08:00
Steve Lee
7e2cd7954f
Add the experimental feature for creating 'Temp:\' drive when FileSystemProvider initializes ( #8696 )
...
Adds Experimental Feature called `PSTempDrive` that, if enabled, creates a PSDrive called `Temp:` that maps to `[System.IO.Path]::GetTempPath()`.
2019-01-23 13:53:04 -08:00
Aditya Patwardhan
ea0b4de90a
Merged PR 6442: Moved the cleanup logic to Restore-PSModuleToBuild
...
Moved the cleanup logic to Restore-PSModuleToBuild
# Conflicts:
# build.psm1
2019-01-23 12:27:44 -08:00
Dongbo Wang
cab8f26386
Generate and deploy reference assembly for Microsoft.PowerShell.Commands.Utility.dll ( #8716 )
...
Update `New-ReferenceAssembly` and `New-UnifiedNugetPackage` to generate reference assembly for `Microsoft.PowerShell.Commands.Utility.dll` and properly deploy it for `Microsoft.PowerShell.Commands.Utility` NuGet package and `Microsoft.PowerShell.SDK` NuGet package.
An incremental step to fix, eventually, #8121
2019-01-23 11:43:18 -08:00
Dongbo Wang
86516ad0b6
Generate and deploy reference assembly for Microsoft.PowerShell.Commands.Utility.dll ( #8716 )
...
Update `New-ReferenceAssembly` and `New-UnifiedNugetPackage` to generate reference assembly for `Microsoft.PowerShell.Commands.Utility.dll` and properly deploy it for `Microsoft.PowerShell.Commands.Utility` NuGet package and `Microsoft.PowerShell.SDK` NuGet package.
An incremental step to fix, eventually, #8121
2019-01-23 11:42:32 -08:00
Dongbo Wang
9ceddc0dfe
Refactor ConvertTo-Json to expose JsonObject.ConvertToJson
as a public API ( #8682 )
...
We have the public API `JsonObject.ConvertFromJson` to convert from JSON string in the PowerShell context. It would be good to have a public API for conversion to JSON. This PR refactors the `ConvertTo-Json` cmdlet to move the core implementation to `JsonObject.ConvertToJson`, and make `ConvertTo-Json` call that public method.
This would help the Azure Function PowerShell worker. Currently, we depends on [calling the cmdlet](729710d259/src/PowerShell/PowerShellManager.cs (L198-L205)
) to convert object to JSON which is expensive. Once we have the public method `JsonObject.ConvertToJson` exposed, we can call the API directly to avoid a command invocation.
# Conflicts:
# test/Test.Common.props
2019-01-23 10:41:19 -08:00