-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into CHILI-GraFx/Environments-20231201
- Loading branch information
Showing
164 changed files
with
2,804 additions
and
1,383 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2,7 +2,12 @@ name: Links checker | |
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
branches: | ||
- main | ||
|
||
jobs: | ||
linkChecker: | ||
|
@@ -14,7 +19,7 @@ jobs: | |
uses: lycheeverse/[email protected] | ||
with: | ||
# All supported file formats to be verified and accept 403 (Forbidden) as correct link | ||
args: --verbose -a 200,202,403 './**/*.md' './**/*.html' './**/*.rst' --exclude '^https:\/\/cp' | ||
args: --verbose -a 200,202,403 './**/*.md' './**/*.html' './**/*.rst' --exclude '^https:\/\/cp' --exclude 'https://login.chiligrafx.com/login/callback' --exclude 'https://my.chili-publish.com' --exclude 'https://chili-publish.com/CGXGroups' | ||
format: markdown | ||
# Add job summary in github action | ||
jobSummary: true | ||
|
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,7 @@ | ||
FROM python:3 | ||
|
||
WORKDIR /usr/grafx-docs | ||
|
||
COPY requirements.txt ./ | ||
|
||
RUN pip install -r requirements.txt |
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,16 +1,60 @@ | ||
# CHILI GraFx-documentation | ||
# CHILI GraFx Documentation | ||
|
||
Documentation source in MarkDown for CHILI GraFx and applications | ||
Welcome to the CHILI GraFx Documentation! This project is designed to assist developers and designers new to CHILI GraFx and its applications. | ||
|
||
The GraFx Documentation is built using [MkDocs](https://www.mkdocs.org/) | ||
## Getting Started with Contributing | ||
|
||
To install the required packages to build and develop the documentation locally please use | ||
``` | ||
pip install -r requirements.txt | ||
``` | ||
We welcome contributions from the community! To get started, please familiarize yourself with our contribution guidelines by reading the [CONTRIBUTING.md](CONTRIBUTING.md) file. | ||
|
||
You can then start the local development server with | ||
``` | ||
mkdocs serve | ||
``` | ||
## Setting Up the Documentation Environment | ||
|
||
The CHILI GraFx documentation is built using [MkDocs](https://www.mkdocs.org/), a static site generator that's geared towards project documentation. | ||
|
||
If you are looking to just make a small change, such as editing a single page, you probably don't need to setup a documenation environment. Please see [CONTRIBUTING.md](CONTRIBUTING.md). | ||
|
||
However, if you are going to be making many changes you will need to setup a documentation environment. You can set up your documentation environment using one of the following methods: | ||
|
||
### Option 1: Using Docker with Codespaces | ||
|
||
For a quick and easy setup, you can use Docker in conjunction with [GitHub Codespaces](https://github.com/features/codespaces). | ||
|
||
**Steps:** | ||
|
||
1. **Select a Branch**: Go to the GitHub repository, select a branch, and click on the `Code` button. Then, choose `Codespaces`. You can either continue with an existing Codespace or create a new one for your selected branch. | ||
|
||
2. **Create and Access Codespace**: Click on "Create codespace on [branch name]". This will set up a new Codespace and open an online version of VSCode in a new tab. | ||
|
||
3. **Terminal Operations**: In the VSCode terminal, wait for the Python installation to complete, or switch to `Bash` for immediate access. | ||
|
||
4. **Start Documentation Server**: Type `docker-compose up` in the terminal. The server initialization might take a short while. Once ready, a notification will allow you to open the documentation site in a new tab. | ||
|
||
### Option 2: Using Docker Locally | ||
|
||
If you have [Docker Desktop](https://docs.docker.com/desktop/) (for Windows, Mac, or Linux) or [Docker](https://docs.docker.com/engine/) and [Docker-Compose](https://docs.docker.com/compose/) (for Linux) installed on your machine, setting up the documentation locally is straightforward. | ||
|
||
**Steps:** | ||
|
||
1. **Ensure Docker is Running**: For Mac and Windows, Docker can be managed via the GUI. On Linux, use `sudo systemctl start docker`. | ||
|
||
2. **Launch the Server**: Navigate to the documentation project folder in the terminal and execute `sudo docker-compose up`. The documentation site will be hosted locally on `http://localhost:8000`. | ||
|
||
### Option 3: Using Python Locally | ||
|
||
If you prefer not to use Docker, you can set up the environment with Python. | ||
|
||
**Prerequisites:** | ||
|
||
Ensure that the latest version of Python 3 is installed on your system. You can download it from [Python's official site](https://www.python.org/downloads/). | ||
|
||
**Steps:** | ||
1. **Go To Project Folder**: Navigate to the documentation project folder in your terminal. | ||
|
||
2. **Install Requirements**: Run `pip install -r requirements.txt` to install all necessary dependencies. | ||
|
||
3. **Start the Server**: Launch the local development server by executing `mkdocs serve`. Access the documentation site at `http://localhost:8000`. | ||
|
||
## Conclusion | ||
|
||
Choose the setup that works best for you and start contributing to the CHILI GraFx documentation. Your contributions are valuable to the community and help in making our project more accessible and user-friendly. | ||
|
||
Happy Documenting! |
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,10 @@ | ||
version: "3" | ||
services: | ||
app: | ||
container_name: grafx-documentation | ||
build: . | ||
volumes: | ||
- ./:/usr/grafx-docs | ||
command: /bin/sh -c "mkdocs serve -a 0.0.0.0:8000" | ||
ports: | ||
- "8000:8000" |
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
Binary file modified
BIN
+13 Bytes
(100%)
docs/CHILI-GraFx/applications/editor-comparison/features.xlsx
Binary file not shown.
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
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions
41
docs/CHILI-GraFx/guides/example-federated-groups-entraid/index.md
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,41 @@ | ||
# Example configuration: Entra ID (formerly Azure ID) | ||
|
||
!!! Warning "Disclaimer" | ||
The objective of this sample is not the definition of a canonical implementation, but to serve as an illustrative example of one possible way to implement the integration on the customer side. | ||
|
||
## Introduction | ||
|
||
The federation with CHILI GraFx is based on standard protocols (SAML and OIDC) and the requirements made by CHILI GraFx for a successful integration are based on those protocols. | ||
|
||
At the same time, we want to help our customers with a sample configuration to be done in Microsoft Entra ID (Former Azure AD). | ||
|
||
In this example, we assume the federation configuration is working correctly. For that reason, this example is focused on the management of groups and memberships. | ||
|
||
## Concepts | ||
|
||
We will be using the following concepts from **Entra ID** | ||
|
||
### Application role | ||
|
||
Permissions are defined at the application level. In our case, the application is the one used to define the federation. An Application role can be linked to a user or a group | ||
|
||
### User group | ||
|
||
This is defined beyond the application. A User group can be assigned one or many Application Roles. All user members of that User group get all of the Application roles of the group. | ||
|
||
### Group membership | ||
|
||
Associating a user to a User group | ||
|
||
## Procedure | ||
|
||
Once the Federated SSO connection is configured as an application in Entra ID, follow these steps to make a user of your company member of a CGX group: | ||
|
||
- Create the User in Entra ID following your procedures. We’ll call the user “Mike” | ||
- Create a User group in Entra ID. We’ll call the group “marketing_group” | ||
- Create a User group in CGX and copy the Group ID (follow the CGX documentation if needed) | ||
- Create an Application role with the ID of the CGX Group ID. We’ll use the value “CGX-marketing-ID” | ||
- Add the group “marketing_group” to the Application Role “CGX-marketing-ID” | ||
- Add user “Mike” as a member of the group “marketing_group” | ||
|
||
The next time the user “Mike” logs into CGX, he will have all of the permissions of group “CGX-marketing-ID” |
Oops, something went wrong.