Commit Graph
10 Commits
Author SHA1 Message Date
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