Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v1.2.9 rc #517

Merged
merged 24 commits into from
Sep 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
dd0f90d
Added multiline support in List components (#493)
Rundez Aug 2, 2021
58e868e
Setting default site design for hub on install (#492)
okms Aug 12, 2021
7d61cbd
Added description for site template (#500)
tarjeieo Aug 20, 2021
29dc5f6
Removed husky to allow plain commits again (#501)
tarjeieo Aug 20, 2021
4170159
Added node_modules to .gitignore
tarjeieo Aug 23, 2021
4c88f0d
Removed husky and sexy-commits #501
tarjeieo Aug 23, 2021
1f274d7
Encoding for site template desc #500
tarjeieo Aug 23, 2021
ebca35f
Merge branch 'main' into dev
tarjeieo Aug 23, 2021
f478abb
_actual_ encoding of template desc #500
tarjeieo Aug 23, 2021
6b4c5f6
Converting SP dates to readable excel date format (#495)
Rundez Aug 30, 2021
33dc700
Added rich text and lineshift support (#502)
Rundez Aug 30, 2021
ccb942e
Updated 1.2.9 changelog (#512)
Petterandre Sep 3, 2021
1f1843c
Update CHANGELOG.md (#513)
Rundez Sep 3, 2021
7b14d15
Using Node 12 for SPFx (#509)
olemp Sep 3, 2021
415222f
Update CHANGELOG.md
okms Sep 7, 2021
ca9006c
Upping version to 1.2.9
okms Sep 7, 2021
75a19ea
Upping version number to 1.2.9
okms Sep 7, 2021
115d806
Fixing build script to work locally
okms Sep 7, 2021
cf90e46
including minor version for ProjectWebParts
okms Sep 7, 2021
6b4c2fa
Revert "Using Node 12 for SPFx (#509)"
okms Sep 8, 2021
2410a93
adding build output in release folders to .gitignore
okms Sep 8, 2021
7d81fc1
Crafting url without query portion in order to omit sw=bypass string …
okms Sep 8, 2021
86c7287
Merge pull request #519 from Puzzlepart/bugfix/518-propsync-not-trigg…
okms Sep 8, 2021
cc830ec
Update CHANGELOG.md
okms Sep 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ Templates/Resources.json
.DS_Store
SharePointFramework/**/config/config.backup.json
**/package-lock.json
node_modules
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/commit-msg

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/pre-commit

This file was deleted.

3 changes: 1 addition & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"**/package-lock.json": true,
"**/pnpm-lock.yaml": true,
"README.md": true,
"dev/README.md": true,
".husky": true,
"dev/README.md": true
},
"files.associations": {
"*.txt": "json",
Expand Down
40 changes: 37 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,27 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

Every change is marked with Pull Request ID.

## 1.2.9 - 08.09.2021

## Added

- Added multiline text-wrapping in project status #493
- Added description for site template #500

## Fixed

- Fixed issue where the site design had to be applied post project creation #492
- Fixed date not being recognized when exporting Portfolio overview to Excel. #495
- Fixed issue where changing project phase did not always update the portfolio page #518

## 1.2.8 - 17.06.2021

## Added

- Added rich text and lineshift support to field in project information #502

## Fixed

- Fixed issue with checklist status field missing options #485

## 1.2.7 - 20.05.2021
Expand All @@ -30,7 +48,7 @@ Every change is marked with Pull Request ID.
## Changed

- Changed Portfolio status view columns from "comments" to "status" #451
- Improved project properties sync and fetching #444 #449
- Improved project properties sync and fetching #444 #449
- Overviews using PortfolioAggregation (Benefit overview, Experience log, Delivery overview, Risk overview) now initially sort on project and grouping now automatically sorts group from A-Z by project. Also removes groups when sorting to avoid the issue found in #459
- Updated description for most of the SiteFields throughout 'Prosjektportalen' #467
- Deactivated Export to Excel button on portfolio overview as well as aggregated portfolio pages (Gevinstoversikt, Erfaringslogg, Leveranseoversikt, Risikooversikt) #475
Expand Down Expand Up @@ -98,20 +116,24 @@ Every change is marked with Pull Request ID.
## 1.2.2 - 2020-06-24

### Added

- Planner tasks copied to the project site during provisioning get label Metodikk #276

#### 1.2.1 - 2020-05-22

### Added

- Not using refiners from search anymore in `PortfolioOverview`, retrieving the values from the current collection instead #244
- Removed lists Information and Milestones #266

### Fixed

- Removed "Add to portfolio" on Opportunities #270

## 1.2.0 - 2020-02-21

### Added

- Support for different phase term sets (to fully support different project templates/types) #201
- Support for different project metadata for different project types/templates
- Ability to connect template(s) to list content config
Expand All @@ -128,30 +150,35 @@ Every change is marked with Pull Request ID.
- Support for description for list content configurations (#240)

### Fixed

- Header columns mispositioned in portfolio overview #207
- Issue with mandatory project properties not synced to created projects #215
- Disabled template dropdown in project configurator if there's only 1 template selected

## 1.1.9 - 2020-01-20

### Fixed

- Fixed rendering of status sections, some properties had no effect #180
- Sync project propertes after phase change #196
- Fixed an issue with installation script
- Fixed an overview with retrieving document template and library picker #197

### Added

- Installation writes to output which user it is connected with #187

## 1.1.8 - 2020-01-10

### Fixed

- Stopped using PnP connections (which caused some issues) #185
- Removed library URL field from Listeinnhold list #183

## 1.1.7 - 2020-01-09

### Added

- RiskMatrix added as separate web part #97
- RiskMatrix added to project status #172
- Improved error messages when provisioning new projects #170
Expand All @@ -162,30 +189,35 @@ Every change is marked with Pull Request ID.
- Support for installing to /teams/ #177

### Fixed

- Fixed lookups in list 'Prosjektkolonnekonfigurasjon' #142
- Fixed colors and columns not matching content #134
- Fixed an issue with invalid web part properties on Oppgaver.aspx #164
- Added support for currency fields in Portfolio Insights #155
- Fields with _ in field name doesn't sync to portfolio
- Fields with \_ in field name doesn't sync to portfolio
- Persists selection for ListContentSection/ExtensionsSection #182

## 1.1.6 - 2019-11-14

### Fixed

- Fixed a bug with current phase not being displayed in phase web part on project frontpage #149

## 1.1.5 - 2019-11-13

### Added

- Support for PSCredential in Install script #145
- Added missing resource for choice option (Choice_GtResourceAbsence_Linetasks) #148

### Fixed

- Fixed project column configuration to make status colors work in portfolio overview #142

## 1.1.4 - 2019-10-30

### Added

- Added list 'Interessentregister' to portfolio level
- Using list fields instead of content type for 'Dokumenter' to keep the OOTB document type dropdown #136
- Updated Standardmal.txt to include Parameters
Expand All @@ -194,14 +226,16 @@ Every change is marked with Pull Request ID.
## 1.1.3 - 2019-10-15

### Fixed

- Fixed issue with document template selector on frontpage #128
- Include active/inactive projects field to filter projects from portfolio #99
- Fixed planner task creation. Still creating a plan even though setting `copyPlannerTasks` is set to `false` #132
- Fixed planner task creation. Still creating a plan even though setting `copyPlannerTasks` is set to `false` #132
- Fixed an issue with duplicate list items #135

## 1.1.2 - 2019-10-10

### Fixed

- Added `-SkipTaxonomy` switch to Install script

## 1.1.1 - 2019-10-09
Expand Down
4 changes: 4 additions & 0 deletions Install/Build-Release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ $PACKAGE_FILE = Get-Content "$PSScriptRoot/../package.json" -Raw | ConvertFrom-J
Write-Host "[Building release v$($PACKAGE_FILE.version)]" -ForegroundColor Cyan

#region Paths
$START_PATH = Get-Location
$ROOT_PATH = "$PSScriptRoot/.."
$SHAREPOINT_FRAMEWORK_BASEPATH = "$ROOT_PATH/SharePointFramework"
$PNP_TEMPLATES_BASEPATH = "$ROOT_PATH/Templates"
Expand All @@ -28,6 +29,8 @@ $RELEASE_PATH = "$ROOT_PATH/release/$($RELEASE_NAME)"
if ($CI.IsPresent) {
Write-Host "[Running in CI mode. Installing module SharePointPnPPowerShellOnline.]" -ForegroundColor Yellow
Install-Module -Name SharePointPnPPowerShellOnline -Force -Scope CurrentUser
} else {
Import-Module $PSScriptRoot\SharePointPnPPowerShellOnline\SharePointPnPPowerShellOnline.psd1 -DisableNameChecking
}

$sw = [Diagnostics.Stopwatch]::StartNew()
Expand Down Expand Up @@ -124,4 +127,5 @@ if (-not $CI.IsPresent) {
Add-Type -Assembly "System.IO.Compression.FileSystem"
[IO.Compression.ZipFile]::CreateFromDirectory($RELEASE_PATH, "$($RELEASE_PATH).zip")
Write-Host "Done building release [v$($PACKAGE_FILE.version)] in [$($sw.Elapsed)]" -ForegroundColor Cyan
Set-Location $START_PATH
}
9 changes: 7 additions & 2 deletions Install/Install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -212,16 +212,18 @@ if (-not $SkipSiteDesign.IsPresent) {

Try {
$SiteDesignName = [Uri]::UnescapeDataString($SiteDesignName)
$SiteDesignDesc = [Uri]::UnescapeDataString("Samarbeid i et prosjektomr%C3%A5de fra Prosjektportalen")

Write-Host "[INFO] Creating/updating site design [$SiteDesignName]"
Connect-SharePoint -Url $AdminSiteUrl -ErrorAction Stop

$SiteDesign = Get-PnPSiteDesign -Identity $SiteDesignName

if ($null -ne $SiteDesign) {
$SiteDesign = Set-PnPSiteDesign -Identity $SiteDesign -SiteScriptIds $SiteScriptIds -Description "" -Version "1"
$SiteDesign = Set-PnPSiteDesign -Identity $SiteDesign -SiteScriptIds $SiteScriptIds -Description $SiteDesignDesc -Version "1"
}
else {
$SiteDesign = Add-PnPSiteDesign -Title $SiteDesignName -SiteScriptIds $SiteScriptIds -Description "" -WebTemplate TeamSite
$SiteDesign = Add-PnPSiteDesign -Title $SiteDesignName -SiteScriptIds $SiteScriptIds -Description $SiteDesignDesc -WebTemplate TeamSite
}
if ([string]::IsNullOrEmpty($SiteDesignSecurityGroupId)) {
Write-Host "[INFO] You have not specified -SiteDesignSecurityGroupId. Everyone will have View access to site design [$SiteDesignName]" -ForegroundColor Yellow
Expand All @@ -230,6 +232,9 @@ if (-not $SkipSiteDesign.IsPresent) {
Write-Host "[INFO] Granting group $SiteDesignSecurityGroupId View access to site design [$SiteDesignName]"
Grant-PnPSiteDesignRights -Identity $SiteDesign.Id.Guid -Principals @("c:0t.c|tenant|$SiteDesignSecurityGroupId")
}
Write-Host "[INFO] Setting default site design for hub [$Url] to [$SiteDesignName]"
Set-PnPHubSite -Identity $Url -SiteDesignId $SiteDesign.Id.Guid

Disconnect-PnPOnline
Write-Host "[SUCCESS] Successfully created/updated site design [$SiteDesignName]" -ForegroundColor Green
}
Expand Down
4 changes: 1 addition & 3 deletions SharePointFramework/@Shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"postversion": "tsc && npm publish",
"lint": "eslint --ext .ts,.tsx ./src --color",
"lint:fix": "eslint --ext .ts,.tsx ./src --color --fix && npm run prettier",
"prettier": "prettier --config .prettierrc '**/*.ts*' --write --loglevel silent",
"commit": "sexy-commits"
"prettier": "prettier --config .prettierrc '**/*.ts*' --write --loglevel silent"
},
"author": "",
"license": "ISC",
Expand Down Expand Up @@ -51,7 +50,6 @@
"eslint-plugin-react": "7.22.0",
"eslint-plugin-unused-imports": "1.1.0",
"prettier": "^2.1.1",
"sexy-commits": "0.3.5",
"typescript": "~3.3.x"
}
}
1 change: 1 addition & 0 deletions SharePointFramework/PortfolioWebParts/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ lib
solution
temp
*.sppkg
release/**/*

# Coverage directory used by tools like istanbul
coverage
Expand Down
2 changes: 1 addition & 1 deletion SharePointFramework/PortfolioWebParts/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Portfolio web parts [![version](https://img.shields.io/badge/version-1.2.6-yellow.svg)](https://semver.org)
## Portfolio web parts [![version](https://img.shields.io/badge/version-1.2.9-yellow.svg)](https://semver.org)

_Published to **npm** as `pp365-portfoliowebparts`_

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"solution": {
"name": "pp-portfolio-web-parts",
"id": "00483367-68e2-4977-9cc3-6cf0de623daa",
"version": "1.2.8.0",
"version": "1.2.9.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"webApiPermissionRequests": [
Expand Down
6 changes: 2 additions & 4 deletions SharePointFramework/PortfolioWebParts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pp365-portfoliowebparts",
"version": "1.2.8",
"version": "1.2.9",
"engines": {
"node": ">=8.0.0 <11.0.0"
},
Expand All @@ -16,8 +16,7 @@
"postversion": "gulp versionSync",
"lint": "eslint --ext .ts,.tsx ./src --color",
"lint:fix": "eslint --ext .ts,.tsx ./src --color --fix && npm run prettier",
"prettier": "prettier --config .prettierrc '**/*.ts*' --write --loglevel silent",
"commit": "sexy-commits"
"prettier": "prettier --config .prettierrc '**/*.ts*' --write --loglevel silent"
},
"dependencies": {
"@microsoft/sp-core-library": "1.11.0",
Expand Down Expand Up @@ -85,7 +84,6 @@
"gulp": "3.9.1",
"livereload": "0.9.1",
"prettier": "2.1.1",
"sexy-commits": "0.3.5",
"spfx-pkgdeploy": "0.3.0",
"typescript": "3.9.x",
"webpack-bundle-analyzer": "3.5.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,17 @@ export class PortfolioOverviewCommands extends Component<
this.setState({ isExporting: true })
try {
const { fltItems, fltColumns, selectedItems } = this.props

const items = isArray(selectedItems) && selectedItems.length > 0 ? selectedItems : fltItems

fltColumns.forEach((col) => {
if (col.dataType === 'date') {
items.map((item) => {
item[col.fieldName] = new Date(item[col.fieldName])
})
}
})

await ExcelExportService.export(items, fltColumns)
this.setState({ isExporting: false })
} catch (error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "5f925484-cfb4-42ce-9f90-79a874bb8a68",
"alias": "BenefitsOverviewWebPart",
"componentType": "WebPart",
"version": "1.2.8",
"version": "1.2.9",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "941fd73c-b957-41c3-8d4f-082268407f10",
"alias": "LatestProjectsWebPart",
"componentType": "WebPart",
"version": "1.2.8",
"version": "1.2.9",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "6c0e484d-f6da-40d4-81fc-ec1389ef29a8",
"alias": "PortfolioAggregationWebPart",
"componentType": "WebPart",
"version": "1.2.8",
"version": "1.2.9",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "875ca87a-e331-4ffb-bc69-0272fdf80e41",
"alias": "PortfolioInsightsWebPart",
"componentType": "WebPart",
"version": "1.2.8",
"version": "1.2.9",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "e58e3d32-057a-4418-97ce-172b92482ba2",
"alias": "PortfolioOverviewWebPart",
"componentType": "WebPart",
"version": "1.2.8",
"version": "1.2.9",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "54fbeb7d-e463-4dcc-8873-50a3ab2f0f68",
"alias": "ProjectListWebPart",
"componentType": "WebPart",
"version": "1.2.8",
"version": "1.2.9",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "7284c568-f66c-4218-bb2c-3734a3cfa581",
"alias": "ProjectTimelineWebPart",
"componentType": "WebPart",
"version": "1.2.8",
"version": "1.2.9",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "2ef269b2-6370-4841-8b35-2185b7ccb22a",
"alias": "ResourceAllocationWebPart",
"componentType": "WebPart",
"version": "1.2.8",
"version": "1.2.9",
"manifestVersion": 2,
"requiresCustomScript": false,
"hiddenFromToolbox": true,
Expand Down
Loading