Commit Graph

19487 Commits

Author SHA1 Message Date
Alexander Schwenn
fc51d544b5 [HttpFoundation] Make use of isEmpty() method 2015-01-12 17:40:49 +01:00
Massimiliano Arione
f600d1a557 fix missing comma in YamlDumper 2015-01-11 18:40:41 +01:00
Fabien Potencier
80b097094c bug #13355 [Console] Helper\Table->addRow optimization (boekkooi)
This PR was merged into the 2.5 branch.

Discussion
----------

[Console] Helper\Table->addRow optimization

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

Commits
-------

5d3a1fc [Console] Helper\Table->addRow optimization
2015-01-10 18:09:02 +01:00
Fabien Potencier
76de7006d5 bug #13347 [Console] Helper\TableHelper->addRow optimization (boekkooi)
This PR was merged into the 2.3 branch.

Discussion
----------

[Console] Helper\TableHelper->addRow optimization

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

Commits
-------

9ea59ac [Console] Helper\Table->addRow optimization
2015-01-10 18:05:09 +01:00
Nicolas Grekas
e26dc2c958 [VarDumper] fix very special vars handling 2015-01-10 17:01:14 +01:00
Warnar Boekkooi
5d3a1fc4c5 [Console] Helper\Table->addRow optimization 2015-01-10 13:50:07 +01:00
Szijarto Tamas
b248368d63 [DependencyInjection] Fix missing ExpressionLanguageProviders on extension bild
| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~
2015-01-10 10:50:24 +01:00
Fabien Potencier
aed787878f Merge branch '2.5' into 2.6
* 2.5:
  [PropertyAccessor] Added test to allow null value for a array
  [Yaml] Fixed #10597: Improved Yaml directive parsing
  [Form] Set a child type to text if added to the form without a type.
2015-01-09 19:07:16 +01:00
Fabien Potencier
e300b4384f Merge branch '2.3' into 2.5
* 2.3:
  [PropertyAccessor] Added test to allow null value for a array
  [Yaml] Fixed #10597: Improved Yaml directive parsing
  [Form] Set a child type to text if added to the form without a type.

Conflicts:
	src/Symfony/Component/PropertyAccess/PropertyAccessor.php
	src/Symfony/Component/PropertyAccess/Tests/PropertyAccessorTest.php
2015-01-09 19:07:12 +01:00
Fabien Potencier
55b8939183 bug #13346 [PropertyAccessor] Allow null value for a array (2.3) (boekkooi)
This PR was merged into the 2.3 branch.

Discussion
----------

[PropertyAccessor] Allow null value for a array (2.3)

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

Original PR is #12511
A rebase on 2.3 was requested by @fabpot

Commits
-------

9706b09 [PropertyAccessor] Added test to allow null value for a array
2015-01-09 17:16:50 +01:00
Warnar Boekkooi
9ea59ac531 [Console] Helper\Table->addRow optimization 2015-01-09 16:09:18 +01:00
Warnar Boekkooi
9706b090c0 [PropertyAccessor] Added test to allow null value for a array 2015-01-09 15:57:01 +01:00
Fabien Potencier
d5e9de2f94 bug #13170 [Form] Set a child type to text if added to the form without a type. (jakzal)
This PR was merged into the 2.3 branch.

Discussion
----------

[Form] Set a child type to text if added to the form without a type.

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

This copies the behaviour of `FormBuilder::create()` to `Form::add()`.

ping @webmozart

Commits
-------

57070a2 [Form] Set a child type to text if added to the form without a type.
2015-01-09 15:25:23 +01:00
Fabien Potencier
425385400d bug #13334 [Yaml] Fixed #10597: Improved Yaml directive parsing (VictoriaQ)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #13334).

Discussion
----------

[Yaml] Fixed #10597: Improved Yaml directive parsing

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

There was a problem with the regular expression used to process the YAML directive. The modifier `s` made the regex too greedy, replacing everything but the last line of the YAML. Existing tests using the YAML directive contained only one line, that's why they were passing.

Commits
-------

95d8ce3 [Yaml] Fixed #10597: Improved Yaml directive parsing
2015-01-09 15:23:47 +01:00
victoria
95d8ce3031 [Yaml] Fixed #10597: Improved Yaml directive parsing 2015-01-09 15:23:46 +01:00
Fabien Potencier
47d5133252 bug #13198 [Form] Fixed check of violation constraint #12792 (xelaris)
This PR was merged into the 2.6 branch.

Discussion
----------

[Form] Fixed check of violation constraint #12792

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

ConstraintViolation::getConstraint() must not expect to provide a constraint as long as Symfony\Component\Validator\ExecutionContext exists (before 3.0)

Commits
-------

aedabc7 [Form] Fixed check of violation constraint #12792
2015-01-09 15:03:07 +01:00
Martin Hasoň
af496eaef0 [FrameworkBundle] FormDataCollector should be loaded only if form config is enabled 2015-01-09 11:43:02 +01:00
Alexander Schwenn
aedabc76b6 [Form] Fixed check of violation constraint #12792
ConstraintViolation::getConstraint() must not expect to provide a
constraint as long as Symfony\Component\Validator\ExecutionContext
exists (before 3.0)
2015-01-09 05:45:27 +01:00
Fabien Potencier
ccee4ea91d Merge branch '2.5' into 2.6
* 2.5:
  [Security] moved test files into the right place
2015-01-08 11:46:13 +01:00
Fabien Potencier
b52e0d19c1 minor #13319 [Security] moved test files into the right place (fabpot)
This PR was merged into the 2.5 branch.

Discussion
----------

[Security] moved test files into the right place

Commits
-------

0601ed3 [Security] moved test files into the right place
2015-01-08 11:45:59 +01:00
Fabien Potencier
0601ed33c4 [Security] moved test files into the right place 2015-01-08 11:25:36 +01:00
Fabien Potencier
e49b325d4a Merge branch '2.5' into 2.6
* 2.5:
  [Form] fixed the CSRF extension to allow using only the new interfaces
2015-01-08 10:11:40 +01:00
Fabien Potencier
04ec9424d3 bug #13316 [Form] fixed the CSRF extension to allow using only the new interfaces (fabpot)
This PR was merged into the 2.5 branch.

Discussion
----------

[Form] fixed the CSRF extension to allow using only the new interfaces

| 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

The CSRF extension did not allow to only use the new interfaces, which leads to deprecation notices you cannot get rid of in 2.7.

Commits
-------

555b010 [Form] fixed the CSRF extension to allow using only the new interfaces
2015-01-08 10:11:25 +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
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
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
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
b3a55fe3f6 bumped Symfony version to 2.5.10 2015-01-07 14:02:53 +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