diff --git a/.github/workflows/accept-fork.yml b/.github/workflows/accept-fork.yml new file mode 100644 index 00000000..ec214f98 --- /dev/null +++ b/.github/workflows/accept-fork.yml @@ -0,0 +1,14 @@ +name: Apply Deploy Label + +on: + pull_request: + types: [labeled] + +jobs: + build_and_deploy_job: + if: github.event.label.name == 'Accept for Deploy' + runs-on: ubuntu-latest + name: Accept + steps: + - name: Accept + run: echo "Accepted" diff --git a/.github/workflows/azure-static-web-apps-wonderful-sky-012b9bc03.yml b/.github/workflows/azure-static-web-apps-wonderful-sky-012b9bc03.yml index 5e0c582a..71c2f9cb 100644 --- a/.github/workflows/azure-static-web-apps-wonderful-sky-012b9bc03.yml +++ b/.github/workflows/azure-static-web-apps-wonderful-sky-012b9bc03.yml @@ -11,7 +11,8 @@ on: jobs: build_and_deploy_job: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + # if non forked PR, run the deploy + if: github.repository == 'chili-publish/grafx-documentation' && (github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')) runs-on: ubuntu-latest name: Build and Deploy Job steps: @@ -40,7 +41,7 @@ jobs: ###### End of Repository/Build Configurations ###### close_pull_request_job: - if: github.event_name == 'pull_request' && github.event.action == 'closed' + if: github.repository == 'chili-publish/grafx-documentation' && github.event_name == 'pull_request' && github.event.action == 'closed' runs-on: ubuntu-latest name: Close Pull Request Job steps: diff --git a/.github/workflows/deploy-fork.yml b/.github/workflows/deploy-fork.yml new file mode 100644 index 00000000..1d74b4c4 --- /dev/null +++ b/.github/workflows/deploy-fork.yml @@ -0,0 +1,48 @@ +name: Deploy fork PR to dev + +on: + workflow_run: + workflows: [Apply Deploy Label] + types: + - completed + +jobs: + build_and_deploy_job: + runs-on: ubuntu-latest + name: Build and Deploy Job + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - uses: actions/setup-python@v2 + with: + python-version: 3.x + - name: Install MkDocs + run: pip install -r requirements.txt + - name: build documentation + run: mkdocs build + - name: copy config file + run: cp staticwebapp.config.json site + - name: Deploy to azure + id: builddeploy + uses: Azure/static-web-apps-deploy@v1 + with: + azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WONDERFUL_SKY_012B9BC03 }} + 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: "/site" # App source code path + ###### 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_WONDERFUL_SKY_012B9BC03 }} + action: "close" diff --git a/docs/CHILI-GraFx/users/roles/index.md b/docs/CHILI-GraFx/users/roles/index.md index 39521dab..b2086481 100644 --- a/docs/CHILI-GraFx/users/roles/index.md +++ b/docs/CHILI-GraFx/users/roles/index.md @@ -4,10 +4,11 @@ ### Subscription Admin -**Definition**: A Subscription Admin manages the subscription(s) they are assigned too +**Definition**: A Subscription Admin manages the subscription(s) they are assigned to Permissions + - View all subscription(s) assigned to - View usage reporting - View subscription details @@ -47,7 +48,7 @@ In the API, this is labeled as "EA". ### User -**Definition**: A **User** works as an end user in the CHILI GraFx environment(s) where they are assigned to. This is the default role, and cannot be removed. +**Definition**: A User works as an end user in the CHILI GraFx environment(s) where they are assigned to. This is the default role, and cannot be removed. Permissions @@ -141,4 +142,4 @@ Only the Subscription Admin & the Environment Admin can access the User Manageme ## Changing roles -Click here to see how to [change roles & Environment access](/CHILI-GraFx/users/update/). \ No newline at end of file +Click here to see how to [change roles & Environment access](/CHILI-GraFx/users/update/). diff --git a/docs/release-notes/index.md b/docs/release-notes/index.md index 47d5f4c8..8ed63180 100644 --- a/docs/release-notes/index.md +++ b/docs/release-notes/index.md @@ -1,5 +1,43 @@ # Release notes +## Nov 27, 2023 - CHILI GraFx + +![rn_icon](https://chilipublishdocs.imgix.net/logos/CHILI_LOGOS_OK-04.svg) + +### Improvements + +- Improved performance of getting renders information +- Optimization of authorization-related functions + +### Fixes + +- Fixed error response in case of failed users invitation + +CHILI GraFx [Platform API](https://api.chiligrafx.com/swagger/index.html) + +## Nov 22, 2023 - CHILI GraFx + +![rn_icon](https://chilipublishdocs.imgix.net/logos/CHILI_LOGOS_OK-04.svg) + +CHILI GraFx [Environment API 1.3.3](https://sandbox1.chili-publish-sandbox.online/grafx/swagger/index.html) + +### Improvements + +- Improved the performance of the 'Get' endpoints for media and templates. +- Transitioned to using a token cache service for fetching internal tokens, moving away from direct calls to the identity provider. +- Standardized the examples in Swagger documentation for consistency. + +### Fixes + +- Fixed the issue causing a 500 response when certain invalid arguments are used. +- Addressed an issue where URLs containing the 'environment' value in varying case sensitivities caused errors. +- Resolved a 500 error that occurred due to a concurrency issue when executing multiple requests to delete a single folder. +- Fixed a problem where templates became unattachable to any collection after being manually migrated to another environment without updating their ID. + +### New Endpoints + +- Introduced for Enhanced Media Preview Capabilities
`GET /api/v1/environment/{environment}/media/{mediaId}/preview/highestOrVector` + ## Nov 21, 2023 - GraFx Publisher ![rn_icon](/assets/CHILI_publisher_RGB.svg)