From c42a2f27b5c6d37c41bc5f885b49a8ff6283b649 Mon Sep 17 00:00:00 2001 From: Ruud Denivel Date: Tue, 29 Jan 2019 12:21:25 +0100 Subject: [PATCH 1/3] Recipes for the kunstmaan cms skeleton bundles recipe for the KunstmaanCMS Translator bundle added usermanagement recipe Kunstmaan/admin-bundle default recipe added translator routes Kunstmaan/admin-list-bundle default recipe added sitemap bundle added seo bundle recipe Kunstmaan/form-bundle default recipe Kunstmaan/media-bundle default recipe added pagepart recipe Kunstmaan/node-bundle default recipe Kunstmaan/cache-bundle default recipe Kunstmaan/config-bundle default recipe added search recipe added redirect recipe Fixed config bundle config added menu recipe Kunstmaan/dashboard-bundle default recipe fix indentation fix indentation form bundle fix indentation config bundle Fix dashboard config indents Fix admin config indents Fix admin-list config indents Fix cache config indents fix config Menu bundle new line node config indents Fix search bundle config Remove cache bundle recipe --- .../5.2/config/packages/kunstmaan_admin.yaml | 6 ++++++ .../5.2/config/routes/kunstmaan_admin.yaml | 6 ++++++ kunstmaan/admin-bundle/5.2/manifest.json | 8 ++++++++ .../5.2/config/routes/kunstmaan_adminlist.yaml | 6 ++++++ kunstmaan/adminlist-bundle/5.2/manifest.json | 8 ++++++++ .../5.2/config/packages/kunstmaan_config.yaml | 4 ++++ .../5.2/config/routes/kunstmaan_config.yaml | 6 ++++++ kunstmaan/config-bundle/5.2/manifest.json | 10 ++++++++++ .../5.2/config/packages/kunstmaan_dashboard.yaml | 9 +++++++++ .../5.2/config/routes/kunstmaan_dashboard.yaml | 6 ++++++ kunstmaan/dashboard-bundle/5.2/manifest.json | 8 ++++++++ .../form-bundle/5.2/config/routes/kunstmaan_form.yaml | 6 ++++++ kunstmaan/form-bundle/5.2/manifest.json | 10 ++++++++++ .../5.2/config/routes/kunstmaan_media.yaml | 6 ++++++ kunstmaan/media-bundle/5.2/manifest.json | 10 ++++++++++ .../5.2/config/packages/kunstmaan_menu.yaml | 6 ++++++ .../menu-bundle/5.2/config/routes/kunstmaan_menu.yaml | 6 ++++++ kunstmaan/menu-bundle/5.2/manifest.json | 8 ++++++++ .../node-bundle/5.2/config/routes/kunstmaan_node.yaml | 6 ++++++ kunstmaan/node-bundle/5.2/manifest.json | 8 ++++++++ .../5.2/config/packages/kunstmaan_pagepart.yaml | 5 +++++ .../5.2/config/routes/kunstmaan_pagepart.yaml | 6 ++++++ kunstmaan/pagepart-bundle/5.2/manifest.json | 8 ++++++++ .../5.2/config/routes/kunstmaan_redirect.yaml | 6 ++++++ kunstmaan/redirect-bundle/5.2/manifest.json | 8 ++++++++ .../5.2/config/packages/kunstmaan_search.yaml | 6 ++++++ kunstmaan/search-bundle/5.2/manifest.json | 8 ++++++++ .../seo-bundle/5.2/config/routes/kunstmaan_seo.yaml | 11 +++++++++++ kunstmaan/seo-bundle/5.2/manifest.json | 8 ++++++++ .../5.2/config/routes/kunstmaan_sitemap.yaml | 6 ++++++ kunstmaan/sitemap-bundle/5.2/manifest.json | 8 ++++++++ .../5.2/config/packages/kunstmaan_translator.yaml | 4 ++++ .../5.2/config/routes/kunstmaan_translator.yaml | 6 ++++++ kunstmaan/translator-bundle/5.2/manifest.json | 8 ++++++++ .../5.2/config/routes/kunstmaan_user_management.yaml | 6 ++++++ kunstmaan/user-management-bundle/5.2/manifest.json | 8 ++++++++ 36 files changed, 255 insertions(+) create mode 100644 kunstmaan/admin-bundle/5.2/config/packages/kunstmaan_admin.yaml create mode 100644 kunstmaan/admin-bundle/5.2/config/routes/kunstmaan_admin.yaml create mode 100644 kunstmaan/admin-bundle/5.2/manifest.json create mode 100644 kunstmaan/adminlist-bundle/5.2/config/routes/kunstmaan_adminlist.yaml create mode 100644 kunstmaan/adminlist-bundle/5.2/manifest.json create mode 100644 kunstmaan/config-bundle/5.2/config/packages/kunstmaan_config.yaml create mode 100644 kunstmaan/config-bundle/5.2/config/routes/kunstmaan_config.yaml create mode 100644 kunstmaan/config-bundle/5.2/manifest.json create mode 100644 kunstmaan/dashboard-bundle/5.2/config/packages/kunstmaan_dashboard.yaml create mode 100644 kunstmaan/dashboard-bundle/5.2/config/routes/kunstmaan_dashboard.yaml create mode 100644 kunstmaan/dashboard-bundle/5.2/manifest.json create mode 100644 kunstmaan/form-bundle/5.2/config/routes/kunstmaan_form.yaml create mode 100644 kunstmaan/form-bundle/5.2/manifest.json create mode 100644 kunstmaan/media-bundle/5.2/config/routes/kunstmaan_media.yaml create mode 100644 kunstmaan/media-bundle/5.2/manifest.json create mode 100644 kunstmaan/menu-bundle/5.2/config/packages/kunstmaan_menu.yaml create mode 100644 kunstmaan/menu-bundle/5.2/config/routes/kunstmaan_menu.yaml create mode 100644 kunstmaan/menu-bundle/5.2/manifest.json create mode 100644 kunstmaan/node-bundle/5.2/config/routes/kunstmaan_node.yaml create mode 100644 kunstmaan/node-bundle/5.2/manifest.json create mode 100644 kunstmaan/pagepart-bundle/5.2/config/packages/kunstmaan_pagepart.yaml create mode 100644 kunstmaan/pagepart-bundle/5.2/config/routes/kunstmaan_pagepart.yaml create mode 100644 kunstmaan/pagepart-bundle/5.2/manifest.json create mode 100644 kunstmaan/redirect-bundle/5.2/config/routes/kunstmaan_redirect.yaml create mode 100644 kunstmaan/redirect-bundle/5.2/manifest.json create mode 100644 kunstmaan/search-bundle/5.2/config/packages/kunstmaan_search.yaml create mode 100644 kunstmaan/search-bundle/5.2/manifest.json create mode 100644 kunstmaan/seo-bundle/5.2/config/routes/kunstmaan_seo.yaml create mode 100644 kunstmaan/seo-bundle/5.2/manifest.json create mode 100644 kunstmaan/sitemap-bundle/5.2/config/routes/kunstmaan_sitemap.yaml create mode 100644 kunstmaan/sitemap-bundle/5.2/manifest.json create mode 100644 kunstmaan/translator-bundle/5.2/config/packages/kunstmaan_translator.yaml create mode 100644 kunstmaan/translator-bundle/5.2/config/routes/kunstmaan_translator.yaml create mode 100644 kunstmaan/translator-bundle/5.2/manifest.json create mode 100644 kunstmaan/user-management-bundle/5.2/config/routes/kunstmaan_user_management.yaml create mode 100644 kunstmaan/user-management-bundle/5.2/manifest.json diff --git a/kunstmaan/admin-bundle/5.2/config/packages/kunstmaan_admin.yaml b/kunstmaan/admin-bundle/5.2/config/packages/kunstmaan_admin.yaml new file mode 100644 index 00000000..ccb9fc25 --- /dev/null +++ b/kunstmaan/admin-bundle/5.2/config/packages/kunstmaan_admin.yaml @@ -0,0 +1,6 @@ +kunstmaan_admin: + multi_language: true + required_locales: nl|fr|en + default_locale: en + admin_locales: ['en'] + website_title: 'MyProject' #Rename this to your website name diff --git a/kunstmaan/admin-bundle/5.2/config/routes/kunstmaan_admin.yaml b/kunstmaan/admin-bundle/5.2/config/routes/kunstmaan_admin.yaml new file mode 100644 index 00000000..656d267c --- /dev/null +++ b/kunstmaan/admin-bundle/5.2/config/routes/kunstmaan_admin.yaml @@ -0,0 +1,6 @@ +KunstmaanAdminBundle: + resource: "@KunstmaanAdminBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/admin-bundle/5.2/manifest.json b/kunstmaan/admin-bundle/5.2/manifest.json new file mode 100644 index 00000000..eac64f53 --- /dev/null +++ b/kunstmaan/admin-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\AdminBundle\\KunstmaanAdminBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/adminlist-bundle/5.2/config/routes/kunstmaan_adminlist.yaml b/kunstmaan/adminlist-bundle/5.2/config/routes/kunstmaan_adminlist.yaml new file mode 100644 index 00000000..bbb5ee17 --- /dev/null +++ b/kunstmaan/adminlist-bundle/5.2/config/routes/kunstmaan_adminlist.yaml @@ -0,0 +1,6 @@ +KunstmaanAdminListBundle: + resource: "@KunstmaanAdminListBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/adminlist-bundle/5.2/manifest.json b/kunstmaan/adminlist-bundle/5.2/manifest.json new file mode 100644 index 00000000..a14010db --- /dev/null +++ b/kunstmaan/adminlist-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\AdminListBundle\\KunstmaanAdminListBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/config-bundle/5.2/config/packages/kunstmaan_config.yaml b/kunstmaan/config-bundle/5.2/config/packages/kunstmaan_config.yaml new file mode 100644 index 00000000..7b9ce5de --- /dev/null +++ b/kunstmaan/config-bundle/5.2/config/packages/kunstmaan_config.yaml @@ -0,0 +1,4 @@ +#kunstmaan_config: + # Add your custom config entities here +# entities: +# - \App\Entity\CustomConfigEntity diff --git a/kunstmaan/config-bundle/5.2/config/routes/kunstmaan_config.yaml b/kunstmaan/config-bundle/5.2/config/routes/kunstmaan_config.yaml new file mode 100644 index 00000000..f0362ec6 --- /dev/null +++ b/kunstmaan/config-bundle/5.2/config/routes/kunstmaan_config.yaml @@ -0,0 +1,6 @@ +KunstmaanConfigBundle: + resource: "@KunstmaanConfigBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/config-bundle/5.2/manifest.json b/kunstmaan/config-bundle/5.2/manifest.json new file mode 100644 index 00000000..84cd9856 --- /dev/null +++ b/kunstmaan/config-bundle/5.2/manifest.json @@ -0,0 +1,10 @@ +{ + "bundles": { + "Kunstmaan\\ConfigBundle\\KunstmaanConfigBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/dashboard-bundle/5.2/config/packages/kunstmaan_dashboard.yaml b/kunstmaan/dashboard-bundle/5.2/config/packages/kunstmaan_dashboard.yaml new file mode 100644 index 00000000..030a4412 --- /dev/null +++ b/kunstmaan/dashboard-bundle/5.2/config/packages/kunstmaan_dashboard.yaml @@ -0,0 +1,9 @@ +# Configurate the dashboard bundle google api parameters to enable the google widget +# More info at https://kunstmaanbundlescms.readthedocs.io/en/latest/cookbook/google-analytics-dashboard/ +#kunstmaan_dashboard: +# google_analytics: +# api: +# client_id: '' +# client_secret: '' +# dev_key: '' +# app_name: '' diff --git a/kunstmaan/dashboard-bundle/5.2/config/routes/kunstmaan_dashboard.yaml b/kunstmaan/dashboard-bundle/5.2/config/routes/kunstmaan_dashboard.yaml new file mode 100644 index 00000000..eb50f71d --- /dev/null +++ b/kunstmaan/dashboard-bundle/5.2/config/routes/kunstmaan_dashboard.yaml @@ -0,0 +1,6 @@ +KunstmaanDashboardBundle: + resource: "@KunstmaanDashboardBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/dashboard-bundle/5.2/manifest.json b/kunstmaan/dashboard-bundle/5.2/manifest.json new file mode 100644 index 00000000..5b9b1a64 --- /dev/null +++ b/kunstmaan/dashboard-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\DashboardBundle\\KunstmaanDashboardBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/form-bundle/5.2/config/routes/kunstmaan_form.yaml b/kunstmaan/form-bundle/5.2/config/routes/kunstmaan_form.yaml new file mode 100644 index 00000000..a8f0a0f2 --- /dev/null +++ b/kunstmaan/form-bundle/5.2/config/routes/kunstmaan_form.yaml @@ -0,0 +1,6 @@ +KunstmaanFormBundle: + resource: "@KunstmaanFormBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/form-bundle/5.2/manifest.json b/kunstmaan/form-bundle/5.2/manifest.json new file mode 100644 index 00000000..6414f071 --- /dev/null +++ b/kunstmaan/form-bundle/5.2/manifest.json @@ -0,0 +1,10 @@ +{ + "bundles": { + "Kunstmaan\\FormBundle\\KunstmaanFormBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/media-bundle/5.2/config/routes/kunstmaan_media.yaml b/kunstmaan/media-bundle/5.2/config/routes/kunstmaan_media.yaml new file mode 100644 index 00000000..7eb600a2 --- /dev/null +++ b/kunstmaan/media-bundle/5.2/config/routes/kunstmaan_media.yaml @@ -0,0 +1,6 @@ +KunstmaanMediaBundle: + resource: "@KunstmaanMediaBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/media-bundle/5.2/manifest.json b/kunstmaan/media-bundle/5.2/manifest.json new file mode 100644 index 00000000..af4ba0b9 --- /dev/null +++ b/kunstmaan/media-bundle/5.2/manifest.json @@ -0,0 +1,10 @@ +{ + "bundles": { + "Kunstmaan\\MediaBundle\\KunstmaanMediaBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/menu-bundle/5.2/config/packages/kunstmaan_menu.yaml b/kunstmaan/menu-bundle/5.2/config/packages/kunstmaan_menu.yaml new file mode 100644 index 00000000..b3673e49 --- /dev/null +++ b/kunstmaan/menu-bundle/5.2/config/packages/kunstmaan_menu.yaml @@ -0,0 +1,6 @@ +#kunstmaan_menu: +# menus: +# - main_navigation +# - footer_navigation +# +# This is example configuration code. You can add as many menu's as you like diff --git a/kunstmaan/menu-bundle/5.2/config/routes/kunstmaan_menu.yaml b/kunstmaan/menu-bundle/5.2/config/routes/kunstmaan_menu.yaml new file mode 100644 index 00000000..05efd489 --- /dev/null +++ b/kunstmaan/menu-bundle/5.2/config/routes/kunstmaan_menu.yaml @@ -0,0 +1,6 @@ +KunstmaanMenuBundle: + resource: "@KunstmaanMenuBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/menu-bundle/5.2/manifest.json b/kunstmaan/menu-bundle/5.2/manifest.json new file mode 100644 index 00000000..255b25aa --- /dev/null +++ b/kunstmaan/menu-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\MenuBundle\\KunstmaanMenuBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/node-bundle/5.2/config/routes/kunstmaan_node.yaml b/kunstmaan/node-bundle/5.2/config/routes/kunstmaan_node.yaml new file mode 100644 index 00000000..a91da6c7 --- /dev/null +++ b/kunstmaan/node-bundle/5.2/config/routes/kunstmaan_node.yaml @@ -0,0 +1,6 @@ +KunstmaanNodeBundle: + resource: "@KunstmaanNodeBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/node-bundle/5.2/manifest.json b/kunstmaan/node-bundle/5.2/manifest.json new file mode 100644 index 00000000..a3f1c8b8 --- /dev/null +++ b/kunstmaan/node-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\NodeBundle\\KunstmaanNodeBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/pagepart-bundle/5.2/config/packages/kunstmaan_pagepart.yaml b/kunstmaan/pagepart-bundle/5.2/config/packages/kunstmaan_pagepart.yaml new file mode 100644 index 00000000..dc9b4560 --- /dev/null +++ b/kunstmaan/pagepart-bundle/5.2/config/packages/kunstmaan_pagepart.yaml @@ -0,0 +1,5 @@ +imports: + - { resource: '../kunstmaancms/**/*.yml', ignore_errors: true} + +kunstmaan_page_part: + extended_pagepart_chooser: true diff --git a/kunstmaan/pagepart-bundle/5.2/config/routes/kunstmaan_pagepart.yaml b/kunstmaan/pagepart-bundle/5.2/config/routes/kunstmaan_pagepart.yaml new file mode 100644 index 00000000..9637a7fa --- /dev/null +++ b/kunstmaan/pagepart-bundle/5.2/config/routes/kunstmaan_pagepart.yaml @@ -0,0 +1,6 @@ +KunstmaanPagePartBundle: + resource: "@KunstmaanPagePartBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/pagepart-bundle/5.2/manifest.json b/kunstmaan/pagepart-bundle/5.2/manifest.json new file mode 100644 index 00000000..fd7de066 --- /dev/null +++ b/kunstmaan/pagepart-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\PagePartBundle\\KunstmaanPagePartBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/redirect-bundle/5.2/config/routes/kunstmaan_redirect.yaml b/kunstmaan/redirect-bundle/5.2/config/routes/kunstmaan_redirect.yaml new file mode 100644 index 00000000..89b9a7b7 --- /dev/null +++ b/kunstmaan/redirect-bundle/5.2/config/routes/kunstmaan_redirect.yaml @@ -0,0 +1,6 @@ +KunstmaanRedirectBundle: + resource: "@KunstmaanRedirectBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/redirect-bundle/5.2/manifest.json b/kunstmaan/redirect-bundle/5.2/manifest.json new file mode 100644 index 00000000..007bd1b5 --- /dev/null +++ b/kunstmaan/redirect-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\RedirectBundle\\KunstmaanRedirectBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/search-bundle/5.2/config/packages/kunstmaan_search.yaml b/kunstmaan/search-bundle/5.2/config/packages/kunstmaan_search.yaml new file mode 100644 index 00000000..6e83e67d --- /dev/null +++ b/kunstmaan/search-bundle/5.2/config/packages/kunstmaan_search.yaml @@ -0,0 +1,6 @@ +kunstmaan_search: + connection: + driver: elastic_search + host: localhost + port: 9200 + index_prefix: myproject # Change this prefix to you liking. Maybe the name of your project diff --git a/kunstmaan/search-bundle/5.2/manifest.json b/kunstmaan/search-bundle/5.2/manifest.json new file mode 100644 index 00000000..be438937 --- /dev/null +++ b/kunstmaan/search-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\SearchBundle\\KunstmaanSearchBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/seo-bundle/5.2/config/routes/kunstmaan_seo.yaml b/kunstmaan/seo-bundle/5.2/config/routes/kunstmaan_seo.yaml new file mode 100644 index 00000000..fdfc7b59 --- /dev/null +++ b/kunstmaan/seo-bundle/5.2/config/routes/kunstmaan_seo.yaml @@ -0,0 +1,11 @@ +KunstmaanSeoBundle: + resource: "@KunstmaanSeoBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" + +# Robots.txt +KunstmaanSeoBundle_robots: + resource: "@KunstmaanSeoBundle/Controller/RobotsController.php" + type: annotation diff --git a/kunstmaan/seo-bundle/5.2/manifest.json b/kunstmaan/seo-bundle/5.2/manifest.json new file mode 100644 index 00000000..78f15039 --- /dev/null +++ b/kunstmaan/seo-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\SeoBundle\\KunstmaanSeoBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/sitemap-bundle/5.2/config/routes/kunstmaan_sitemap.yaml b/kunstmaan/sitemap-bundle/5.2/config/routes/kunstmaan_sitemap.yaml new file mode 100644 index 00000000..597f3754 --- /dev/null +++ b/kunstmaan/sitemap-bundle/5.2/config/routes/kunstmaan_sitemap.yaml @@ -0,0 +1,6 @@ +KunstmaanSitemapBundle: + resource: "@KunstmaanSitemapBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements + prefix: / + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/sitemap-bundle/5.2/manifest.json b/kunstmaan/sitemap-bundle/5.2/manifest.json new file mode 100644 index 00000000..1d0f7967 --- /dev/null +++ b/kunstmaan/sitemap-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\SitemapBundle\\KunstmaanSitemapBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/translator-bundle/5.2/config/packages/kunstmaan_translator.yaml b/kunstmaan/translator-bundle/5.2/config/packages/kunstmaan_translator.yaml new file mode 100644 index 00000000..69c800dc --- /dev/null +++ b/kunstmaan/translator-bundle/5.2/config/packages/kunstmaan_translator.yaml @@ -0,0 +1,4 @@ +kunstmaan_translator: + enabled: true + # Add your preferred locales here + managed_locales: ['nl', 'en', 'de', 'fr'] diff --git a/kunstmaan/translator-bundle/5.2/config/routes/kunstmaan_translator.yaml b/kunstmaan/translator-bundle/5.2/config/routes/kunstmaan_translator.yaml new file mode 100644 index 00000000..bf90b558 --- /dev/null +++ b/kunstmaan/translator-bundle/5.2/config/routes/kunstmaan_translator.yaml @@ -0,0 +1,6 @@ +KunstmaanTranslatorBundle: + resource: "@KunstmaanTranslatorBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/translator-bundle/5.2/manifest.json b/kunstmaan/translator-bundle/5.2/manifest.json new file mode 100644 index 00000000..a4f2f5ac --- /dev/null +++ b/kunstmaan/translator-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\TranslatorBundle\\KunstmaanTranslatorBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/kunstmaan/user-management-bundle/5.2/config/routes/kunstmaan_user_management.yaml b/kunstmaan/user-management-bundle/5.2/config/routes/kunstmaan_user_management.yaml new file mode 100644 index 00000000..7f598391 --- /dev/null +++ b/kunstmaan/user-management-bundle/5.2/config/routes/kunstmaan_user_management.yaml @@ -0,0 +1,6 @@ +KunstmaanUserManagementBundle: + resource: "@KunstmaanUserManagementBundle/Resources/config/routing.yml" + # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements + prefix: /{_locale}/ + requirements: + _locale: "%requiredlocales%" diff --git a/kunstmaan/user-management-bundle/5.2/manifest.json b/kunstmaan/user-management-bundle/5.2/manifest.json new file mode 100644 index 00000000..0be91eed --- /dev/null +++ b/kunstmaan/user-management-bundle/5.2/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Kunstmaan\\UserManagementBundle\\KunstmaanUserManagementBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From 204ac7ed557c74d7fdb4262e63d5e4759771c056 Mon Sep 17 00:00:00 2001 From: Ruud Denivel Date: Mon, 18 Mar 2019 09:46:44 +0100 Subject: [PATCH 2/3] Added env vars for dashboard recipe --- .../5.2/config/packages/kunstmaan_dashboard.yaml | 14 +++++++------- kunstmaan/dashboard-bundle/5.2/manifest.json | 6 ++++++ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/kunstmaan/dashboard-bundle/5.2/config/packages/kunstmaan_dashboard.yaml b/kunstmaan/dashboard-bundle/5.2/config/packages/kunstmaan_dashboard.yaml index 030a4412..cb143b34 100644 --- a/kunstmaan/dashboard-bundle/5.2/config/packages/kunstmaan_dashboard.yaml +++ b/kunstmaan/dashboard-bundle/5.2/config/packages/kunstmaan_dashboard.yaml @@ -1,9 +1,9 @@ # Configurate the dashboard bundle google api parameters to enable the google widget # More info at https://kunstmaanbundlescms.readthedocs.io/en/latest/cookbook/google-analytics-dashboard/ -#kunstmaan_dashboard: -# google_analytics: -# api: -# client_id: '' -# client_secret: '' -# dev_key: '' -# app_name: '' +kunstmaan_dashboard: + google_analytics: + api: + client_id: '%env(GOOGLE_API_CLIENT_ID)%' + client_secret: '%env(GOOGLE_API_CLIENT_SECRET)%' + dev_key: '%env(GOOGLE_API_DEV_KEY)%' + app_name: '%env(GOOGLE_API_APP_NAME)%' diff --git a/kunstmaan/dashboard-bundle/5.2/manifest.json b/kunstmaan/dashboard-bundle/5.2/manifest.json index 5b9b1a64..380b622c 100644 --- a/kunstmaan/dashboard-bundle/5.2/manifest.json +++ b/kunstmaan/dashboard-bundle/5.2/manifest.json @@ -4,5 +4,11 @@ }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/" + }, + "env": { + "GOOGLE_API_CLIENT_ID": "client_id", + "GOOGLE_API_CLIENT_SECRET": "secret", + "GOOGLE_API_DEV_KEY": "dev_key", + "GOOGLE_API_APP_NAME": "MyDevApp" } } From 6588fa237d18861b3ed8dd29008f917852321257 Mon Sep 17 00:00:00 2001 From: Ruud Denivel Date: Mon, 18 Mar 2019 10:02:12 +0100 Subject: [PATCH 3/3] change locales param to the official kunstmaan_admin.required_locales --- kunstmaan/admin-bundle/5.2/config/routes/kunstmaan_admin.yaml | 2 +- .../adminlist-bundle/5.2/config/routes/kunstmaan_adminlist.yaml | 2 +- kunstmaan/config-bundle/5.2/config/routes/kunstmaan_config.yaml | 2 +- .../dashboard-bundle/5.2/config/routes/kunstmaan_dashboard.yaml | 2 +- kunstmaan/form-bundle/5.2/config/routes/kunstmaan_form.yaml | 2 +- kunstmaan/media-bundle/5.2/config/routes/kunstmaan_media.yaml | 2 +- kunstmaan/menu-bundle/5.2/config/routes/kunstmaan_menu.yaml | 2 +- kunstmaan/node-bundle/5.2/config/routes/kunstmaan_node.yaml | 2 +- .../pagepart-bundle/5.2/config/routes/kunstmaan_pagepart.yaml | 2 +- .../redirect-bundle/5.2/config/routes/kunstmaan_redirect.yaml | 2 +- kunstmaan/seo-bundle/5.2/config/routes/kunstmaan_seo.yaml | 2 +- .../sitemap-bundle/5.2/config/routes/kunstmaan_sitemap.yaml | 2 +- .../5.2/config/routes/kunstmaan_translator.yaml | 2 +- .../5.2/config/routes/kunstmaan_user_management.yaml | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/kunstmaan/admin-bundle/5.2/config/routes/kunstmaan_admin.yaml b/kunstmaan/admin-bundle/5.2/config/routes/kunstmaan_admin.yaml index 656d267c..5831b65b 100644 --- a/kunstmaan/admin-bundle/5.2/config/routes/kunstmaan_admin.yaml +++ b/kunstmaan/admin-bundle/5.2/config/routes/kunstmaan_admin.yaml @@ -3,4 +3,4 @@ KunstmaanAdminBundle: # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/adminlist-bundle/5.2/config/routes/kunstmaan_adminlist.yaml b/kunstmaan/adminlist-bundle/5.2/config/routes/kunstmaan_adminlist.yaml index bbb5ee17..246ae4b7 100644 --- a/kunstmaan/adminlist-bundle/5.2/config/routes/kunstmaan_adminlist.yaml +++ b/kunstmaan/adminlist-bundle/5.2/config/routes/kunstmaan_adminlist.yaml @@ -3,4 +3,4 @@ KunstmaanAdminListBundle: # If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/config-bundle/5.2/config/routes/kunstmaan_config.yaml b/kunstmaan/config-bundle/5.2/config/routes/kunstmaan_config.yaml index f0362ec6..02c3d54d 100644 --- a/kunstmaan/config-bundle/5.2/config/routes/kunstmaan_config.yaml +++ b/kunstmaan/config-bundle/5.2/config/routes/kunstmaan_config.yaml @@ -3,4 +3,4 @@ KunstmaanConfigBundle: # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/dashboard-bundle/5.2/config/routes/kunstmaan_dashboard.yaml b/kunstmaan/dashboard-bundle/5.2/config/routes/kunstmaan_dashboard.yaml index eb50f71d..744a1ccf 100644 --- a/kunstmaan/dashboard-bundle/5.2/config/routes/kunstmaan_dashboard.yaml +++ b/kunstmaan/dashboard-bundle/5.2/config/routes/kunstmaan_dashboard.yaml @@ -3,4 +3,4 @@ KunstmaanDashboardBundle: # If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/form-bundle/5.2/config/routes/kunstmaan_form.yaml b/kunstmaan/form-bundle/5.2/config/routes/kunstmaan_form.yaml index a8f0a0f2..d8ae2353 100644 --- a/kunstmaan/form-bundle/5.2/config/routes/kunstmaan_form.yaml +++ b/kunstmaan/form-bundle/5.2/config/routes/kunstmaan_form.yaml @@ -3,4 +3,4 @@ KunstmaanFormBundle: # If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/media-bundle/5.2/config/routes/kunstmaan_media.yaml b/kunstmaan/media-bundle/5.2/config/routes/kunstmaan_media.yaml index 7eb600a2..2bd26be0 100644 --- a/kunstmaan/media-bundle/5.2/config/routes/kunstmaan_media.yaml +++ b/kunstmaan/media-bundle/5.2/config/routes/kunstmaan_media.yaml @@ -3,4 +3,4 @@ KunstmaanMediaBundle: # If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/menu-bundle/5.2/config/routes/kunstmaan_menu.yaml b/kunstmaan/menu-bundle/5.2/config/routes/kunstmaan_menu.yaml index 05efd489..2b1973f1 100644 --- a/kunstmaan/menu-bundle/5.2/config/routes/kunstmaan_menu.yaml +++ b/kunstmaan/menu-bundle/5.2/config/routes/kunstmaan_menu.yaml @@ -3,4 +3,4 @@ KunstmaanMenuBundle: # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/node-bundle/5.2/config/routes/kunstmaan_node.yaml b/kunstmaan/node-bundle/5.2/config/routes/kunstmaan_node.yaml index a91da6c7..a2c24de3 100644 --- a/kunstmaan/node-bundle/5.2/config/routes/kunstmaan_node.yaml +++ b/kunstmaan/node-bundle/5.2/config/routes/kunstmaan_node.yaml @@ -3,4 +3,4 @@ KunstmaanNodeBundle: # If your site is not multi language, remove the "{_locale}/" part of the prefix and the requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/pagepart-bundle/5.2/config/routes/kunstmaan_pagepart.yaml b/kunstmaan/pagepart-bundle/5.2/config/routes/kunstmaan_pagepart.yaml index 9637a7fa..dbc2b575 100644 --- a/kunstmaan/pagepart-bundle/5.2/config/routes/kunstmaan_pagepart.yaml +++ b/kunstmaan/pagepart-bundle/5.2/config/routes/kunstmaan_pagepart.yaml @@ -3,4 +3,4 @@ KunstmaanPagePartBundle: # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/redirect-bundle/5.2/config/routes/kunstmaan_redirect.yaml b/kunstmaan/redirect-bundle/5.2/config/routes/kunstmaan_redirect.yaml index 89b9a7b7..33aa2e3f 100644 --- a/kunstmaan/redirect-bundle/5.2/config/routes/kunstmaan_redirect.yaml +++ b/kunstmaan/redirect-bundle/5.2/config/routes/kunstmaan_redirect.yaml @@ -3,4 +3,4 @@ KunstmaanRedirectBundle: # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/seo-bundle/5.2/config/routes/kunstmaan_seo.yaml b/kunstmaan/seo-bundle/5.2/config/routes/kunstmaan_seo.yaml index fdfc7b59..de7b0d7f 100644 --- a/kunstmaan/seo-bundle/5.2/config/routes/kunstmaan_seo.yaml +++ b/kunstmaan/seo-bundle/5.2/config/routes/kunstmaan_seo.yaml @@ -3,7 +3,7 @@ KunstmaanSeoBundle: # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" # Robots.txt KunstmaanSeoBundle_robots: diff --git a/kunstmaan/sitemap-bundle/5.2/config/routes/kunstmaan_sitemap.yaml b/kunstmaan/sitemap-bundle/5.2/config/routes/kunstmaan_sitemap.yaml index 597f3754..c4c5c7ed 100644 --- a/kunstmaan/sitemap-bundle/5.2/config/routes/kunstmaan_sitemap.yaml +++ b/kunstmaan/sitemap-bundle/5.2/config/routes/kunstmaan_sitemap.yaml @@ -3,4 +3,4 @@ KunstmaanSitemapBundle: # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements prefix: / requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/translator-bundle/5.2/config/routes/kunstmaan_translator.yaml b/kunstmaan/translator-bundle/5.2/config/routes/kunstmaan_translator.yaml index bf90b558..cfc7d77f 100644 --- a/kunstmaan/translator-bundle/5.2/config/routes/kunstmaan_translator.yaml +++ b/kunstmaan/translator-bundle/5.2/config/routes/kunstmaan_translator.yaml @@ -3,4 +3,4 @@ KunstmaanTranslatorBundle: # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%" diff --git a/kunstmaan/user-management-bundle/5.2/config/routes/kunstmaan_user_management.yaml b/kunstmaan/user-management-bundle/5.2/config/routes/kunstmaan_user_management.yaml index 7f598391..b5c10bf4 100644 --- a/kunstmaan/user-management-bundle/5.2/config/routes/kunstmaan_user_management.yaml +++ b/kunstmaan/user-management-bundle/5.2/config/routes/kunstmaan_user_management.yaml @@ -3,4 +3,4 @@ KunstmaanUserManagementBundle: # If your site is not multi language, remove the "{_locale}/" part of prefix and requirements prefix: /{_locale}/ requirements: - _locale: "%requiredlocales%" + _locale: "%kunstmaan_admin.required_locales%"