1. 17 Feb, 2012 1 commit
  2. 16 Feb, 2012 1 commit
  3. 08 Feb, 2012 1 commit
  4. 04 Feb, 2012 6 commits
    • Fabien Potencier's avatar
      fixed typo · e002b5f0
      Fabien Potencier authored
      e002b5f0
    • Fabien Potencier's avatar
      added the cookbook to the index page · 0923a6c8
      Fabien Potencier authored
      0923a6c8
    • Fabien Potencier's avatar
      fixed CS · 1b6cf0e5
      Fabien Potencier authored
      1b6cf0e5
    • Fabien Potencier's avatar
      merged branch igorw/cookbook (PR #238) · bb2469de
      Fabien Potencier authored
      Commits
      -------
      
      9289dad7 [cookbook] implement some suggestions
      9c04345d [cookbook] initial recipe for accepting a JSON request body
      
      Discussion
      ----------
      
      [cookbook] initial recipe for accepting a JSON request body
      
      ---------------------------------------------------------------------------
      
      by igorw at 2012-01-17T13:24:48Z
      
      I implemented your suggestions.
      bb2469de
    • Fabien Potencier's avatar
      updated vendors · 6131991b
      Fabien Potencier authored
      6131991b
    • Fabien Potencier's avatar
      merged branch brtriver/twig-service-provider-bug (PR #245) · 3a3fc890
      Fabien Potencier authored
      Commits
      -------
      
      4453e9fc fixed for the latest TwigFormExtension
      
      Discussion
      ----------
      
      fixed for the latest TwigFormExtension
      
      Now TwigFormExtension requires CsrfProviderInterface as the first arg but there is no arg for this in TwigServiceProvider, so it occurs the error below:
      
      > Catchable fatal error: Argument 1 passed to Symfony\Bridge\Twig\Extension\FormExtension::__construct() must implement interface Symfony\Component\Form\Extension\Csrf\CsrfProvider\CsrfProviderInterface, array given
      
      then I set `$app['form.csrf_provider']` as the first arg.
      3a3fc890
  5. 24 Jan, 2012 1 commit
  6. 21 Jan, 2012 4 commits
    • Fabien Potencier's avatar
      merged branch loalf/validator-tests (PR #230) · 9ac208d4
      Fabien Potencier authored
      Commits
      -------
      
      8d9bb8fb Added tests for Validator Provider
      291bac8d Added Validator Component as submodule
      
      Discussion
      ----------
      
      Added tests for Validator Provider
      
      I also had to add the Validator Component as a submodule
      9ac208d4
    • Fabien Potencier's avatar
      merged branch shieldo/patch-1 (PR #232) · e9b5d444
      Fabien Potencier authored
      Commits
      -------
      
      90f24072 added mention of SymfonyBridgesServiceProvider to example of using path() Twig function
      
      Discussion
      ----------
      
      added mention of SymfonyBridgesServiceProvider to example of using path Twig function
      
      I just spent an hour trying to figure out why using path() in Twig when using Silex wasn't working.  Turns out I hadn't included the SymfonyBridgesServiceProvider, which isn't mentioned in this piece of documentation.
      
      I don't know if this makes the comment too verbose, but if it saves someone else wasting time it'll be worth it.
      e9b5d444
    • Fabien Potencier's avatar
      merged branch tacker/patch-1 (PR #236) · 3d03340e
      Fabien Potencier authored
      Commits
      -------
      
      80c96c85 Added link to protected closure section. See #235.
      
      Discussion
      ----------
      
      Added link to protected closure section. See #235.
      3d03340e
    • Fabien Potencier's avatar
      merged branch jdreesen/patch-1 (PR #237) · 4f286d02
      Fabien Potencier authored
      Commits
      -------
      
      16599fbc fixed link to SwiftmailerServiceProvider doc
      
      Discussion
      ----------
      
      Fixed link to SwiftmailerServiceProvider doc
      4f286d02
  7. 19 Jan, 2012 1 commit
  8. 17 Jan, 2012 3 commits
  9. 13 Jan, 2012 5 commits
  10. 12 Jan, 2012 1 commit
  11. 10 Jan, 2012 2 commits
  12. 02 Jan, 2012 3 commits
    • Fabien Potencier's avatar
      merged branch igorw/composer-classloader (PR #225) · 91c77199
      Fabien Potencier authored
      Commits
      -------
      
      006d7ba4 add symfony/class-loader to composer.json
      
      Discussion
      ----------
      
      add symfony/class-loader to composer.json
      91c77199
    • Fabien Potencier's avatar
      updated vendors · f89e7d59
      Fabien Potencier authored
      f89e7d59
    • Fabien Potencier's avatar
      merged branch igorw/stream (PR #229) · 87149e53
      Fabien Potencier authored
      Commits
      -------
      
      8dd779ec [stream] Fix rst formatting
      73fe0b17 [stream] Add a nice API for streaming responses
      
      Discussion
      ----------
      
      [stream] Add a nice API for streaming responses
      
      This PR adds a nice API for creating streaming responses with the new StreamedResponse class that was added to symfony [just recently](https://github.com/symfony/symfony/pull/2935).
      
      Usage is documented in the usage doc, but for lazy people:
      
      ```php
      <?php
      
      $app->get('/images/{file}', function ($file) use ($app) {
          if (!file_exists(__DIR__.'/images/'.$file)) {
              return $app->abort(404, 'The image was not found.');
          }
      
          $stream = function () use ($file) {
              readfile($file);
          };
      
          return $app->stream($stream, 200, array('Content-Type' => 'image/png'));
      });
      ```
      
      Note: I had to point the autoloader to a copy of symfony/symfony because the subtree splits are not up-to-date. Thus the vendors are out of date too right now.
      87149e53
  13. 01 Jan, 2012 2 commits
  14. 31 Dec, 2011 2 commits
  15. 27 Dec, 2011 3 commits
  16. 22 Dec, 2011 2 commits
    • Fabien Potencier's avatar
      tweaked previous merge · 801e13c1
      Fabien Potencier authored
      801e13c1
    • Fabien Potencier's avatar
      merged branch marcw/doc-patch-1 (PR #224) · 10884870
      Fabien Potencier authored
      Commits
      -------
      
      58fc60f3 Adds doc about proxy headers trust
      
      Discussion
      ----------
      
      Adds doc about proxy headers trust
      
      ---------------------------------------------------------------------------
      
      by igorw at 2011/12/21 07:07:57 -0800
      
      No instantiation needed, just call it statically on the request class:
      
          Request::trustProxyData();
      
      If there is something about this in the Symfony2 docs, it'd be nice to link to it.
      
      ---------------------------------------------------------------------------
      
      by marcw at 2011/12/21 07:19:53 -0800
      
      Well this is a configuration parameter in Symfony2...
      10884870
  17. 21 Dec, 2011 1 commit
  18. 03 Dec, 2011 1 commit