Commit Graph

19807 Commits

Author SHA1 Message Date
Fabien Potencier
7a95dbbae1 minor #13312 [Validator] Add a Slovenian translation for the checkDNS option in the U... (peterkokot)
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] Add a Slovenian translation for the checkDNS option in the U...

| 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
-------

4b5f05f [Validator] Add a Slovenian translation for the checkDNS option in the URL validator
2015-01-08 09:44:20 +01:00
Fabien Potencier
555b010b1f [Form] fixed the CSRF extension to allow using only the new interfaces 2015-01-08 09:14:31 +01:00
Fabien Potencier
a396b416bd [Form] tweaked a deprecation message 2015-01-08 09:08:17 +01:00
Vadim Kharitonov
ac00b8711f [Validator] Add a Russian translation for the checkDNS option in the URL validator 2015-01-08 10:06:23 +03:00
Peter Kokot
4b5f05f7c6 [Validator] Add a Slovenian translation for the checkDNS option in the URL validator 2015-01-08 07:49:48 +01:00
Fabien Potencier
ef7600fc84 minor #13310 [Validator] Add a Polish translation for the checkDNS option in the URL validator (jakzal)
This PR was merged into the 2.7 branch.

Discussion
----------

[Validator] Add a Polish translation for the checkDNS option in the URL validator

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

re #12956

Commits
-------

bf26992 [Validator] Add a Polish translation for the checkDNS option in the URL validator.
2015-01-08 07:13:04 +01:00
Jakub Zalas
bf26992ecd [Validator] Add a Polish translation for the checkDNS option in the URL validator. 2015-01-07 22:59:51 +00:00
Fabien Potencier
728e05e016 Merge branch '2.6' into 2.7
* 2.6:
  fixed typo
2015-01-07 22:37:22 +01:00
Fabien Potencier
1d3a5c6422 Merge branch '2.5' into 2.6
* 2.5:
  fixed typo
2015-01-07 22:37:14 +01:00
Fabien Potencier
4fdb83203f fixed typo 2015-01-07 22:37:06 +01:00
Fabien Potencier
36e5480c5e Merge branch '2.6' into 2.7
* 2.6:
  added missing support for factories in console descriptions
  [FrameworkBundle] fixed missing information in some descriptors

Conflicts:
	src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/definition_1.md
	src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/route_1.txt
	src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Descriptor/route_2.txt
2015-01-07 22:30:51 +01:00
Fabien Potencier
8d982f8cf5 bug #13307 added missing support for factories in console descriptions (fabpot)
This PR was merged into the 2.6 branch.

Discussion
----------

added missing support for factories in console descriptions

| 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

Follow-up for #13305

Commits
-------

f7fcefa added missing support for factories in console descriptions
2015-01-07 22:29:19 +01:00
Fabien Potencier
f7fcefa58e added missing support for factories in console descriptions 2015-01-07 22:27:32 +01:00
Fabien Potencier
4308bd8635 Merge branch '2.5' into 2.6
* 2.5:
  [FrameworkBundle] fixed missing information in some descriptors
2015-01-07 22:10:49 +01:00
Fabien Potencier
b5c2600f5c bug #13305 [FrameworkBundle] fixed missing information in some descriptors (fabpot)
This PR was merged into the 2.5 branch.

Discussion
----------

[FrameworkBundle] fixed missing information in some descriptors

| 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
-------

530af5c [FrameworkBundle] fixed missing information in some descriptors
2015-01-07 22:10:05 +01:00
Fabien Potencier
530af5c009 [FrameworkBundle] fixed missing information in some descriptors 2015-01-07 18:56:38 +01:00
Fabien Potencier
0577065abd Merge branch '2.6' into 2.7
* 2.6:
  bumped Symfony version to 2.6.4
  updated VERSION for 2.6.3
  updated CHANGELOG for 2.6.3
  bumped Symfony version to 2.6.3
  updated VERSION for 2.6.2
  updated CHANGELOG for 2.6.2
  bumped Symfony version to 2.5.10
  updated VERSION for 2.5.9
  updated CHANGELOG for 2.5.9
  [FrameworkBundle] Use security.token_storage service in Controller::getUser()
  bumped Symfony version to 2.3.25
  updated VERSION for 2.3.24
  update CONTRIBUTORS for 2.3.24
  Removed unneeded version requirements
  updated CHANGELOG for 2.3.24
  fixed tests
  [Security] Don't destroy the session on buggy php releases.
  [Process] Fix input reset in WindowsPipes
  add back model_timezone and view_timezone options

Conflicts:
	src/Symfony/Component/HttpKernel/Kernel.php
2015-01-07 16:58:19 +01:00
Fabien Potencier
d00a43554c bumped Symfony version to 2.6.4 2015-01-07 16:48:51 +01:00
Fabien Potencier
c34ef41801 updated VERSION for 2.6.3 2015-01-07 15:47:29 +01:00
Fabien Potencier
336ded2e22 updated CHANGELOG for 2.6.3 2015-01-07 15:47:22 +01:00
Fabien Potencier
75f970618d bumped Symfony version to 2.6.3 2015-01-07 15:32:02 +01:00
Fabien Potencier
48b6210b1f Merge branch '2.5' into 2.6
* 2.5:
  bumped Symfony version to 2.5.10
  updated VERSION for 2.5.9
  updated CHANGELOG for 2.5.9
  bumped Symfony version to 2.3.25
  updated VERSION for 2.3.24
  update CONTRIBUTORS for 2.3.24
  Removed unneeded version requirements
  updated CHANGELOG for 2.3.24
  fixed tests
  [Security] Don't destroy the session on buggy php releases.

Conflicts:
	src/Symfony/Component/HttpKernel/Kernel.php
2015-01-07 15:31:37 +01:00
Fabien Potencier
bfd8e11441 updated VERSION for 2.6.2 2015-01-07 15:05:59 +01:00
Fabien Potencier
5b72ea5de6 updated CHANGELOG for 2.6.2 2015-01-07 15:04:20 +01:00
Fabien Potencier
8a168a31b6 feature #13241 [Form] add back model_timezone and view_timezone options (xabbuh)
This PR was merged into the 2.6 branch.

Discussion
----------

[Form] add back model_timezone and view_timezone options

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #13224
| License       | MIT
| Doc PR        | TODO (deprecate the `model_timezone` and `view_timezone` options)

This reverts #12404.

Commits
-------

1c4a75a add back model_timezone and view_timezone options
2015-01-07 14:18:11 +01:00
Fabien Potencier
dece1e0ee0 minor #13279 Enhance deprecation summary at end of tests (nicolas-grekas)
This PR was merged into the 2.7 branch.

Discussion
----------

Enhance deprecation summary at end of tests

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

Splits deprecations triggered by legacy tests and non-legacy ones.

Commits
-------

7b8cf01 Enhance deprecation summary at end of tests
2015-01-07 14:13:42 +01:00
Fabien Potencier
b3a55fe3f6 bumped Symfony version to 2.5.10 2015-01-07 14:02:53 +01:00
Fabien Potencier
0ec852d79f added a relative_path Twig function 2015-01-07 13:33:01 +01:00
Fabien Potencier
e082a9f28e updated VERSION for 2.5.9 2015-01-07 13:32:08 +01:00
Fabien Potencier
59000ae8f1 updated CHANGELOG for 2.5.9 2015-01-07 13:30:42 +01:00
Fabien Potencier
77b68b366c bug #13297 [Process] Fix input reset in WindowsPipes (mpajunen)
This PR was merged into the 2.6 branch.

Discussion
----------

[Process] Fix input reset in WindowsPipes

| 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

Unsetting the input property causes an E_NOTICE error when the
property is checked on line 249 (and is likely unintentional anyway).

Commits
-------

4e941e3 [Process] Fix input reset in WindowsPipes
2015-01-07 13:29:00 +01:00
Fabien Potencier
be0c3125d9 minor #13214 [FrameworkBundle] Use security.token_storage service in Controller::getUser() (xelaris)
This PR was squashed before being merged into the 2.6 branch (closes #13214).

Discussion
----------

[FrameworkBundle] Use security.token_storage service in Controller::getUser()

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

Replace deprecated `security.context` with `security.token_storage` service.

Commits
-------

f46ce9c [FrameworkBundle] Use security.token_storage service in Controller::getUser()
2015-01-07 13:28:03 +01:00
Alexander Schwenn
f46ce9cebb [FrameworkBundle] Use security.token_storage service in Controller::getUser() 2015-01-07 13:28:00 +01:00
Fabien Potencier
686015da73 Merge branch '2.3' into 2.5
* 2.3:
  bumped Symfony version to 2.3.25
  updated VERSION for 2.3.24
  update CONTRIBUTORS for 2.3.24
  updated CHANGELOG for 2.3.24
  fixed tests
  [Security] Don't destroy the session on buggy php releases.

Conflicts:
	src/Symfony/Component/Console/Tests/Fixtures/application_2.json
	src/Symfony/Component/HttpKernel/Kernel.php
2015-01-07 13:26:05 +01:00
Fabien Potencier
1b39930dad bumped Symfony version to 2.3.25 2015-01-07 12:12:24 +01:00
Fabien Potencier
5b2c33be25 updated VERSION for 2.3.24 2015-01-07 11:32:09 +01:00
Fabien Potencier
b74037792f update CONTRIBUTORS for 2.3.24 2015-01-07 11:31:01 +01:00
Fabien Potencier
3e02ca23de minor #13303 Removed unneeded version requirements (peterrehm)
This PR was merged into the 2.5 branch.

Discussion
----------

Removed unneeded version requirements

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   |
| Fixed tickets | -
| License       | MIT
| Related        | #12891

As @stof has requested.

Commits
-------

3716f4c Removed unneeded version requirements
2015-01-07 11:30:36 +01:00
Fabien Potencier
07ec37cf7c added missing E_USER_DEPRECATED argument to trigger_error() calls 2015-01-07 11:29:42 +01:00
Peter Rehm
3716f4c138 Removed unneeded version requirements 2015-01-07 11:23:40 +01:00
Fabien Potencier
154e442f47 updated CHANGELOG for 2.3.24 2015-01-07 11:21:38 +01:00
Fabien Potencier
21b27c6be9 fixed tests 2015-01-07 11:18:33 +01:00
Fabien Potencier
c076ba8a9a bug #13286 [Security] Don't destroy the session on buggy php releases. (derrabus)
This PR was squashed before being merged into the 2.3 branch (closes #13286).

Discussion
----------

[Security] Don't destroy the session on buggy php releases.

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

See #13269 for the discussion. This workaround avoids destroying the old session after login on the migrate strategy when running under a php version that we know to be broken.

Corresponding php bug: https://bugs.php.net/bug.php?id=63379

Commits
-------

5d0b527 [Security] Don't destroy the session on buggy php releases.
2015-01-07 09:13:08 +01:00
Alexander M. Turek
5d0b527dea [Security] Don't destroy the session on buggy php releases. 2015-01-07 09:13:06 +01:00
Fabien Potencier
37601dda2c feature #13252 [Serializer] Refactoring and object_to_populate support. (dunglas)
This PR was merged into the 2.7 branch.

Discussion
----------

[Serializer] Refactoring and object_to_populate support.

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

This PR is mainly a refactoring. It move up the common code of `PorpertyNormalizer` and `GetSetMethodNormalizer` into `AbstractNormalizer`.

It also adds a news feature: the ability to use an existing object instance for denormalization:

```php
$dummy = new GetSetDummy();
$dummy->setFoo('foo');

$obj = $this->normalizer->denormalize(
    array('bar' => 'bar'),
    'GetSetDummy',
     null,
     array('object_to_populate' => $dummy)
);

// $obj and $dummy are references to the same object
```

Commits
-------

b5990be [Serializer] Refactoring and object_to_populate support.
2015-01-07 09:02:39 +01:00
Fabien Potencier
16b5614630 feature #13255 [Serializer] Add circular reference handling to the PropertyNormalizer (dunglas)
This PR was merged into the 2.7 branch.

Discussion
----------

[Serializer] Add circular reference handling to the PropertyNormalizer

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

Move circular references handling to `AbstractNormalizer` and use it in `PropertyNormalizer`.

Commits
-------

fbc9335 [Serializer] Add circular reference handling to the PropertyNormalizer
2015-01-07 09:01:42 +01:00
Fabien Potencier
9841a92d7a minor #13292 [2.7] silence deprecations for getFactory*() BC layer (nicolas-grekas)
This PR was merged into the 2.7 branch.

Discussion
----------

[2.7] silence deprecations for getFactory*() BC layer

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

From 150k to 5k notices

Commits
-------

998dedf [2.7] silence deprecations for getFactory*() BC layer
2015-01-07 08:57:15 +01:00
Nicolas Grekas
7b8cf01f6b Enhance deprecation summary at end of tests 2015-01-07 08:47:19 +01:00
Nicolas Grekas
998dedf788 [2.7] silence deprecations for getFactory*() BC layer 2015-01-07 08:44:59 +01:00
Mikael Pajunen
4e941e3d2d [Process] Fix input reset in WindowsPipes
Unsetting the input property causes an E_NOTICE error when the
property is checked on line 249 (and is likely unintentional anyway).
2015-01-07 00:47:52 +02:00