- 08 May, 2015 9 commits
-
-
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
-
jim authored
-
Jim authored
-
Jim authored
-
Fabien Potencier authored
* 1.2: updated intro docs Conflicts: doc/intro.rst
-
Fabien Potencier authored
-
Fabien Potencier authored
* 1.2: [Docs] [Providers] Fixed typo
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1162). Discussion ---------- [Docs] [Providers] Fixed typo Commits ------- cb279a24 [Docs] [Providers] Fixed typo
-
Ulf authored
-
- 03 May, 2015 3 commits
-
-
Fabien Potencier authored
* 1.2: Phpdocs
-
Fabien Potencier authored
This PR was merged into the 1.2 branch. Discussion ---------- PHPDocs cleans ups And some tabs versus spaces. Commits ------- bd9f72eb Phpdocs
-
Possum authored
-
- 01 May, 2015 4 commits
-
-
Fabien Potencier authored
This PR was merged into the 1.3 branch. Discussion ---------- Have `Controller::generateRouteName()` always put the method first. (As requested, this is #1154 rebased against 1.3.) At present, mounted controllers can get weird route names. For instance, let's say you have this controller definition: $otherController = $app['controllers_factory']; $otherController->get('/{name}', function (Request $request, $name) use ($app) { return new Response("Goodbye $name!\n", 200, ['Content-Type' => 'text/plain']); }); $app->mount('/goodbye', $otherController); The generated route name in this case will be `_goodbyeGET_name`, which technically contains everything, but is ugly. With this PR, the route name will change to `GET_goodbye_name`, which is considerably easier to parse when debugging. Commits ------- f8d6484c Have `Controller::generateRouteName()` always put the method first.
-
Adam Harvey authored
At present, mounted controllers can get weird route names. For instance, let's say you have this controller definition: $otherController = $app['controllers_factory']; $otherController->get('/{name}', function (Request $request, $name) use ($app) { return new Response("Goodbye $name!\n", 200, ['Content-Type' => 'text/plain']); }); $app->mount('/goodbye', $otherController); The generated route name in this case will be `_goodbyeGET_name`, which technically contains everything, but is ugly. With this PR, the route name will change to `GET_goodbye_name`, which is considerably easier to parse when debugging.
-
Fabien Potencier authored
* 1.2: Fix return of renderView to string Add mention of patch method to usage docs Conflicts: doc/usage.rst
-
Fabien Potencier authored
This PR was merged into the 1.2 branch. Discussion ---------- Fix return of renderView to string Commits ------- 988753a4 Fix return of renderView to string
-
- 30 Apr, 2015 1 commit
-
-
Benoît Burnichon authored
-
- 18 Apr, 2015 1 commit
-
-
Fabien Potencier authored
This PR was merged into the 1.3 branch. Discussion ---------- updated docs for 1.3 Commits ------- 58c91cdd updated docs for 1.3
-
- 16 Apr, 2015 1 commit
-
-
Fabien Potencier authored
-
- 12 Apr, 2015 2 commits
-
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1144). Discussion ---------- Add mention of patch method to usage docs Commits ------- f8c6113d Add mention of patch method to usage docs
-
Benjamin Ruston authored
-
- 11 Apr, 2015 19 commits
-
-
Fabien Potencier authored
This reverts commit aaec9f86.
-
Fabien Potencier authored
-
Fabien Potencier authored
* 1.2: removed obsolete code Improve Silex\Route\SecurityTrait coverage updated CHANGELOG Conflicts: doc/changelog.rst
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.3 branch instead (closes #1082). Discussion ---------- Add a isGranted() function to Silex\Application\SecurityTrait + unit tests Commits ------- 6d86c60d Add a isGranted() function to Silex\Application\SecurityTrait + unit tests
-
freepius authored
-
Fabien Potencier authored
This PR was submitted for the 1.3 branch but it was merged into the 1.2 branch instead (closes #1101). Discussion ---------- Improve Silex\Route\SecurityTrait coverage Commits ------- a1240023 Improve Silex\Route\SecurityTrait coverage
-
SofHad authored
-
Fabien Potencier authored
-
Fabien Potencier authored
* 1.2: Update usage.rst Updated year in License Update testing.rst Add docblock for the $app field fixed CS Update intro.rst Correct exception message when mounting
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.3 branch instead (closes #1026). Discussion ---------- Type hint against EventDispatcherInterface Commits ------- 9e3a35c2 Type hint against EventDispatcherInterface
-
jeroendedauw authored
-
Fabien Potencier authored
This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1096). Discussion ---------- Update usage.rst Fixed a small grammatical error. Commits ------- b0def74c Update usage.rst
-
Parham Doustdar authored
-
Fabien Potencier authored
minor #986 Use PSR-4 for autoloading, works same as the PSR-0 configuration. Use au... (henrikbjorn) This PR was submitted for the master branch but it was merged into the 1.3 branch instead (closes #986). Discussion ---------- Use PSR-4 for autoloading, works same as the PSR-0 configuration. Use au... ...toload-dev for autoloading tests Commits ------- 0df76379 Use PSR-4 for autoloading, works same as the PSR-0 configuration. Use autoload-dev for autoloading tests
-
Henrik Bjørnskov authored
Use PSR-4 for autoloading, works same as the PSR-0 configuration. Use autoload-dev for autoloading tests
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was submitted for the 1.2 branch but it was merged into the 1.3 branch instead (closes #1124). Discussion ---------- Patch debug and caching translator (Symfony 2.6+ with caching enabled). Patch debug and caching translator (Symfony 2.6+ with caching enabled). API 2.6 : http://api.symfony.com/2.6/Symfony/Component/Translation/Translator.html Commits ------- ffff5bd5 Patch debug and caching translator (Symfony 2.6+ with caching enabled).
-