Skip to content

Commit 106823e

Browse files
Merge pull request #1711 from KelvinTegelaar/dev
Dev to release
2 parents 3161517 + 34a30c0 commit 106823e

13 files changed

+27
-27
lines changed

deployment/AzureDeploymentTemplate.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"funcAppName": "[toLower(concat(parameters('baseName'), variables('suffix')))]",
3737
"funcStorageName": "[tolower(concat(substring(parameters('baseName'), 0, min(length(parameters('baseName')),16)), 'stg', variables('suffix')))]",
3838
"serverFarmName": "[concat(substring(parameters('baseName'), 0, min(length(parameters('baseName')),14)), '-srv-', variables('suffix'))]",
39-
"repoURL": "https://github.com/KelvinTegelaar/AzValidate.git",
4039
"uniqueResourceNameBase": "[toLower(concat(parameters('baseName'), variables('suffix')))]",
4140
"swaName": "[toLower(concat(parameters('baseName'), '-swa-', variables('suffix')))]"
4241
},

deployment/AzureDeploymentTemplate_regionoptions.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
"funcAppName": "[toLower(concat(parameters('baseName'), variables('suffix')))]",
3737
"funcStorageName": "[tolower(concat(substring(parameters('baseName'), 0, min(length(parameters('baseName')),16)), 'stg', variables('suffix')))]",
3838
"serverFarmName": "[concat(substring(parameters('baseName'), 0, min(length(parameters('baseName')),14)), '-srv-', variables('suffix'))]",
39-
"repoURL": "https://github.com/KelvinTegelaar/AzValidate.git",
4039
"uniqueResourceNameBase": "[toLower(concat(parameters('baseName'), variables('suffix')))]",
4140
"swaName": "[toLower(concat(parameters('baseName'), '-swa-', variables('suffix')))]"
4241
},

deployment/DevAzureDeploymentTemplate.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"funcAppName": "[toLower(concat(parameters('baseName'), variables('suffix')))]",
6565
"funcStorageName": "[tolower(concat(substring(parameters('baseName'), 0, min(length(parameters('baseName')),16)), 'stg', variables('suffix')))]",
6666
"serverFarmName": "[concat(substring(parameters('baseName'), 0, min(length(parameters('baseName')),14)), '-srv-', variables('suffix'))]",
67-
"repoURL": "https://github.com/KelvinTegelaar/AzValidate.git",
6867
"uniqueResourceNameBase": "[toLower(concat(parameters('baseName'), variables('suffix')))]",
6968
"swaName": "[toLower(concat(parameters('baseName'), '-swa-', variables('suffix')))]"
7069
},

deployment/DevAzureDeploymentTemplate_regionoptions.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@
6464
"funcAppName": "[toLower(concat(parameters('baseName'), variables('suffix')))]",
6565
"funcStorageName": "[tolower(concat(substring(parameters('baseName'), 0, min(length(parameters('baseName')),16)), 'stg', variables('suffix')))]",
6666
"serverFarmName": "[concat(substring(parameters('baseName'), 0, min(length(parameters('baseName')),14)), '-srv-', variables('suffix'))]",
67-
"repoURL": "https://github.com/KelvinTegelaar/AzValidate.git",
6867
"uniqueResourceNameBase": "[toLower(concat(parameters('baseName'), variables('suffix')))]",
6968
"swaName": "[toLower(concat(parameters('baseName'), '-swa-', variables('suffix')))]"
7069
},

public/version_latest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.1
1+
4.1.0

src/components/layout/AppFooter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const AppFooter = () => {
2020
</CLink>{' '}
2121
<CLink href="https://rewst.io/">
2222
<CImage src={rewstLogo} alt="Rewst" />
23-
</CLink>
23+
</CLink>{' '}
2424
<CLink href="https://netfriends.com">
2525
<CImage src={netfriends} alt="Netfriends" />
2626
</CLink>

src/components/tables/CippTable.js

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -505,16 +505,10 @@ export default function CippTable({
505505
{(massResults.length >= 1 || loopRunning) && (
506506
<CCallout color="info">
507507
{massResults.map((message, idx) => {
508-
return (
509-
<li key={idx}>
510-
{
511-
//if message.data.results is an array, join, else just show the message
512-
message.data?.Results?.length > 1
513-
? message.data?.Results?.join(', ')
514-
: message.data?.Results
515-
}
516-
</li>
517-
)
508+
const results = message.data?.Results
509+
const displayResults = Array.isArray(results) ? results.join(', ') : results
510+
511+
return <li key={`message-${idx}`}>{displayResults}</li>
518512
})}
519513
{loopRunning && (
520514
<li>

src/data/standards.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@
7878
"addedComponent": null,
7979
"label": "Disable Basic Authentication"
8080
},
81+
{
82+
"name": "standards.DisableBasicAuthSMTP",
83+
"cat": "Global",
84+
"helpText": "",
85+
"addedComponent": null,
86+
"label": "Disable SMTP Basic Authentication"
87+
},
8188
{
8289
"name": "standards.laps",
8390
"cat": "AAD",

src/views/cipp/CIPPSettings.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,13 +766,15 @@ const ExcludedTenantsSettings = () => {
766766
{removeExcludeTenantResult.data?.Results}
767767
</CCallout>
768768
)}
769-
{refreshPermissionsResults.isSuccess && (
769+
{refreshPermissionsResults.isSuccess &&
770+
refreshPermissionsResults.data?.Results &&
771+
Array.isArray(refreshPermissionsResults.data.Results) ? (
770772
<CCallout color="success" dismissible>
771-
{refreshPermissionsResults.data?.Results.map((result, idx) => (
773+
{refreshPermissionsResults.data.Results.map((result, idx) => (
772774
<li key={idx}>{result}</li>
773775
))}
774776
</CCallout>
775-
)}
777+
) : null}
776778
{addExcludeTenantResult.isSuccess && (
777779
<CCallout color="success" dismissible>
778780
{addExcludeTenantResult.data?.Results}

src/views/cipp/Setup.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,7 @@ const Setup = () => {
130130
<CCol md={6} className="mb-3">
131131
Click the buttons below to refresh your token.
132132
<br /> Remember to login under a account that has been added to the correct GDAP
133-
groups or the group 'AdminAgents'. After confirmation that the refresh is successful,
134-
the token cache must be cleared.
133+
groups and the group 'AdminAgents'.
135134
<br />
136135
{getResults.isUninitialized && genericGetRequest({ path: 'api/ExecListAppId' })}
137136
{getResults.isSuccess && (
@@ -255,7 +254,7 @@ const Setup = () => {
255254
<CCol md={3}></CCol>
256255
<CCol md={6}>
257256
{usedWizard &&
258-
'You have used the setup wizard. You can close this screen. Setup has been completed. You must execute a clear of the token cache. See the documentation on how to perform this.'}
257+
'You have used the setup wizard. You can close this screen. Setup has been completed.'}
259258
{!usedWizard &&
260259
'You are sending your own Secure Application Model setup to the Keyvault. For security reasons we do not show the keys. Please make sure you have entered the keys correctly.'}
261260
</CCol>

0 commit comments

Comments
 (0)