From ec8be10d954bd072c8e5c2bd64f11df03e6eb54d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3js?= Date: Fri, 27 Dec 2024 14:48:20 +0100 Subject: [PATCH] IBX-9339: Added recipe for ibexa/fieldtype-richtext-rte --- .../ibexa_fieldtype_richtext_rte.yaml | 8 +++++++ .../routes/ibexa_fieldtype_richtext_rte.yaml | 4 ++++ .../fieldtype-richtext-rte/4.6/manifest.json | 24 +++++++++++++++++++ .../ibexa_fieldtype_richtext_rte.yaml | 8 +++++++ .../routes/ibexa_fieldtype_richtext_rte.yaml | 4 ++++ .../fieldtype-richtext-rte/5.0/manifest.json | 24 +++++++++++++++++++ 6 files changed, 72 insertions(+) create mode 100644 ibexa/fieldtype-richtext-rte/4.6/config/packages/ibexa_fieldtype_richtext_rte.yaml create mode 100644 ibexa/fieldtype-richtext-rte/4.6/config/routes/ibexa_fieldtype_richtext_rte.yaml create mode 100644 ibexa/fieldtype-richtext-rte/4.6/manifest.json create mode 100644 ibexa/fieldtype-richtext-rte/5.0/config/packages/ibexa_fieldtype_richtext_rte.yaml create mode 100644 ibexa/fieldtype-richtext-rte/5.0/config/routes/ibexa_fieldtype_richtext_rte.yaml create mode 100644 ibexa/fieldtype-richtext-rte/5.0/manifest.json diff --git a/ibexa/fieldtype-richtext-rte/4.6/config/packages/ibexa_fieldtype_richtext_rte.yaml b/ibexa/fieldtype-richtext-rte/4.6/config/packages/ibexa_fieldtype_richtext_rte.yaml new file mode 100644 index 00000000..b95adc86 --- /dev/null +++ b/ibexa/fieldtype-richtext-rte/4.6/config/packages/ibexa_fieldtype_richtext_rte.yaml @@ -0,0 +1,8 @@ +ibexa: + system: + admin_group: + fieldtype_richtext_rte: + license_key: '%env(CKEDITOR_LICENSE_KEY)%' + environment_id: '%env(CKEDITOR_ENVIRONMENT_ID)%' + environment_secret: '%env(CKEDITOR_ENVIRONMENT_SECRET)%' + web_socket_url: '%env(CKEDITOR_WEB_SOCKET_URL)%' diff --git a/ibexa/fieldtype-richtext-rte/4.6/config/routes/ibexa_fieldtype_richtext_rte.yaml b/ibexa/fieldtype-richtext-rte/4.6/config/routes/ibexa_fieldtype_richtext_rte.yaml new file mode 100644 index 00000000..108f2079 --- /dev/null +++ b/ibexa/fieldtype-richtext-rte/4.6/config/routes/ibexa_fieldtype_richtext_rte.yaml @@ -0,0 +1,4 @@ +ibexa.fieldtype_richtext_rte.admin: + resource: '@IbexaFieldTypeRichTextRTEBundle/Resources/config/routing_admin.yaml' + defaults: + siteaccess_group_whitelist: '%admin_group_name%' diff --git a/ibexa/fieldtype-richtext-rte/4.6/manifest.json b/ibexa/fieldtype-richtext-rte/4.6/manifest.json new file mode 100644 index 00000000..c34c8374 --- /dev/null +++ b/ibexa/fieldtype-richtext-rte/4.6/manifest.json @@ -0,0 +1,24 @@ +{ + "aliases": [], + "bundles": { + "Ibexa\\Bundle\\FieldTypeRichTextRTE\\FieldTypeRichTextRTEBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "add-lines": [ + { + "file": "composer.json", + "content": "\"ckeditor-rte-copy.sh\": \"script\"", + "position": "after_target", + "target": "\"yarn install\": \"script\"," + } + ], + "env": { + "#0": "The following values can be obtained in CKEditor Customer Portal > Cloud environments. See https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/real-time-collaboration/real-time-collaboration-integration.html for more details.", + "CKEDITOR_LICENSE_KEY": "", + "CKEDITOR_ENVIRONMENT_ID": "", + "CKEDITOR_ENVIRONMENT_SECRET": "", + "CKEDITOR_WEB_SOCKET_URL": "" + } +} diff --git a/ibexa/fieldtype-richtext-rte/5.0/config/packages/ibexa_fieldtype_richtext_rte.yaml b/ibexa/fieldtype-richtext-rte/5.0/config/packages/ibexa_fieldtype_richtext_rte.yaml new file mode 100644 index 00000000..b95adc86 --- /dev/null +++ b/ibexa/fieldtype-richtext-rte/5.0/config/packages/ibexa_fieldtype_richtext_rte.yaml @@ -0,0 +1,8 @@ +ibexa: + system: + admin_group: + fieldtype_richtext_rte: + license_key: '%env(CKEDITOR_LICENSE_KEY)%' + environment_id: '%env(CKEDITOR_ENVIRONMENT_ID)%' + environment_secret: '%env(CKEDITOR_ENVIRONMENT_SECRET)%' + web_socket_url: '%env(CKEDITOR_WEB_SOCKET_URL)%' diff --git a/ibexa/fieldtype-richtext-rte/5.0/config/routes/ibexa_fieldtype_richtext_rte.yaml b/ibexa/fieldtype-richtext-rte/5.0/config/routes/ibexa_fieldtype_richtext_rte.yaml new file mode 100644 index 00000000..108f2079 --- /dev/null +++ b/ibexa/fieldtype-richtext-rte/5.0/config/routes/ibexa_fieldtype_richtext_rte.yaml @@ -0,0 +1,4 @@ +ibexa.fieldtype_richtext_rte.admin: + resource: '@IbexaFieldTypeRichTextRTEBundle/Resources/config/routing_admin.yaml' + defaults: + siteaccess_group_whitelist: '%admin_group_name%' diff --git a/ibexa/fieldtype-richtext-rte/5.0/manifest.json b/ibexa/fieldtype-richtext-rte/5.0/manifest.json new file mode 100644 index 00000000..c34c8374 --- /dev/null +++ b/ibexa/fieldtype-richtext-rte/5.0/manifest.json @@ -0,0 +1,24 @@ +{ + "aliases": [], + "bundles": { + "Ibexa\\Bundle\\FieldTypeRichTextRTE\\FieldTypeRichTextRTEBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "add-lines": [ + { + "file": "composer.json", + "content": "\"ckeditor-rte-copy.sh\": \"script\"", + "position": "after_target", + "target": "\"yarn install\": \"script\"," + } + ], + "env": { + "#0": "The following values can be obtained in CKEditor Customer Portal > Cloud environments. See https://ckeditor.com/docs/ckeditor5/latest/features/collaboration/real-time-collaboration/real-time-collaboration-integration.html for more details.", + "CKEDITOR_LICENSE_KEY": "", + "CKEDITOR_ENVIRONMENT_ID": "", + "CKEDITOR_ENVIRONMENT_SECRET": "", + "CKEDITOR_WEB_SOCKET_URL": "" + } +}