Skip to content

Commit

Permalink
Merge branch 'pnp:dev' into TenantProp
Browse files Browse the repository at this point in the history
  • Loading branch information
reshmee011 authored Jan 22, 2025
2 parents c52c876 + 6b52969 commit c3ee3eb
Show file tree
Hide file tree
Showing 14 changed files with 3,580 additions and 3,552 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checkdocumentationbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
dotnet-version: 7.x

- run: dotnet tool update -g docfx
- run: dotnet tool install -g docfx --version 2.72.1

- name: Build docs
shell: pwsh
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightlyrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ jobs:
- name: Build an image
run: |
VERSION=$(cat ./version.txt)-nightly
docker build --build-arg "PNP_MODULE_VERSION=$VERSION" --build-arg "BASE_IMAGE_SUFFIX=lts-alpine-3.17" --build-arg "INSTALL_USER=root" --build-arg "SKIP_PUBLISHER_CHECK=False" ./docker -f ./docker/pnppowershell.dockerFile --tag ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-lts-alpine-3.17;
docker build --build-arg "PNP_MODULE_VERSION=$VERSION" --build-arg "BASE_IMAGE_SUFFIX=lts-alpine-3.20" --build-arg "INSTALL_USER=root" --build-arg "SKIP_PUBLISHER_CHECK=False" ./docker -f ./docker/pnppowershell.dockerFile --tag ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-lts-alpine-3.20;
- name: Tag the image
run: |
VERSION=$(cat ./version.txt)-nightly
docker image tag ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-lts-alpine-3.17 ${{ secrets.DOCKER_ORG }}/powershell:nightly
docker image tag ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-lts-alpine-3.20 ${{ secrets.DOCKER_ORG }}/powershell:nightly
- name: Push the image
run: |
VERSION=$(cat ./version.txt)-nightly
docker login -u ${{ secrets.DOCKER_USERNAME }} -p '${{ secrets.DOCKER_PASSWORD }}'
docker push ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-lts-alpine-3.17
docker push ${{ secrets.DOCKER_ORG }}/powershell:$VERSION-lts-alpine-3.20
docker push ${{ secrets.DOCKER_ORG }}/powershell:nightly
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
shell: pwsh
run: |
$securedPassword = ConvertTo-SecureString "${{ secrets.DOCKER_PASSWORD }}" -AsPlainText -Force
./docker/Publish-UnpublishedImage.ps1 PnP.PowerShell ${{ secrets.DOCKER_USERNAME }} ${{ secrets.DOCKER_ORG }} powershell $securedPassword "root" $false "lts-alpine-3.17"
./docker/Publish-UnpublishedImage.ps1 PnP.PowerShell ${{ secrets.DOCKER_USERNAME }} ${{ secrets.DOCKER_ORG }} powershell $securedPassword "root" $false "lts-alpine-3.20"
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).
- Added `Get/Set/Remove-PnPUserProfilePhoto` cmdlets to download, upload or remove the profile photo of the specified user.
- Added `New/Get/Remove/Update-PnPTodoList` cmdlets to manage Todo lists.
- Added `Get-PnPTenantPronounsSetting` and `Set-PnPTenantPronounsSetting` cmdlets to manage the availability of using pronouns in the organization [#4660](https://github.com/pnp/powershell/pull/4660)
- Added `HidePeopleWhoHaveListsOpen` parameter to `Set-PnPSite` cmdlet to hide people who simultaneously have lists open [#4699](https://github.com/pnp/powershell/pull/4699)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# PnP PowerShell

**PnP PowerShell** is a .NET 8 based PowerShell Module providing nearly 750 cmdlets that work with Microsoft 365 environments such as SharePoint Online, Microsoft Teams, Microsoft Project, Security & Compliance, Azure Active Directory, and more.
**PnP PowerShell** is a .NET 8 based PowerShell Module providing over 750 cmdlets that work with Microsoft 365 environments such as SharePoint Online, Microsoft Teams, Microsoft Project, Security & Compliance, Entra ID, and more.

Last version | Last nightly version
-------------|---------------------
Expand Down
8 changes: 4 additions & 4 deletions dependencies.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Updated": "20250114-024326",
"PnPPowerShell": "0be6ca0aa449dcb8a1940521ca93bf1e83cf6490",
"PnPFramework": "7f7ee03fecbff983d648ed2c9e35349991e7c982",
"PnPCore": "c978a3596672bcb92ce7cbbe2fdfa5ce6f7247f6"
"Updated": "20250122-024505",
"PnPPowerShell": "7323d2359bb9237523d52f7e40062ce01e5a94a6",
"PnPFramework": "812c522d9adb9322db937c413465683e5b5b8214",
"PnPCore": "317449f81705e1491e08828b6841aa093a6ea1d9"
}
2 changes: 1 addition & 1 deletion docker/Publish-UnpublishedImage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $moduleVersions | % {
$plainStringPassword = [System.Net.NetworkCredential]::new("", $DOCKER_PASSWORD).Password;
docker login -u $DOCKER_USERNAME -p "$plainStringPassword";
docker push $DOCKER_ORG/$DOCKER_IMAGE_NAME`:$imageVersion;
if ( $baseImageSuffix -eq "lts-alpine-3.17") {
if ( $baseImageSuffix -eq "lts-alpine-3.20") {
docker image tag $DOCKER_ORG/$DOCKER_IMAGE_NAME`:$imageVersion $DOCKER_ORG/$DOCKER_IMAGE_NAME`:latest;
docker push $DOCKER_ORG/$DOCKER_IMAGE_NAME`:latest;
}
Expand Down
2 changes: 1 addition & 1 deletion docker/pnppowershell.dockerFile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE_SUFFIX=lts-alpine-3.17
ARG BASE_IMAGE_SUFFIX=alpine-3.20
ARG BASE_IMAGE=mcr.microsoft.com/powershell:$BASE_IMAGE_SUFFIX
FROM $BASE_IMAGE

Expand Down
27 changes: 23 additions & 4 deletions documentation/Set-PnPSite.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ Sets site collection properties.

### Set Properties
```powershell
Set-PnPSite [-Identity <String>]
[-Classification <String>]
[-DisableFlows]
[-LogoFilePath <String>]
Set-PnPSite
[-Identity <String>]
[-Classification <String>]
[-DisableFlows]
[-LogoFilePath <String>]
[-Sharing <SharingCapabilities>]
[-StorageMaximumLevel <Int64>]
[-StorageWarningLevel <Int64>]
Expand Down Expand Up @@ -49,6 +50,9 @@ Set-PnPSite [-Identity <String>]
[-ListsShowHeaderAndNavigation <Boolean>]
[-RestrictContentOrgWideSearch <Boolean>]
[-CanSyncHubSitePermissions <SwitchParameter>]
[-HidePeoplePreviewingFiles <Boolean>]
[-HidePeopleWhoHaveListsOpen <Boolean>]
[-RestrictedAccessControl <Boolean>]
[-Connection <PnPConnection>]
```

Expand Down Expand Up @@ -326,6 +330,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -HidePeopleWhoHaveListsOpen
Allows hiding of the presence indicators of users simultaneously working in lists.
```yaml
Type: String
Parameter Sets: (All)
Aliases: Url

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -Identity
The url of the site collection.
Expand Down
Loading

0 comments on commit c3ee3eb

Please sign in to comment.