Commit Graph

20328 Commits

Author SHA1 Message Date
Fabien Potencier 54e07c95dc minor #13580 [Serializer] Use autoloader for annotations in tests (dunglas)
This PR was merged into the 2.7 branch.

Discussion
----------

[Serializer] Use autoloader for annotations in tests

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

Commits
-------

75e2ebf [Serializer] Use autoloader for annotations in tests
2015-02-04 13:46:41 +01:00
Fabien Potencier d5de9d301e minor #13584 [Validator] Remove unnecessary include in tests (dunglas)
This PR was submitted for the 2.7 branch but it was merged into the 2.3 branch instead (closes #13584).

Discussion
----------

[Validator] Remove unnecessary include in tests

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

Commits
-------

a4a581c [Validator] Remove unnecessary include in tests
2015-02-04 13:44:36 +01:00
Kévin Dunglas a4a581c20d [Validator] Remove unnecessary include in tests 2015-02-04 13:44:35 +01:00
Fabien Potencier 1beb7603ad minor #13581 [Serializer] Use Serializer's LogicException when applicable (dunglas)
This PR was merged into the 2.7 branch.

Discussion
----------

[Serializer] Use Serializer's LogicException when applicable

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

Commits
-------

8ddc888 [Serializer] Use Serializer's LogicException when applicable
2015-02-04 13:39:03 +01:00
Fabien Potencier a6f1e8ca07 minor #13583 [HttpFoundation] minor: clarify Request::getUrlencodedPrefix() regex (dunglas)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #13583).

Discussion
----------

[HttpFoundation] minor: clarify Request::getUrlencodedPrefix() regex

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

The current notation used is confusing and displays an error in PHPStorm (probably a false positive). This PR clarify the notation.

Commits
-------

1aba7b4 [HttpFoundation] minor: clarify Request::getUrlencodedPrefix() regex
2015-02-04 08:33:11 +01:00
Kévin Dunglas 1aba7b4f3d [HttpFoundation] minor: clarify Request::getUrlencodedPrefix() regex 2015-02-04 08:33:10 +01:00
Fabien Potencier 87c0659b14 fixed typo 2015-02-04 08:25:10 +01:00
Kévin Dunglas 8ddc888f00 [Serializer] Use Serializer's LogicException when applicable 2015-02-03 23:38:39 +01:00
Kévin Dunglas 75e2ebfa30 [Serializer] Use autoloader for annotations in tests 2015-02-03 23:16:32 +01:00
Nicolas Grekas 603fec52f9 [Validator] fix DOS-style line endings 2015-02-03 20:11:13 +01:00
David Prévot 6141f3a625 Drop useless execution bit 2015-02-03 14:46:06 -04:00
Fabien Potencier e58a68ca73 bumped Symfony version to 2.6.5 2015-02-03 11:03:51 +01:00
Kévin Dunglas 021a253d1d [Serializer] update changelog 2015-02-03 08:04:31 +01:00
Fabien Potencier fcd6d6085f feature #13120 [Serializer] Name converter support (dunglas)
This PR was merged into the 2.7 branch.

Discussion
----------

[Serializer] Name converter support

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

This PR adds support for custom property naming strategies to the serializer and provides a built-in NameConverter using this new system: (CamelCase to underscore).
It handles normalization and denormalization (convert `fooBar` to `foo_bar` when serializing, then from `foo_bar` to `fooBar` when deserializing). It also has a flag to convert only some attributes.

The `setCamelizedAttributes()` is deprecated in favor of this new method (more flexible, allows to rename all attributes of a class and support deserialization) and now uses it internally.

Commits
-------

86b84a5 [Serializer] Update changelog
e14854f [Serializer] Name converter support
2015-02-03 07:47:10 +01:00
Kévin Dunglas 86b84a573b [Serializer] Update changelog 2015-02-02 23:11:58 +01:00
Fabien Potencier 23b647f1e4 updated VERSION for 2.6.4 2015-02-02 19:02:30 +01:00
Fabien Potencier 628a6a16ae updated CHANGELOG for 2.6.4 2015-02-02 19:02:08 +01:00
Miroslav Sustek 6e197a03dc [TwigBridge] Added support for passing more files to twig:lint command 2015-02-02 17:43:28 +01:00
Fabien Potencier 5af363dc5e bug #13489 [VarDumper] CSS fix (Arrilot)
This PR was merged into the 2.6 branch.

Discussion
----------

[VarDumper] CSS fix

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

Small css issue:
When you use `dump()` after some html has been already echoed (this can be common in non-Symfony app) and you have elements with e.g. `position: absolute` you can end up watching logos and menus instead of vardumper's output:
![css-issue](https://cloud.githubusercontent.com/assets/2826480/5841607/438bf874-a1af-11e4-9905-542a59d358f8.png)

`position: relative` and `z-index` help a lot and i don't see any disadvantages in having these styles by default

Commits
-------

538195c [Var-Dumper] css-fix
2015-02-02 17:32:08 +01:00
Fabien Potencier 88899cb7e9 bug #13441 [VarDumper] fix handling of non-UTF8 strings (nicolas-grekas)
This PR was merged into the 2.6 branch.

Discussion
----------

[VarDumper] fix handling of non-UTF8 strings

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

Commits
-------

4205559 [VarDumper] fix handling of non-UTF8 strings
2015-02-02 15:11:00 +01:00
Fabien Potencier 45e42a8d21 bumped Symfony version to 2.5.11 2015-02-02 15:03:24 +01:00
sergey aa6538a8a9 [HttpKernel] Added use of provided by #12022 method to instantiate controller class in bundle's controller resolver 2015-02-02 15:24:27 +02:00
Fabien Potencier 6ffe6437a9 updated VERSION for 2.5.10 2015-02-02 10:26:53 +01:00
Fabien Potencier 7e79c228ed updated CHANGELOG for 2.5.10 2015-02-02 10:26:02 +01:00
Vadim Kharitonov 503f061f75 [Validator] Add a Russian translation for invalid charset message 2015-02-02 12:24:57 +03:00
Fabien Potencier e339e11237 minor #13569 [2.3] [Validator] spanish translation for invalid charset message (phansys)
This PR was squashed before being merged into the 2.3 branch (closes #13569).

Discussion
----------

[2.3] [Validator] spanish translation for invalid charset message

| 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

ref. #13528

Commits
-------

40ace96 [2.3] [Validator] spanish translation for invalid charset message
2015-02-02 10:24:04 +01:00
Javier Spagnoletti 40ace962de [2.3] [Validator] spanish translation for invalid charset message 2015-02-02 10:24:02 +01:00
Sebastian Grodzicki 00e3a42a5a Replaced raster PNG icons with vector SVG icons 2015-02-02 09:19:59 +01:00
Nicolas Grekas 4205559cdc [VarDumper] fix handling of non-UTF8 strings 2015-02-01 17:12:20 +01:00
Nicolas Grekas c47bbbe5d3 Merge branch '2.5' into 2.6
* 2.5:
  [Validator] use 2.5 API in LengthValidator
  fixed id for translations
  bumped Symfony version to 2.3.26
  Dutch translation for invalid charset message
  German translation for invalid charset message
  Add a Slovenian translation for invalid charset message
  Add a Polish translation.
  Test lowest deps with latest 5.3
  updated VERSION for 2.3.25
  update CONTRIBUTORS for 2.3.25
  updated CHANGELOG for 2.3.25
  Fix docblocks to comments
  Inject the correct EventDispatcher instance
  [Validator] reject ill-formed strings
  [Validator] drop grapheme_strlen in LengthValidator
  Unique Entity Validator Invalid Value
  [FrameworkBundle][config] allow multiple fallback locales.

Conflicts:
	src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
	src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php
	src/Symfony/Component/Validator/Resources/translations/validators.de.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.en.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.fr.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.nl.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.pl.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.sl.xlf
2015-02-01 17:10:57 +01:00
Nicolas Grekas ed18cde58d minor #13568 [Validator] use 2.5 API in LengthValidator (nicolas-grekas)
This PR was merged into the 2.5 branch.

Discussion
----------

[Validator] use 2.5 API in LengthValidator

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

Commits
-------

7602454 [Validator] use 2.5 API in LengthValidator
2015-02-01 17:05:01 +01:00
Nicolas Grekas 760245423e [Validator] use 2.5 API in LengthValidator 2015-02-01 16:46:51 +01:00
Fabien Potencier f1f657a68d Merge branch '2.3' into 2.5
* 2.3:
  fixed id for translations
  bumped Symfony version to 2.3.26
  Dutch translation for invalid charset message
  German translation for invalid charset message
  Add a Slovenian translation for invalid charset message
  Add a Polish translation.
  Test lowest deps with latest 5.3
  updated VERSION for 2.3.25
  update CONTRIBUTORS for 2.3.25
  updated CHANGELOG for 2.3.25
  Fix docblocks to comments
  [Validator] reject ill-formed strings
  [Validator] drop grapheme_strlen in LengthValidator
  Unique Entity Validator Invalid Value
  [FrameworkBundle][config] allow multiple fallback locales.

Conflicts:
	src/Symfony/Bridge/Doctrine/Tests/Validator/Constraints/UniqueEntityValidatorTest.php
	src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php
	src/Symfony/Component/HttpKernel/Kernel.php
	src/Symfony/Component/Validator/Resources/translations/validators.de.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.en.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.fr.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.nl.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.pl.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.sl.xlf
	src/Symfony/Component/Validator/Tests/Constraints/LengthValidatorTest.php
2015-02-01 10:36:16 +01:00
Fabien Potencier d03a905253 fixed id for translations 2015-02-01 10:22:11 +01:00
Fabien Potencier 9229b181a9 minor #13559 Test lowest deps with latest 5.3 (nicolas-grekas)
This PR was merged into the 2.3 branch.

Discussion
----------

Test lowest deps with latest 5.3

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

Once merged back into 2.6 and as demonstrated in #13555 / https://travis-ci.org/symfony/symfony/builds/48954841, this works around the segfault that happens there all the time since 8892cf0 (reverting the patch introduced on src/Symfony/Bridge/Twig/NodeVisitor/Scope.php also works around the segfault, but choosing this path would make no sense).

Commits
-------

713b8c8 Test lowest deps with latest 5.3
2015-02-01 10:17:18 +01:00
Fabien Potencier 28368d4c16 minor #13561 [Validator] Add a Polish translation for invalid charset message (jakzal)
This PR was merged into the 2.3 branch.

Discussion
----------

[Validator] Add a Polish translation for invalid charset message

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

re #13528

Commits
-------

0d562eb Add a Polish translation.
2015-02-01 10:15:59 +01:00
Fabien Potencier ddc94f1728 minor #13565 [Validator] Dutch translation for invalid charset message (SpacePossum)
This PR was merged into the 2.3 branch.

Discussion
----------

[Validator] Dutch translation for invalid charset message

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

re https://github.com/symfony/symfony/pull/13528

Commits
-------

0f72a1e Dutch translation for invalid charset message
2015-02-01 10:14:48 +01:00
Fabien Potencier b5c1445a08 minor #13563 [Validator] German translation for invalid charset message (xabbuh)
This PR was merged into the 2.3 branch.

Discussion
----------

[Validator] German translation for invalid charset message

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

Commits
-------

97576ff German translation for invalid charset message
2015-02-01 10:13:48 +01:00
Fabien Potencier 8462a92df6 minor #13562 [Validator] Add a Slovenian translation for invalid charset message (peterkokot)
This PR was merged into the 2.3 branch.

Discussion
----------

[Validator] Add a Slovenian translation for invalid charset message

| 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

Concerning PR #13528

Commits
-------

bd804e6 Add a Slovenian translation for invalid charset message
2015-02-01 10:12:39 +01:00
Fabien Potencier 4425a3ffd8 bumped Symfony version to 2.3.26 2015-02-01 06:48:52 +01:00
Tobias Schultze 952388c277 [Routing] make host matching case-insensitive according to RFC 3986 2015-01-31 23:26:34 +01:00
Tobias Schultze 589179cfac feature #13396 [Routing] remove deprecations for 3.0 (Tobion)
This PR was merged into the 3.0-dev branch.

Discussion
----------

[Routing] remove deprecations for 3.0

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

Commits
-------

f939fea [Routing] make path required again in the xsd
82d54fa [FramworkBundle] our tests now expect symfony 3.0 behavior for routing
4ca9ab3 [FrameworkBundle] remove deprecated routing features
86278cd [Routing] remove deprecated features from routing
2015-01-31 21:34:12 +01:00
Tobias Schultze f939fea543 [Routing] make path required again in the xsd
pattern was previously also required, see 508299400d (diff-4)
2015-01-31 21:19:47 +01:00
possum 0f72a1eb2b Dutch translation for invalid charset message 2015-01-31 19:01:54 +01:00
Christian Flothmann 97576ff44e German translation for invalid charset message 2015-01-31 13:01:07 +01:00
Peter Kokot bd804e6cdc Add a Slovenian translation for invalid charset message 2015-01-31 12:20:07 +01:00
Jakub Zalas 0d562eb3e7 Add a Polish translation. 2015-01-30 23:45:57 +00:00
Nicolas Grekas 713b8c87b4 Test lowest deps with latest 5.3 2015-01-30 23:37:14 +01:00
Fabien Potencier 959733dc4b updated VERSION for 2.3.25 2015-01-30 14:55:40 +01:00
Fabien Potencier 8d3f5956e9 update CONTRIBUTORS for 2.3.25 2015-01-30 14:55:12 +01:00