- 27 Dec, 2013 2 commits
-
-
Igor Wiedler authored
-
Igor Wiedler authored
The monolog service provider requires a constant on Monolog\Logger to be referenced, which has an integer value. This is not very practical when working with external configuration files. This patch accepts strings like debug, info, error, etc. that are translated to the corresponding logger constant values. This is an alternative to #882.
-
- 11 Nov, 2013 5 commits
-
-
Fabien Potencier authored
This PR was merged into the master branch. Discussion ---------- allowed any callback to be a method call on a service (a:b notation) #800 added the possibility to use a service method (with the `a:b` notation) for converters. This PR goes one step further by allowing almost all methods accepting a callback to use a service method. The following is now possible: ```php $app->before('service:beforeApp'); $app->after('service:afterApp'); $app->finish('service:finishApp'); $app->error('service:error'); $app->on('kernel.request', 'service:onRequest'); $app ->match('/', 'service:controller') ->convert('foo', 'service:convert') ->before('service:before') ->after('service:after') ; ``` Commits ------- 87f5e203 allowed any callback to be a method call on a service (a:b notation)
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was merged into the master branch. Discussion ---------- Minor - updating Third-Party-ServiceProviders URL Commits ------- d5a55648 Minor - updating Third-Party-ServiceProviders URL
-
Julio Montoya authored
-
Fabien Potencier authored
-
- 10 Nov, 2013 2 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was merged into the master branch. Discussion ---------- Reorder wording Quick reordering of the words in a docblock (not sure an interface can implement a service provider
😃 ). Commits ------- 861de4ea Reorder wording
-
- 06 Nov, 2013 2 commits
-
-
thewilkybarkid authored
-
Fabien Potencier authored
This PR was merged into the master branch. Discussion ---------- Fixed typo Commits ------- 6e374c0e Fixed typo
-
- 05 Nov, 2013 2 commits
-
-
Pascal Borreli authored
-
Fabien Potencier authored
This PR was merged into the master branch. Discussion ---------- remove travis status Commits ------- dcc5a0b5 remove travis status
-
- 04 Nov, 2013 1 commit
-
-
Luis Cordova authored
-
- 03 Nov, 2013 7 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was merged into the master branch. Discussion ---------- added a cookbook about managing assets This was not documented before and as we get many PRs on adding more abstraction in Silex about assets (see #697 or #733), I wanted to demonstrate that everything is as easy as it can get without any further helper functions in Silex itself. Commits ------- b045442c added a cookbook about managing assets
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was squashed before being merged into the master branch (closes #834). Discussion ---------- [doc] Create doc for RememberMeServiceProvider Refs #689 Commits ------- f79177eb [doc] Create doc for RememberMeServiceProvider
-
Jérôme Tamarelle authored
-
- 02 Nov, 2013 4 commits
-
-
Fabien Potencier authored
This PR was merged into the master branch. Discussion ---------- restricted the HTTP fragment service provider to Symfony 2.4+ The HTTP fragment service provider cannot work on Symfony 2.3+ (see #819) Commits ------- c2fa4cba restricted the HTTP fragment service provider to Symfony 2.4+
-
Fabien Potencier authored
-
Fabien Potencier authored
-
Fabien Potencier authored
-
- 01 Nov, 2013 4 commits
-
-
Fabien Potencier authored
* 1.1: fixed translator locale management bumped version to 1.1.3-DEV prepared the 1.1.2 release updated CHANGELOG prepared the 1.0.2 release updated CHANGELOG Conflicts: doc/changelog.rst src/Silex/Application.php src/Silex/Provider/TranslationServiceProvider.php
-
Fabien Potencier authored
This PR was merged into the 1.1 branch. Discussion ---------- fixed translator locale management The locale used by the translator was set the first time the translator was instantiated. That's a problem for several reasons: * changing the locale via `$app['locale']` would not change the locale used by the translator; * when using fragments, the locale was not updated correctly; * also, when using the web profiler, the translator is created early on (before the handling of a request), and so the locale was always `en` (see silexphp/Silex-WebProfiler#23). Commits ------- 902c2c8c fixed translator locale management
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was merged into the master branch. Discussion ---------- Converters This PR reverts #769 (which tried to fix #768) as this is a breaks BC for the most usual use case of converters (#806). The decision has been taken (#814) that a converter always run, independently of the available request attribute names or controller argument names. Because of the above, running the converters as a controller event is not needed anymore, and moving the converters earlier in the process gives more power to the developer (#825 and #826). Commits ------- a0644877 Convert request attributes in the KernelEvents::REQUEST event instead of KernelEvents::CONTROLLER event (closes #825) 3b207399 added a note about global converters being applied to all controllers 76776926 Revert "merged branch igorw/convert-only-existing-attribute (PR #769)"
-
- 31 Oct, 2013 6 commits
-
-
Fabien Potencier authored
-
Fabien Potencier authored
This PR was merged into the master branch. Discussion ---------- fixed the form example to not use deprecated methods see #822 Commits ------- fa45d9a1 fixed the form example to not use deprecated methods
-
Romain Neutron authored
Convert request attributes in the KernelEvents::REQUEST event instead of KernelEvents::CONTROLLER event (closes #825)
-
Fabien Potencier authored
-
Fabien Potencier authored
This reverts commit e7d4a2fd, reversing changes made to d6fe48ea. Conflicts: doc/changelog.rst src/Silex/EventListener/ConverterListener.php
-
Fabien Potencier authored
-
- 30 Oct, 2013 5 commits
-
-
Fabien Potencier authored
This PR was squashed before being merged into the master branch (closes #823). Discussion ---------- [RFR] various clean ups - [x] fixing typos and typehinting checkroute method - [x] remove unused use statements - [x] make consistent test use statement without line break separation Commits ------- 727f5b7a [RFR] various clean ups
-
Luis Cordova authored
-
Fabien Potencier authored
This PR was merged into the master branch. Discussion ---------- Default HttpCache debug option to that of the main container Commits ------- 9cd048c7 Default HttpCache debug option to that of
-
Dave Marshall authored
-
Fabien Potencier authored
-