Permalink
Commits on Aug 16, 2017
  1. feature #23815 [FrameworkBundle][SecurityBundle][TwigBundle][Yaml] re…

    …move deprecated code (xabbuh)
    
    This PR was merged into the 4.0-dev branch.
    
    Discussion
    ----------
    
    [FrameworkBundle][SecurityBundle][TwigBundle][Yaml] remove deprecated code
    
    | Q             | A
    | ------------- | ---
    | Branch?       | master
    | Bug fix?      | no
    | New feature?  | no
    | BC breaks?    | yes
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets |
    | License       | MIT
    | Doc PR        |
    
    Commits
    -------
    
    c9ff029 remove deprecated code
    nicolas-grekas committed Aug 16, 2017
Commits on Aug 15, 2017
  1. Merge branch '3.4'

    * 3.4:
      Made some SecurityBundle tests case-insensitive to prepare for future Symfony versions
      [Console] Added a case-insensitive fallback for console command names
      fix merge
      [DI] Fix dumping abstract with YamlDumper
      restrict reflection doc block
      [DI] Fix YamlDumper not dumping abstract and autoconfigure
    nicolas-grekas committed Aug 15, 2017
Commits on Aug 14, 2017
Commits on Aug 10, 2017
  1. Merge branch '3.4'

    * 3.4: (23 commits)
      [DI] Allow dumping inline services in Yaml
      fixed CS
      [2.8] Modify 2.8 upgrade doc - key option is deprecated.
      Fix lock failling test
      [Debug] Correctly detect methods not from the same vendor
      [HttpKernel] Deprecated commands auto-registration
      Fix minors in date caster
      [FrameworkBundle] Catch Fatal errors in commands registration
      [Debug] Detect internal and deprecated methods
      [Profiler] Make the validator toolbar item consistent with the form one
      [DebugBundle] Reword an outdated comment about var dumper wiring
      updated CHANGELOG
      [HttpFoundation] Remove length limit on ETag
      [DI] Fix some docblocks
      [DI] Fix some docblocks
      Fixed the exception page design in responsive mode
      [Console] Log exit codes as debug messages instead of errors
      Fixed UPGRADE-4.0 about Container::set
      Ignore memcached missing key error on dession destroy
      [FrameworkBundle] Allow micro kernel to subscribe events easily
      ...
    nicolas-grekas committed Aug 10, 2017
Commits on Aug 9, 2017
  1. feature #23805 [HttpKernel] Deprecated commands auto-registration (Gu…

    …ilhemN)
    
    This PR was squashed before being merged into the 3.4 branch (closes #23805).
    
    Discussion
    ----------
    
    [HttpKernel] Deprecated commands auto-registration
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | no
    | New feature?  | no <!-- don't forget updating src/**/CHANGELOG.md files -->
    | BC breaks?    | no
    | Deprecations? | yes <!-- don't forget updating UPGRADE-*.md files -->
    | Tests pass?   | yes
    | Fixed tickets | symfony/symfony#23488
    | License       | MIT
    | Doc PR        |
    
    Deprecates commands auto-registration. See symfony/symfony#23488 for arguments.
    
    Commits
    -------
    
    14215d8185 [HttpKernel] Deprecated commands auto-registration
    Tobion committed Aug 9, 2017
Commits on Aug 7, 2017
  1. remove deprecated code

    xabbuh committed Aug 7, 2017
Commits on Aug 6, 2017
  1. Merge branch '3.4'

    * 3.4:
      Continuation of #23624
    nicolas-grekas committed Aug 6, 2017
  2. Continuation of #23624

    ro0NL committed with nicolas-grekas Aug 6, 2017
  3. Merge branch '3.4'

    * 3.4:
      [FrameworkBundle] Commands as a service
      [Config] Enable cannotBeEmpty along with requiresAtLeastOneElement
      Remove leading 0 in ms of date caster
      [Workflow] feature: add getter in workflow
      [Workflow] do not emit not needed guard events
      add groups support to the Valid constraint
    nicolas-grekas committed Aug 6, 2017
  4. feature #23624 [FrameworkBundle] Commands as a service (ro0NL)

    This PR was squashed before being merged into the 3.4 branch (closes #23624).
    
    Discussion
    ----------
    
    [FrameworkBundle] Commands as a service
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | yes
    | Tests pass?   | yes/no
    | Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->
    | License       | MIT
    | Doc PR        | symfony/symfony-docs#... <!--highly recommended for new features-->
    
    Next step towards #23488
    
    It's a work in progress if we want to do all commands at once (im fine :)). But i think we should review `assets:install` first.
    
    Also im assuming framework commands can rely on `getApplication()->getKernel()` from the framework application (we already do that in some commands). That saves a dep on `@kernel`.
    
    And filesystem as a service; perhaps drop that as well :)
    
    Commits
    -------
    
    de1dc0b [FrameworkBundle] Commands as a service
    nicolas-grekas committed Aug 6, 2017
Commits on Aug 3, 2017
  1. Merge branch '3.4'

    * 3.4:
      [Bridge\ProxyManager] Dont call __destruct() on non-instantiated services
      Consistently use 7 chars of sha256 for hash-based id generation
      Docblock improvement
      bumped Symfony version to 2.8.27
      updated VERSION for 2.8.26
      updated CHANGELOG for 2.8.26
      bumped Symfony version to 2.7.34
      updated VERSION for 2.7.33
      update CONTRIBUTORS for 2.7.33
      updated CHANGELOG for 2.7.33
    nicolas-grekas committed Aug 3, 2017
  2. minor #23766 Consistently use 7 chars of sha256 for hash-based id gen…

    …eration (nicolas-grekas)
    
    This PR was merged into the 3.4 branch.
    
    Discussion
    ----------
    
    Consistently use 7 chars of sha256 for hash-based id generation
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | -
    | License       | MIT
    | Doc PR        | -
    
    This prevents generating over long service ids, and for filesystem-related changes, makes the Windows 258 chars limit farther.
    
    Commits
    -------
    
    bc22cdd034 Consistently use 7 chars of sha256 for hash-based id generation
    fabpot committed Aug 3, 2017
  3. Merge branch '3.3' into 3.4

    * 3.3:
      Removed useless argument $definition
      Fix comment
      [Config] Fix checking class existence freshness
      bumped Symfony version to 3.3.7
      updated VERSION for 3.3.6
      updated CHANGELOG for 3.3.6
      Bump minimal PHP version to ^5.5.9|>=7.0.8
    nicolas-grekas committed Aug 3, 2017
Commits on Jul 29, 2017
Commits on Jul 26, 2017
  1. Merge branch '3.3' into 3.4

    * 3.3:
      [DI] use assertStringEqualsFile when possible
      [VarDumper] Adapt to php 7.2 changes
      [DI] Fix using private services in expressions
      [Form][TwigBridge] Don't render _method in form_rest() for a child form
      [Form] Static call TimezoneType::getTimezones
      Removed references for non existent validator constraints
      Suggest using quotes instead of Yaml::PARSE_KEYS_AS_STRINGS
      [DI] Fix test
      [Cache] Handle unserialization failures for Memcached
      Remove unused prop + added @deprecated
      Remove unused mocks/vars
      [DoctrineBridge][PropertyInfo] Added support for Doctrine Embeddables
      [Validator] Fix IbanValidator for ukrainian IBANs
      Router: allow HEAD method to be defined first
      [WebProfilerBundle] Display trace and context in the logger profiler
      Fixing a bug where if a core class was autowired, autowiring tried to autowire optional args as if they were required
    nicolas-grekas committed Jul 26, 2017
Commits on Jul 22, 2017
Commits on Jul 17, 2017
  1. Merge branch '3.4'

    * 3.4: (22 commits)
      Fix lazy commands registration
      [TwigBridge] deprecate TwigRenderer
      [FrameworkBundle] Set default public directory on install assets
      [Security] Fix wrong term in UserProviderInterface
      [HttpFoundation] Set meta refresh time to 0 in RedirectResponse content
      disable inlining deprecated services
      [Stopwatch] Fix precision for root section
      [Cache] add constructor docblocks for clarity
      [WebServerBundle] allowed public/ root directory to be auto-discovered along side web/
      [WebServerBundle] remove duplicate code
      [SecurityBundle] Clarify deprecation in UserPasswordEncoderCommand::getContainer
      [Profiler][Validator] ValidatorDataCollector: use new DataCollector::getCasters() method
      [Profiler] Fix data collector getCasters() call
      [VarDumper] Added setMinDepth to VarCloner
      remove symfony/process suggestion
      [DI] Remove unused dynamic property
      [Cache] add constructor docblocks for clarity
      [Security] validate empty passwords again
      [Process] Fixed issue between process builder and exec
      non-conflicting anonymous service ids across files
      ...
    nicolas-grekas committed Jul 17, 2017
  2. Merge branch '3.3' into 3.4

    * 3.3:
      [FrameworkBundle] Set default public directory on install assets
      [Security] Fix wrong term in UserProviderInterface
      [HttpFoundation] Set meta refresh time to 0 in RedirectResponse content
      disable inlining deprecated services
      [Cache] add constructor docblocks for clarity
      [WebServerBundle] allowed public/ root directory to be auto-discovered along side web/
      [WebServerBundle] remove duplicate code
      [SecurityBundle] Clarify deprecation in UserPasswordEncoderCommand::getContainer
      [Cache] add constructor docblocks for clarity
      [Security] validate empty passwords again
      [DI] Remove irrelevant comment from container
      [TwigBridge] cleaner implementation of the TwigRenderer
    fabpot committed Jul 17, 2017
Commits on Jul 15, 2017
Commits on Jul 12, 2017
  1. Merge branch '3.4'

    * 3.4:
      Add TokenProcessor
      [DI] Handle root namespace in service definitions
      Add support for command lazy-loading
      Use rawurlencode() to transform the Cookie into a string
      [TwigBundle] Added a RuntimeExtensionInterface to take advantage of autoconfigure
      [Process] Fix parsing args on Windows
      Add exculde verbosity test
      [HttpKernel][VarDumper] Truncate profiler data & optim perf
      [DI] Allow imports in string format for YAML
      [Validator] Allow to use a property path to get value to compare in comparison constraints
      [Security] Fix authentication.failure event not dispatched on AccountStatusException
      add option to define the access decision manager
      Add support for doctrin/dbal 2.6 types
    nicolas-grekas committed Jul 12, 2017
  2. feature #22734 [Console] Add support for command lazy-loading (chalasr)

    This PR was merged into the 3.4 branch.
    
    Discussion
    ----------
    
    [Console] Add support for command lazy-loading
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | symfony/symfony#12063 symfony/symfony#16438 symfony/symfony#13946 #21781
    | License       | MIT
    | Doc PR        | todo
    
    This PR adds command lazy-loading support to the console, based on PSR-11 and DI tags.
    (symfony/symfony#12063 (comment))
    
    Commands registered as services which set the `command` attribute on their `console.command` tag are now instantiated when calling `Application::get()` instead of all instantiated at `run()`.
    
    __Usage__
    
    ```yaml
    app.command.heavy:
        tags:
            - { name: console.command, command: app:heavy }
    ```
    
    This way private command services can be inlined (no public aliases, remain really private).
    
    With console+PSR11 implem only:
    
    ```php
    $application = new Application();
    $container = new ServiceLocator(['heavy' => function () { return new Heavy(); }]);
    $application->setCommandLoader(new ContainerCommandLoader($container, ['app:heavy' => 'heavy']);
    ```
    
    Implementation is widely inspired from Twig runtime loaders (without the definition/runtime separation which is not needed here).
    
    Commits
    -------
    
    7f97519 Add support for command lazy-loading
    nicolas-grekas committed Jul 12, 2017
  3. feature #19034 [Security] make it possible to configure a custom acce…

    …ss decision manager service (xabbuh)
    
    This PR was merged into the 3.4 branch.
    
    Discussion
    ----------
    
    [Security] make it possible to configure a custom access decision manager service
    
    | Q | A |
    | --- | --- |
    | Branch? | 3.4 |
    | Bug fix? | no |
    | New feature? | yes |
    | BC breaks? | no |
    | Deprecations? | no |
    | Tests pass? | yes |
    | Fixed tickets | #942, #14049, #15295, #16828, #16843, |
    | License | MIT |
    | Doc PR | TODO |
    
    These changes will make it possible to let users define their own voting strategies without the need for custom compiler passes that replace the built-in `AccessDecisionManager` (see linked issues in the PR table for some use cases).
    
    Commits
    -------
    
    e0913a2 add option to define the access decision manager
    nicolas-grekas committed Jul 12, 2017
Commits on Jul 11, 2017
  1. Merge branch '3.4'

    * 3.4:
      Add exculde verbosity test
      [Security] Lazy load user providers
    nicolas-grekas committed Jul 11, 2017
  2. feature #23295 [Security] Lazy load user providers (chalasr)

    This PR was merged into the 3.4 branch.
    
    Discussion
    ----------
    
    [Security] Lazy load user providers
    
    | Q             | A
    | ------------- | ---
    | Branch?       | 3.4
    | Bug fix?      | no
    | New feature?  | yes
    | BC breaks?    | no
    | Deprecations? | no
    | Tests pass?   | yes
    | Fixed tickets | n/a
    | License       | MIT
    | Doc PR        | n/a
    
    Commits
    -------
    
    d7914a6 [Security] Lazy load user providers
    nicolas-grekas committed Jul 11, 2017
  3. Merge branch '3.4'

    * 3.4: (23 commits)
      Don't display the Symfony debug toolbar when printing the page
      [Routing] also add matched params for redirect due to trailing slash
      do not wire namespaces for the ArrayAdapter
      check _controller attribute is a string before parsing it
      [Cache] Added test for ApcuAdapter when using in CLI
      [Validator] sync upgrade file with latest code changes
      allow to configure custom formats in XML configs
      [HttpKernel] fix DumpDataCollector tests
      [FrameworkBundle] fix changelog
      [WebProfilerBundle] Cleanup profiler leftover
      [Routing] Add matched and default parameters to redirect responses
      [DotEnv] Fix variable substitution
      require the XML PHP extension
      Fix phpdoc for serializer normalizers exceptions
      Fixed absolute url generation for query strings and hash urls
      bumped Symfony version to 2.8.25
      updated VERSION for 2.8.24
      updated CHANGELOG for 2.8.24
      bumped Symfony version to 2.7.32
      [Filesystem] Dont copy perms when origin is remote
      ...
    nicolas-grekas committed Jul 11, 2017
  4. Merge branch '3.3' into 3.4

    * 3.3:
      Don't display the Symfony debug toolbar when printing the page
      do not wire namespaces for the ArrayAdapter
      check _controller attribute is a string before parsing it
      [Cache] Added test for ApcuAdapter when using in CLI
      allow to configure custom formats in XML configs
      [HttpKernel] fix DumpDataCollector tests
      [FrameworkBundle] fix changelog
      [WebProfilerBundle] Cleanup profiler leftover
      [DotEnv] Fix variable substitution
      require the XML PHP extension
      Fix phpdoc for serializer normalizers exceptions
      Fixed absolute url generation for query strings and hash urls
      bumped Symfony version to 2.8.25
      updated VERSION for 2.8.24
      updated CHANGELOG for 2.8.24
      bumped Symfony version to 2.7.32
      [Filesystem] Dont copy perms when origin is remote
      updated VERSION for 2.7.31
      update CONTRIBUTORS for 2.7.31
      updated CHANGELOG for 2.7.31
    nicolas-grekas committed Jul 11, 2017
  5. Merge branch '3.2' into 3.3

    * 3.2:
      Don't display the Symfony debug toolbar when printing the page
      do not wire namespaces for the ArrayAdapter
      [Cache] Added test for ApcuAdapter when using in CLI
      allow to configure custom formats in XML configs
      [HttpKernel] fix DumpDataCollector tests
      [FrameworkBundle] fix changelog
      [WebProfilerBundle] Cleanup profiler leftover
      require the XML PHP extension
      Fix phpdoc for serializer normalizers exceptions
      Fixed absolute url generation for query strings and hash urls
      bumped Symfony version to 2.8.25
      updated VERSION for 2.8.24
      updated CHANGELOG for 2.8.24
      bumped Symfony version to 2.7.32
      [Filesystem] Dont copy perms when origin is remote
      updated VERSION for 2.7.31
      update CONTRIBUTORS for 2.7.31
      updated CHANGELOG for 2.7.31
    nicolas-grekas committed Jul 11, 2017
  6. Merge branch '2.8' into 3.2

    * 2.8:
      Don't display the Symfony debug toolbar when printing the page
      allow to configure custom formats in XML configs
      require the XML PHP extension
      Fixed absolute url generation for query strings and hash urls
      bumped Symfony version to 2.8.25
      updated VERSION for 2.8.24
      updated CHANGELOG for 2.8.24
      bumped Symfony version to 2.7.32
      [Filesystem] Dont copy perms when origin is remote
      updated VERSION for 2.7.31
      update CONTRIBUTORS for 2.7.31
      updated CHANGELOG for 2.7.31
    nicolas-grekas committed Jul 11, 2017
  7. Merge branch '2.7' into 2.8

    * 2.7:
      allow to configure custom formats in XML configs
      require the XML PHP extension
      Fixed absolute url generation for query strings and hash urls
      bumped Symfony version to 2.7.32
      [Filesystem] Dont copy perms when origin is remote
      updated VERSION for 2.7.31
      update CONTRIBUTORS for 2.7.31
      updated CHANGELOG for 2.7.31
    nicolas-grekas committed Jul 11, 2017
Commits on Jul 6, 2017
  1. Merge branch '3.3' into 3.4

    * 3.3: (33 commits)
      Preserve HttpOnly value when deserializing a header
      [DX] [TwigBundle] Enhance the new exception page design
      Fix deprecated message
      [DI][Security] Prevent unwanted deprecation notices when using Expression Languages
      bumped Symfony version to 3.3.5
      updated VERSION for 3.3.4
      updated CHANGELOG for 3.3.4
      [VarDumper] Reduce size of serialized Data objects
      bumped Symfony version to 3.2.12
      updated VERSION for 3.2.11
      updated CHANGELOG for 3.2.11
      fixed bad merge
      Fix indent of methods
      [Cache] Handle APCu failures gracefully
      [DoctrineBridge] Use normalizedIds for resetting entity manager services
      [FrameworkBundle] Do not remove files from assets dir
      [FrameworkBundle] 3.3: Don't get() private services from debug:router
      bumped Symfony version to 3.3.4
      updated VERSION for 3.3.3
      updated CHANGELOG for 3.3.3
      ...
    nicolas-grekas committed Jul 6, 2017
  2. require the XML PHP extension

    xabbuh committed Jul 6, 2017