- 28 Aug, 2012 1 commit
-
-
Frédéric Hardy authored
If you don't add the slash, you can have the error `Request exceeded the limit of 10 subrequest nesting levels due to probable confguration error.` when the requested URL is, for example, /foo/bar.
-
- 23 Aug, 2012 4 commits
-
-
Fabien Potencier authored
Commits ------- f1906e07 [doc] /{locale} -> /{_locale} Discussion ---------- [docs] /{locale} -> /{_locale}
-
Fabien Potencier authored
Commits ------- 9cf4b598 [FormServiceProvider] clarified doc Discussion ---------- clarified doc about FormServiceProvider
-
Benoît Merlet authored
-
Gilles Doge authored
-
- 08 Aug, 2012 2 commits
-
-
Fabien Potencier authored
Commits ------- a9da5bbc Fixed missing use statement in Forwards example Discussion ---------- Fixed missing use statement in Forwards example The example provided in the Forwards section didn't work for me as presented. I added a use statement to the example to make it clearer.
-
Shaun Kiernan authored
The example provided in the Forwards section didn't work for me as presented. I added a use statement to the example to make it clearer.
-
- 04 Aug, 2012 1 commit
-
-
Fabien Potencier authored
-
- 03 Aug, 2012 2 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
Commits ------- 1981d132 Updated FormServiceProvider documentation to not use the deprecated `bindRequest` method a12b0cc4 Add HttpFoundationExtension to FormServiceProvider. Discussion ---------- Add HttpFoundationExtension to FormServiceProvider. This closes all of the issues with `$form->bind($request)` does not work issues. --------------------------------------------------------------------------- by stof at 2012-08-01T22:56:23Z this fixes #457 --------------------------------------------------------------------------- by thomasjbradley at 2012-08-02T15:45:47Z I'd love to have this merged soon. I've been recording a bunch of screen casts for my students and this bug is kinda a show-stopper. Thanks! --------------------------------------------------------------------------- by alexandresalome at 2012-08-02T15:55:27Z If you're in a hurry: cd /path/to/your/project cd vendor/silex/silex git remote add henrikbjorn https://github.com/henrikbjorn/Silex.git git fetch henrikbjorn git checkout henrikbjorn/form-httpfoundation This will do the job temporarly --------------------------------------------------------------------------- by bradlet at 2012-08-02T15:58:38Z Thanks so much; I really appreciate it! --------------------------------------------------------------------------- by bradlet at 2012-08-02T16:16:58Z I'm a little confused. This update breaks form validation using the constraints array option, like in the Silex docs: ```php <?php $form = $app['form.factory']->createBuilder('form') ->add('name', 'text', array( 'constraints' => array(new Assert\NotBlank(), new Assert\MinLength(5)) )) ``` It throws a `Symfony\Component\OptionsResolver\Exception\InvalidOptionsException`. Is this something that is no longer allowed within Silex? Do we need to now make classes like in the Symfony Forms component documentation?
-
- 02 Aug, 2012 1 commit
-
-
Henrik Bjørnskov authored
-
- 01 Aug, 2012 1 commit
-
-
Henrik Bjørnskov authored
This closes all of the issues with `$form->bind($request)` does not work issues.
-
- 31 Jul, 2012 3 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 30 Jul, 2012 2 commits
-
-
Fabien Potencier authored
Commits ------- f6854bcb type uppercase Y Discussion ---------- type uppercase Y
-
Luis Cordova authored
-
- 25 Jul, 2012 2 commits
-
-
Fabien Potencier authored
Commits ------- c5431978 Add SecurityServiceProvider to list of included providers Discussion ---------- Add SecurityServiceProvider to list of included providers
-
Igor Wiedler authored
-
- 22 Jul, 2012 2 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 20 Jul, 2012 1 commit
-
-
Fabien Potencier authored
Commits ------- 54045936 Fix typo Discussion ---------- Fix typo
-
- 19 Jul, 2012 1 commit
-
-
Adel authored
-
- 18 Jul, 2012 2 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 15 Jul, 2012 6 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 13 Jul, 2012 7 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
Commits ------- a7c1baee Fixed typos Discussion ---------- Fixed typos
-
Pascal Borreli authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
Commits ------- f618014e Remove use of the `use` in closure Discussion ---------- Remove use of the `use` in closure See https://github.com/fabpot/Pimple/blob/master/lib/Pimple.php#L81 : Pimple give to the closure (as first argument) the container/application, so we do not need to use `use($app)`. Note : * I did not test on php 5.4. But tests are OK on 5.3 * I think it is cleaner to use php default arguments than the use of `use` * I fixed the CS : `function()` -> `function ()` (added a space before `(`)
-
Grégoire Pineau authored
See https://github.com/fabpot/Pimple/blob/master/lib/Pimple.php#L81 : Pimple give to the closure (as first argument) the container/application, so we do not need to use `use($app)`.
-
- 12 Jul, 2012 1 commit
-
-
Fabien Potencier authored
-
- 11 Jul, 2012 1 commit
-
-
Fabien Potencier authored
Commits ------- 5fc0a7fe fastcgi_pass requires unix: prefix when using a socket Discussion ---------- fastcgi_pass requires unix: prefix when using a socket This is the case on my system at any rate. Possible that it is not required in all cases or newer/older versions of nginx?
-