Commit Graph

25013 Commits

Author SHA1 Message Date
Fabien Potencier
92d291a17c bug #17745 Added more exceptions to singularify method (javiereguiluz)
This PR was merged into the 2.3 branch.

Discussion
----------

Added more exceptions to singularify method

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #16532
| License       | MIT
| Doc PR        | -

Added exceptions for `series`, `news` and `services`.

Commits
-------

f5daa0d Added more exceptions to singularify method
2016-02-12 07:37:13 +01:00
Fabien Potencier
31c17dd6d0 feature #17746 [Yaml] deprecate the Dumper::setIndentation() method (xabbuh)
This PR was merged into the 3.1-dev branch.

Discussion
----------

[Yaml] deprecate the Dumper::setIndentation() method

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

de4b207 deprecate the Dumper::setIndentation() method
2016-02-12 07:29:15 +01:00
Fabien Potencier
ca6f1f7428 bug #17691 Fixed (string) catchable fatal error for PHP Incomplete Class instances (yceruto)
This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #17691).

Discussion
----------

Fixed (string) catchable fatal error for PHP Incomplete Class instances

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #17586
| License       | MIT
| Doc PR        |  -

Commits
-------

4b7ed98 avoid (string) catchable fatal error for instances of __PHP_Incomplete_Class
2016-02-12 07:25:11 +01:00
Yonel Ceruto
4b7ed987dd avoid (string) catchable fatal error for instances of __PHP_Incomplete_Class 2016-02-12 07:25:11 +01:00
Fabien Potencier
4598b74906 Merge branch '2.3' into 2.7
* 2.3:
  remove unnecessary retrieval and setting of data
  avoid (string) catchable fatal error for __PHP_Incomplete_Class instances
  sendContent return as parent.
  [FrameworkBundle] Fix a typo
2016-02-12 07:23:50 +01:00
Fabien Potencier
81d654fb5c bug #17766 Fixed (string) catchable fatal error for PHP Incomplete Class instances (yceruto)
This PR was merged into the 2.3 branch.

Discussion
----------

Fixed (string) catchable fatal error for PHP Incomplete Class instances

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #17586
| License       | MIT
| Doc PR        |  -

Fixing for 2.3 branch.

Commits
-------

bb29979 avoid (string) catchable fatal error for __PHP_Incomplete_Class instances
2016-02-12 07:16:22 +01:00
Tobias Schultze
d0324e4795 minor #17763 Remove unnecessary retrieval and setting of data (Trent Steel)
This PR was submitted for the 2.8 branch but it was merged into the 2.3 branch instead (closes #17763).

Discussion
----------

Remove unnecessary retrieval and setting of data

| Q             | A
| ------------- | ---
| Bug fix?      | No
| New feature?  | No - optimisation
| BC breaks?    | No
| Deprecations? | No
| Tests pass?   | Yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | None

Commits
-------

ea52400 remove unnecessary retrieval and setting of data
2016-02-12 00:13:45 +01:00
Trent Steel
ea52400097 remove unnecessary retrieval and setting of data 2016-02-12 00:13:18 +01:00
Charles Sarrazin
34d3c853cb Added compatibility layer for previous version of the Security component 2016-02-11 18:57:24 +01:00
Charles Sarrazin
81cb79b10a Improved the Ldap Component
* Moved connection logic to dedicated class
* Added support for Ldap result entries iterator and renamed LdapClient to Ldap
* Added support for multiple adapters
* Attempt anonymous bind if the connection is not bound beforehand
* Finalized API
* Updated the Security component to use v3.1 of the Ldap component
* Updated unit tests
* Added support for functional tests
* Updated README file
2016-02-11 18:54:23 +01:00
Thomas Lallement
0a5df6f11a Update validators.fr.xlf 2016-02-11 16:57:09 +01:00
Yonel Ceruto
bb29979218 avoid (string) catchable fatal error for __PHP_Incomplete_Class instances 2016-02-11 09:15:16 -05:00
Fabien Potencier
730a472721 bug #17757 [HttpFoundation] BinaryFileResponse sendContent return as parent. (2.3) (SpacePossum)
This PR was merged into the 2.3 branch.

Discussion
----------

[HttpFoundation] BinaryFileResponse sendContent return as parent. (2.3)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

`BinaryFileResponse` extends `Response` and overrides the `sendContent`-method. It would be nice if it also returns as the parent does, i.e. itself. This makes it easier to deal with diff. `Response` classes.
The other fixes are to make SCA easier. No BC-breaks AFAIK.

Commits
-------

120dfe4 sendContent return as parent.
2016-02-11 10:27:07 +01:00
Jules Pietri
2336d5c466 fix choice_value option in EntityType
and add some tests
2016-02-11 01:55:30 +01:00
possum
120dfe48a6 sendContent return as parent. 2016-02-10 20:09:02 +01:00
Jakub Zalas
73216c9cfe [HttpKernel] Document the removed possibility to pass objects to ESI and SSI renderers 2016-02-10 16:55:01 +00:00
Jakub Zalas
b1e5149ec9 bug #17748 [DomCrawler] Remove the overridden getHash() method to prevent problems when cloning the crawler (jakzal)
This PR was merged into the 2.8 branch.

Discussion
----------

[DomCrawler] Remove the overridden getHash() method to prevent problems when cloning the crawler

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #16421
| License       | MIT
| Doc PR        | -

Overriding the `SplObjectStorage::getHash()` is affected by a [PHP bug](https://bugs.php.net/bug.php?id=67582), which makes the Crawler unusable in Symfony 2.8 for anyone who relied on `SplObjectStorage` methods.

Removing the `getHash()` method means we will no longer trigger the deprecation error. Given this method is unlikely to be used directly and other `SplObjectStorage` methods will trigger the error, it is the simplest thing we can do to maintain BC.

Commits
-------

3d7f6c6 [DomCrawler] Remove the overridden getHash() method to prevent problems when cloning the crawler
2016-02-10 15:16:32 +00:00
Jakub Zalas
3d7f6c69c2 [DomCrawler] Remove the overridden getHash() method to prevent problems when cloning the crawler
Overriding the SplObjectStorage::getHash() is affected by a PHP bug (https://bugs.php.net/bug.php?id=67582),
which makes the Crawler unusable in Symfony 2.8 for anyone who relied on SplObjectStorage methods.
Removing the getHash() method means we will no longer trigger the deprecation error. Given this method
is unlikely to be used directly and other SplObjectStorage methods will trigger the error, it is the simplest
thing we can do to maintain BC.
2016-02-10 13:25:51 +00:00
Christian Flothmann
bb85161de9 minor #17747 [FrameworkBundle] Fix a typo (jakzal)
This PR was merged into the 2.3 branch.

Discussion
----------

[FrameworkBundle] Fix a typo

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

89133e6 [FrameworkBundle] Fix a typo
2016-02-10 12:08:23 +01:00
Jakub Zalas
89133e6a71 [FrameworkBundle] Fix a typo 2016-02-10 10:18:08 +00:00
Christian Flothmann
de4b207c4d deprecate the Dumper::setIndentation() method 2016-02-10 00:04:48 +01:00
Christian Flothmann
09a54ef1b9 [Yaml] mark the Inline class as internal 2016-02-09 23:51:23 +01:00
Javier Eguiluz
f5daa0dea9 Added more exceptions to singularify method 2016-02-09 22:08:46 +01:00
Christian Flothmann
e572a641b0 dumper flag to enable exceptions on invalid types 2016-02-09 21:51:36 +01:00
Fabien Potencier
33c797ee05 minor #17741 [Yaml] fix typos in changelog and upgrade files (xabbuh)
This PR was merged into the 3.1-dev branch.

Discussion
----------

[Yaml] fix typos in changelog and upgrade files

| Q             | A
| ------------- | ---
| Fixed tickets |
| License       | MIT

Commits
-------

12c88dd [Yaml] fix typos in changelog and upgrade files
2016-02-09 21:09:05 +01:00
Fabien Potencier
3c382c54c5 bug #17725 [WebProfilerBundle] Add width attribute on SVG - Fix toolbar profiler on microsoft edge (AlexandrePavy)
This PR was submitted for the 3.0 branch but it was merged into the 2.8 branch instead (closes #17725).

Discussion
----------

[WebProfilerBundle] Add width attribute on SVG - Fix toolbar profiler on microsoft edge

Fix Debug Toolbar on microsoft Edge

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   |
| Fixed tickets |
| License       | MIT
| Doc PR        |

I found one issue on Microsoft edge with debug toolbar

<img width="1080" alt="issue debug toolbar issue" src="https://cloud.githubusercontent.com/assets/6603411/12887804/fdf4496a-ce76-11e5-8253-9be3861925ec.png">

i fixed the issue add width parameter on all SVG

<img width="1080" alt="fix microsoft edge" src="https://cloud.githubusercontent.com/assets/6603411/12887813/0a1e588e-ce77-11e5-825c-a9a0bb63b526.png">

Reponsive design fixed

<img width="537" alt="fix responsive design toolbar" src="https://cloud.githubusercontent.com/assets/6603411/12887825/180783c6-ce77-11e5-90c3-21e5d7759930.png">

Commits
-------

0ba88c2 Add width attribute on SVG
2016-02-09 21:05:33 +01:00
Alexandre Pavy
0ba88c2a44 Add width attribute on SVG
Fix Debug Toolbar on microsoft Edge
2016-02-09 21:05:23 +01:00
Christian Flothmann
12c88dde0a [Yaml] fix typos in changelog and upgrade files 2016-02-09 21:02:42 +01:00
Fabien Potencier
cd374277a4 feature #17730 [Yaml] introduce flags to customize the parser behavior (xabbuh)
This PR was merged into the 3.1-dev branch.

Discussion
----------

[Yaml] introduce flags to customize the parser behavior

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | TODO

Since #17578 it is possible to customise dumped YAML strings with an optional bit field. This pull request does the same for the parser part of the Yaml component.

Commits
-------

9cb8552 introduce flags to customize the parser behavior
2016-02-09 20:55:56 +01:00
Fabien Potencier
d61ca3d650 bug #17703 [FrameworkBundle] Support autowiring for TranslationInterface (dunglas)
This PR was squashed before being merged into the 2.8 branch (closes #17703).

Discussion
----------

[FrameworkBundle] Support autowiring for TranslationInterface

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

2419725 [FrameworkBundle] Support autowiring for TranslationInterface
2016-02-09 20:51:46 +01:00
Kévin Dunglas
2419725cbb [FrameworkBundle] Support autowiring for TranslationInterface 2016-02-09 20:51:45 +01:00
Fabien Potencier
33168b0fd7 feature #17125 Webprofiler add status code to search form (oktapodia)
This PR was submitted for the 3.0 branch but it was merged into the 3.1-dev branch instead (closes #17125).

Discussion
----------

Webprofiler add status code to search form

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/pull/13034
| License       | MIT

With this PR, in the web profiler, you can filter by HTTP status codes.

*Before filter*
![image](https://i.gyazo.com/8cb99295b12489cc9024ccc07fabf805.png)

*After filter*
![image](https://i.gyazo.com/4caaf032b56ccfe84198a230dbb211a2.png)

Commits
-------

7d3700a Webprofiler add status code to search form
2016-02-09 20:48:16 +01:00
BRAMILLE Sébastien
7d3700a48f Webprofiler add status code to search form 2016-02-09 20:48:16 +01:00
Christian Flothmann
9cb85522eb introduce flags to customize the parser behavior 2016-02-09 16:51:17 +01:00
Oleg Voronkovich
3c6043ecdd Improve debug:container command 2016-02-09 15:14:01 +03:00
Nicolas Grekas
80f3410da9 [Cache] Skip transient test on Windows 2016-02-08 14:03:54 +01:00
Nicolas Grekas
00f5e7b9c6 bug #17661 [Cache] Fix expiries handling (nicolas-grekas)
This PR was merged into the 3.1-dev branch.

Discussion
----------

[Cache] Fix expiries handling

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

064ec0b [Cache] Fix expiries handling
2016-02-08 11:36:25 +01:00
Fabien Potencier
9d04018350 bug #17613 [WebProfiler] Fixed logo and menu profiler for Microsoft Edge (WhiteEagle88)
This PR was merged into the 2.8 branch.

Discussion
----------

[WebProfiler] Fixed logo and menu profiler for Microsoft Edge

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #16887
| License       | MIT
| Doc PR        | -

Commits
-------

d120c08 [WebProfiler] Fixed styles for search block and menu profiler for IE Edge
2016-02-08 08:35:16 +01:00
Nicolas Grekas
064ec0b578 [Cache] Fix expiries handling 2016-02-08 08:22:02 +01:00
Tobias Schultze
df99788a1c minor #17717 fixed codeblock in UPGRADE-3.1.md (eXtreme)
This PR was merged into the 3.1-dev branch.

Discussion
----------

fixed codeblock in UPGRADE-3.1.md

Missing backticks break upgrade notes for 3.1.

| Q             | A
| ------------- | ---
| Bug fix?      | -
| New feature?  | -
| BC breaks?    | -
| Deprecations? | -
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

cb00055 fixed codeblock in UPGRADE-3.1.md
2016-02-07 18:17:04 +01:00
Jacek Jędrzejewski
cb000558e9 fixed codeblock in UPGRADE-3.1.md 2016-02-07 12:55:44 +01:00
Christian Flothmann
ccd47b7a29 minor #17712 [TwigBridge] fix default argument value (xabbuh)
This PR was merged into the 3.1-dev branch.

Discussion
----------

[TwigBridge] fix default argument value

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #17705
| License       | MIT
| Doc PR        |

When deprecating boolean argument values, the default value must not be
`false`.

Commits
-------

beea61e [TwigBridge] fix default argument value
2016-02-07 11:38:28 +01:00
Christian Flothmann
beea61ecfc [TwigBridge] fix default argument value
When deprecating boolean argument values, the default value must not be
`false`.
2016-02-06 21:23:59 +01:00
Fabien Potencier
1fc6a544e0 feature #17705 [TwigBridge] deprecate the boolean object support trigger (xabbuh)
This PR was merged into the 3.1-dev branch.

Discussion
----------

[TwigBridge] deprecate the boolean object support trigger

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | yes
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

This reflects the changes done in the Yaml component in #17578.

Commits
-------

27243c6 deprecate the boolean object support trigger
2016-02-06 08:35:13 +01:00
Fabien Potencier
61575e7a7a minor #17663 [Serializer] Remove unused code (dunglas)
This PR was squashed before being merged into the 3.1-dev branch (closes #17663).

Discussion
----------

[Serializer] Remove unused code

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | n/a
| License       | MIT
| Doc PR        | n/a

Commits
-------

61b8494 [Serializer] Remove unused code
2016-02-06 08:06:45 +01:00
Kévin Dunglas
61b8494264 [Serializer] Remove unused code 2016-02-06 08:06:34 +01:00
Fabien Potencier
45031ff31d minor #17398 [Validator] remove obsolete context and PropertyAccess code (Tobion)
This PR was squashed before being merged into the 3.0 branch (closes #17398).

Discussion
----------

[Validator] remove obsolete context and PropertyAccess code

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

a9d9d62 [Validator] remove obsolete context and PropertyAccess code
2016-02-06 08:05:32 +01:00
Tobias Schultze
a9d9d62e9b [Validator] remove obsolete context and PropertyAccess code 2016-02-06 08:05:29 +01:00
Christian Flothmann
27243c6b65 deprecate the boolean object support trigger 2016-02-05 18:01:40 +01:00
Nicolas Grekas
15b00cc3f8 Merge branch '3.0'
* 3.0:
  [TwigBridge] forward compatibility with Yaml 3.1
2016-02-05 12:36:11 +01:00