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

Manual update #3305

Closed
wants to merge 104 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
a6e30b6
ci: add Azure Static Web Apps workflow file
MichaelBerntsen Apr 16, 2024
29e1754
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen May 1, 2024
10699a8
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen May 3, 2024
b910fd3
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen Jun 1, 2024
53da2e0
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen Jun 8, 2024
c6ec394
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen Jun 17, 2024
ab869fc
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen Jul 1, 2024
142548e
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen Jul 11, 2024
aed2412
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen Jul 31, 2024
49b9401
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen Aug 2, 2024
3542a62
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen Aug 9, 2024
0061bbd
Merge pull request #2807 from KelvinTegelaar/dev
JohnDuprey Aug 12, 2024
4b04d38
Merge pull request #66 from KelvinTegelaar/dev
kris6673 Aug 14, 2024
94ffbb4
Merge branch 'KelvinTegelaar:main' into main
MichaelBerntsen Aug 15, 2024
34e8a8d
Update azure-static-web-apps-polite-forest-010314b03.yml
MichaelBerntsen Aug 15, 2024
5b9a833
Merge branch 'KelvinTegelaar:dev' into dev
kris6673 Aug 19, 2024
51b2170
Merge pull request #2837 from KelvinTegelaar/dev
KelvinTegelaar Aug 19, 2024
c880aad
Delete exchange rule confirmation fixed
MoltenTesseract Aug 19, 2024
a9898c1
Merge pull request #1 from KelvinTegelaar/main
pull[bot] Aug 20, 2024
e329e78
Merge pull request #2839 from MoltenTesseract/patch-1
JohnDuprey Aug 20, 2024
a00ba2f
Fix flyout extended information and incorrect wording
MoltenTesseract Aug 20, 2024
2894f93
Improvements to MEMListPolicies
OfficialEsco Aug 17, 2024
389b251
Merge pull request #2841 from MoltenTesseract/patch-2
KelvinTegelaar Aug 20, 2024
d22ceef
Merge branch 'KelvinTegelaar:dev' into dev
kris6673 Aug 21, 2024
a1ce07d
Add owner property to anonymization check
JohnDuprey Aug 21, 2024
f84c087
Extend permission builder for app approval
JohnDuprey Aug 21, 2024
be79c62
approval template page
JohnDuprey Aug 21, 2024
8ecaf07
Hide permission builder while loading
JohnDuprey Aug 21, 2024
8e16606
Add username to BEC refresh
JohnDuprey Aug 21, 2024
e5a9798
Merge branch 'KelvinTegelaar:dev' into dev
JohnDuprey Aug 21, 2024
c97bd1d
Merge pull request #2847 from JohnDuprey/dev
JohnDuprey Aug 21, 2024
3bb85f8
Added Anti-Phishing and Anti-Spam policies to backup
cipptesting Aug 21, 2024
f690aff
Update standards.json
OwenIbarra Aug 22, 2024
49834bc
Merge pull request #2852 from OwenC3/dev
KelvinTegelaar Aug 22, 2024
66c221e
Merge pull request #2849 from cipptesting/dev
KelvinTegelaar Aug 22, 2024
2fd9396
Update CippAppPermissionBuilder.jsx
JohnDuprey Aug 22, 2024
81f5533
Merge branch 'KelvinTegelaar:dev' into dev
JohnDuprey Aug 22, 2024
d075e73
Merge pull request #2853 from JohnDuprey/dev
JohnDuprey Aug 22, 2024
846c04e
Merge pull request #69 from KelvinTegelaar/dev
kris6673 Aug 24, 2024
4fb3eae
Add delete rule button to mailboxrulelist
kris6673 Aug 24, 2024
1f71fe9
Add todo's
kris6673 Aug 24, 2024
8abf15e
feat: Add delete rule button to mailboxrulelist
kris6673 Aug 24, 2024
f207802
Fix angry linter
kris6673 Aug 24, 2024
b403887
Fix another angry linter
kris6673 Aug 24, 2024
8ec7490
Merge pull request #2855 from kris6673/delete-mailboxrules
KelvinTegelaar Aug 25, 2024
6d1082e
Quarantine messages
JohnDuprey Aug 27, 2024
c94c739
Merge remote-tracking branch 'upstream/dev' into dev
JohnDuprey Aug 27, 2024
240772a
Merge pull request #2858 from JohnDuprey/dev
JohnDuprey Aug 27, 2024
c476963
Update AzureDeploymentTemplate.json
OwenIbarra Aug 27, 2024
2173e51
Update AzureDeploymentTemplate_regionoptions.json
OwenIbarra Aug 27, 2024
b72a4e7
Update DevAzureDeploymentTemplate.json
OwenIbarra Aug 27, 2024
1c4d5dd
Update DevAzureDeploymentTemplate_regionoptions.json
OwenIbarra Aug 27, 2024
6083434
Update SettingsExtensionMappings.jsx
OwenIbarra Aug 27, 2024
a9b88a2
Update QuarantineList.jsx
JohnDuprey Aug 28, 2024
43491ff
Typo
OwenIbarra Aug 28, 2024
b103752
Merge remote-tracking branch 'upstream/dev' into dev
JohnDuprey Aug 28, 2024
2b4f94a
BEC prettification
JohnDuprey Aug 28, 2024
385fbd2
Merge pull request #2863 from JohnDuprey/dev
JohnDuprey Aug 28, 2024
8a04e24
Update orchestration starter url
JohnDuprey Aug 29, 2024
fae4360
Cleanup queries in Mailbox Settings
JohnDuprey Aug 29, 2024
26852fe
Update paths for starting BPA/Domain Analyser
JohnDuprey Aug 29, 2024
0c308b2
Update BestPracticeAnalyser.jsx
JohnDuprey Aug 29, 2024
262d90b
Merge branch 'KelvinTegelaar:dev' into dev
JohnDuprey Aug 29, 2024
804021f
Merge pull request #2865 from JohnDuprey/dev
JohnDuprey Aug 29, 2024
9c6e810
Merge pull request #2859 from OwenIbarra/dev
KelvinTegelaar Aug 29, 2024
b7ff9d4
Merge pull request #2842 from Ren-Roros-Digital/listconfig
KelvinTegelaar Aug 29, 2024
94eb15f
alert update
KelvinTegelaar Aug 29, 2024
529277e
Improve edit mailbox page
JohnDuprey Aug 30, 2024
90b09c7
Update settings panel on save for fwd and ooo
JohnDuprey Aug 30, 2024
dd3d43a
Merge remote-tracking branch 'upstream/dev' into dev
JohnDuprey Aug 30, 2024
c29d0e3
Merge pull request #2867 from JohnDuprey/dev
JohnDuprey Aug 30, 2024
423ed7e
Update EditMailboxPermissions.jsx
JohnDuprey Aug 30, 2024
6495cb1
add proptypes
JohnDuprey Aug 30, 2024
652c2eb
Merge pull request #2868 from JohnDuprey/dev
JohnDuprey Aug 30, 2024
9eb600c
added get bitlocker key
KelvinTegelaar Aug 30, 2024
cb32a99
Move entire request to post body
JohnDuprey Aug 30, 2024
07e5358
Merge remote-tracking branch 'upstream/dev' into dev
JohnDuprey Aug 30, 2024
1570977
Merge pull request #2869 from JohnDuprey/dev
JohnDuprey Aug 30, 2024
2e15063
Right of Boom logo
KelvinTegelaar Aug 30, 2024
46b15c7
update version
KelvinTegelaar Aug 30, 2024
3439e33
Merge pull request #2871 from KelvinTegelaar/dev
KelvinTegelaar Aug 30, 2024
1429060
Merge pull request #2 from KelvinTegelaar/main
pull[bot] Aug 30, 2024
557efcd
Update .gitignore
JohnDuprey Sep 5, 2024
b8c26ec
CippAppPermissionBuilder fixes
JohnDuprey Sep 30, 2024
facbb46
Merge pull request #2908 from JohnDuprey/dev
JohnDuprey Sep 30, 2024
3b87108
Add zipdeploy
JohnDuprey Oct 4, 2024
37fb0e6
Cleanup api reference
JohnDuprey Oct 4, 2024
85f9e44
Merge pull request #216 from KelvinTegelaar/dev
JohnDuprey Oct 4, 2024
9b8cd90
Merge pull request #2921 from JohnDuprey/dev
JohnDuprey Oct 4, 2024
f3862a2
up version
JohnDuprey Oct 4, 2024
e18ffcb
Merge pull request #2922 from JohnDuprey/dev
JohnDuprey Oct 4, 2024
65176b0
Merge pull request #2923 from KelvinTegelaar/dev
JohnDuprey Oct 4, 2024
27c43f6
Merge pull request #3 from KelvinTegelaar/main
pull[bot] Oct 6, 2024
6fcf613
updated extensions
KelvinTegelaar Dec 5, 2024
5b047f1
Merge pull request #4 from KelvinTegelaar/main
pull[bot] Dec 6, 2024
f624f90
Update package.json
KelvinTegelaar Dec 18, 2024
41eea9a
Update package.json
KelvinTegelaar Dec 18, 2024
0adf801
Merge pull request #5 from KelvinTegelaar/main
pull[bot] Dec 18, 2024
1ba43d9
Merge branch 'main' of https://github.com/KelvinTegelaar/CIPP into Ke…
MichaelBerntsen Jan 10, 2025
a6911d7
Merge branch 'KelvinTegelaar-main'
MichaelBerntsen Jan 10, 2025
ecabf37
Merge pull request #7 from KelvinTegelaar/main
pull[bot] Jan 11, 2025
57dee65
Merge pull request #8 from KelvinTegelaar/main
pull[bot] Jan 12, 2025
7290346
Merge pull request #9 from KelvinTegelaar/main
pull[bot] Jan 13, 2025
dd47789
Merge pull request #10 from KelvinTegelaar/main
pull[bot] Jan 15, 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Azure Static Web Apps CI/CD

on:
push:
branches:
- main


jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v3
with:
submodules: true
lfs: false
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_POLITE_FOREST_010314B03 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "" # Api source code path - optional
output_location: "" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_POLITE_FOREST_010314B03 }}
action: "close"
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ out
npm-debug.log*
yarn-debug.log*
yarn-error.log*
<<<<<<< HEAD
__*
.next/*
=======

# vscode debug logs
debug.log
debug.log
>>>>>>> 81ee51ffa0576b02dc60ee5600a44cec3cde3e97
10 changes: 10 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"github.vscode-codeql",
"dbaeumer.vscode-eslint",
"christian-kohler.npm-intellisense",
"esbenp.prettier-vscode",
"stylelint.vscode-stylelint",
"editorconfig.editorconfig"
]
}
39 changes: 39 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"name": "cipp",
<<<<<<< HEAD
"version": "6.4.1",
"description": "The CyberDrain Improved Partner Portal is a portal to help manage administration for Microsoft Partners.",
=======
"version": "7.0.0",
"author": "CIPP Contributors",
>>>>>>> 81ee51ffa0576b02dc60ee5600a44cec3cde3e97
"homepage": "https://cipp.app/",
"bugs": {
"url": "https://github.com/KelvinTegelaar/CIPP/issues"
Expand Down Expand Up @@ -103,8 +108,42 @@
"yup": "0.32.11"
},
"devDependencies": {
<<<<<<< HEAD
"@types/react": "^18.2.39",
"@types/react-helmet": "^6.1.5",
"@vitejs/plugin-react": "^4.2.1",
"auto-changelog": "~2.3.0",
"browserslist-to-esbuild": "^1.2.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-custom-alias": "^1.3.2",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"husky": "^7.0.4",
"postcss-scss": "^4.0.3",
"prettier": "2.4.1",
"redux-immutable-state-invariant": "^2.1.0",
"sass": "^1.64.2",
"stylelint": "^14.3.0",
"stylelint-config-sass-guidelines": "^9.0.1",
"stylelint-order": "^5.0.0",
"vite": "^5.0.6",
"vite-plugin-eslint": "^1.8.1"
},
"engines": {
"node": "20.17.0",
"npm": ">=8.3.0"
},
"overrides": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
=======
"@svgr/webpack": "6.5.1",
"eslint": "8.32.0",
"eslint-config-next": "13.1.6"
>>>>>>> 81ee51ffa0576b02dc60ee5600a44cec3cde3e97
}
}
17 changes: 17 additions & 0 deletions public/img/RoB-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions public/img/RoB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion public/version_latest.txt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
99.99.99
<<<<<<< HEAD
6.4.1
=======
99.99.99
>>>>>>> 81ee51ffa0576b02dc60ee5600a44cec3cde3e97
56 changes: 56 additions & 0 deletions src/components/layout/AppFooter.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
import React from 'react'
import { CFooter, CImage, CLink } from '@coreui/react'
import { Link } from 'react-router-dom'
import { useSelector } from 'react-redux'
import { useMediaPredicate } from 'react-media-hook'

const AppFooter = () => {
const currentTheme = useSelector((state) => state.app.currentTheme)
const preferredTheme = useMediaPredicate('(prefers-color-scheme: dark)') ? 'impact' : 'cyberdrain'
const isDark =
currentTheme === 'impact' || (currentTheme === 'default' && preferredTheme === 'impact')

const RoB = isDark ? '/img/RoB.svg' : '/img/RoB-light.svg'
const huntress = isDark ? '/img/huntress_teal.png' : '/img/huntress_teal.png'
const rewst = isDark ? '/img/rewst_dark.png' : '/img/rewst.png'
const ninjaone = isDark ? '/img/ninjaone_dark.png' : '/img/ninjaone.png'
const augmentt = isDark ? '/img/augmentt-dark.png' : '/img/augmentt-light.png'

return (
<CFooter className="d-flex justify-content-between align-items-center stickyfooter">
<div className="sponsors">
<p>
This application is sponsored by
<CLink className="mx-2" href="https://www.huntress.com/" target="_blank">
<CImage src={huntress} alt="Huntress" />
</CLink>
<CLink
className="me-2"
href="https://www.rightofboom.com/rob-2025/register?promo=EarlyBird2025#register"
target="_blank"
>
<CImage src={RoB} alt="RoB" />
</CLink>
<CLink className="me-2" href="https://rewst.io/" target="_blank">
<CImage src={rewst} alt="Rewst" />
</CLink>
<CLink
className="me-1"
href="https://www.augmentt.com/?utm_source=cipp&utm_medium=referral&utm_campaign=2024"
target="_blank"
>
<CImage src={augmentt} alt="Augmentt" />
</CLink>
<CLink className="me-1" href="https://ninjaone.com" target="_blank">
<CImage src={ninjaone} alt="NinjaOne" />
</CLink>
</p>
</div>
<nav className="footer-nav">
<Link to="/license">License</Link>
</nav>
</CFooter>
)
}

export default React.memo(AppFooter)
68 changes: 68 additions & 0 deletions src/components/tables/CippDatatable.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
import React from 'react'
import { useListDatatableQuery } from 'src/store/api/datatable'
import PropTypes from 'prop-types'
import { CippTable } from 'src/components/tables'
import { CippTablePropTypes } from 'src/components/tables/CippTable'
import { CCallout } from '@coreui/react'

export default function CippDatatable({ path, params, ...rest }) {
const [graphFilter, setGraphFilter] = React.useState(params?.Parameters?.$filter)
const {
data = [],
isFetching,
error,
refetch,
} = useListDatatableQuery({ path, params: { $filter: graphFilter, ...params } })

let anonymized = false // Assuming default value is false
const regex = new RegExp('^[A-Z0-9]+$')
const principalNameOrUPN =
data[0]?.userPrincipalName ??
data[0]?.UPN ??
data[0]?.Owner ??
data.Results?.[0]?.upn ??
data.Results?.[0]?.userPrincipalName ??
data.Results?.[0]?.Owner

if (principalNameOrUPN && regex.test(principalNameOrUPN)) {
anonymized = true
}

var defaultFilterText = ''
if (params?.Parameters?.$filter) {
defaultFilterText = 'Graph: ' + params?.Parameters?.$filter
}
return (
<>
{anonymized && (
<CCallout color="info">
This table might contain anonymized data. Please check this
<a
className="m-1"
href="https://docs.cipp.app/troubleshooting/frequently-asked-questions#my-usernames-or-sites-are-guids-or-blank"
>
documentation link
</a>
to resolve this.
</CCallout>
)}
{data?.Metadata?.Queued && <CCallout color="info">{data?.Metadata?.QueueMessage}</CCallout>}
<CippTable
{...rest}
endpointName={path}
data={Array.isArray(data?.Results) ? data?.Results : data}
isFetching={isFetching}
error={error}
defaultFilterText={defaultFilterText}
refreshFunction={() => refetch()}
graphFilterFunction={setGraphFilter}
/>
</>
)
}

CippDatatable.propTypes = {
path: PropTypes.string.isRequired,
params: PropTypes.object,
...CippTablePropTypes,
}
Loading