From fb82694da542297ab636a4cea153ab12eb2521ce Mon Sep 17 00:00:00 2001 From: Rene Pot Date: Wed, 20 Dec 2023 16:14:53 +0000 Subject: [PATCH 1/2] docs: rename whitelist to allowlist --- docs/dev-videos.md | 6 +++--- .../{cors-whitelist.gif => cors-allowlist.gif} | Bin docs/guides/debug-instance.md | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) rename docs/guides/assets/{cors-whitelist.gif => cors-allowlist.gif} (100%) diff --git a/docs/dev-videos.md b/docs/dev-videos.md index 28064392..0af7f53f 100644 --- a/docs/dev-videos.md +++ b/docs/dev-videos.md @@ -12,13 +12,13 @@ This is a compilation of technical videos that we have recorded during academies ### Web Development | **Title** | **Type** | **Audience** | **Topics** | **Date** | **Version** | -|---------------------------------------------------------------------------------------|----------|--------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|-------------| +| ------------------------------------------------------------------------------------- | -------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------- | | [App Management improvements](https://youtu.be/Uf3fD7VpNyM) | Webinar | New and experienced developers | New App Management app new features | Nov 2021 | v2.37 | | [App Hub improvements](https://youtu.be/GtWaKskFEKk) | Webinar | New and experienced developers | App Hub redesign, guidelines and walk-through | Nov 2021 | v2.37 | | [Personal Access Tokens - PAT](https://youtu.be/Jb6XWIspGto) | Webinar | New and experienced developers | Personal access token creation and management in DHIS2 (part of a larger webinar) | Nov 2021 | v2.37 | | [App Platform v8 and our new Developer Advocate](https://youtu.be/q-m2sk-xLrY) | Webinar | New and experienced developers | Latest features of @dhis2/cli-app-scripts, @dhis2/app-runtime, and @dhis2/ui | Nov 2021 | v2.37 | | [Application Development Overview](https://youtu.be/WP6ZWbsTz-Q) | Workshop | New developers | Application development overview | Mar 2021 | | -| [CLI installation](https://youtu.be/vXYgML68Jz4) | Workshop | New developers | CLI Installation, App Initialization, CORS whitelist and live instance debugging | Mar 2021 | | +| [CLI installation](https://youtu.be/vXYgML68Jz4) | Workshop | New developers | CLI Installation, App Initialization, CORS allowlist and live instance debugging | Mar 2021 | | | [UI Library, Design system and Storybook documentation](https://youtu.be/Brvi4DsIRN8) | Workshop | New developers | UI Library, Design system and Storybook documentation | Mar 2021 | | | [Data Model REST API](https://youtu.be/F95LTzAzESQ) | Workshop | New developers | DHIS2 REST API Overview, Data Model, API handling in the Android SDK | Mar 2021 | | | [App Runtime Introduction](https://youtu.be/pvIppH5plMU) | Workshop | New developers | App Runtime intro: hooks, queries, mutations | Mar 2021 | | @@ -35,7 +35,7 @@ This is a compilation of technical videos that we have recorded during academies ### Android Development | **Title** | **Type** | **Audience** | **Topics** | **Date** | **Version** | -|-------------------------------------------------------------------------------------|----------|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|-------------| +| ----------------------------------------------------------------------------------- | -------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | ----------- | | [Android SDK Overview](https://youtu.be/ObdYRiB2s3Y) | Workshop | New developers | Android SDK (1.0) capabilities overview | Mar 2021 | | | [Skeleton App Overview](https://youtu.be/WuQBm_D7lBU) | Workshop | New developers | Android skeleton app libraries and demo | Mar 2021 | | | [SDK Installation](https://youtu.be/4dRpgY9sdso) | Workshop | New developers | Android SDK instantiation | Mar 2021 | | diff --git a/docs/guides/assets/cors-whitelist.gif b/docs/guides/assets/cors-allowlist.gif similarity index 100% rename from docs/guides/assets/cors-whitelist.gif rename to docs/guides/assets/cors-allowlist.gif diff --git a/docs/guides/debug-instance.md b/docs/guides/debug-instance.md index d6b0831b..0933d7bf 100644 --- a/docs/guides/debug-instance.md +++ b/docs/guides/debug-instance.md @@ -5,25 +5,25 @@ title: How to debug common development errors If you encounter some errors when trying to connect to your application or during development, please try the following troubleshooting steps: -## CORs whitelist +## CORs allowlist -If you run into Cross-Origin Resource Sharing (CORs) policy issues when connecting to your server, you could start with the **CORs whitelist**. +If you run into Cross-Origin Resource Sharing (CORs) policy issues when connecting to your server, you could start with the **CORs allowlist**. -### What is the CORs whitelist? +### What is the CORs allowlist? In a DHIS2 instance, by default only web applications that are running on the same URL can access that DHIS2 instance. -There's a **CORs whitelist** option that can be configured to add other URLs besides the current one and allow that DHIS2 application instance. +There's a **CORs allowlist** option that can be configured to add other URLs besides the current one and allow that DHIS2 application instance. ### Where do I change it? -When you login to your instance, click on the apps icon and search for **System Setting** application. Then go to **Access** from the menu on the left and scroll down to see the **CORs whitelist** option. +When you login to your instance, click on the apps icon and search for **System Setting** application. Then go to **Access** from the menu on the left and scroll down to see the **CORs allowlist** option. There you can add the URLs that you want to grant access. The settings will be automatically updated by tabbing out of that. See below: -![](./assets/cors-whitelist.gif) +![](./assets/cors-allowlist.gif) ## If you're using Chrome From f00a1cebb4c6b27900b04d0eadfeb4828983bd45 Mon Sep 17 00:00:00 2001 From: Rene Pot Date: Wed, 14 Feb 2024 17:07:28 +0100 Subject: [PATCH 2/2] docs: add namechange note --- docs/guides/debug-instance.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/guides/debug-instance.md b/docs/guides/debug-instance.md index 0933d7bf..6bcfd940 100644 --- a/docs/guides/debug-instance.md +++ b/docs/guides/debug-instance.md @@ -7,6 +7,10 @@ If you encounter some errors when trying to connect to your application or durin ## CORs allowlist +:::note Name Change +Since DHIS2 version 41 it's called **CORs allowlist**. Before that, it was called **CORS Whitelist**. +::: + If you run into Cross-Origin Resource Sharing (CORs) policy issues when connecting to your server, you could start with the **CORs allowlist**. ### What is the CORs allowlist?