Skip to content

Commit 4854132

Browse files
authored
Merge pull request KelvinTegelaar#11 from KelvinTegelaar/dev
[pull] dev from KelvinTegelaar:dev
2 parents 4b415d5 + 6dccfc7 commit 4854132

File tree

11 files changed

+536
-402
lines changed

11 files changed

+536
-402
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"cwd": "${file}"
1010
},
1111
{
12-
"command": "npm run start-api",
12+
"command": "npm run start-swa",
1313
"name": "Run emulator",
1414
"request": "launch",
1515
"type": "node-terminal"

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
"changelog": "auto-changelog --starting-version 3.0.0 --commit-limit false --hide-credit",
1818
"eject": "react-scripts eject",
1919
"lint": "eslint \"src/**/*.js\"",
20-
"start": "react-scripts start",
20+
"start": "set HTTPS=true&&set SSL_CRT_FILE=./.vscode/cert.crt&&set SSL_KEY_FILE=./.vscode/key.key&&react-scripts start",
2121
"test": "react-scripts test",
2222
"test:cov": "npm test -- --coverage --watchAll=false",
2323
"test:debug": "react-scripts --inspect-brk test --runInBand",
24-
"start-api": "swa start --ssl --ssl-cert ./.vscode/cert.crt --ssl-key ./.vscode/key.key --swa-config-location .vscode http://localhost:3000 --api-location http://localhost:7071",
24+
"start-swa": "swa start --ssl --ssl-cert ./.vscode/cert.crt --ssl-key ./.vscode/key.key --swa-config-location .vscode https://localhost:3000 --api-location http://localhost:7071",
2525
"prepare": "husky install"
2626
},
2727
"config": {
@@ -98,7 +98,7 @@
9898
"stylelint-order": "^5.0.0"
9999
},
100100
"engines": {
101-
"node": "16",
101+
"node": "18",
102102
"npm": ">=7"
103103
}
104104
}

public/version_latest.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.0
1+
3.8.0

src/data/standards.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,20 @@
366366
},
367367
"label": "Set Sharing Level for Default calendar"
368368
},
369+
{
370+
"name": "standards.UserSubmissions.enable",
371+
"cat": "Exchange",
372+
"helpText": "This is the default helptext",
373+
"addedComponent": null,
374+
"label": "Enable the built-in Report button in Outlook"
375+
},
376+
{
377+
"name": "standards.UserSubmissions.disable",
378+
"cat": "Exchange",
379+
"helpText": "This is the default helptext",
380+
"addedComponent": null,
381+
"label": "Disable the built-in Report button in Outlook"
382+
},
369383
{
370384
"name": "standards.intuneDeviceReg.Enabled",
371385
"cat": "Intune",

src/views/home/Home.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const Home = () => {
115115
},
116116
{
117117
label: 'Azure',
118-
link: `https://portal.azure.com/?tid=${currentTenant.defaultDomainName}`,
118+
link: `https://portal.azure.com/#@${currentTenant.customerId}`,
119119
icon: faServer,
120120
},
121121
{

src/views/tenant/administration/AlertWizard.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,11 @@ const AlertWizard = () => {
126126
<RFFCFormSwitch name="SharePointQuota" label="Alert on 90% SharePoint quota used" />
127127
<RFFCFormSwitch name="UnusedLicenses" label="Alert on unused licenses" />
128128
<RFFCFormSwitch name="OverusedLicenses" label="Alert on overused licenses" />
129+
<RFFCFormSwitch
130+
name="ExpiringLicenses"
131+
label="Alert on licenses expiring in 30 days"
132+
/>
133+
129134
<RFFCFormSwitch
130135
name="AppSecretExpiry"
131136
label="Alert on expiring application secrets"

src/views/tenant/administration/ListAlertsQueue.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,13 @@ const ListAlertsQueue = () => {
149149
exportSelector: 'SharepointQuota',
150150
cell: cellBooleanFormatter(),
151151
},
152+
{
153+
name: 'Expiring Licenses',
154+
selector: (row) => row['ExpiringLicenses'],
155+
sortable: true,
156+
exportSelector: 'ExpiringLicenses',
157+
cell: cellBooleanFormatter(),
158+
},
152159
{
153160
name: 'Actions',
154161
cell: Actions,

src/views/tenant/administration/ListLicences.js

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react'
22
import { useSelector } from 'react-redux'
33
import { CippPageList } from 'src/components/layout'
4-
import { CellTip } from 'src/components/tables'
4+
import { CellTip, cellBooleanFormatter, cellDateFormatter } from 'src/components/tables'
55

66
const columns = [
77
{
@@ -38,6 +38,39 @@ const columns = [
3838
sortable: true,
3939
exportSelector: 'TotalLicenses',
4040
},
41+
{
42+
name: 'Estimated Term',
43+
selector: (row) => row['EstTerm'],
44+
sortable: true,
45+
exportSelector: 'EstTerm',
46+
},
47+
{
48+
name: 'Trial',
49+
selector: (row) => row['Trial'],
50+
sortable: true,
51+
exportSelector: 'Trial',
52+
cell: cellBooleanFormatter(),
53+
},
54+
{
55+
name: 'Time until renewal (days)',
56+
selector: (row) => row['TimeUntilRenew'],
57+
sortable: true,
58+
exportSelector: 'TimeUntilRenew',
59+
},
60+
{
61+
name: 'Date Created',
62+
selector: (row) => row['dateCreated'],
63+
sortable: true,
64+
exportSelector: 'dateCreated',
65+
cell: cellDateFormatter(),
66+
},
67+
{
68+
name: 'Time until renewal (days)',
69+
selector: (row) => row['dateExpires'],
70+
sortable: true,
71+
exportSelector: 'dateExpires',
72+
cell: cellDateFormatter(),
73+
},
4174
]
4275

4376
const LicenseList = () => {

0 commit comments

Comments
 (0)