fixed locale when changing it on the translator itself
bug #975 fixed locale when changing it on the translator itself (fabpot)

This PR was merged into the 1.2 branch.

Discussion
----------

fixed locale when changing it on the translator itself

should fix #887 and #905

Commits
-------

46b0535 fixed locale when changing it on the translator itself
added a caution about how to configure security for php-cgi/Apache
updated CHANGELOG
prepared the 1.2.1 release
bumped version to 1.2.2-DEV
Minor optimization in ValidatorServiceProvider

ReflectionClass is only needed if a translator is present. Moving usage of it inside the related conditional means one less object instantiation.
minor #978 Minor optimization in ValidatorServiceProvider (elazar)

This PR was merged into the 1.2 branch.

Discussion
----------

Minor optimization in ValidatorServiceProvider

`ReflectionClass` is only needed if a translator is present. Moving usage of it inside the related conditional means one less object instantiation.

Commits
-------

1aed8cd Minor optimization in ValidatorServiceProvider
allow to register form types without extensions
feature #1018 allow to register form types without extensions (dominikzogg)

This PR was squashed before being merged into the 1.2 branch (closes #1018).

Discussion
----------

allow to register form types without extensions

Commits
-------

0e5f489 allow to register form types without extensions
updated docs and changelog
Add  parameter for application middlewares (before, after, finish)
feature #1007 Add $app parameter for application middlewares (before, after, finish) (kl3ryk)

This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1007).

Discussion
----------

Add $app parameter for application middlewares (before, after, finish)

There is small inconsistence between route and application middlewares.

Route middlewares (http://silex.sensiolabs.org/doc/middlewares.html#route-middlewares) can have $app parameter, but application middlewares (http://silex.sensiolabs.org/doc/middlewares.html#application-middlewares) has this parameter missing.

Commits
-------

38a3c46 Add  parameter for application middlewares (before, after, finish)
updated docs and changelog
Update session.rst

May be a bug, but Sessions expire after 30 minutes (or less ?)
To have the default behavior describe in documentation, you must set cookie_lifetime to 0

$app->register(new Silex\Provider\UrlGeneratorServiceProvider(), array(
    'session.storage.options' => array(
        'cookie_lifetime' => 0
        )
    )
);
minor #995 Update session.rst (davtwix)

This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #995).

Discussion
----------

Update session.rst

May be a bug, but Sessions expire after 30 minutes (or less ?)
To have the default behavior describe in documentation, you must set cookie_lifetime to 0

$app->register(new Silex\Provider\UrlGeneratorServiceProvider(), array(
    'session.storage.options' => array(
        'cookie_lifetime' => 0
        )
    )
);

Commits
-------

0e553e3 Update session.rst
fixed CS
Update testing.rst

Fix dead link, @see:
https://github.com/silexphp/Silex/issues/1020
minor #1021 Update testing.rst (1emming)

This PR was submitted for the master branch but it was merged into the 1.2 branch instead (closes #1021).

Discussion
----------

Update testing.rst

Fix dead link, @see:
https://github.com/silexphp/Silex/issues/1020

Commits
-------

8c8b6a6 Update testing.rst