From 6a9b9ac0233d0721bf1caabff7890f261877c0c2 Mon Sep 17 00:00:00 2001 From: msalsas Date: Sat, 29 Feb 2020 13:17:35 +0100 Subject: [PATCH 1/2] Add Add MsalsasGdprConsentBannerBundle recipe --- .../1.0/config/packages/msalsas_gdpr_consent_banner.yaml | 7 +++++++ .../1.0/config/routes/msalsas_gdpr_consent_banner.yaml | 4 ++++ msalsas/gdpr-consent-banner-bundle/1.0/manifest.json | 8 ++++++++ 3 files changed, 19 insertions(+) create mode 100644 msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml create mode 100644 msalsas/gdpr-consent-banner-bundle/1.0/config/routes/msalsas_gdpr_consent_banner.yaml create mode 100644 msalsas/gdpr-consent-banner-bundle/1.0/manifest.json diff --git a/msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml b/msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml new file mode 100644 index 00000000..d7c0ad9f --- /dev/null +++ b/msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml @@ -0,0 +1,7 @@ +msalsas_gdpr_consent_banner: + has_translations: true + css: default + fade_time: 2 + text_message: "" + accept_message: "" + time_to_expire: 30 days diff --git a/msalsas/gdpr-consent-banner-bundle/1.0/config/routes/msalsas_gdpr_consent_banner.yaml b/msalsas/gdpr-consent-banner-bundle/1.0/config/routes/msalsas_gdpr_consent_banner.yaml new file mode 100644 index 00000000..3ed25e22 --- /dev/null +++ b/msalsas/gdpr-consent-banner-bundle/1.0/config/routes/msalsas_gdpr_consent_banner.yaml @@ -0,0 +1,4 @@ +accept_gdpr_consent_banner: + path: /accept-gdpr-consent-banner + controller: Msalsas\GdprConsentBannerBundle\Controller\MsalsasGdprConsentBannerController:acceptGdprConsentBanner + methods: POST diff --git a/msalsas/gdpr-consent-banner-bundle/1.0/manifest.json b/msalsas/gdpr-consent-banner-bundle/1.0/manifest.json new file mode 100644 index 00000000..08d17bf7 --- /dev/null +++ b/msalsas/gdpr-consent-banner-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Msalsas\\GdprConsentBannerBundle\\MsalsasGdprConsentBannerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From 7c995438d7f6786b53d0f2030de936f5c75f327d Mon Sep 17 00:00:00 2001 From: Manolo Salsas Date: Sat, 4 Apr 2020 14:18:16 +0200 Subject: [PATCH 2/2] Update msalsas_gdpr_consent_banner.yaml Add only a few options. Add link to all configuration options. --- .../1.0/config/packages/msalsas_gdpr_consent_banner.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml b/msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml index d7c0ad9f..90e8677d 100644 --- a/msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml +++ b/msalsas/gdpr-consent-banner-bundle/1.0/config/packages/msalsas_gdpr_consent_banner.yaml @@ -1,7 +1,4 @@ +# See all configuration options at https://github.com/msalsas/MsalsasGdprConsentBannerBundle/blob/master/Resources/doc/index.rst msalsas_gdpr_consent_banner: - has_translations: true - css: default fade_time: 2 - text_message: "" - accept_message: "" time_to_expire: 30 days