forked from KelvinTegelaar/CIPP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
69e5b5f
commit 6aa861a
Showing
304 changed files
with
48,361 additions
and
107 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"extends": "next/core-web-vitals", | ||
"rules": { | ||
"@next/next/no-img-element": "off", | ||
"@next/next/no-page-custom-font": "off", | ||
"jsx-a11y/alt-text": "off", | ||
"react/display-name": "off", | ||
"react/no-children-prop": "off", | ||
"react/no-unescaped-entities": "off", | ||
"react/jsx-max-props-per-line": [ | ||
0, | ||
{ | ||
"maximum": 10 | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# Enforce Unix newlines | ||
* text=auto eol=lf | ||
* text=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "PowerShell: Execute current file", | ||
"type": "PowerShell", | ||
"request": "launch", | ||
"script": "${file}", | ||
"cwd": "${file}" | ||
}, | ||
{ | ||
"command": "npm run start-swa", | ||
"name": "Run Emulator", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
}, | ||
{ | ||
"command": "npm start", | ||
"name": "Run Frontend", | ||
"request": "launch", | ||
"type": "node-terminal", | ||
"preLaunchTask": "Run All Tasks", | ||
"resolveSourceMapLocations": ["${workspaceFolder}/**", "!**/node_modules/**"] | ||
}, | ||
{ | ||
"type": "chrome", | ||
"request": "launch", | ||
"name": "Launch Chrome Debugger", | ||
"url": "http://localhost:4280" | ||
}, | ||
{ | ||
"type": "PowerShell", | ||
"name": "Launch in Windows Terminal", | ||
"request": "launch", | ||
"cwd": "${cwd}", | ||
"script": ". '${cwd}\\Tools\\Start-CowDevEmulators.ps1'" | ||
} | ||
], | ||
"compounds": [ | ||
{ | ||
"name": "Launch it all 🚀", | ||
"configurations": ["Run Frontend", "Run Emulator"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Run All Tasks", | ||
"dependsOn": ["Run API", "Run Azurite"] | ||
}, | ||
{ | ||
"label": "Run Azurite", | ||
"type": "shell", | ||
"command": "azurite --location ../", | ||
"isBackground": true, | ||
"problemMatcher": { | ||
"pattern": [ | ||
{ | ||
"regexp": ".", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
], | ||
"background": { | ||
"activeOnStart": true, | ||
"beginsPattern": ".", | ||
"endsPattern": "." | ||
} | ||
} | ||
}, | ||
{ | ||
"label": "Run API", | ||
"type": "shell", | ||
"command": "func start --verbose", | ||
"isBackground": true, | ||
"options": { | ||
"cwd": "${workspaceFolder}/../CoW-API" | ||
}, | ||
"problemMatcher": { | ||
"pattern": [ | ||
{ | ||
"regexp": ".", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
} | ||
], | ||
"background": { | ||
"activeOnStart": true, | ||
"beginsPattern": ".", | ||
"endsPattern": "." | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,34 @@ | ||
![CyberDrain Light](github_assets/img/CIPP.png#gh-dark-mode-only) | ||
![CyberDrain Dark](github_assets/img/CIPP-Light.png#gh-light-mode-only) | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
|
||
# What is this? | ||
## Getting Started | ||
|
||
The CyberDrain Improved Partner Portal is a portal to help manage administration for Microsoft Partners. The current Microsoft partner landscape makes it fairly hard to manage multi tenant situations, with loads of manual work. Microsoft Lighthouse might resolve this in the future but development of this is lagging far behind development of the current market for Microsoft Partners. | ||
This project is a way to help you with administration, with user management, and deploying your own preferred standards. It's not a replacement for security tools, or a way to cut costs on specific subscriptions. The tool should assist you in removing the gripes with standard partner management and save you several hours per engineer per month. | ||
For more information, we recommend checking out our website [here](https://cipp.app) | ||
For detailed documentation about features of CIPP, please check out our [documentation.](https://docs.cipp.app) | ||
First, run the development server: | ||
|
||
# Our sponsors | ||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
``` | ||
|
||
You can find our sponsors [here.](https://docs.cipp.app/#our-sponsors) | ||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. | ||
|
||
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. | ||
|
||
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! | ||
|
||
## Deploy on Vercel | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const config = { | ||
reactStrictMode: false, | ||
webpack(config) { | ||
config.module.rules.push({ | ||
test: /\.svg$/, | ||
use: ["@svgr/webpack"], | ||
}); | ||
return config; | ||
}, | ||
async redirects() { | ||
return []; | ||
}, | ||
}; | ||
|
||
module.exports = config; |
Oops, something went wrong.