From b12d0db4f6d8130f50a4e0df38bf1e0eca2ef75a Mon Sep 17 00:00:00 2001 From: "github-action[bot]" <> Date: Wed, 20 Nov 2024 12:19:04 +0000 Subject: [PATCH] Update Flex endpoint --- RECIPES.md | 1 + ...6a6723f4a623f59e2bf966b6aad2fc461d36b.json | 31 +++++++++++++++++++ index.json | 3 ++ symfony.form.7.2.json | 31 +++++++++++++++++++ symfony.framework-bundle.7.2.json | 7 +---- 5 files changed, 67 insertions(+), 6 deletions(-) create mode 100644 archived/symfony.form/7d86a6723f4a623f59e2bf966b6aad2fc461d36b.json create mode 100644 symfony.form.7.2.json diff --git a/RECIPES.md b/RECIPES.md index b798d9af..242dcfe9 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -54,6 +54,7 @@ Additional recipes can be found on the [Contrib Recipes Repository](https://gith | [symfony/fake-sms-notifier](https://packagist.org/packages/symfony/fake-sms-notifier) | [5.3](symfony/fake-sms-notifier/5.3) | `fake-sms-notifier`, `fakesmsnotifier` | | [symfony/firebase-notifier](https://packagist.org/packages/symfony/firebase-notifier) | [5.1](symfony/firebase-notifier/5.1) | `firebase-notifier`, `firebasenotifier` | | [symfony/flex](https://packagist.org/packages/symfony/flex) | [1.0](symfony/flex/1.0) | `flex` | +| [symfony/form](https://packagist.org/packages/symfony/form) | [7.2](symfony/form/7.2) | `form` | | [symfony/forty-six-elks-notifier](https://packagist.org/packages/symfony/forty-six-elks-notifier) | [6.1](symfony/forty-six-elks-notifier/6.1) | `forty-six-elks-notifier`, `fortysixelksnotifier` | | [symfony/framework-bundle](https://packagist.org/packages/symfony/framework-bundle) | [7.2](symfony/framework-bundle/7.2) | `framework-bundle`, `frameworkbundle` | | [symfony/free-mobile-notifier](https://packagist.org/packages/symfony/free-mobile-notifier) | [5.1](symfony/free-mobile-notifier/5.1) | `free-mobile-notifier`, `freemobilenotifier` | diff --git a/archived/symfony.form/7d86a6723f4a623f59e2bf966b6aad2fc461d36b.json b/archived/symfony.form/7d86a6723f4a623f59e2bf966b6aad2fc461d36b.json new file mode 100644 index 00000000..4789fc14 --- /dev/null +++ b/archived/symfony.form/7d86a6723f4a623f59e2bf966b6aad2fc461d36b.json @@ -0,0 +1,31 @@ +{ + "manifests": { + "symfony/form": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } + }, + "files": { + "config/packages/csrf.yaml": { + "contents": [ + "# Enable stateless CSRF protection for forms and logins/logouts", + "framework:", + " form:", + " csrf_protection:", + " token_id: submit", + "", + " csrf_protection:", + " stateless_token_ids:", + " - submit", + " - authenticate", + " - logout", + "" + ], + "executable": false + } + }, + "ref": "7d86a6723f4a623f59e2bf966b6aad2fc461d36b" + } + } +} diff --git a/index.json b/index.json index 5413dd8d..a97c6c99 100644 --- a/index.json +++ b/index.json @@ -702,6 +702,9 @@ "symfony/flex": [ "1.0" ], + "symfony/form": [ + "7.2" + ], "symfony/forty-six-elks-notifier": [ "6.1" ], diff --git a/symfony.form.7.2.json b/symfony.form.7.2.json new file mode 100644 index 00000000..4789fc14 --- /dev/null +++ b/symfony.form.7.2.json @@ -0,0 +1,31 @@ +{ + "manifests": { + "symfony/form": { + "manifest": { + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } + }, + "files": { + "config/packages/csrf.yaml": { + "contents": [ + "# Enable stateless CSRF protection for forms and logins/logouts", + "framework:", + " form:", + " csrf_protection:", + " token_id: submit", + "", + " csrf_protection:", + " stateless_token_ids:", + " - submit", + " - authenticate", + " - logout", + "" + ], + "executable": false + } + }, + "ref": "7d86a6723f4a623f59e2bf966b6aad2fc461d36b" + } + } +} diff --git a/symfony.framework-bundle.7.2.json b/symfony.framework-bundle.7.2.json index 4e151e87..f18e9496 100644 --- a/symfony.framework-bundle.7.2.json +++ b/symfony.framework-bundle.7.2.json @@ -81,11 +81,6 @@ " #esi: true", " #fragments: true", "", - " # Enable stateless CSRF protection for forms and logins/logouts", - " form: { csrf_protection: { token_id: submit } }", - " csrf_protection:", - " stateless_token_ids: [submit, authenticate, logout]", - "", "when@test:", " framework:", " test: true", @@ -185,7 +180,7 @@ "executable": false } }, - "ref": "eac198b53dabc891aa5c2d93e35d86e4c217a40b" + "ref": "87bcf6f7c55201f345d8895deda46d2adbdbaa89" } } }