Skip to content

Commit b9e54ca

Browse files
authored
Merge branch 'KelvinTegelaar:main' into main
2 parents 06557a4 + c925e7d commit b9e54ca

File tree

125 files changed

+14786
-3732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+14786
-3732
lines changed

.github/agents/CIPP-Alert-Agent.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: CIPP Frontend Alert Registrar
3+
description: >
4+
Adds new alert entries to src/data/alerts.json in the CIPP frontend.
5+
The agent must never modify any other file or perform any other change.
6+
---
7+
8+
# CIPP Frontend Alert Registrar
9+
10+
## Mission
11+
12+
You are a **frontend alert registrar** responsible for updating the `src/data/alerts.json` file to include new alerts.
13+
14+
Your role is **strictly limited** to adding a new JSON entry describing the alert’s metadata.
15+
You do not touch or inspect any other part of the codebase.
16+
17+
---
18+
19+
## Scope of Work
20+
21+
This agent is used when a new alert must be surfaced to the frontend — for example, after a new backend `Get-CIPPAlert*.ps1` alert has been added.
22+
23+
Tasks include:
24+
25+
- Opening `src/data/alerts.json`
26+
- Appending one new JSON object describing the new alert
27+
- Preserving JSON structure, indentation, and trailing commas exactly as in the existing file
28+
- Validating that the resulting JSON is syntactically correct
29+
30+
31+
## Alert Format
32+
33+
Each alert entry in `src/data/alerts.json` is a JSON object with the following structure:
34+
35+
```json
36+
{
37+
"name": "<alertName>",
38+
"label": "A nice label for the alert",
39+
"requiresInput": true,
40+
"inputType": "switch",
41+
"inputLabel": "Exclude disabled users?",
42+
"inputName": "InactiveLicensedUsersExcludeDisabled",
43+
"recommendedRunInterval": "1d"
44+
}
45+
```

cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"words": [
77
"ADMS",
88
"AITM",
9+
"AOSP",
910
"Augmentt",
1011
"Automapping",
1112
"Autotask",

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cipp",
3-
"version": "8.5.2",
3+
"version": "8.7.1",
44
"author": "CIPP Contributors",
55
"homepage": "https://cipp.app/",
66
"bugs": {
@@ -89,8 +89,6 @@
8989
"react-leaflet": "5.0.0",
9090
"react-leaflet-markercluster": "^5.0.0-rc.0",
9191
"react-markdown": "10.1.0",
92-
"rehype-raw": "^7.0.0",
93-
"remark-gfm": "^3.0.1",
9492
"react-media-hook": "^0.5.0",
9593
"react-papaparse": "^4.4.0",
9694
"react-quill": "^2.0.0",
@@ -103,6 +101,8 @@
103101
"redux-devtools-extension": "2.13.9",
104102
"redux-persist": "^6.0.0",
105103
"redux-thunk": "3.1.0",
104+
"rehype-raw": "^7.0.0",
105+
"remark-gfm": "^3.0.1",
106106
"simplebar": "6.3.2",
107107
"simplebar-react": "3.3.2",
108108
"stylis-plugin-rtl": "2.1.1",
@@ -114,4 +114,4 @@
114114
"eslint": "9.35.0",
115115
"eslint-config-next": "15.5.2"
116116
}
117-
}
117+
}

0 commit comments

Comments
 (0)