From 63869eb160ba88354d666b4c19a28dcaa7b5585b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Wed, 21 May 2025 16:31:18 +0200 Subject: [PATCH 1/2] Empty line removal --- .../security/security_checklist.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/infrastructure_and_maintenance/security/security_checklist.md b/docs/infrastructure_and_maintenance/security/security_checklist.md index ef67c43e3a..0482dd15b9 100644 --- a/docs/infrastructure_and_maintenance/security/security_checklist.md +++ b/docs/infrastructure_and_maintenance/security/security_checklist.md @@ -319,4 +319,3 @@ to receive notifications when a security fix is released in a GitHub-hosted depe - Enable logging for [[= product_name =]], the web server, any frontend proxies, and the database. - Monitor the logs for unusual and suspicious activity. Consider using log monitoring software to make this easier. - Consider using different accounts for manual administrative tasks and for the day-to-day running of your installation. You could for instance configure [[= product_name =]] to use a different database user than the one you use during upgrades. This can make it easier to filter out noise in your log monitoring solution. - From 395997a8d936fa22bae819d02cd08b0a8eadeb16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Wed, 21 May 2025 16:34:49 +0200 Subject: [PATCH 2/2] Made GraphQL usage more opt-in --- docs/api/graphql/graphql.md | 3 +-- docs/getting_started/install_ibexa_dxp.md | 2 -- docs/getting_started/install_with_ddev.md | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/api/graphql/graphql.md b/docs/api/graphql/graphql.md index b3557da74a..d8cfc721e4 100644 --- a/docs/api/graphql/graphql.md +++ b/docs/api/graphql/graphql.md @@ -10,9 +10,8 @@ The GraphQL implementation for [[= product_name =]] is located in [`ibexa/graphq ## Setup Using GraphQL requires a domain schema. -The schema is generated automatically when installing [[= product_name =]]. -When you modify content types or product types in your installation, you need to regenerate the schema: +Before using GraphQL for the first time, or anytime you modify content types or product types in your installation, you need to generate the schema: ``` bash php bin/console ibexa:graphql:generate-schema diff --git a/docs/getting_started/install_ibexa_dxp.md b/docs/getting_started/install_ibexa_dxp.md index 99181a203f..411284c41e 100644 --- a/docs/getting_started/install_ibexa_dxp.md +++ b/docs/getting_started/install_ibexa_dxp.md @@ -242,7 +242,6 @@ Install [[= product_name =]] and create a database with: ``` bash php bin/console ibexa:install -php bin/console ibexa:graphql:generate-schema ``` Before executing the command make sure that the database user has sufficient permissions. @@ -256,7 +255,6 @@ Make sure to use a [strong password](security_checklist.md#strong-passwords) mee ``` bash php bin/console ibexa:install --no-interaction - php bin/console ibexa:graphql:generate-schema ``` If doing so, [modify the password for the `admin` user](update_basic_user_data.md#change-password) before [going live with your project](security_checklist.md). diff --git a/docs/getting_started/install_with_ddev.md b/docs/getting_started/install_with_ddev.md index 84b522984c..5fde0081b0 100644 --- a/docs/getting_started/install_with_ddev.md +++ b/docs/getting_started/install_with_ddev.md @@ -159,7 +159,6 @@ Once you've made this change, you can proceed to install [[= product_name =]]. ```bash ddev php bin/console ibexa:install -ddev php bin/console ibexa:graphql:generate-schema ``` ### 7. Open browser @@ -391,7 +390,6 @@ ddev composer install ddev php bin/console ibexa:install # Add some content types using a migration file (previously created on another installation) and update the GraphQL schema ddev php bin/console ibexa:migrations:migrate --file=project_content_types.yaml -ddev php bin/console ibexa:graphql:generate-schema # Open the project in the default browser which should display the default SiteAccess frontpage ddev launch ```