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

[pull] dev from KelvinTegelaar:dev #55

Merged
merged 25 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
5952a7d
Update required engine to Node 20.
redanthrax Jan 27, 2025
03f6426
Merge pull request #95 from KelvinTegelaar/dev
kris6673 Jan 28, 2025
6dd731b
Add icons for permission actions in OneDrive page
kris6673 Jan 28, 2025
5c88376
Remove unused actions and offCanvas variables from Azure AD Connect r…
kris6673 Jan 28, 2025
a4f8f1b
Remove unused actions and offCanvas variables from Sign Ins Report
kris6673 Jan 28, 2025
2e095d0
Refactor user filters in administration page for improved readability
kris6673 Jan 28, 2025
4745883
Add filters and actions to MFA Report page
kris6673 Jan 28, 2025
59adc40
Restrict creatable option for MFA user actions
kris6673 Jan 28, 2025
b363c66
Remove unused actions and offCanvas variables
kris6673 Jan 28, 2025
8cf68f8
Update tenant reports pathing to be the same as other pages
kris6673 Jan 28, 2025
295d71f
Update device management path to align with new endpoint structure
kris6673 Jan 28, 2025
ac0f452
forgot a spot
kris6673 Jan 28, 2025
d41a0b7
Update transport paths in email layout for consistency
kris6673 Jan 28, 2025
db5f73f
Update connectors paths to align with transport structure
kris6673 Jan 28, 2025
311c360
Fix path casing in email administration and remove unused deploy conn…
kris6673 Jan 28, 2025
f040f64
Remove unused placeholder and reorder to fit the rest of CIPPs pages
kris6673 Jan 28, 2025
dcdfc84
Add Book icon to connection filter page
kris6673 Jan 28, 2025
c7c8a3e
Update link in domains analyser to point to tools section
kris6673 Jan 28, 2025
a1b4b46
Update paths for Graph Explorer, Application Approval, and Individual…
kris6673 Jan 28, 2025
afbfd9c
Add icons for device actions in the autopilot device list
kris6673 Jan 28, 2025
23bb377
Fix Add Status Page placeholder
kris6673 Jan 29, 2025
be8d2cf
adjust logo size
JohnDuprey Jan 29, 2025
3ceb267
Merge pull request #3508 from kris6673/things-and-stuff
KelvinTegelaar Jan 29, 2025
9a403c2
Merge pull request #3492 from redanthrax/node20
KelvinTegelaar Jan 29, 2025
bb28245
Merge branch 'dev' of https://github.com/KelvinTegelaar/CIPP into dev
JohnDuprey Jan 29, 2025
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
12 changes: 6 additions & 6 deletions generate-placeholders.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ const pages = [
{ title: "Backup Wizard", path: "/tenant/backup/backup-wizard" },
{ title: "Restore Wizard", path: "/tenant/backup/restore-wizard" },
{ title: "Tools", path: "/tenant/administration" },
{ title: "Graph Explorer", path: "/tenant/administration/graph-explorer" },
{ title: "Application Approval", path: "/tenant/administration/appapproval" },
{ title: "Graph Explorer", path: "/tenant/tools/graph-explorer" },
{ title: "Application Approval", path: "/tenant/tools/appapproval" },
{ title: "IP Database", path: "/tenant/tools/geoiplookup" },
{ title: "Tenant Lookup", path: "/tenant/administration/tenantlookup" },
{ title: "Individual Domain Check", path: "/tenant/standards/individual-domains" },
{ title: "Individual Domain Check", path: "/tenant/tools/individual-domains" },
{ title: "BPA Report Builder", path: "/tenant/tools/bpa-report-builder" },
{ title: "Standards", path: "/tenant/standards" },
{ title: "Edit Standards", path: "/tenant/standards/list-applied-standards" },
Expand Down Expand Up @@ -82,7 +82,7 @@ const pages = [
{ title: "Add Profile", path: "/endpoint/autopilot/add-profile" },
{ title: "Status Pages", path: "/endpoint/autopilot/list-status-pages" },
{ title: "Add Status Page", path: "/endpoint/autopilot/add-status-page" },
{ title: "Devices", path: "/endpoint/reports/devices" },
{ title: "Devices", path: "/endpoint/MEM/devices" },
{ title: "Configuration Policies", path: "/endpoint/MEM/list-policies" },
{ title: "Compliance Policies", path: "/endpoint/MEM/list-compliance-policies" },
{ title: "Protection Policies", path: "/endpoint/MEM/list-appprotection-policies" },
Expand All @@ -108,9 +108,9 @@ const pages = [
{ title: "Transport rules", path: "/email/transport/list-rules" },
{ title: "Deploy Transport rule", path: "/email/transport/deploy-rules" },
{ title: "Transport Templates", path: "/email/transport/list-templates" },
{ title: "Connectors", path: "/email/connectors/list-connectors" },
{ title: "Connectors", path: "/email/transport/list-connectors" },
{ title: "Deploy Connector Templates", path: "/email/connectors/deploy-connector" },
{ title: "Connector Templates", path: "/email/connectors/list-connector-templates" },
{ title: "Connector Templates", path: "/email/transport/list-connector-templates" },
{ title: "Spamfilter", path: "/email/spamfilter/list-spamfilter" },
{ title: "Apply Spamfilter Template", path: "/email/spamfilter/deploy" },
{ title: "Templates", path: "/email/spamfilter/list-templates" },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"license": "AGPL-3.0",
"engines": {
"node": "^18.17.0"
"node": "^20.18.2"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/components/CippComponents/CippUserActions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export const CippUserActions = () => {
{ label: "Disabled", value: "Disabled" },
],
multiple: false,
creatable: false,
},
],
confirmText: "Are you sure you want to set per-user MFA for these users?",
Expand Down
29 changes: 16 additions & 13 deletions src/layouts/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,15 @@ export const nativeMenuItems = [
items: [
{
title: "Licence Report",
path: "/tenant/administration/list-licenses",
path: "/tenant/reports/list-licenses",
},
{
title: "Sherweb Licence Report",
path: "/tenant/administration/list-csp-licenses",
path: "/tenant/reports/list-csp-licenses",
},
{
title: "Consented Applications",
path: "/tenant/administration/application-consent",
path: "/tenant/reports/application-consent",
},
],
},
Expand Down Expand Up @@ -244,7 +244,7 @@ export const nativeMenuItems = [
title: "Device Management",
path: "/endpoint/MEM",
items: [
{ title: "Devices", path: "/endpoint/reports/devices" },
{ title: "Devices", path: "/endpoint/MEM/devices" },
{ title: "Configuration Policies", path: "/endpoint/MEM/list-policies" },
{ title: "Compliance Policies", path: "/endpoint/MEM/list-compliance-policies" },
{ title: "Protection Policies", path: "/endpoint/MEM/list-appprotection-policies" },
Expand Down Expand Up @@ -300,7 +300,7 @@ export const nativeMenuItems = [
items: [
{
title: "Administration",
path: "/email/Administration",
path: "/email/administration",
items: [
{ title: "Mailboxes", path: "/email/administration/mailboxes" },
{ title: "Deleted Mailboxes", path: "/email/administration/deleted-mailboxes" },
Expand All @@ -315,17 +315,17 @@ export const nativeMenuItems = [
},
{
title: "Transport",
path: "/email/Transport",
path: "/email/transport",
items: [
{ title: "Transport rules", path: "/email/transport/list-rules" },
{
title: "Transport Templates",
path: "/email/transport/list-templates",
},
{ title: "Connectors", path: "/email/connectors/list-connectors" },
{ title: "Connectors", path: "/email/transport/list-connectors" },
{
title: "Connector Templates",
path: "/email/connectors/list-connector-templates",
path: "/email/transport/list-connector-templates",
},
],
},
Expand All @@ -335,8 +335,11 @@ export const nativeMenuItems = [
items: [
{ title: "Spamfilter", path: "/email/spamfilter/list-spamfilter" },
{ title: "Spamfilter templates", path: "/email/spamfilter/list-templates" },
{ title: "Connection filter", path: "/email/connectionfilter/list-connectionfilter" },
{ title: "Connection filter templates", path: "/email/connectionfilter/list-templates" },
{ title: "Connection filter", path: "/email/spamfilter/list-connectionfilter" },
{
title: "Connection filter templates",
path: "/email/spamfilter/list-connectionfilter-templates",
},
],
},
{
Expand Down Expand Up @@ -399,19 +402,19 @@ export const nativeMenuItems = [
items: [
{
title: "Graph Explorer",
path: "/tenant/administration/graph-explorer",
path: "/tenant/tools/graph-explorer",
},
{
title: "Application Approval",
path: "/tenant/administration/appapproval",
path: "/tenant/tools/appapproval",
},
{ title: "Tenant Lookup", path: "/tenant/tools/tenantlookup" },

{ title: "IP Database", path: "/tenant/tools/geoiplookup" },

{
title: "Individual Domain Check",
path: "/tenant/standards/individual-domains",
path: "/tenant/tools/individual-domains",
},
],
},
Expand Down
9 changes: 7 additions & 2 deletions src/pages/cipp/integrations/configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,14 @@ const Page = () => {
backButtonTitle="Integrations"
headerText={extension.headerText}
hideTitleText={true}
headerImage={logo}
>
<CardContent sx={{ pb: 0, mb: 0 }}>
{logo && (
<Box
component="img"
src={logo}
alt={extension.name}
sx={{ width: "50%", mx: "auto" }}
sx={{ maxWidth: "50%", mx: "auto", maxHeight: "125px" }}
/>
)}
<Typography variant="body2" paragraph style={{ marginTop: "1em" }}>
Expand Down Expand Up @@ -187,6 +186,7 @@ const Page = () => {
<Tab label="Settings" {...tabProps(0)} />
{extension?.mappingRequired && <Tab label="Tenant Mapping" {...tabProps(1)} />}
{extension?.fieldMapping && <Tab label="Field Mapping" {...tabProps(2)} />}
{extension?.id === "cippapi" && <Tab label="API Clients" {...tabProps(3)} />}
</Tabs>
</Box>
<CippCardTabPanel value={value} index={0}>
Expand All @@ -202,6 +202,11 @@ const Page = () => {
<CippIntegrationFieldMapping />
</CippCardTabPanel>
)}
{extension?.id === "cippapi" && (
<CippCardTabPanel value={value} index={3}>
API Client component to go here
</CippCardTabPanel>
)}
</Box>
</CippPageCard>
)}
Expand Down
17 changes: 0 additions & 17 deletions src/pages/email/connectionfilter/deploy/index.js

This file was deleted.

17 changes: 0 additions & 17 deletions src/pages/email/connectors/deploy-connector/index.js

This file was deleted.

17 changes: 0 additions & 17 deletions src/pages/email/spamfilter/deploy/index.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Layout as DashboardLayout } from "/src/layouts/index.js";
import { CippTablePage } from "/src/components/CippComponents/CippTablePage.jsx";
import { Button } from "@mui/material";
import { Book } from "@mui/icons-material";
import Link from "next/link";

const Page = () => {
Expand All @@ -14,6 +15,7 @@ const Page = () => {
dataFunction: (data) => {
return { ...data };
},
icon: <Book />,
confirmText: "Are you sure you want to create a template based on this rule?",
},
];
Expand All @@ -32,13 +34,7 @@ const Page = () => {
actions: actions,
};

const simpleColumns = [
"Name",
"IsDefault",
"IPAllowList",
"IPBlockList",
"EnableSafeList",
];
const simpleColumns = ["Name", "IsDefault", "IPAllowList", "IPBlockList", "EnableSafeList"];

return (
<CippTablePage
Expand All @@ -49,7 +45,7 @@ const Page = () => {
simpleColumns={simpleColumns}
cardButton={
<>
<Button component={Link} href="/email/connectionfilter/list-connectionfilter/add">
<Button component={Link} href="/email/spamfilter/list-connectionfilter/add">
Deploy ConnectionFilter
</Button>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const Page = () => {
}}
cardButton={
<>
<Button component={Link} href="/email/connectors/list-connectors/add">
<Button component={Link} href="/email/transport/list-connectors/add">
Deploy Connector
</Button>
</>
Expand Down
Loading