Skip to content

Commit 8bae764

Browse files
authored
Merge pull request #58 from rebelinux/dev
v0.3.13
2 parents b0586c6 + 92a4472 commit 8bae764

24 files changed

+1985
-921
lines changed

.github/Dependabot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Dependabot configuration for AsBuiltReport.Core
2+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
3+
4+
version: 2
5+
updates:
6+
# Monitor GitHub Actions
7+
- package-ecosystem: "github-actions"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
day: "monday"
12+
labels:
13+
- "dependencies"
14+
- "github-actions"
15+
commit-message:
16+
prefix: "ci"
17+
include: "scope"
18+
open-pull-requests-limit: 5

.github/workflows/CodeQL.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
name: PSScriptAnalyzer
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v
3131

3232
- name: Run PSScriptAnalyzer
3333
uses: microsoft/[email protected]

.github/workflows/PSScriptAnalyzer.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ jobs:
55
name: Run PSScriptAnalyzer
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v4
9-
- name: lint
10-
uses: devblackops/github-action-psscriptanalyzer@master
11-
with:
12-
sendComment: true
13-
failOnErrors: true
14-
failOnWarnings: false
15-
failOnInfos: false
16-
repoToken: ${{ secrets.GITHUB_TOKEN }}
17-
settingsPath: .github/workflows/PSScriptAnalyzerSettings.psd1
8+
- uses: actions/checkout@v4
9+
- name: lint
10+
uses: devblackops/github-action-psscriptanalyzer@master
11+
with:
12+
sendComment: true
13+
failOnErrors: true
14+
failOnWarnings: false
15+
failOnInfos: false
16+
repoToken: ${{ secrets.GITHUB_TOKEN }}
17+
settingsPath: .github/workflows/PSScriptAnalyzerSettings.psd1

.github/workflows/Release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,3 @@ jobs:
5959
env:
6060
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
6161
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
62-

.vscode/settings.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"powershell.codeFormatting.preset": "Custom",
3-
"powershell.codeFormatting.useCorrectCasing": true,
4-
"powershell.codeFormatting.autoCorrectAliases": true,
3+
"powershell.codeFormatting.useCorrectCasing": true,
4+
"powershell.codeFormatting.autoCorrectAliases": true,
55
"powershell.codeFormatting.whitespaceBeforeOpenBrace": true,
66
"powershell.codeFormatting.whitespaceBeforeOpenParen": true,
77
"powershell.codeFormatting.whitespaceAroundOperator": true,
88
"powershell.codeFormatting.whitespaceAfterSeparator": true,
9-
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
9+
"powershell.codeFormatting.addWhitespaceAroundPipe": true,
1010
"powershell.codeFormatting.ignoreOneLineBlock": true,
1111
"powershell.codeFormatting.newLineAfterCloseBrace": false,
1212
"powershell.codeFormatting.newLineAfterOpenBrace": true,
1313
"powershell.codeFormatting.openBraceOnSameLine": true,
14-
"powershell.codeFormatting.alignPropertyValuePairs": false,
14+
"powershell.codeFormatting.alignPropertyValuePairs": false,
1515
"powershell.codeFolding.enable": true,
16-
"powershell.scriptAnalysis.enable": true,
16+
"powershell.scriptAnalysis.enable": true,
1717
"powershell.scriptAnalysis.settingsPath": ".github/workflows/PSScriptAnalyzerSettings.psd1",
1818
"editor.tabSize": 4,
1919
"editor.insertSpaces": true,

AsBuiltReport.Veeam.VB365.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"DiagramTheme": "White",
1717
"DiagramWaterMark": "",
1818
"ExportDiagrams": false,
19-
"ExportDiagramsFormat": ["png"],
19+
"ExportDiagramsFormat": [
20+
"png"
21+
],
2022
"EnableDiagramSignature": false,
2123
"SignatureAuthorName": "",
2224
"SignatureCompanyName": "",

AsBuiltReport.Veeam.VB365.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'AsBuiltReport.Veeam.VB365.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.3.12'
15+
ModuleVersion = '0.3.13'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -55,15 +55,15 @@
5555
RequiredModules = @(
5656
@{
5757
ModuleName = 'AsBuiltReport.Core';
58-
ModuleVersion = '1.4.3'
58+
ModuleVersion = '1.5.1'
5959
},
6060
@{
6161
ModuleName = 'PScriboCharts';
6262
ModuleVersion = '0.9.0'
6363
},
6464
@{
6565
ModuleName = 'Diagrammer.Core';
66-
ModuleVersion = '0.2.27'
66+
ModuleVersion = '0.2.36'
6767
}
6868
)
6969

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
##### This project is community maintained and has no sponsorship from Veeam, its employees or any of its affiliates.
99

10+
## [0.3.13] - Unreleased
11+
12+
### Added
13+
14+
- Add Dependabot support
15+
- Add support for Veeam Backup for Microsoft 365 v8.3
16+
17+
### Changed
18+
19+
- Improve Infrastructure diagram with latest Diagrammer.Core changes
20+
- Bump Diagrammer.Core to v0.2.36
21+
- Bump AsBuiltReport.Core to v1.5.1
22+
- Increase module to v0.3.13
23+
- Update report sample HTML file
24+
1025
## [0.3.12] - 2025-07-25
1126

1227
### Changed

Samples/Sample Veeam VB365 As Built Report.html

Lines changed: 1848 additions & 818 deletions
Large diffs are not rendered by default.

Src/Private/Export-AbrVb365Diagram.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Export-AbrVb365Diagram {
55
.DESCRIPTION
66
Documents the configuration of Veeam VB365 in Word/HTML/Text formats using PScribo.
77
.NOTES
8-
Version: 0.3.11
8+
Version: 0.3.13
99
Author: Jonathan Colon
1010
Twitter: @jcolonfzenpr
1111
Github: rebelinux
@@ -85,7 +85,7 @@ function Export-AbrVb365Diagram {
8585
}
8686

8787
if ($Options.ExportDiagrams) {
88-
if (-Not $Options.ExportDiagramsFormat) {
88+
if (-not $Options.ExportDiagramsFormat) {
8989
$DiagramFormat = 'png'
9090
} else {
9191
$DiagramFormat = $Options.ExportDiagramsFormat
@@ -108,7 +108,7 @@ function Export-AbrVb365Diagram {
108108
}
109109

110110
if ($Options.ExportDiagrams) {
111-
Try {
111+
try {
112112
Write-PScriboMessage -Message "Generating Veeam Infrastructure diagram"
113113
$Graph = Get-AbrVb365Diagram
114114
if ($Graph) {
@@ -120,7 +120,7 @@ function Export-AbrVb365Diagram {
120120
}
121121
}
122122
}
123-
} Catch {
123+
} catch {
124124
Write-PScriboMessage -IsWarning -Message "Unable to export the Infrastructure Diagram: $($_.Exception.Message)"
125125
}
126126
}
@@ -131,7 +131,7 @@ function Export-AbrVb365Diagram {
131131
$Graph = Get-AbrVb365Diagram
132132
$Diagram = New-Diagrammer @DiagramParams -InputObject $Graph
133133
if ($Diagram) {
134-
If ((Get-DiaImagePercent -GraphObj $Diagram).Width -gt 800) { $ImagePrty = 15 } else { $ImagePrty = 30 }
134+
if ((Get-DiaImagePercent -GraphObj $Diagram).Width -gt 800) { $ImagePrty = 15 } else { $ImagePrty = 30 }
135135
Section -Style Heading2 "Infrastructure Diagram." {
136136
Image -Base64 $Diagram -Text "Veeam Backup for Microsoft 365 Diagram" -Percent $ImagePrty -Align Center
137137
Paragraph "Image preview: Opens the image in a new tab to view it at full resolution." -Tabs 2

0 commit comments

Comments
 (0)