diff --git a/sulu/form-bundle/3.0/config/packages/sulu_form.yaml b/sulu/form-bundle/3.0/config/packages/sulu_form.yaml new file mode 100644 index 00000000..8f606ed8 --- /dev/null +++ b/sulu/form-bundle/3.0/config/packages/sulu_form.yaml @@ -0,0 +1,8 @@ +sulu_form: +# csrf_protection: true # requires additional changes see: https://github.com/sulu/SuluFormBundle/blob/3.0/Resources/doc/csrf.md + mail: + from: "%env(SULU_ADMIN_EMAIL)%" + to: "%env(SULU_ADMIN_EMAIL)%" + sender: "%env(SULU_ADMIN_EMAIL)%" + media: + protected: true diff --git a/sulu/form-bundle/3.0/config/routes/sulu_form_admin.yaml b/sulu/form-bundle/3.0/config/routes/sulu_form_admin.yaml new file mode 100644 index 00000000..3df594dc --- /dev/null +++ b/sulu/form-bundle/3.0/config/routes/sulu_form_admin.yaml @@ -0,0 +1,3 @@ +sulu_form_api: + resource: "@SuluFormBundle/Resources/config/routing_api.yaml" + prefix: /admin/api diff --git a/sulu/form-bundle/3.0/manifest.json b/sulu/form-bundle/3.0/manifest.json new file mode 100644 index 00000000..ad6597fe --- /dev/null +++ b/sulu/form-bundle/3.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Sulu\\Bundle\\FormBundle\\SuluFormBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/sulu/form-bundle/3.0/post-install.txt b/sulu/form-bundle/3.0/post-install.txt new file mode 100644 index 00000000..10833fd0 --- /dev/null +++ b/sulu/form-bundle/3.0/post-install.txt @@ -0,0 +1,7 @@ + * The SuluFormBundle is almost ready: + 1. Print the sql statements required to update your database schema by running php bin/console doctrine:schema:update --dump-sql. + 2. If the statements look fine to you, run the same command using --force to execute them. + 3. Make sure your user has all the necessary permissions for the SuluFormBundle. + 4. Use bin/console sulu:form:generate-form to create a dummy form. + + * Read the documentation at https://github.com/sulu/SuluFormBundle/blob/3.0/Resources/doc/index.md