Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

Commit 23bdca3

Browse files
authored
Merge branch 'KelvinTegelaar:main' into main
2 parents fea5e52 + 2622cf3 commit 23bdca3

File tree

483 files changed

+67299
-15585
lines changed

Some content is hidden

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

483 files changed

+67299
-15585
lines changed

.github/workflows/Close_Stale_Issues_and_PRs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
stale-issue-message: 'This issue is stale because it has been open 10 days with no activity. We will close this issue soon. If you want this feature implemented you can contribute it. See: https://docs.cipp.app/dev-documentation/contributing-to-the-code . Please notify the team if you are working on this yourself.'
1414
close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
1515
stale-issue-label: 'no-activity'
16-
exempt-issue-labels: 'planned'
16+
exempt-issue-labels: 'planned,bug,roadmap'
1717
days-before-stale: 9
18-
days-before-close: 14
18+
days-before-close: 5

.github/workflows/Label_Issues.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Label Issues
1515
uses: andymckay/labeler@5c59dabdfd4dd5bd9c6e6d255b01b9d764af4414
1616
with:
17-
add-labels: 'unconfirmed-by-user'
17+
add-labels: 'not-assigned'
1818
repo-token: ${{ secrets.GITHUB_TOKEN }}
1919
label_issues_frs:
2020
if: github.repository_owner == 'KelvinTegelaar' && contains(github.event.issue.title, 'Feature')
@@ -25,5 +25,5 @@ jobs:
2525
- name: Label Issues
2626
uses: andymckay/labeler@5c59dabdfd4dd5bd9c6e6d255b01b9d764af4414
2727
with:
28-
add-labels: 'enhancement, no-priority'
28+
add-labels: 'enhancement, not-assigned'
2929
repo-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/cipp_dev_build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,17 @@ jobs:
1818
uses: actions/checkout@v4.2.2
1919

2020
# Set up Node.js
21+
- name: Get Node version
22+
id: get_node_version
23+
run: |
24+
node_raw_version=$(node -p "require('./package.json').engines.node")
25+
node_sanitized_version=$(echo $node_raw_version | sed -E 's/[^0-9.]+//g')
26+
echo "node_version=$node_sanitized_version" >> $GITHUB_OUTPUT
27+
2128
- name: Set up Node.js
2229
uses: actions/setup-node@v4.2.0
2330
with:
24-
node-version: '20.18.1'
31+
node-version: ${{ steps.get_node_version.outputs.node_version }}
2532

2633
# Install dependencies
2734
- name: Install Dependencies

.github/workflows/cipp_frontend_build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,17 @@ jobs:
1818
uses: actions/checkout@v4.2.2
1919

2020
# Set up Node.js
21+
- name: Get Node version
22+
id: get_node_version
23+
run: |
24+
node_raw_version=$(node -p "require('./package.json').engines.node")
25+
node_sanitized_version=$(echo $node_raw_version | sed -E 's/[^0-9.]+//g')
26+
echo "node_version=$node_sanitized_version" >> $GITHUB_OUTPUT
27+
2128
- name: Set up Node.js
2229
uses: actions/setup-node@v4.2.0
2330
with:
24-
node-version: '20.18.1'
31+
node-version: ${{ steps.get_node_version.outputs.node_version }}
2532

2633
# Install dependencies
2734
- name: Install Dependencies

.github/workflows/dev_deploy.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CIPP Development Frontend CI/CD
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
8+
jobs:
9+
build_and_deploy_job:
10+
if: github.event.repository.fork == false && github.event_name == 'push'
11+
runs-on: ubuntu-latest
12+
name: Build and Deploy Job
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
submodules: true
17+
- name: Build And Deploy
18+
id: builddeploy
19+
uses: Azure/static-web-apps-deploy@v1
20+
with:
21+
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_MOSS_0A047A40F }} # change this to your repository secret name
22+
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
23+
action: 'upload'
24+
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
25+
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
26+
app_location: '/' # App source code path
27+
api_location: '' # Api source code path - optional
28+
output_location: '/out' # Built app content directory - optional
29+
###### End of Repository/Build Configurations ######
30+
31+
close_pull_request_job:
32+
if: github.event.repository.fork == false && github.event_name == 'pull_request' && github.event.action == 'closed'
33+
runs-on: ubuntu-latest
34+
name: Close Pull Request Job
35+
steps:
36+
- name: Close Pull Request
37+
id: closepullrequest
38+
uses: Azure/static-web-apps-deploy@v1
39+
with:
40+
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_AMBITIOUS_MOSS_0A047A40F }} # change this to your repository secret name
41+
action: 'close'

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ yarn-debug.log*
2626
yarn-error.log*
2727

2828
# vscode debug logs
29-
debug.log
29+
debug.log
30+
app.log
31+
32+
# AI rules
33+
.*/rules

.vscode/extensions.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"recommendations": [
3+
"editorconfig.editorconfig",
4+
"streetsidesoftware.code-spell-checker",
5+
]
6+
}

CLA.md

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
# Contributor License Agreement (CLA)
2+
3+
This Contributor License Agreement ("Agreement") is entered into by the individual or entity ("You") submitting a Contribution to this project. By submitting a Contribution, You agree to the following terms and conditions:
4+
5+
---
6+
7+
## 1. Definitions
8+
9+
1. **"Contribution"** means any original work of authorship, including modifications or additions to existing works, submitted in any form (including source code, object code, documentation, or other materials) to this repository.
10+
2. **"CyberDrain"** means the maintainers, owners, or legal rights holders of this repository, including successors and assigns.
11+
3. **"Project License"** refers to the **GNU Affero General Public License, version 3 (AGPL-3.0)** under which this project is distributed, unless CyberDrain elects to relicense under a custom license.
12+
13+
---
14+
15+
## 2. Copyright Assignment
16+
17+
You hereby assign to CyberDrain, effective on submission of any Contribution, **all right, title, and interest worldwide in and to the copyright** of Your Contributions.
18+
19+
This assignment includes, without limitation, the exclusive rights to:
20+
21+
* Reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute the Contributions in any medium, and
22+
* Relicense the Contributions under the AGPL-3.0 license, any future versions of that license, or under custom/commercial licenses as CyberDrain deems appropriate.
23+
24+
To the extent that applicable law prohibits the assignment of certain moral rights or similar rights, You hereby irrevocably waive those rights to the maximum extent permitted by law.
25+
26+
---
27+
28+
## 3. Patent Grant
29+
30+
You hereby grant to CyberDrain, its successors, assigns, and licensees a **perpetual, worldwide, non-exclusive, transferable, irrevocable, royalty-free, fully paid-up license** under any patents that You own or control, to make, have made, use, offer to sell, sell, import, and otherwise transfer Your Contributions.
31+
32+
This patent license extends only to the combination of Your Contributions with the Project to which they were submitted.
33+
34+
---
35+
36+
## 4. License Grant Back to You
37+
38+
CyberDrain hereby grants You a non-exclusive, worldwide, royalty-free, irrevocable license to use, reproduce, and prepare derivative works of Your Contributions for any purpose, **provided such use does not conflict with the licensing terms applied by CyberDrain** (including AGPL-3.0 or custom licenses).
39+
40+
---
41+
42+
## 5. Representations and Warranties
43+
44+
By submitting a Contribution, You represent and warrant that:
45+
46+
1. The Contribution is Your original creation, or You have sufficient rights to submit it.
47+
2. The Contribution does not knowingly violate or infringe any third-party intellectual property rights.
48+
3. You are legally entitled to assign copyright and grant the licenses described herein.
49+
4. The Contribution is submitted free of any encumbrances, liens, or claims by any third party.
50+
51+
---
52+
53+
## 6. Custom Licensing
54+
55+
CyberDrain reserves the right to distribute the Project, including Your Contributions, under:
56+
57+
* The **AGPL-3.0 license**, and/or
58+
* **Custom or commercial licenses**, including licenses granted to sponsors via GitHub Sponsorships.
59+
60+
Contributors acknowledge and agree that:
61+
62+
* Their Contributions may be included under such custom licenses.
63+
* No royalties, fees, or other compensation shall be due to Contributors in connection with such relicensing.
64+
65+
---
66+
67+
## 7. Disclaimer of Warranty
68+
69+
Except as expressly stated in this Agreement, You provide Contributions **“AS IS”**, without warranties or conditions of any kind, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.
70+
71+
---
72+
73+
## 8. Limitation of Liability
74+
75+
In no event shall You be liable for any direct, indirect, incidental, special, exemplary, or consequential damages arising out of or in connection with Your Contributions, even if advised of the possibility of such damages.
76+
77+
---
78+
79+
## 9. Acceptance
80+
81+
By submitting a Contribution to this repository, You acknowledge that You have read and understood this Agreement, and that You agree to be legally bound by its terms.
82+
83+
No signature is required — **submission of a Contribution constitutes acceptance**.

CONTRIBUTING.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Contributing to This Project
2+
3+
First of all – thank you for considering contributing! 🎉 Contributions help improve this project for everyone, and we welcome issues, discussions, and pull requests.
4+
5+
Please read through this document before contributing.
6+
7+
---
8+
9+
## Contributor License Agreement (CLA)
10+
11+
By contributing to this repository, you agree to the terms of our **Contributor License Agreement (CLA):**
12+
13+
* **Copyright Transfer**: All contributions (commits, pull requests, issues, or code reviews) are automatically assigned to **CyberDrain**.
14+
* Contributors give up ownership rights of their contributions and transfer them fully to CyberDrain.
15+
* CyberDrain may use, modify, distribute, sublicense, or relicense the contributions under any terms it deems fit, including custom or commercial licenses.
16+
* **You do not need to sign anything** – the act of contributing implies agreement with this CLA.
17+
18+
---
19+
20+
## Custom Licenses
21+
22+
This project is generally open source, but we also provide **custom licensing options**:
23+
24+
* Custom licenses are available **upon agreement**.
25+
* Sponsors who arrange a custom license are **not required** to publish their license terms in this repository.
26+
* Since copyright of contributions is transferred to CyberDrain, CyberDrain has full authority to include contributions under such custom licensing terms.
27+
28+
29+
---
30+
31+
## How to Contribute
32+
33+
As this project is ever evolving, we recommend checking out the contributions docs on our doc page here:
34+
35+
- https://docs.cipp.app/dev-documentation/contributing-to-the-code
36+
- https://docs.cipp.app/dev-documentation/cipp-dev-guide
37+
- https://docs.cipp.app/dev-documentation/contributing-to-the-documentation
38+
39+
---
40+
41+
## Code of Conduct
42+
43+
We expect all contributors to follow respectful, inclusive, and collaborative practices.
44+
Please help keep this project a safe and welcoming place for everyone.
45+
46+
👉 By contributing to this repository, you acknowledge that your contributions are automatically and irrevocably transferred in copyright to **CyberDrain**, and that they are covered by the CLA described above.
47+

LICENSE.CustomLicenses.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
1. Availability of Custom Licenses
2+
Custom licenses are available to sponsors via GitHub Sponsorships. Upon mutual agreement between the project maintainers and the sponsor, such licenses shall apply to the sponsored party.
3+
4+
2. Publication Exemption
5+
Custom licenses granted through GitHub Sponsorships are exempt from publication in this repository. Sponsors and maintainers may keep such agreements private.
6+
7+
3. Contributor License Agreement (CLA)
8+
By contributing to this repository in any form (including but not limited to commits, pull requests, and code reviews), contributors explicitly agree to the terms of this Contributor License Agreement.
9+
10+
4. Coverage of Contributions
11+
Any and all commits made to this repository are automatically considered covered under this CLA. Contributors retain copyright to their individual contributions, while granting the maintainers the necessary rights to use, modify, distribute, and sublicense such contributions in accordance with the terms of the project.
12+
13+
5. Automatic Acceptance
14+
All contributors to this repository, by the act of contribution, automatically and irrevocably agree to the provisions of this CLA and the terms herein.

0 commit comments

Comments
 (0)