Commit Graph

52777 Commits

Author SHA1 Message Date
Alexander M. Turek
6515a31210 Merge branch '5.1' into 5.2
* 5.1:
  [Intl] Update the ICU data to 68.2
2020-12-22 13:46:48 +01:00
Alexander M. Turek
c900018758 Merge branch '4.4' into 5.1
* 4.4:
  [Intl] Update the ICU data to 68.2
2020-12-22 13:16:28 +01:00
Christian Flothmann
b8f742d68b mark some methods as internal 2020-12-22 09:36:18 +01:00
Christian Flothmann
f908047c6b allow null values in form helpers 2020-12-22 09:11:35 +01:00
Oskar Stark
d9eb1a1f6e [Notifier] [Discord] Use sprintf for exception message 2020-12-22 08:30:35 +01:00
Alexander M. Turek
18927fe54a minor #39573 [Intl] Update the ICU data to 68.2 (jakzal)
This PR was merged into the 4.4 branch.

Discussion
----------

[Intl] Update the ICU data to 68.2

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

Commits
-------

4573965f74 [Intl] Update the ICU data to 68.2
2020-12-21 17:14:24 +01:00
Alexander M. Turek
d499cac462 minor #39576 [Notifier] add "symfony/polyfill-mbstring" as dep of the Discord bridge (nicolas-grekas)
This PR was merged into the 5.2 branch.

Discussion
----------

[Notifier] add "symfony/polyfill-mbstring" as dep of the Discord bridge

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

Commits
-------

e61f0c50fa [Notifier] add "symfony/polyfill-mbstring" as dep of the Discord bridge
2020-12-21 16:41:57 +01:00
Alexander M. Turek
f2b98b4f7f minor #39559 [Notifier] Bump conflict rules for all notifier bridges (derrabus)
This PR was merged into the 5.3-dev branch.

Discussion
----------

[Notifier] Bump conflict rules for all notifier bridges

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

Commits
-------

fed253bf08 [Notifier] Bump conflict rules for all notifier bridges.
2020-12-21 16:40:13 +01:00
Alexander M. Turek
bcad75f188 Merge branch '5.2' into 5.x
* 5.2:
  Supports empty path for slack DSN
  [SecurityBundle] Fix transient test
  Bump Symfony version to 5.2.2
  Update VERSION for 5.2.1
  Update CHANGELOG for 5.2.1
  Bump Symfony version to 5.1.11
  [Notifier] GoogleChat/FreeMobile: Declare incompatibility with 5.3.
  Update VERSION for 5.1.10
  Update CHANGELOG for 5.1.10
  Bump Symfony version to 4.4.19
  Update VERSION for 4.4.18
  Update CONTRIBUTORS for 4.4.18
  Update CHANGELOG for 4.4.18
  [Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock
2020-12-21 16:35:11 +01:00
Alexander M. Turek
7bc051f260 Merge branch '5.1' into 5.2
* 5.1:
  Bump Symfony version to 5.1.11
  Update VERSION for 5.1.10
  Update CHANGELOG for 5.1.10
  Bump Symfony version to 4.4.19
  Update VERSION for 4.4.18
  Update CONTRIBUTORS for 4.4.18
  Update CHANGELOG for 4.4.18
  [Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock
2020-12-21 16:33:14 +01:00
Alexander M. Turek
74b132fca2 Merge branch '4.4' into 5.1
* 4.4:
  Bump Symfony version to 4.4.19
  Update VERSION for 4.4.18
  Update CONTRIBUTORS for 4.4.18
  Update CHANGELOG for 4.4.18
  [Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock
2020-12-21 16:29:43 +01:00
Robin Chalas
4c9e663678 bug #39586 Supports empty path for slack DSN (odolbeau)
This PR was merged into the 5.2 branch.

Discussion
----------

Supports empty path for slack DSN

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

It's actually not possible to use a Slack DSN inspired by [the documentation](https://symfony.com/doc/current/notifier.html#chat-channel), ie: `slack://TOKEN@default?channel=CHANNEL` cause the path is null (must be `/`).

This PR allows to not specify a path.

Commits
-------

f8a95b3965 Supports empty path for slack DSN
2020-12-21 13:31:13 +01:00
Jérémy Derussé
d38fc4d678
Add RememberMe Badge to LoginLinkAuthenticator 2020-12-21 09:54:09 +01:00
Olivier Dolbeau
f8a95b3965 Supports empty path for slack DSN 2020-12-21 09:54:05 +01:00
Robin Chalas
c4ddafb655 minor #39565 [Notifier] GoogleChat/FreeMobile: Declare incompatibility with 5.3 (derrabus)
This PR was merged into the 5.2 branch.

Discussion
----------

[Notifier] GoogleChat/FreeMobile: Declare incompatibility with 5.3

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

I missed two bridges. 😓  @nicolas-grekas

Commits
-------

b9eca9fcc9 [Notifier] GoogleChat/FreeMobile: Declare incompatibility with 5.3.
2020-12-20 15:19:17 +01:00
Alexander M. Turek
8f7a8d345a minor #39561 [Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock (jeroennoten)
This PR was merged into the 4.4 branch.

Discussion
----------

[Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock

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

DenormalizableInterface::denormalize() should not return anything, so the `@return` declaration should be removed. If you look at the usage in `CustomNormalizer::denormalize()`, it becomes clear that this method shouldn't return anything:
```php
    public function denormalize($data, $type, $format = null, array $context = [])
    {
        $object = $this->extractObjectToPopulate($type, $context) ?: new $type();
        $object->denormalize($this->serializer, $data, $format, $context);

        return $object;
    }
```

Commits
-------

00c90aed51 [Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock
2020-12-20 14:32:21 +01:00
Nicolas Grekas
e61f0c50fa [Notifier] add "symfony/polyfill-mbstring" as dep of the Discord bridge 2020-12-19 15:24:47 +01:00
Jakub Zalas
4573965f74
[Intl] Update the ICU data to 68.2 2020-12-19 12:57:32 +01:00
Robin Chalas
f44bdd3c8b minor #39572 [SecurityBundle] Fix transient test (chalasr)
This PR was merged into the 5.2 branch.

Discussion
----------

[SecurityBundle] Fix transient test

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

See e.g. https://travis-ci.com/github/symfony/symfony/jobs/462408658#L4961

Commits
-------

fd27c4dd97 [SecurityBundle] Fix transient test
2020-12-19 11:53:24 +01:00
Robin Chalas
fd27c4dd97 [SecurityBundle] Fix transient test 2020-12-19 11:10:19 +01:00
Fabien Potencier
ba849c0d21 Bump Symfony version to 5.2.2 2020-12-18 15:09:16 +01:00
Fabien Potencier
649fa3f8cd
Merge pull request #39564 from fabpot/release-5.2.1
released v5.2.1
2020-12-18 14:49:55 +01:00
Fabien Potencier
8c76f4b2fc Update VERSION for 5.2.1 2020-12-18 14:49:39 +01:00
Fabien Potencier
78132fe29b Update CHANGELOG for 5.2.1 2020-12-18 14:49:30 +01:00
Fabien Potencier
a969b99417 Bump Symfony version to 5.1.11 2020-12-18 14:48:52 +01:00
Alexander M. Turek
b9eca9fcc9 [Notifier] GoogleChat/FreeMobile: Declare incompatibility with 5.3. 2020-12-18 14:47:30 +01:00
Alexander M. Turek
fed253bf08 [Notifier] Bump conflict rules for all notifier bridges. 2020-12-18 14:44:01 +01:00
Fabien Potencier
00157445ee
Merge pull request #39563 from fabpot/release-5.1.10
released v5.1.10
2020-12-18 14:43:47 +01:00
Fabien Potencier
3213a921e5 Update VERSION for 5.1.10 2020-12-18 14:43:29 +01:00
Fabien Potencier
290996e92d Update CHANGELOG for 5.1.10 2020-12-18 14:43:18 +01:00
Fabien Potencier
c1b9323f30 Bump Symfony version to 4.4.19 2020-12-18 14:39:05 +01:00
Fabien Potencier
a05cc024d3
Merge pull request #39562 from fabpot/release-4.4.18
released v4.4.18
2020-12-18 14:32:50 +01:00
Fabien Potencier
92334dd0c5 Update VERSION for 4.4.18 2020-12-18 14:32:33 +01:00
Fabien Potencier
0aabdf920f Update CONTRIBUTORS for 4.4.18 2020-12-18 14:32:28 +01:00
Fabien Potencier
f2d3ac0e7b Update CHANGELOG for 4.4.18 2020-12-18 14:31:35 +01:00
Jeroen Noten
00c90aed51
[Serializer] Fix DenormalizableInterface::denormalize() return type declaration in docblock 2020-12-18 14:21:55 +01:00
Nicolas Grekas
44e98dba0d Merge branch '5.2' into 5.x
* 5.2:
  [Notifier] Prepare bridges for the upcoming return type change.
2020-12-18 13:47:19 +01:00
Nicolas Grekas
8716049c4d minor #39558 [Notifier] Prepare bridges for the upcoming return type change. (derrabus)
This PR was merged into the 5.2 branch.

Discussion
----------

[Notifier] Prepare bridges for the upcoming return type change.

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

Preparation for #39549.

Commits
-------

b0c2c4e46e [Notifier] Prepare bridges for the upcoming return type change.
2020-12-18 13:42:39 +01:00
Alexander M. Turek
b0c2c4e46e [Notifier] Prepare bridges for the upcoming return type change. 2020-12-18 13:41:51 +01:00
Alexander M. Turek
5398cba752 Merge branch '5.2' into 5.x
* 5.2:
  Fix NFS detection on macOs
2020-12-18 13:24:45 +01:00
Alexander M. Turek
7a7ded2a6b bug #39555 [FrameworkBundle] Fix NFS detection on macOs (jderusse)
This PR was merged into the 5.2 branch.

Discussion
----------

[FrameworkBundle] Fix NFS detection on macOs

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

Commits
-------

79718fb70f Fix NFS detection on macOs
2020-12-18 13:02:15 +01:00
Jérémy Derussé
79718fb70f
Fix NFS detection on macOs 2020-12-18 12:40:59 +01:00
Nicolas Grekas
c9c6a78b35 minor #39554 [Notifier] Fix test (OskarStark)
This PR was merged into the 5.3-dev branch.

Discussion
----------

[Notifier] Fix test

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

Commits
-------

c33abafc80 [Notifier] Fix test
2020-12-18 12:12:46 +01:00
Oskar Stark
c33abafc80 [Notifier] Fix test 2020-12-18 12:11:21 +01:00
Nicolas Grekas
92f814967d Merge branch '5.2' into 5.x
* 5.2:
  Fix merge
2020-12-18 11:41:32 +01:00
Nicolas Grekas
5c03d2d085 Fix merge 2020-12-18 11:41:23 +01:00
Nicolas Grekas
7c62e9b428 Merge branch '5.2' into 5.x
* 5.2:
  [Notifier] [Mattermost] Host is required
2020-12-18 11:35:38 +01:00
Nicolas Grekas
26ce5b4c20 Merge branch '5.1' into 5.2
* 5.1:
  [Notifier] [Mattermost] Host is required
2020-12-18 11:35:32 +01:00
Nicolas Grekas
8797138e8d bug #39545 [Notifier] [Mattermost] Host is required (OskarStark)
This PR was squashed before being merged into the 5.1 branch.

Discussion
----------

[Notifier] [Mattermost] Host is required

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

This bridge is the only one right now which cannot use `default` as host in the DSN, otherwise it would fall back to:
090b4256f0/src/Symfony/Component/Notifier/Transport/AbstractTransport.php (L30)

it could also not use:
090b4256f0/src/Symfony/Component/Notifier/Transport/AbstractTransport.php (L83-L86)

Based on the [documentation](https://api.mattermost.com/#tag/authentication) you must use your specific url like:
`your-mattermost-url.com/api/v4/...`

Using `localhost` would have weird side-effects.

Can you confirm this @thePanz , as you provided the bridge?

friendly ping @seb37800, you fixed some bugs in this transport

### Todos after merge
* [ ] adjust recipes with new DSN
* [ ] update the docs

Commits
-------

cd5b48003f [Notifier] [Mattermost] Host is required
2020-12-18 11:34:54 +01:00
Oskar Stark
cd5b48003f [Notifier] [Mattermost] Host is required 2020-12-18 11:34:45 +01:00