Commit Graph
6399 Commits
Author SHA1 Message Date
Travis Plunk 472a2bda15 Merged PR 5716: Port changes to allow AzDevOps NuGet feeds for Mac build 2018-11-07 22:03:05 +00:00
Travis Plunk 1ddc3da663 Merged PR 5694: port mac changes from GitHub (#8189, #8188, #8185) 2018-11-06 22:10:02 +00:00
Aditya Patwardhan da5d8e707d Merged PR 5671: Update the Archive module version
Update the Archive module version
2018-11-06 20:43:33 +00:00
Travis Plunk ea3c0168a3 Merged PR 5667: Add function to create a new nuget.config file (#8170)
Add function to create a new nuget.config file (#8170)

Add a function to create a NuGet.config file to consume packages  from the specified feed URL using the specified credentials.

  - Also, exclude the `nuget.config` file under `src/Modules` from being clean by `Start-PSBuild -clean`

# Conflicts:
#	build.psm1
2018-11-06 01:26:46 +00:00
Travis Plunk 68557bce6a Change API to match cmdlet which is more reliable in AzDevOpsPipelines Windows (#8003)
Change API to match cmdlet which is more reliable in AzDevOpsPipelines Windows (#8003)

# Conflicts:
#	test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1
2018-11-05 23:30:02 +00:00
Travis Plunk b26805d365 Merged PR 5614: Fix conflict with Get-AdlStoreChildItem from az module in tab completion tests (#8167)
Fix conflict with `Get-AdlStoreChildItem` from `az` module in tab completion tests (#8167)
2018-11-05 20:27:17 +00:00
Paul Higinbotham bbc3dd0060 Merged PR 5660: Updated wxs file to match published packages
Updated wxs file to match published packages
2018-11-05 20:25:20 +00:00
Aditya Patwardhan a2237e4010 Merged PR 5612: Bump versions for dependencies
Bump versions for dependencies
2018-11-01 22:20:13 +00:00
Aditya Patwardhan 3f85c94bd2 Merged PR 5608: Use ZipFile and ExtractToDirectory APIs to extract zip file
Use ZipFile and ExtractToDirectory APIs to extract zip file
2018-11-01 18:28:28 +00:00
Travis Plunk f8f3774dfc Merged PR 5607: Fix issue logging null character in ScriptBlock logging
Fix issue logging null character in ScriptBlock logging
2018-11-01 18:12:38 +00:00
Paul Higinbotham 42ef309d1f Merged PR 5233: Consolidation of all Windows PowerShell work ported to 6.1
This PR combines all Windows PowerShell code changes needed for 6.1.

*  Disallow ps1 files from being imported as modules in CL mode
*  JEA loop back change to prevent code running in local session instead of remote session
*  Debugger does not run commands with Internal origin when in CL mode
*  Add support for new AMSI codes
*  Unhandled exception fix
*  Change to use AMSI buffer API
*  Module vulnerabilities under CL mode
*  Untrusted input tracking work
*  Configuration keyword
*  PSRP protocol version check for reconstruct reconnect
*  Sharing initial session state over multiple runspace pool runspaces
*  Restricted remote session in UMCI
*  Applocker detection collision
*  Help command exposing functions

Cherry picked from !5232
2018-11-01 18:04:29 +00:00
Travis Plunk 5320827662 Merged PR 5209: Disable package major upgrade tests for release branch
Disable package major upgrade tests for release branch
2018-10-03 21:17:39 +00:00
Ilya f6138ef55e Update to .NET Core 2.1.5 with SDK 2.1.403 (#7936)
# Conflicts:
#	PowerShell.Common.props
#	appveyor.yml
#	assets/files.wxs
#	global.json
#	test/Test.Common.props
#	test/tools/WebListener/WebListener.csproj
2018-10-03 13:39:41 -07:00
Aditya Patwardhan 855d2b9d75 Merged PR 4989: Update the release date
Update the release date
v6.1.0
2018-09-13 18:42:13 +00:00
Aditya Patwardhan 0f81101f5c Merged PR 4985: Update metadata json for 6.1.0 release
Update metadata json for 6.1.0 release
2018-09-13 16:52:17 +00:00
Dongbo Wang 65d15f08f2 Merged PR 4961: Update versions in README.md 2018-09-11 23:17:23 +00:00
Dongbo Wang 1ccdc3e5ce Merged PR 4959: Update the ChangeLog.md for 6.1.0 release 2018-09-11 21:27:49 +00:00
Travis Plunk 15a3beb12d Make sure MSI build works when not preview (#7752)
The variable was set to empty (meaning to delete the variable) in the non-preview case and the build fails.
The fix avoids setting the variable to empty
2018-09-10 14:36:23 -07:00
Aditya Patwardhan 5a587b551e Update version for powershell release 6.1.0 (#7751) 2018-09-10 13:20:23 -07:00
Dan Travison ccee14dc65 Ensure the SSHClientSessionTransportManager stream writer and reader fields are cleared after dispose. (#7746)
Fix possible race conditions accessing the fields during CloseConnection.
2018-09-10 13:06:05 -07:00
Aditya Patwardhan 89278290d9 Build and package framework dependent package (#7729)
Add the functionality to build a framework dependent (shared framework) package for PowerShell.

The changes create two packages, one for Windows and other for Linux, due to #if code.
2018-09-10 12:55:06 -07:00
Ilya 433ec46efb Cleanup FileSystemProvider from runtime checks (#7655)
Replace runtime checks with compile time checks.
Remove unneeded methods.
2018-09-10 11:18:50 -07:00
ThreeFive-O e74bd730fe Improve code style of Send-MailMessage cmdlet (#7723) 2018-09-10 11:18:50 -07:00
Travis Plunk 179ff6bc16 update metadata json in preparation for 6.1 release (#7741)
ReleaseTag is now StableReleaseTag
NextReleaseTag is not PreviewReleaseTag
Added ServicingReleaseTag for the N-1 Stable release
2018-09-10 11:18:50 -07:00
Ilya bec64a0743 Update CONTRIBUTION.md about adding an empty line after the copyright header (#7706) 2018-09-10 11:18:50 -07:00
Aditya Patwardhan c41b19923e Fix docker image names for release build (#7726) 2018-09-06 18:00:46 -07:00
Travis Plunk 433a263a17 Add daily build non-windows platforms (#7683)
Add daily build non-windows platforms
  - Also, make the [Feature] tag work in VSTS for non-windows
  - Also, add a way to force feature tests to run
  - Also, fix an issue where `-workingdirectory` didn't work when running async
2018-09-06 18:00:46 -07:00
Steve Lee b17c5113f4 update PSReadLine to 2.0.0-beta3 (#7711)
Update PSReadLine shipped with PSCore6 to 2.0.0-beta3
2018-09-06 18:00:45 -07:00
Christoph Bergmeister [MVP] b19630d167 Make Windows MSI uninstallation shortcut remove work when more than one version is installed (#7701)
Fixes underlying problem of #3341. Related: #2881
When multiple versions (e.g. RTM and preview) of PowerShell are installed via the MSI and one is being uninstalled, then the start menu shortcut does not get removed due to the shortcut component being not unique per version. This also applies to an upgrade scenario. Therefore use an auto-generated Guid (`*`)
2018-09-06 18:00:45 -07:00
Sergey Vasin b31ccf90d0 Fix a typo in Credential.cs. (#7696) 2018-09-06 18:00:45 -07:00
Travis Plunk f27812a824 update njsonschema (#7705) 2018-09-06 18:00:45 -07:00
Christoph Bergmeister [MVP] 39a1999998 Add VSTS CI build badges for master branch to README.md (#7691) 2018-09-05 14:06:10 -07:00
Ilya fed2b1b3bd Add a paragraph on files.wxs updating (#7695) 2018-09-05 14:06:10 -07:00
Sergey Vasin 3e06138692 Fix module specification hashtable in ModuleSpecification.Tests.ps1 (#7663) 2018-09-05 14:06:10 -07:00
Andrew d1991936c3 Updates to Docker package tests (#7667) 2018-09-05 14:06:10 -07:00
Steve Lee e0e445e88b Fix perf issue in provider by using Refresh() to update the status rather than instantiating ServiceController which has a significant perf degradation from .NET Framework (#7680) 2018-09-05 14:06:10 -07:00
Claus T Nielsen 56f1db33d3 Fix file blocking issue with webcmdlets (#7676) 2018-09-05 14:06:09 -07:00
Aditya Patwardhan 994abcc9d1 Change locale of mdspell to en-US (#7671)
Update the locale to use en-us for mdspell checker.
2018-09-05 14:06:09 -07:00
Travis Plunk 137d5de82b Add tests to report when package references are out of date (#7661)
Add tests to report when package references are out of date
  - Also, update the packaging script to generate updated `files.wxs`
2018-09-05 14:06:09 -07:00
Sergey Vasin 667175767c Remove extra spaces in error messages in Modules.resx. (#7662) 2018-08-31 16:55:43 -07:00
Ilya 959ce303f0 Update to latest package references, runtime framework, and SDK (#7646)
* Move to .Net Core SDK 2.1.401 and runtime 2.1.3

* Update package references
2018-08-31 16:55:43 -07:00
Travis Plunk 6dd9b4cbf8 Remove workaround on VSTS that is no longer needed (#7666) 2018-08-31 16:55:43 -07:00
Christoph Bergmeister [MVP] e4cb8e1eb5 Update docs about .NET Core version 2.0 to be about version 2.x (#7467) 2018-08-31 16:55:43 -07:00
Jason Shirk eae6d50d7a Add tools for PowerShell perf analysis (#7595) 2018-08-31 16:55:42 -07:00
James Truher [MSFT] 087de5b5f1 Change logic for downloading zip files based on job id (#7653) 2018-08-31 16:55:42 -07:00
Patrick Meinecke 2dfb4c54eb Enable indexing operations on objects that implement ITuple (#7633)
This change enables index operations on objects that implement `ITuple` and other interfaces that have `DefaultMemberAttribute` declared, including slicing and negative indexing.
2018-08-31 16:55:42 -07:00
Aditya Patwardhan aa6911d2d1 Update docker files to use MCR (#7656) 2018-08-31 16:55:42 -07:00
James Truher [MSFT] 727f2a07b8 Remove 'Suspend-Job' and 'Resume-Job' cmdlets from compilation (#7650)
The classes for the cmdlets are present but the Cmdlet attribute has been removed. There is no reason why we should be compiling these files, and it very slightly impacts our code coverage numbers.
2018-08-31 16:55:42 -07:00
Travis Plunk bb4e293bd5 make artifact upload only occur for non-PR builds (#7657) 2018-08-31 16:55:42 -07:00
Yuriy Kushnir d8bb2e9028 Use non-virtual call to invoke 'family or assembly' methods on base class from PowerShell class (#7622) (#7624) 2018-08-31 16:55:42 -07:00