Commit Graph

48105 Commits

Author SHA1 Message Date
Alexander M. Turek
8898c0f3b6 minor #38955 Missing translations for Catalan (ca) (rogerguasch)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Missing translations for Catalan (ca)

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38731
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - Never break backward compatibility (see https://symfony.com/bc).
 - Bug fixes must be submitted against the lowest maintained 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 branch 5.x.
-->

Commits
-------

6efa4ed777 Missing translations for Catalan (ca)
2020-11-02 00:26:16 +01:00
Roger Guasch
6efa4ed777 Missing translations for Catalan (ca) 2020-11-02 00:26:09 +01:00
Alexander M. Turek
61f715fbbc minor #38924 fix: updating translation issues (hugovms)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

fix: updating translation issues

| Q             | A
| ------------- | ---
| Branch?       | 5.x for features / 4.4 or 5.1 for bug fixes <!-- see below -->
| Bug fix?      | yes/no
| New feature?  | yes/no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - Never break backward compatibility (see https://symfony.com/bc).
 - Bug fixes must be submitted against the lowest maintained 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 branch 5.x.
-->

Commits
-------

b39ff818ca fix: updating translation issues
2020-11-02 00:24:41 +01:00
hugovms
b39ff818ca fix: updating translation issues 2020-11-02 00:24:32 +01:00
Alexander M. Turek
91fb5fae36 minor #38947 [Messenger] Fixed tests with doctrine 3 (Nyholm)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

[Messenger] Fixed tests with doctrine 3

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Tests on 4.4 is failing with:

>1) Symfony\Component\Messenger\Tests\Transport\Doctrine\DoctrineReceiverTest::testOccursRetryableExceptionFromConnection
TypeError: Argument 1 passed to Doctrine\DBAL\Exception\DriverException::__construct() must implement interface Doctrine\DBAL\Driver\Exception, string given, called in /home/travis/build/symfony/symfony/src/Symfony/Component/Messenger/Tests/Transport/Doctrine/DoctrineReceiverTest.php on line 80

This will make sure the tests supports doctrine/dbal 3.

Commits
-------

c377f73304 [Messenger] Fixed tests with doctrine 3
2020-11-01 20:02:56 +01:00
Nyholm
c377f73304 [Messenger] Fixed tests with doctrine 3 2020-11-01 20:02:47 +01:00
Nyholm
006283dd81
minor #38948 Add symfony/translation to the dev dependencies of symfony/security (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

Add symfony/translation to the dev dependencies of symfony/security

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

Fixes https://travis-ci.com/github/symfony/symfony/jobs/423605540#L6749

Commits
-------

3a8570e569 Add symfony/translation to the dev dependencies of symfony/security.
2020-11-01 19:56:22 +01:00
Alexander M. Turek
3a8570e569 Add symfony/translation to the dev dependencies of symfony/security. 2020-11-01 19:34:19 +01:00
Fabien Potencier
9947e14c11 minor #38939 Validate XLIFF files in tests using the XSD (wouterj)
This PR was merged into the 4.4 branch.

Discussion
----------

Validate XLIFF files in tests using the XSD

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

The current tests only validated that the Xliff files were valid XML. This improves it to also validate the Xliff files against the correct XSD. This will avoid issues like https://github.com/symfony/symfony/issues/38935 in the future.

cc @Nyholm

Commits
-------

17dfa1d5fc Validate XLIFF files in tests using the XSD
2020-11-01 18:35:28 +01:00
Alexander M. Turek
7740bb31e4 minor #38927 Update security.da.xlf (AnneKir)
This PR was merged into the 4.4 branch.

Discussion
----------

Update security.da.xlf

Added case 17 and 18

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38736
| License       | MIT
| Doc PR        | symfony/symfony-docs#...

Commits
-------

31d120d0ee Update security.da.xlf
2020-11-01 16:21:33 +01:00
Alexander M. Turek
407f014af0 minor #38928 Update validators.da.xlf (AnneKir)
This PR was merged into the 4.4 branch.

Discussion
----------

Update validators.da.xlf

Addded cases 95-99 in Danish

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  |no
| Deprecations? |no
| Tickets       | Fix #38736
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Commits
-------

e193c2b985 Update validators.da.xlf
2020-11-01 16:20:01 +01:00
Alexander M. Turek
8dd870c5b8 minor #38926 Update validators.da.xlf (AnneKir)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Update validators.da.xlf

Added missing cases in danish.

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38736
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Commits
-------

e24d675368 Update validators.da.xlf
2020-11-01 16:18:50 +01:00
AnneKir
e24d675368 Update validators.da.xlf 2020-11-01 16:18:42 +01:00
Wouter de Jong
17dfa1d5fc Validate XLIFF files in tests using the XSD 2020-11-01 16:18:25 +01:00
Fabien Potencier
043a505fc9 minor #38938 Remove translations that does not exists in English (Nyholm)
This PR was merged into the 4.4 branch.

Discussion
----------

Remove translations that does not exists in English

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Commits
-------

32edd7facf Remove translations that does not exists in English
2020-11-01 15:04:15 +01:00
Nyholm
32edd7facf
Remove translations that does not exists in English 2020-11-01 11:47:20 +01:00
Fabien Potencier
33a8b96c7c minor #38931 Set constant visibility in tests to private where possible (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

Set constant visibility in tests to private where possible

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | N/A
| License       | MIT
| Doc PR        | N/A

As discussed on Slack, this PR prepares the introduction of a CS fixer rule to enforce explicit visibility declarations for constants. I've checked class constants in test and fixture classes and if I only found usages within the same class, I've declared them `private`. This way, I also found a few constants that weren't used at all anymore, so I've removed those.

Commits
-------

43ce6dfe44 Set constant visibility in tests to private where possible.
2020-11-01 10:45:04 +01:00
Fabien Potencier
c56a32c0b0 minor #38936 Fix not well-formed validators.gl.xf (wkania)
This PR was merged into the 4.4 branch.

Discussion
----------

Fix not well-formed validators.gl.xf

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38936
| License       | MIT

Commits
-------

3980a482f6 Fix not well-formed validators.gl.xf
2020-11-01 10:37:01 +01:00
Wojciech Kania
3980a482f6 Fix not well-formed validators.gl.xf 2020-11-01 10:31:07 +01:00
Alexander M. Turek
a4ed043567 minor #38907 [Form] Added missing Lithuanian translations (rmikalkenas)
This PR was merged into the 4.4 branch.

Discussion
----------

[Form] Added missing Lithuanian translations

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #38750
| License       | MIT
| Doc PR        | N/A

Commits
-------

b1d868c35f [Form] Added missing Lithuanian translations
2020-11-01 01:22:24 +01:00
Alexander M. Turek
df5d950f48 minor #38908 [Security] Added missing Lithuanian translations (rmikalkenas)
This PR was merged into the 4.4 branch.

Discussion
----------

[Security] Added missing Lithuanian translations

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #38750
| License       | MIT
| Doc PR        | N/A

Commits
-------

a9c4a06c3d [Security] Added missing Lithuanian translations
2020-11-01 01:21:11 +01:00
Alexander M. Turek
73eb5932b6 minor #38918 Add missing translations for Afrikaans (pierredup)
This PR was merged into the 4.4 branch.

Discussion
----------

Add missing translations for Afrikaans

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38720
| License       | MIT
| Doc PR        | N/A

Add missing translations for Afrikaans.

Commits
-------

48d0ed5886 Add missing translations for Afrikaans
2020-11-01 01:19:58 +01:00
Alexander M. Turek
e44d7f0387 minor #38905 Update Galician translations. (Lutacon)
This PR was merged into the 4.4 branch.

Discussion
----------

Update Galician translations.

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38742
| License       | MIT

Commits
-------

703f156a9e Update Galician translations.
2020-11-01 01:18:34 +01:00
Alexander M. Turek
43ce6dfe44 Set constant visibility in tests to private where possible. 2020-10-31 23:44:29 +01:00
AnneKir
e193c2b985
Update validators.da.xlf
Addded cases 95-99 in Danish
2020-10-31 18:45:33 +01:00
AnneKir
31d120d0ee
Update security.da.xlf
Added case 17 and 18
2020-10-31 18:44:53 +01:00
Wouter de Jong
d71c404a9f bug #38869 [SecurityBundle] inject only compatible token storage implementations for usage tracking (xabbuh)
This PR was merged into the 4.4 branch.

Discussion
----------

[SecurityBundle] inject only compatible token storage implementations for usage tracking

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #36720
| License       | MIT
| Doc PR        |

Commits
-------

d915e44dd0 inject only compatible token storage implementations for usage tracking
2020-10-31 13:26:36 +01:00
Christian Flothmann
d915e44dd0 inject only compatible token storage implementations for usage tracking 2020-10-31 11:45:43 +01:00
Pierre du Plessis
48d0ed5886
Add missing translations for Afrikaans 2020-10-31 12:10:29 +02:00
Rokas Mikalkėnas
a9c4a06c3d [Security] Added missing Lithuanian translations 2020-10-30 22:13:53 +02:00
Rokas Mikalkėnas
b1d868c35f [Form] Added missing Lithuanian translations 2020-10-30 22:02:07 +02:00
Luis Tacon
703f156a9e Update Galician translations. 2020-10-30 20:13:58 +01:00
Alexander M. Turek
8ef1826bee minor #38902 Add Missing Serbian (Lat & Cyrl) & Bosnian translation (tambait)
This PR was merged into the 4.4 branch.

Discussion
----------

Add Missing Serbian (Lat & Cyrl) & Bosnian translation

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Tickets       | Fix #38760, fix #38761, fix #38728
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| License       | MIT

Commits
-------

29ac49741b Add Serbian (Lat & Cyrl) & Bosnian translations for Form Validator & Security
2020-10-30 17:57:30 +01:00
ivan
29ac49741b Add Serbian (Lat & Cyrl) & Bosnian translations for Form Validator & Security 2020-10-30 17:27:33 +01:00
Nyholm
2d511de6b3
bug #38894 [HttpKernel] Remove Symfony 3 compatibility code (derrabus)
This PR was merged into the 4.4 branch.

Discussion
----------

[HttpKernel] Remove Symfony 3 compatibility code

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38892
| License       | MIT
| Doc PR        | N/A

This PR removes dead code that checks for the presence of the `Request::setSessionFactory()` method.

That method was added with #25836 in HttpFoundation 4.1. Since HttpKernel requires at least HttpFoundation 4.4, we can assume that the method is always present and thus simplify some code here.

Additionally, I also fix the doc block as described in #38892. 😉

Commits
-------

b9ca866bdd Remove Symfony 3 compatibility code.
2020-10-30 16:05:23 +01:00
Alexander M. Turek
1afb1bcf56 Merge branch '3.4' into 4.4 2020-10-30 15:27:42 +01:00
Alexander M. Turek
b9ca866bdd Remove Symfony 3 compatibility code. 2020-10-30 15:21:36 +01:00
Alexander M. Turek
5cc4623aad minor #38897 Fixed translations for Norwegian (Nyholm)
This PR was merged into the 4.4 branch.

Discussion
----------

Fixed translations for Norwegian

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

This will fix Travis build on 4.4

Norwegian has two dialects. "old" or "written" (Bokmål) and "new" (Nynorsk). The "new" one is the one everybody* speaks. The locales for these languages are:
- Norwegian: no
- "old": nb
- "new": nn

It does not make sense, sure. However, Symfony have tests that make sure that `no` and `nb` are the same. This PR just copies the `no` translations to `nb`.

----------

\* By "everybody" I mean the younger half of the population, especially in Olso. I am generalising partly because Im ignorant and partly because I wish more people spoke Nynork because that is the dialect I understand.

Commits
-------

b28505abd5 Fixed translations for Norwegian
2020-10-30 15:19:12 +01:00
Nyholm
b28505abd5
Fixed translations for Norwegian 2020-10-30 15:01:38 +01:00
Alexander M. Turek
9eeac8d09c bug #38895 [PhpUnitBridge] Fix wrong check for exporter in ConstraintTrait (alcaeus)
This PR was merged into the 4.4 branch.

Discussion
----------

[PhpUnitBridge] Fix wrong check for exporter in ConstraintTrait

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| License       | MIT

I'll just go hide in the corner after messing up this check. 🤦‍♂️

Commits
-------

ecb477952a Fix wrong check for exporter in ConstraintTrait
2020-10-30 15:00:40 +01:00
Alexander M. Turek
eb3770980d minor #38829 Missing translations for Greek (el) (pavlakis)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Missing translations for Greek (el)

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #38743. <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT
| Doc PR        | N/A
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - Never break backward compatibility (see https://symfony.com/bc).
 - Bug fixes must be submitted against the lowest maintained 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 branch 5.x.
-->

Commits
-------

02d5985a31 Missing translations for Greek (el)
2020-10-30 14:46:35 +01:00
Antonios Pavlakis
02d5985a31 Missing translations for Greek (el) 2020-10-30 14:46:25 +01:00
Andreas Braun
ecb477952a
Fix wrong check for exporter in ConstraintTrait 2020-10-30 14:45:28 +01:00
Alexander M. Turek
4fa4ecd9b2 minor #38878 Form, Security and Validator mn translation (luffy1727)
This PR was squashed before being merged into the 4.4 branch.

Discussion
----------

Form, Security and Validator mn translation

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38753
| License       | MIT

Adding Form, Security and validator Mongolian[mn] translation

Commits
-------

656d7b8df5 Form, Security and Validator mn translation
2020-10-30 10:44:54 +01:00
luffy1727
656d7b8df5 Form, Security and Validator mn translation 2020-10-30 10:44:46 +01:00
Nicolas Grekas
13af58c57f [Cache] minor improvement in expiry handling 2020-10-29 11:44:04 +01:00
Nicolas Grekas
fdff819803 bug #38879 [Cache] Fixed expiry could be int in ChainAdapter due to race conditions (phamviet)
This PR was merged into the 4.4 branch.

Discussion
----------

[Cache] Fixed expiry could be int in ChainAdapter due to race conditions

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38635
| License       | MIT
| Doc PR        | no

This bug is hard to re-produce and seems only happen with ArrayAdapter only.

Steps to reproduce:

cache.yaml
```
simple.cache:
        adapters:
          - cache.adapter.array
          - cache.adapter.redis
```

```php
if (isset($item->metadata[CacheItem::METADATA_EXPIRY])) {
    $logger->debug($item->key, $item->metadata);
    $format = is_int($item->metadata[CacheItem::METADATA_EXPIRY]) ? 'U' : 'U.u';
    $item->expiresAt(\DateTime::createFromFormat($format, $item->metadata[CacheItem::METADATA_EXPIRY]));
 }
```

Refresh webpage multiple time to make web server busy and logs:
```
[2020-10-29T17:04:51.119653+07:00] application.DEBUG: item-key {"expiry":1603965892.118222,"ctime":4} []
[2020-10-29T17:04:54.322937+07:00] application.DEBUG: item-key {"expiry":1603965895.308393,"ctime":17} []
[2020-10-29T17:04:54.745923+07:00] application.DEBUG: item-key {"expiry":1603965895,"ctime":16} []
```

Commits
-------

268816f26c [Cache] Fixed expiry maybe int due too race conditions
2020-10-29 11:37:34 +01:00
Viet Pham
268816f26c [Cache] Fixed expiry maybe int due too race conditions 2020-10-29 11:37:09 +01:00
Alexander M. Turek
487908a610 minor #38862 Complete the Language for Hungarian and Norwegian (masitings)
This PR was merged into the 4.4 branch.

Discussion
----------

Complete the Language for Hungarian and Norwegian

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #38745 and fix #38754
| License       | MIT
| Doc PR        | -

Hi there, i have complete the translation for this 2 language. Mostly i translate that using google translate and some of the language i define by my self.

Commits
-------

9e4859c87b Complete the Language for Hungarian and Norwegian
2020-10-29 10:59:37 +01:00
Mas Iting
9e4859c87b
Complete the Language for Hungarian and Norwegian 2020-10-29 10:58:36 +01:00