1. 23 Jul, 2015 6 commits
  2. 17 Jul, 2015 1 commit
  3. 16 Jul, 2015 3 commits
  4. 07 Jul, 2015 2 commits
  5. 01 Jul, 2015 3 commits
  6. 24 Jun, 2015 2 commits
  7. 19 Jun, 2015 2 commits
    • Fabien Potencier's avatar
      minor #1184 Update usage.rst (SpacePossum) · badec168
      Fabien Potencier authored
      This PR was merged into the 1.3 branch.
      
      Discussion
      ----------
      
      Update usage.rst
      
      * List all HTTP methods
      * Update the error handling priority text
      * Add link to error to exception cookbook entry
      * Add link to the Twig provider documentation
      
      Commits
      -------
      
      45da7908 Update usage.rst
      badec168
    • SpacePossum's avatar
      Update usage.rst · 45da7908
      SpacePossum authored
      * List all HTTP methods
      * Update the error handling priority text
      * Add link to error to exception cookbook entry
      * Add link to the Twig provider documentation
      45da7908
  8. 12 Jun, 2015 1 commit
  9. 04 Jun, 2015 7 commits
  10. 28 May, 2015 7 commits
    • Fabien Potencier's avatar
      minor #1167 Update fastcgi_pass socket location (victorhaggqvist) · deeb8982
      Fabien Potencier authored
      This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1167).
      
      Discussion
      ----------
      
      Update fastcgi_pass socket location
      
      This makes it correspond with ubuntu 14.04 defaults
      
      Commits
      -------
      
      42e9b8f2 update fastcgi_pass socket location
      deeb8982
    • Victor Häggqvist's avatar
      update fastcgi_pass socket location · 42e9b8f2
      Victor Häggqvist authored
      this makes it correspond with ubuntu 14.04 defaults
      42e9b8f2
    • Fabien Potencier's avatar
      updated docs · 6a092186
      Fabien Potencier authored
      6a092186
    • Fabien Potencier's avatar
      deprecated the user() trait · 29e69c9f
      Fabien Potencier authored
      29e69c9f
    • Fabien Potencier's avatar
      feature #1165 Easier user access (fabpot) · a730a6de
      Fabien Potencier authored
      This PR was merged into the 1.3 branch.
      
      Discussion
      ----------
      
      Easier user access
      
      In Silex 1.3, it's "harder" to get the user from the security layer as the `security` service has been deprecated. The code is already available in the security trait, but if you are not using it, you need to use a somewhat "complex" expression in templates to access it (see #1152)
      
      This PR moves the code from the trait to the security service to make it available to everyone.
      
      One question though: can we deprecate the trait `user()` function? It is not useful anymore after this PR.
      
      Commits
      -------
      
      87dc8570 made it easier to get the user from the app
      a730a6de
    • Fabien Potencier's avatar
      Merge branch '1.2' into 1.3 · b682c867
      Fabien Potencier authored
      * 1.2:
        Changed Doctrine page to use utf8mb4 as sample
      b682c867
    • Fabien Potencier's avatar
      minor #1168 Changed Doctrine page to use utf8mb4 as sample (DHager) · e46e475d
      Fabien Potencier authored
      This PR was merged into the 1.2 branch.
      
      Discussion
      ----------
      
      Changed Doctrine page to use utf8mb4 as sample
      
      MySQL's `utf8` character set is a little broken, and does not cover 4-byte UTF-8 characters. In most cases it will quietly truncate the string whenever it sees one, saving incomplete text data.
      
      In  5.5.3 they introduced `utf8mb4` to fix this inconsistency, and given that it's been 5 years, it's probably safe to encourage people to use it. If their MySQL installation is older, it should be easy for them to find the distinctive string and change it back to `utf8`, and for a new project.
      
      Additional details can be found in the equivalent [pull-request for Symfony-2](https://github.com/symfony/symfony-docs/pull/5100).
      
      Commits
      -------
      
      a20f8f6a Changed Doctrine page to use utf8mb4 as sample
      e46e475d
  11. 14 May, 2015 3 commits
  12. 11 May, 2015 1 commit
  13. 08 May, 2015 2 commits
    • Fabien Potencier's avatar
      updated changelog and docs · 77f308ca
      Fabien Potencier authored
      77f308ca
    • Fabien Potencier's avatar
      feature #1122 Add OPTIONS request routing directly to Application (jimdoescode, jim) · ca3a77d5
      Fabien Potencier authored
      This PR was submitted for the master branch but it was merged into the 1.3 branch instead (closes #1122).
      
      Discussion
      ----------
      
      Add OPTIONS request routing directly to Application
      
      I think it's important to add this HTTP Method directly to the application because it's often called automatically by browsers during AJAX requests. Meaning it's required that anyone sending AJAX requests to Silex will have to implement some kind of OPTIONS handling. I realize that you can use the match and method calls to do this same thing but those make routing OPTIONS requests less obvious.
      
      Commits
      -------
      
      20be5c99 Fixed whitespace issue
      45dc2bcc Add options request capability to controller collection
      7ca60854 Update Application add options method for handling option routing
      ca3a77d5