Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 2, 2015
  1. @fabpot

    minor #14520 [2.7] link to https://symfony.com where possible (xabbuh)

    fabpot authored
    This PR was merged into the 2.7 branch.
    
    Discussion
    ----------
    
    [2.7] link to https://symfony.com where possible
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    2.7-related changes of #14518.
    
    Commits
    -------
    
    cc06163 [2.7] link to https://symfony.com where possible
  2. @fabpot

    Merge branch '2.6' into 2.7

    fabpot authored
    * 2.6: (25 commits)
      [2.6] link to https://symfony.com where possible
      Do not override PHP constants, only use when available
      link to https://symfony.com where possible
      [FrameworkBundle] Added missing log in server:run command
      [Finder] Only use GLOB_BRACE when available
      [HttpFoundation] Allow curly braces in trusted host patterns
      Fix merge
      Fix typo in variable name
      [profiler][security] check authenticated user by tokenClass instead of username.
      [WebProfiler] fix html syntax for input types
      [TwigBundle] Fix deprecated use of FlattenException
      [DependencyInjection] Removed extra strtolower calls
      Use https://symfony.com/search for searching
      [Debug] PHP7 compatibility with BaseException
      [Validator] Fixed Choice when an empty array is used in the "choices" option
      Fixed tests
      [StringUtil] Fixed singularification of 'selfies'
      Fix Portuguese (Portugal) translation for Security
      improved exception when missing required component
      [DependencyInjection] resolve circular reference
      ...
    
    Conflicts:
    	src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/config.html.twig
    	src/Symfony/Component/Form/README.md
    	src/Symfony/Component/Intl/README.md
    	src/Symfony/Component/Security/README.md
    	src/Symfony/Component/Translation/README.md
    	src/Symfony/Component/Validator/README.md
  3. @fabpot

    minor #14519 [2.6] link to https://symfony.com where possible (xabbuh)

    fabpot authored
    This PR was merged into the 2.6 branch.
    
    Discussion
    ----------
    
    [2.6] link to https://symfony.com where possible
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    2.6-related changes of #14518.
    
    Commits
    -------
    
    38bcab0 [2.6] link to https://symfony.com where possible
  4. @fabpot

    Merge branch '2.3' into 2.6

    fabpot authored
    * 2.3:
      link to https://symfony.com where possible
      [FrameworkBundle] Added missing log in server:run command
      [HttpFoundation] Allow curly braces in trusted host patterns
      [profiler][security] check authenticated user by tokenClass instead of username.
      Use https://symfony.com/search for searching
    
    Conflicts:
    	src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php
    	src/Symfony/Component/Form/README.md
    	src/Symfony/Component/Intl/README.md
    	src/Symfony/Component/Routing/composer.json
    	src/Symfony/Component/Security/README.md
    	src/Symfony/Component/Translation/README.md
    	src/Symfony/Component/Validator/README.md
  5. @fabpot

    minor #14518 [2.3] link to https://symfony.com where possible (xabbuh)

    fabpot authored
    This PR was merged into the 2.3 branch.
    
    Discussion
    ----------
    
    [2.3] link to https://symfony.com where possible
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    Commits
    -------
    
    bf8a1ce link to https://symfony.com where possible
Commits on May 1, 2015
  1. @xabbuh
  2. @xabbuh
  3. @fabpot

    minor #14515 Do not override PHP constants, only use when available (…

    fabpot authored
    …dosten)
    
    This PR was squashed before being merged into the 2.6 branch (closes #14515).
    
    Discussion
    ----------
    
    Do not override PHP constants, only use when available
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | License       | MIT
    
    In #12372, the override of internal constants has been deleted, but the definition of `JSON_PRETTY_PRINT` if not available is missing in that PR.
    
    Commits
    -------
    
    d5cc056 Do not override PHP constants, only use when available
  4. @dosten @fabpot

    Do not override PHP constants, only use when available

    dosten authored fabpot committed
  5. @fabpot

    feature #14472 [Debug] Trigger deprecation notices when using PHP7 re…

    fabpot authored
    …served class names (nicolas-grekas)
    
    This PR was merged into the 2.7 branch.
    
    Discussion
    ----------
    
    [Debug] Trigger deprecation notices when using PHP7 reserved class names
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    Commits
    -------
    
    58c0bfe [Debug] Trigger deprecation notices when using PHP7 reserved class names
  6. @xabbuh
  7. @fabpot

    bug #14498 [FrameworkBundle] Added missing log in server:run command …

    fabpot authored
    …(lyrixx)
    
    This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #14498).
    
    Discussion
    ----------
    
    [FrameworkBundle] Added missing log in server:run command
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    Because of the current implementation of `php -S` command,
    logs are skipped if a front controller is specified.
    
    This patch put back missing logs.
    
    For both samples, I play twice an http request.
    
    Before the patch:
    ```
    >(6)[/tmp/symfony_demo] php app/console server:run  -vvv
    [2015-04-28 21:45:28] event.DEBUG: Notified event "console.command" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
    [2015-04-28 21:45:28] event.DEBUG: Notified event "console.command" to listener "Symfony\Bridge\Monolog\Handler\ConsoleHandler::onCommand".
    Server running on http://127.0.0.1:8000
    
    Quit the server with CONTROL-C.
      RUN  '/usr/bin/php5' '-S' '127.0.0.1:8000' '/tmp/symfony_demo/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/router_dev.php'
      ERR  [Tue Apr 28 21:45:30 2015] 127.0.0.1:42755 [200]: /css/app.css
      ERR  [Tue Apr 28 21:45:30 2015] 127.0.0.1:42757 [200]: /js/app.js
      ERR  [Tue Apr 28 21:45:34 2015] 127.0.0.1:42773 [200]: /css/app.css
      ERR  [Tue Apr 28 21:45:34 2015] 127.0.0.1:42774 [200]: /js/app.js
      ERR  ^C
    ```
    
    After the pacth
    
    ```
    >(6)[/tmp/symfony_demo] php app/console server:run  -vvv
    [2015-04-28 21:45:58] event.DEBUG: Notified event "console.command" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
    [2015-04-28 21:45:58] event.DEBUG: Notified event "console.command" to listener "Symfony\Bridge\Monolog\Handler\ConsoleHandler::onCommand".
    Server running on http://127.0.0.1:8000
    
    Quit the server with CONTROL-C.
      RUN  '/usr/bin/php5' '-S' '127.0.0.1:8000' '/tmp/symfony_demo/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/router_dev.php'
      ERR  [Tue Apr 28 21:46:00 2015] 127.0.0.1:42788 [200]: /
      ERR  [Tue Apr 28 21:46:00 2015] 127.0.0.1:42795 [200]: /css/app.css
      ERR  [Tue Apr 28 21:46:00 2015] 127.0.0.1:42797 [200]: /js/app.js
      ERR  [Tue Apr 28 21:46:00 2015] 127.0.0.1:42799 [200]: /_wdt/538cdc
      ERR  [Tue Apr 28 21:46:01 2015] 127.0.0.1:42806 [200]: /
      ERR  [Tue Apr 28 21:46:01 2015] 127.0.0.1:42813 [200]: /css/app.css
      ERR  [Tue Apr 28 21:46:01 2015] 127.0.0.1:42814 [200]: /js/app.js
      ERR  [Tue Apr 28 21:46:01 2015] 127.0.0.1:42817 [200]: /_wdt/52f8aa
      ERR  ^C
    ```
    
    Commits
    -------
    
    5dd52c3 [FrameworkBundle] Added missing log in server:run command
  8. @lyrixx @fabpot

    [FrameworkBundle] Added missing log in server:run command

    lyrixx authored fabpot committed
    Because of the current implementation of `php -S` command,
    logs are skipped if a front controller is specified.
    
    This patch put back the missing logs
  9. @fabpot

    bug #14503 [Finder] Only use GLOB_BRACE when available (dosten)

    fabpot authored
    This PR was squashed before being merged into the 2.6 branch (closes #14503).
    
    Discussion
    ----------
    
    [Finder] Only use GLOB_BRACE when available
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #14502
    | License       | MIT
    
    Commits
    -------
    
    7632d27 [Finder] Only use GLOB_BRACE when available
  10. @dosten @fabpot

    [Finder] Only use GLOB_BRACE when available

    dosten authored fabpot committed
  11. @fabpot

    minor #14477 Use https://symfony.com/search for search form (jrobeson)

    fabpot authored
    This PR was merged into the 2.3 branch.
    
    Discussion
    ----------
    
    Use https://symfony.com/search for search form
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | none
    | License       | MIT
    | Doc PR        | none
    
    Using https for symfony.com/search stops chrome (and eventually firefox)
    from warning us about "Mixed Content" when developing sites that use SSL
    for the entire site.
    
    Here is the warning text:
    
    ```
    Mixed Content: The page at 'https://example.org/'; was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://symfony.com/search';. This endpoint should be made available over a secure connection.
    ```
    
    Commits
    -------
    
    74983d7 Use https://symfony.com/search for searching
  12. @fabpot

    bug #14484 [SecurityBundle][WebProfiler] check authenticated user by …

    fabpot authored
    …tokenClass instead of username. (aitboudad)
    
    This PR was merged into the 2.3 branch.
    
    Discussion
    ----------
    
    [SecurityBundle][WebProfiler] check authenticated user by tokenClass instead of username.
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Fixed tickets  | #13628
    | Tests pass?   | yes
    | License       | MIT
    
    Commits
    -------
    
    79e005b [profiler][security] check authenticated user by tokenClass instead of username.
Commits on Apr 28, 2015
  1. @Tobion

    bug #14497 [HttpFoundation] Allow curly braces in trusted host patter…

    Tobion authored
    …ns (sgrodzicki)
    
    This PR was merged into the 2.3 branch.
    
    Discussion
    ----------
    
    [HttpFoundation] Allow curly braces in trusted host patterns
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    Let's say I want to whilelist Amazon CloudFront hosts:
    
    ```php
    Request::setTrustedHosts(array('^d[a-z0-9]{13}\.cloudfront\.net$'));
    ```
    
    See: symfony/symfony#14489
    
    Commits
    -------
    
    6038b75 [HttpFoundation] Allow curly braces in trusted host patterns
  2. @Tobion

    minor #14351 [WebProfilerBundle] [HttpKernel] A static approach to ve…

    Tobion authored
    …rsion feedback (derrabus)
    
    This PR was squashed before being merged into the 2.7 branch (closes #14351).
    
    Discussion
    ----------
    
    [WebProfilerBundle] [HttpKernel] A static approach to version feedback
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #14349, #13626
    | License       | MIT
    | Doc PR        | N/A
    
    This is an alternative approach for the version feedback feature of PR #13626. The original PR performed a server-side HTTP request to symfony.com, which might be problematic in certain environments, see #14349.
    
    This PR makes the following assumptions:
    
    * Symfony's release roadmap is rarely changed
    * After the first release of a branch, the Symfony development team is committed to the announced support dates.
    * The support period of a stable  branch might be extended, but it's usually not reduced.
    
    Given those assumptions, the EOM and EOL dates may be shipped with the Symfony release and may be updated with a later bugfix release. The information would be available offline without any need to query Symfony's servers.
    
    If the user is running the latest bugfix release of a branch, the EOM/EOL dates should be accurate. If he's running an earlier version, he might get a false positive warning about reaching EOM or EOL if the support period has been extended in the meantime. But since he's running an outdated version anyway, would this really be a problem?
    
    Commits
    -------
    
    f5f3bba [WebProfilerBundle] [HttpKernel] A static approach to version feedback
  3. @derrabus @Tobion
  4. @sgrodzicki
  5. @nicolas-grekas
  6. @nicolas-grekas

    bug #14480 [TwigBundle] Fix deprecated use of FlattenException (alOneh)

    nicolas-grekas authored
    This PR was merged into the 2.6 branch.
    
    Discussion
    ----------
    
    [TwigBundle] Fix deprecated use of FlattenException
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    Commits
    -------
    
    4d2f044 [TwigBundle] Fix deprecated use of FlattenException
  7. @fabpot

    bug #14469 [Debug] BaseException compatibility for PHP7 (nicolas-grekas)

    fabpot authored
    This PR was merged into the 2.6 branch.
    
    Discussion
    ----------
    
    [Debug] BaseException compatibility for PHP7
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    Commits
    -------
    
    e94b31f [Debug] PHP7 compatibility with BaseException
Commits on Apr 27, 2015
  1. @nicolas-grekas

    bug #14483 [VarDumper] Fix #14481 : Open tree recursively on OSX (rom…

    nicolas-grekas authored
    …ainneutron)
    
    This PR was merged into the 2.7 branch.
    
    Discussion
    ----------
    
    [VarDumper] Fix #14481 : Open tree recursively on OSX
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | #14481
    | License       | MIT
    
    Commits
    -------
    
    af54bda [VarDumper] Fix #14481 : Open tree recursively on OSX
  2. @nicolas-grekas

    minor #14485 [FrameworkBundle] Fix typo in variable name (paulandrieux)

    nicolas-grekas authored
    This PR was merged into the 2.6 branch.
    
    Discussion
    ----------
    
    [FrameworkBundle] Fix typo in variable name
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | ~
    | License       | MIT
    | Doc PR        | ~
    
    This come from 3928ed5#diff-20b057eaf0a977f7a2ef2b874307279aR120
    
    Commits
    -------
    
    bb9c4ee Fix typo in variable name
  3. @nicolas-grekas

    Fix merge

    nicolas-grekas authored
  4. @paulandrieux

    Fix typo in variable name

    paulandrieux authored
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | ~
    | License       | MIT
    | Doc PR        | ~
  5. @aitboudad
  6. @romainneutron
  7. @fabpot

    bug #14466 [WebProfiler] fix html syntax for input types (Tobion)

    fabpot authored
    This PR was submitted for the 2.7 branch but it was merged into the 2.6 branch instead (closes #14466).
    
    Discussion
    ----------
    
    [WebProfiler] fix html syntax for input types
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | yes
    | New feature?  | no
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    HTML validator:
    
    > Attribute placeholder is only allowed when the input type is email, number, password, search, tel, text, or url.
    
    > Element option without attribute label must not be empty.
    
    The other placeholders are totatlly useless. For url it usually just says `e.g.` without a value because the baseUrl is empty...
    
    Commits
    -------
    
    876b180 [WebProfiler] fix html syntax for input types
  8. @Tobion @fabpot

    [WebProfiler] fix html syntax for input types

    Tobion authored fabpot committed
  9. @alOneh
  10. @fabpot

    Merge branch '2.3' into 2.6

    fabpot authored
    * 2.3:
      [DependencyInjection] Removed extra strtolower calls
      [Validator] Fixed Choice when an empty array is used in the "choices" option
      Fixed tests
      [StringUtil] Fixed singularification of 'selfies'
      Fix Portuguese (Portugal) translation for Security
      improved exception when missing required component
      CS: unalign =
      Show a better error when the port is in use
      CS: unalign =>
      [FrameworkBundle] Check for 'xlf' instead of 'xliff'
      Add better phpdoc message for getListeners method of the EventDispatcher
    
    Conflicts:
    	src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php
    	src/Symfony/Bundle/TwigBundle/Command/LintCommand.php
    	src/Symfony/Component/DependencyInjection/ContainerBuilder.php
    	src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services11.php
    	src/Symfony/Component/Validator/Constraints/ChoiceValidator.php
  11. @fabpot

    minor #14412 [Yaml] Match signature of Yaml::parse() with Parser->par…

    fabpot authored
    …se() (Zzortell)
    
    This PR was merged into the 2.7 branch.
    
    Discussion
    ----------
    
    [Yaml] Match signature of Yaml::parse() with Parser->parse()
    
    | Q             | A
    | ------------- | ---
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    Commits
    -------
    
    238589d Add $objectForMap as argument of Yaml::parse()
Something went wrong with that request. Please try again.