Commit Graph
16 Commits
Author SHA1 Message Date
Nicolas Grekas 266f98b871 Convert add-lines.content to arrays 2026-03-31 13:35:15 +02:00
Nicolas GrekasandGitHub c72eca54ac Fix stimulus-bundle recipe (#1468) 2025-11-04 13:42:13 +01:00
Tim KornandGitHub da316858b0 Add a remark to submit-eventListener (#1418) 2025-11-04 12:01:55 +01:00
Thomas LandauerandGitHub c017382f3b Renaming bootstap.js to stimulus_bootstrap.js (#1399) 2025-11-04 12:00:39 +01:00
Marcos Gómez VilchesandGitHub dd489df577 fix: [LiveComponent] CSRF token not valid after form second submit
Fix the “invalid CSRF token” error when working with live-components and submitting a form a second time, for example if a server-side validation fails and the form is re-rendered.
2025-08-20 11:54:48 +02:00
Craig HeydenburgandGitHub 061f8015e8 remove "useless" escape (#1436)
closes https://github.com/symfony/symfony/issues/60983
2025-07-08 16:58:35 +02:00
Alexander HofbauerandGitHub 2d8f656159 [stimulus-bundle] Fix broken CSRF header generation with Turbo forms (#1377) 2025-01-23 12:15:16 +01:00
Hubert LECORCHEandGitHub 452e626976 [stimulus-bundle] Export CSRF protection helpers (#1375) 2025-01-23 09:45:42 +01:00
Simon AndréandGitHub 84862d352c Dispatch event on CSRF form field value change (#1376)
This allow support / compatibility with LiveComponent when action are done between form first render and submit 

(ex: another form submit with Turbo and double header check)

See https://github.com/symfony/ux/issues/2505
2025-01-20 08:44:45 +01:00
Nicolas GrekasandGitHub a98652006b [stimulus-bundle] Match name="_csrf_token" when looking for CSRF fields (#1373) 2025-01-15 15:29:42 +01:00
Nicolas Grekas b14ca0650c [stimulus-bundle] Use defaultValue to change the value of hidden CSRF fields 2025-01-06 09:38:30 +01:00
Nicolas Grekas 21a9094ea7 Enable stateless CSRF protection for forms, logins and logouts 2024-10-12 09:32:38 +02:00
Ryan WeaverandGitHub 1af997dc16 [StimulusBundle] Removing ux_controller_link_tags() (#1262) 2024-01-01 22:06:26 +01:00
Ryan Weaver 11c156d2b4 Adding missing requires for asset-mapper only feature 2023-05-28 20:35:14 -04:00
Ryan Weaver c006df73c6 Adding a fake 2.8 StimulusBundle recipe so that you always at least get the bundle installed
Even if you can't execute the 2.9 recipe due to the "conflicts" inside.
2023-05-28 20:35:07 -04:00
Ryan WeaverandGitHub c590fdaa8e Adding new recipes for Encore, Stimulus & AssetMapper (#1202)
* Adding new recipes for Encore, Stimulus & AssetMapper

* StimulusBundle 1.0 -> 2.9

* updating namespace

* moving encore recipe changes to 2.0

* conflict with older version of flex

* adding ux_controller_link_tags() to recipe

* adding documentation to importmap

* updating message to match core

* Adding ux translator

* fixing translations path

* Documenting the new add-lines configurator

* Fixing translator initial version

* shorten to just var

* remove ux alias - there is no one package to install UX packages currently

* fixing wrong package name
2023-05-27 01:35:12 +02:00