Commit Graph

36559 Commits

Author SHA1 Message Date
Fabien Potencier
6c0190eee8 fixed CS 2019-02-13 10:35:08 +01:00
Fabien Potencier
0887f62573 bug #30090 [FrameworkBundle] add constraint validators before optimizations (xabbuh)
This PR was merged into the 3.4 branch.

Discussion
----------

[FrameworkBundle] add constraint validators before optimizations

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

Commits
-------

05e0e162d3 add constraint validators before optimizations
2019-02-13 08:52:59 +01:00
Fabien Potencier
3b8893fd92 fixed typo 2019-02-13 08:40:41 +01:00
Fabien Potencier
3be75ccf82 minor #30220 [Validator] added missing translation for UK validator (Andrii Boiko)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] added missing translation for UK validator

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  |no
| BC breaks?    | no
| Deprecations? |no
| Tests pass?   | yes
| Fixed tickets | #30194
| License       | MIT

Commits
-------

387295e6a4 [Validator] added missing translation for UK validator
2019-02-13 08:38:34 +01:00
Fabien Potencier
1873f32a80 backported a translation 2019-02-13 08:37:30 +01:00
Andrii Boiko
387295e6a4 [Validator] added missing translation for UK validator 2019-02-13 09:30:52 +02:00
Fabien Potencier
fd7875726b feature #30126 [Form] forward valid numeric values to transform() (xabbuh)
This PR was merged into the 3.4 branch.

Discussion
----------

[Form] forward valid numeric values to transform()

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

Commits
-------

3be0d35b17 forward valid numeric values to transform()
2019-02-13 08:28:22 +01:00
Fabien Potencier
491e87a1c4 minor #30219 Validator: add the Persian translations (behnoushnorouzi)
This PR was merged into the 3.4 branch.

Discussion
----------

Validator: add the Persian translations

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

Add the missing translations for the Persian (fa) validator.

Commits
-------

32306d8795 Validator: add the Persian translations
2019-02-13 08:09:37 +01:00
Fabien Potencier
a1626699b9 minor #30217 Update validators.sq.xlf (fatonh)
This PR was merged into the 3.4 branch.

Discussion
----------

Update validators.sq.xlf

#30187 Added the missing translations for the Albanian language

| Q             | A
| ------------- | ---
| Branch?       |  3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30187
| License       | MIT

This PR addresses the issue #30187, adding the missing translations for the Albanian (sq) locale.

Commits
-------

62b226e78e Update validators.sq.xlf
2019-02-13 08:07:43 +01:00
Behnoush
32306d8795 Validator: add the Persian translations 2019-02-12 22:50:28 +01:00
Faton
62b226e78e
Update validators.sq.xlf
#30187 Added the missing translations for the Albanian language
2019-02-12 22:10:37 +01:00
Fabien Potencier
c9c0d45d11 fixed CS 2019-02-12 21:06:43 +01:00
Fabien Potencier
a9353c2977 minor #30216 [Validator] Add the missing translations for the Dutch (nl) locale (reyostallenberg)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Add the missing translations for the Dutch (nl) locale

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30177
| License       | MIT

This PR addresses the issue #30177, adding the missing translations for the Dutch (nl) locale.

Commits
-------

02662384c3 [Validator] Add the missing translations for the Dutch (nl) locale
2019-02-12 21:00:30 +01:00
Fabien Potencier
bc7ff55bf3 minor #30207 [Validator] Add the missing translations for the Russian (ru) locale (Anton Chernikov)
This PR was merged into the 3.4 branch.

Discussion
----------

 [Validator] Add the missing translations for the Russian (ru) locale

… (ru) locale (antonch1989)

| Q             | A
| ------------- | ---
| Branch?       |  3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30184
| License       | MIT

Added missing ru translations for the validator component

Commits
-------

8d84cf916b minor #30184 [Validator] Add the missing translations for the Russian (ru) locale (antonch1989)
2019-02-12 20:58:53 +01:00
Fabien Potencier
82af8e7df4 minor #30157 [Validator] Add some missing contents to the English translation (javiereguiluz)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Add some missing contents to the English translation

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

To simplify things, translated files contains all the keys of the English file in `master` branch. That's why our translations in 3.4 branch contain the key `id = 85` even if that is not used in 3.4 branch.

I propose to also include that unused key in the English file to make it easier to keep things in sync.

Commits
-------

ce4ff50b41 [Validator] Add some missing contents to the English translation
2019-02-12 20:57:31 +01:00
Fabien Potencier
7548f9ce2b minor #30204 Add missing ID_id validators translation (ikhsan017)
This PR was squashed before being merged into the 3.4 branch (closes #30204).

Discussion
----------

Add missing ID_id validators translation

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

Add the missing translations for the Indonesian ("id") locale

Commits
-------

b645024f5d Add missing ID_id validators translation
2019-02-12 20:55:48 +01:00
Ikhsan Agustian
b645024f5d Add missing ID_id validators translation 2019-02-12 20:55:42 +01:00
Fabien Potencier
1885eac26a fixed CS 2019-02-12 20:54:51 +01:00
Fabien Potencier
6e269cf1be minor #30203 Added missing translations in validators.tr.xlf (mertingen)
This PR was squashed before being merged into the 3.4 branch (closes #30203).

Discussion
----------

Added missing translations in validators.tr.xlf

I referred the same tone and style in the new translations. I did not touch the abbreviation name such as IBAN or BIC. Because they have no counterparts.

| Q             | A
| ------------- | ---
| Branch?       | master for features / 3.4 up to 4.2 for bug fixes <!-- see below -->
| Bug fix?      | yes/no
| New feature?  | yes/no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | yes/no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Commits
-------

48f1189879 Added missing translations in validators.tr.xlf
2019-02-12 20:53:59 +01:00
mertingen
48f1189879 Added missing translations in validators.tr.xlf 2019-02-12 20:53:50 +01:00
Fabien Potencier
59617eebc9 minor #30198 Update validators.es.xlf (davidpv)
This PR was squashed before being merged into the 3.4 branch (closes #30198).

Discussion
----------

Update validators.es.xlf

| Q             | A
| ------------- | ---
| Branch?       | master for features / 3.4 up to 4.2 for bug fixes <!-- see below -->
| Bug fix?      | yes/no
| New feature?  | yes/no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | yes/no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Commits
-------

3197a5ff29 Update validators.es.xlf
2019-02-12 20:51:46 +01:00
David Perez Vicens
3197a5ff29 Update validators.es.xlf 2019-02-12 20:51:39 +01:00
Fabien Potencier
de2301b6c3 minor #30200 Update validators.hu.xlf (connorhu)
This PR was squashed before being merged into the 3.4 branch (closes #30200).

Discussion
----------

Update validators.hu.xlf

Translating message of DivisibleBy constraint.

| Q             | A
| ------------- | ---
| Branch?       | master for features / 3.4 up to 4.2 for bug fixes
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30168
| License       | MIT

Commits
-------

4ab3af0036 Update validators.hu.xlf
2019-02-12 20:50:30 +01:00
Karoly Gossler
4ab3af0036 Update validators.hu.xlf 2019-02-12 20:50:23 +01:00
Fabien Potencier
b799c95fe9 minor #30208 [Validator] Add the missing translations for the Welsh (cy) locale (houdmont)
This PR was squashed before being merged into the 3.4 branch (closes #30208).

Discussion
----------

[Validator] Add the missing translations for the Welsh (cy) locale

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30154
| License       | MIT

Addresses the missing translations listed in #30154

Commits
-------

8f701ce4e5 [Validator] Add the missing translations for the Welsh (cy) locale
2019-02-12 20:48:57 +01:00
Tom Houdmont
8f701ce4e5 [Validator] Add the missing translations for the Welsh (cy) locale 2019-02-12 20:48:45 +01:00
Fabien Potencier
0af5bd17ab minor #30205 [Validator] Add the missing translations for the Arabic (ar) locale (PhyDevs)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Add the missing translations for the Arabic (ar) locale

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #30149    <!-- #-prefixed issue number(s), if any -->
| License       | MIT

This PR addresses the issue #30149, adding the missing translations.

Commits
-------

21b5a27507 [Validator] Add the missing translations for the Arabic (ar) locale
2019-02-12 20:46:34 +01:00
Fabien Potencier
4974e0e7ac minor #30202 [Validator] Add missing DE validator translations (janvt)
This PR was squashed before being merged into the 3.4 branch (closes #30202).

Discussion
----------

[Validator] Add missing DE validator translations

| Q             | A
| ------------- | ---
| Branch       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30156
| License       | MIT

Updated the validator translation file with the missing German (DE) translations.

Commits
-------

c489cc8b33 [Validator] Add missing DE validator translations
2019-02-12 20:45:42 +01:00
janvt
c489cc8b33 [Validator] Add missing DE validator translations 2019-02-12 20:45:35 +01:00
Fabien Potencier
558032b257 minor #30210 [Validator] Add the missing translations for the Galician (gl) locale (Lutacon)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Add the missing translations for the Galician (gl) locale

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

Add the missing Galician translations.

Commits
-------

d7bcdddda7 Add missing translations.
2019-02-12 20:43:45 +01:00
Fabien Potencier
2382670c01 minor #30209 [Validator] Add missing translations for IT to Validator (Andrea Giannantonio)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Add missing translations for IT to Validator

| Q             | A
| ------------- | ---
| Branch?       | 3.4 <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | #30171   <!-- #-prefixed issue number(s), if any -->
| License       | MIT

I add missing translations for IT to Validator going to solve the following issue: #30171

Commits
-------

40903335fd Add missing translations for IT to Validator
2019-02-12 20:41:57 +01:00
Fabien Potencier
50f3ae5322 minor #30214 [Validator] Add missing translation for Polish (pl) locale (dominikhajduk)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Add missing translation for Polish (pl) locale

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

Add missing Polish translation.

Commits
-------

763f8dfeb3 Add missing PL translation
2019-02-12 20:41:03 +01:00
Reyo Stallenberg
02662384c3 [Validator] Add the missing translations for the Dutch (nl) locale 2019-02-12 20:38:21 +01:00
Dominik Hajduk
763f8dfeb3
Add missing PL translation 2019-02-12 20:12:42 +01:00
Luis Tacon
d7bcdddda7 Add missing translations. 2019-02-12 17:55:32 +01:00
Andrea Giannantonio
40903335fd Add missing translations for IT to Validator 2019-02-12 17:19:32 +01:00
Anton Chernikov
8d84cf916b minor #30184 [Validator] Add the missing translations for the Russian (ru) locale (antonch1989) 2019-02-12 18:05:36 +03:00
phydevs
21b5a27507
[Validator] Add the missing translations for the Arabic (ar) locale 2019-02-12 15:13:13 +01:00
Fabien Potencier
f2370eb570 minor #30201 [Validator] Add the missing translations for the Portuguese ("pt") locale (pedroresende)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Add the missing translations for the Portuguese ("pt") locale

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30181
| License       | MIT

This PR addresses the issue https://github.com/symfony/symfony/issues/30181, adding the missing translations.

Commits
-------

95795dc8cd add_missing_translations_for_portuguese : [Validator] Add the missing translations for the Portuguese ("pt") locale
2019-02-12 13:46:20 +01:00
Fabien Potencier
650f712937 minor #30199 [Validator] Add the missing translations for the French (fr) locale (Martin)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Add the missing translations for the French (fr) locale

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

To simplify things, translated files contains all the keys of the French file in `master` branch. That's why our translations in 3.4 branch contain the keys `id = 84` and `id = 85` even if that is not used in 3.4 branch.

I propose to also include that unused key in the French file to make it easier to keep things in sync.

Commits
-------

9a86504fc1 [Validator] Add the missing translations for the French (fr) locale
2019-02-12 13:41:20 +01:00
Pedro Resende
95795dc8cd add_missing_translations_for_portuguese : [Validator] Add the missing translations for the Portuguese ("pt") locale 2019-02-12 12:09:26 +00:00
Martin
9a86504fc1 [Validator] Add the missing translations for the French (fr) locale 2019-02-12 12:07:44 +01:00
Javier Eguiluz
ce4ff50b41
[Validator] Add some missing contents to the English translation 2019-02-12 11:07:29 +01:00
Fabien Potencier
d3d880a1e7 bug #30122 [Security] fix switch user without having current token (Antoine Lamirault)
This PR was merged into the 3.4 branch.

Discussion
----------

[Security] fix switch user without having current token

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #22729
| License       | MIT

Attempting to switch a user cause an error when not having any token in the storage

Commits
-------

15db914984 [Security] fix switch user without having current token
2019-02-12 08:21:07 +01:00
Fabien Potencier
a205211d16 minor #30132 [Form] add back test after fixing it (xabbuh)
This PR was merged into the 3.4 branch.

Discussion
----------

[Form] add back test after fixing it

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | https://github.com/symfony/symfony/pull/29934#discussion_r250501108
| License       | MIT
| Doc PR        |

Commits
-------

0daeba8e8a add back test after fixing it
2019-02-12 08:16:18 +01:00
Fabien Potencier
d4ed49bab3 bug #30136 use PropertyAccessorInterface instead of PropertyAccessor (nick-zh)
This PR was submitted for the master branch but it was squashed and merged into the 3.4 branch instead (closes #30136).

Discussion
----------

use PropertyAccessorInterface instead of PropertyAccessor

[Validator] [Constraints] use PropertyAccessorInterface instead of PropertyAccessor

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #30133 (partially)
| License       | MIT
| Doc PR        | none

Commits
-------

3e3ca9d467 use PropertyAccessorInterface instead of PropertyAccessor
2019-02-12 08:15:24 +01:00
Nick Chiu
3e3ca9d467 use PropertyAccessorInterface instead of PropertyAccessor 2019-02-12 08:15:17 +01:00
Fabien Potencier
637b10cce7 minor #30143 [PhpunitBridge] dropping ext-zip suggestion as its no longer needed (scuben)
This PR was merged into the 3.4 branch.

Discussion
----------

[PhpunitBridge] dropping ext-zip suggestion as its no longer needed

| Q             | A
| ------------- | ---
| Branch?       | 3.4 <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| License       | MIT

The zip requirement was dropped after this pull request: https://github.com/symfony/symfony/pull/29265

Commits
-------

bb4b53bc45 Update composer.json
2019-02-12 08:13:11 +01:00
Fabien Potencier
82ba2d6c69 minor #30144 [Validator] Added a missing translation (javiereguiluz)
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Added a missing translation

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

34698372e4 [Validator] Added a missing translation
2019-02-12 08:12:10 +01:00
Fabien Potencier
6d881f7900 bug #30124 Fix KernelTestCase compatibility for PhpUnit 8 (bis) (nicolas-grekas)
This PR was squashed before being merged into the 3.4 branch (closes #30124).

Discussion
----------

Fix KernelTestCase compatibility for PhpUnit 8 (bis)

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

Follow up of #30084 and @Tobion's comment there.

Fabbot failure is a false-positive.

Commits
-------

1077df60ab Fix KernelTestCase compatibility for PhpUnit 8 (bis)
2019-02-12 08:11:16 +01:00