- 07 Jul, 2015 2 commits
-
-
Fabien Potencier authored
This PR was squashed before being merged into the 2.0.x-dev branch (closes #1034). Discussion ---------- Change closures to use $app as the first parameter. Almost always the first parameter is $app therefor it makes little sense to use `use` part of the closure and having PHP do context switching all over the place. This also makes it explicit in the service providers exactly what $app instance is used. Commits ------- 5efdf830 Change closures to use as the first parameter.
-
Henrik Bjørnskov authored
-
- 01 Jul, 2015 4 commits
-
-
Fabien Potencier authored
* 1.3: fixed CS Update README.rst
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was merged into the 1.3 branch. Discussion ---------- add changelog to readme Commits ------- b0211b2b Update README.rst
-
Daniel González authored
-
- 28 Jun, 2015 1 commit
-
-
Fabien Potencier authored
This PR was merged into the 2.0.x-dev branch. Discussion ---------- Update session_storage.rst: Add missing lifetime column Commits ------- e85ec346 Update session_storage.rst
-
- 25 Jun, 2015 1 commit
-
-
Andy T. authored
Add missing lifetime column.
-
- 24 Jun, 2015 6 commits
-
-
Fabien Potencier authored
* 1.3: removed obsolete paragraph about the mailing-list
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
* 1.3: fixed CS Update usage.rst tweaks the testing docs Conflicts: src/Silex/Application.php src/Silex/Application/SecurityTrait.php src/Silex/Provider/TwigServiceProvider.php
-
Fabien Potencier authored
-
Fabien Potencier authored
feature #1175 Added factory for RouteCollection, makes subclassing of RouteCollection possible. (lschricke) This PR was merged into the 2.0.x-dev branch. Discussion ---------- Added factory for RouteCollection, makes subclassing of RouteCollection possible. Note: replaces #1174, which was targeting a wrong branch (and where I messed a bit with the commits ;)). -- The aim of this PR is to allow developpers to subclass `Symfony\Component\Routing\RouteCollection` to change some of its behavior. In most of my Silex apps, I figured I don't want the Symfony's `RouteCollection` regular behavior where if you define two routes with the same name (bad copy-paste for instance), the first route added simply gets overriden by the second. Instead, I would like to be able to throw an Exception if that happens. So I've written [a tiny subclass of RouteCollection](https://github.com/lschricke/symfony-strict-route-collection), but to be able to use it (through [a service provider like this](https://github.com/lschricke/silex-strict-route-collection-service-provider) for instance (needs to be updated for Silex 2)), I need to be able to replace `RouteCollection` by my subclass. This PR makes it possible. Thanks! :) Commits ------- 18f253f2 Added factory for RouteCollection, makes subclassing of RouteCollection possible.
-
- 19 Jun, 2015 2 commits
-
-
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
-
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
-
- 16 Jun, 2015 1 commit
-
-
lschricke authored
-
- 14 Jun, 2015 1 commit
-
-
Fabien Potencier authored
-
- 13 Jun, 2015 4 commits
-
-
Fabien Potencier authored
This PR was merged into the 2.0.x-dev branch. Discussion ---------- added sender_address to switfmailer provider fixes #1022 Commits ------- cbe94829 added sender_address to switfmailer provider
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was squashed before being merged into the 2.0.x-dev branch (closes #1181). Discussion ---------- Remove usage of the deprecated target-dir feature Commits ------- 641c60cb Remove usage of the deprecated target-dir feature
-
Christophe Coevoet authored
-
- 12 Jun, 2015 5 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was merged into the 2.0.x-dev branch. Discussion ---------- cascade route configuration for embedded route collection In 4e6031e2, I added a safeguard by mistake which makes configuration on nested collection not possible. This fixes this issue but only for the upcoming 2.0 branch as it might break BC. fixes #1017, #1100, and #1081 Commits ------- 48727b4d cascade route configuration for embedded route collection
-
Fabien Potencier authored
This PR was merged into the 2.0.x-dev branch. Discussion ---------- refactored the session provider replaces #934 by making possible to override the default bags, but more importantly, it removes the storage definition from the inside of the session one to the outside. Commits ------- 2cb76057 refactored the session provider
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 09 Jun, 2015 1 commit
-
-
Fabien Potencier authored
* 1.3: bumped version to 1.3.1-DEV prepared the 1.3.0 release prepared the 1.2.5 release updated CHANGELOG fixed changelog update fastcgi_pass socket location Conflicts: doc/changelog.rst src/Silex/Application.php
-
- 04 Jun, 2015 7 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
* 1.2: prepared the 1.2.5 release updated CHANGELOG Conflicts: doc/changelog.rst src/Silex/Application.php
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
* 1.2: update fastcgi_pass socket location
-
- 30 May, 2015 1 commit
-
-
Fabien Potencier authored
-
- 28 May, 2015 4 commits
-
-
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
-
Victor Häggqvist authored
this makes it correspond with ubuntu 14.04 defaults
-
Fabien Potencier authored
* 1.3: (27 commits) updated docs deprecated the user() trait made it easier to get the user from the app updated the changelog Remove incorrect examples and fix grammar updated changelog and docs Fixed whitespace issue Add options request capability to controller collection Update Application add options method for handling option routing Basic documentation Use PHPUnit annotation to skip test on <5.4 Document as mixed, may be a string intended to be resolved from the CallbackResolver Revert the CS fix and make a valid docComment More CS fixes CS Fixes Allow view listeners to be "skipped" by returning null Restricted visibility Fix docblock type Remove callable hint for 5.3 tests Avoid mutating state ... Conflicts: src/Silex/Application.php src/Silex/Provider/SecurityServiceProvider.php tests/Silex/Tests/ApplicationTest.php
-
Fabien Potencier authored
-