Commit Graph

49796 Commits

Author SHA1 Message Date
Robin Chalas
269a7a8a77 bug #37366 [SecurityBundle] Fix UserCheckerListener registration with custom user checker (wouterj)
This PR was merged into the 5.1 branch.

Discussion
----------

[SecurityBundle] Fix UserCheckerListener registration with custom user checker

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

The user checker listener was wrongly registered on the global event dispatcher, as it can be customized per firewall. This PR fixes that + correctly uses the configured user checker instead of always trying to use `UserCheckerInterface`.

Commits
-------

d63f59036c Fix UserCheckerListener registration with custom user checkers
2020-06-20 15:05:24 +02:00
Wouter de Jong
d63f59036c Fix UserCheckerListener registration with custom user checkers 2020-06-20 14:44:59 +02:00
Robin Chalas
0091864837 bug #37364 [Messenger] fixed queue_name option on amazon sqs connection (ck-developer)
This PR was merged into the 5.1 branch.

Discussion
----------

[Messenger] fixed queue_name option on amazon sqs connection

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

Commits
-------

a6cb24d71f [Messenger] fixed queue_name option amazon sqs connection
2020-06-20 14:04:17 +02:00
Nicolas Grekas
56b993ac2e [FrameworkBundle] allow enabling the HTTP cache using semantic configuration 2020-06-20 14:01:26 +02:00
c.khedhi@prismamedia.com
a6cb24d71f [Messenger] fixed queue_name option amazon sqs connection 2020-06-20 12:58:38 +02:00
Nicolas Grekas
6ad781c834 Merge branch '5.1'
* 5.1:
  [DI] fix merge
2020-06-20 10:55:06 +02:00
Nicolas Grekas
71b65d4e70 [DI] fix merge 2020-06-20 10:54:56 +02:00
Nicolas Grekas
f0fa3b0702 Merge branch '5.1'
* 5.1:
  [SecurityBundle] Drop cache.security_expression_language definition if invalid
  [DI] disable preload.php on the CLI
  collect all transformation failures
2020-06-20 10:35:01 +02:00
Nicolas Grekas
4e0b7e5d5b Merge branch '5.0' into 5.1
* 5.0:
  [SecurityBundle] Drop cache.security_expression_language definition if invalid
  [DI] disable preload.php on the CLI
  collect all transformation failures
2020-06-20 10:33:33 +02:00
Nicolas Grekas
8afd50ecca Merge branch '4.4' into 5.0
* 4.4:
  [SecurityBundle] Drop cache.security_expression_language definition if invalid
  [DI] disable preload.php on the CLI
  collect all transformation failures
2020-06-20 10:32:35 +02:00
Nicolas Grekas
c815e7632a Merge branch '3.4' into 4.4
* 3.4:
  collect all transformation failures
2020-06-20 10:31:25 +02:00
Fabien Potencier
440ada3c5f [Security] Add attributes on Passport 2020-06-20 09:18:00 +02:00
Fabien Potencier
cc145e2d9c bug #37345 [Form] collect all transformation failures (xabbuh)
This PR was merged into the 3.4 branch.

Discussion
----------

[Form] collect all transformation failures

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

Commits
-------

a9987ce341 collect all transformation failures
2020-06-20 09:14:20 +02:00
Fabien Potencier
00b2f4e786 bug #37362 [SecurityBundle] Drop cache.security_expression_language service if invalid (chalasr)
This PR was merged into the 4.4 branch.

Discussion
----------

[SecurityBundle] Drop cache.security_expression_language service if invalid

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

Definition should be removed when its parent (`cache.system`) does not exist.
Spotted in #37337

Commits
-------

bc96693331 [SecurityBundle] Drop cache.security_expression_language definition if invalid
2020-06-20 09:03:12 +02:00
Robin Chalas
bc96693331 [SecurityBundle] Drop cache.security_expression_language definition if invalid 2020-06-19 21:56:07 +02:00
Fabien Potencier
b690a4a352 bug #37353 [DI] disable preload.php on the CLI (nicolas-grekas)
This PR was merged into the 4.4 branch.

Discussion
----------

[DI] disable preload.php on the CLI

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

See linked issue for a nasty side-effect of preloading on the CLI. Many hosting solutions do not provide a way to set different ini settings for CLI vs FPM. Let's skip preloading anything on the CLI.

Commits
-------

50ccf2f1b2 [DI] disable preload.php on the CLI
2020-06-19 16:51:13 +02:00
Christian Scheb
0a4fcea8db Add interface to let security factories add their own firewall listeners 2020-06-19 15:34:25 +02:00
Nicolas Grekas
50ccf2f1b2 [DI] disable preload.php on the CLI 2020-06-19 15:00:29 +02:00
Tobias Schultze
3e57f1f49f minor #37239 Migrate annotations configuration to PHP (magnetik, Tobion)
This PR was merged into the 5.2-dev branch.

Discussion
----------

Migrate annotations configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master <!-- see below -->
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | #37186
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->

Commits
-------

f92fc2054e fix annotations config xml to php migration
8374c35a6a Migration annotations configuration to PHP
2020-06-19 13:42:45 +02:00
Tobias Schultze
f92fc2054e fix annotations config xml to php migration 2020-06-19 13:31:44 +02:00
Baptiste Lafontaine
8374c35a6a Migration annotations configuration to PHP 2020-06-19 12:56:55 +02:00
Tobias Schultze
c04884bee3 minor #37303 Move configuration to PHP (tuanminhgp)
This PR was squashed before being merged into the 5.2-dev branch.

Discussion
----------

Move configuration to PHP

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | Part pf #37186
| License       | MIT
| Doc PR        | -

Commits
-------

1132d404b0 Move configuration to PHP
2020-06-19 12:31:57 +02:00
tuanminh1997
1132d404b0 Move configuration to PHP 2020-06-19 12:31:46 +02:00
Christian Flothmann
a9987ce341 collect all transformation failures 2020-06-19 08:23:51 +02:00
Nicolas Grekas
972fee7395 Merge branch '5.1'
* 5.1:
  fix tests
2020-06-18 23:39:32 +02:00
Nicolas Grekas
d03367766b Merge branch '5.0' into 5.1
* 5.0:
  fix tests
2020-06-18 23:39:28 +02:00
Nicolas Grekas
85b80e66fd Merge branch '4.4' into 5.0
* 4.4:
  fix tests
2020-06-18 23:39:22 +02:00
Nicolas Grekas
a2c2393574 fix tests 2020-06-18 23:39:07 +02:00
Nicolas Grekas
3f91ac04fe Merge branch '5.1'
* 5.1:
  fix
2020-06-18 23:37:39 +02:00
Nicolas Grekas
f768dc7aaf fix 2020-06-18 23:37:09 +02:00
Nicolas Grekas
be34ddd13b Merge branch '5.1'
* 5.1:
  fix test
2020-06-18 23:28:14 +02:00
Nicolas Grekas
12abfeb5f3 Merge branch '5.0' into 5.1
* 5.0:
  fix test
2020-06-18 23:28:10 +02:00
Nicolas Grekas
6c6a0ae855 Merge branch '4.4' into 5.0
* 4.4:
  fix test
2020-06-18 23:28:04 +02:00
Nicolas Grekas
6f3d054f0b fix test 2020-06-18 23:27:56 +02:00
Nicolas Grekas
e14aeddd53 Merge branch '5.1'
* 5.1:
  fix test
  Added Unit tests for php 8 union types.
2020-06-18 23:19:34 +02:00
Nicolas Grekas
eb150febaf Merge branch '5.0' into 5.1
* 5.0:
  fix test
  Added Unit tests for php 8 union types.
2020-06-18 23:19:28 +02:00
Nicolas Grekas
723be72706 Merge branch '4.4' into 5.0
* 4.4:
  fix test
  Added Unit tests for php 8 union types.
2020-06-18 23:17:00 +02:00
Nicolas Grekas
235cc84058 fix test 2020-06-18 23:16:36 +02:00
Nicolas Grekas
64f280586b Merge branch '3.4' into 4.4
* 3.4:
  Added Unit tests for php 8 union types.
2020-06-18 22:41:34 +02:00
Nicolas Grekas
e707967ea8 minor #37346 Added Unit tests for php 8 union types (derrabus)
This PR was merged into the 3.4 branch.

Discussion
----------

Added Unit tests for php 8 union types

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

The missing test cases for #37340.

Commits
-------

2ca8ecdb74 Added Unit tests for php 8 union types.
2020-06-18 22:40:01 +02:00
Nicolas Grekas
96723297b8 Merge branch '5.1'
* 5.1:
  [Cache] fix test
2020-06-18 22:36:39 +02:00
Nicolas Grekas
8df623e830 [Cache] fix test 2020-06-18 22:36:30 +02:00
Alexander M. Turek
2ca8ecdb74 Added Unit tests for php 8 union types. 2020-06-18 22:30:22 +02:00
Nicolas Grekas
529863a947 Merge branch '5.1'
* 5.1:
  [PropertyAccess] fix typo
2020-06-18 22:06:41 +02:00
Nicolas Grekas
04e6b995d9 [PropertyAccess] fix typo 2020-06-18 22:06:29 +02:00
Nicolas Grekas
092632dc14 Merge branch '5.1'
* 5.1: (28 commits)
  [DI] fix
  Use "composer/package-versions-deprecated" when possible
  Fix
  Small update in our internal terminology
  Fix support for PHP8 union types
  [VarDumper] fix typo
  [Lock][Messenger] Fix precedence of DSN options for 5.1
  Fix support for PHP8 union types
  [FrameworkBundle] preserve dots in query-string when redirecting
  [3.4] Fix support for PHP8 union types
  [PhpUnitBridge] Streamline ansi/no-ansi of composer according to phpunit --colors option
  [3.4] Small update in our internal terminology
  [Cache] fix compat with DBAL v3
  Remove unnecessary null check
  [HttpFoundation] Allow `null` in InputBag@set
  [HttpClient] Convert CurlHttpClient::handlePush() to instance method
  Fix package rename when releasing
  bumped Symfony version to 5.1.3
  updated VERSION for 5.1.2
  updated CHANGELOG for 5.1.2
  ...
2020-06-18 21:55:03 +02:00
Nicolas Grekas
eea6abf318 Merge branch '5.0' into 5.1
* 5.0:
  [DI] fix
  Use "composer/package-versions-deprecated" when possible
  Fix
2020-06-18 21:54:27 +02:00
Nicolas Grekas
f3d9cfe8db Merge branch '4.4' into 5.0
* 4.4:
  [DI] fix
  Use "composer/package-versions-deprecated" when possible
  Fix
2020-06-18 21:53:24 +02:00
Nicolas Grekas
d2efe50eee [DI] fix 2020-06-18 21:50:30 +02:00
Nicolas Grekas
03b9ff177d Use "composer/package-versions-deprecated" when possible 2020-06-18 21:48:48 +02:00