Commit graph

37263 commits

Author SHA1 Message Date
Jan Goralski
7b79ffef1a
Refactor creating encryption key
Hook key file generation to the installation command
2024-10-25 14:09:30 +02:00
Jan Goralski
1e823152a4
Switch from password and salt to an encryption key 2024-10-25 10:36:13 +02:00
Jan Goralski
8b087aeecb
Parametrize password and salt used for encoding 2024-10-25 10:36:13 +02:00
Jan Goralski
aa70cf6404
Cleanup 2024-10-25 10:36:13 +02:00
Jan Goralski
7daa3a2c70
Functional tests of encrypting and decrypting 2024-10-25 10:36:13 +02:00
Jan Goralski
df920da196
Add disabling concrete gateway factories 2024-10-25 10:36:13 +02:00
Jan Goralski
1ff66598fb
Cover disabling encryption 2024-10-25 10:36:13 +02:00
Jan Goralski
86cd6f2c07
Hook encryption to doctrine events 2024-10-25 10:36:12 +02:00
Jan Goralski
2bcd5b48ea
Create encrypters per specific entity 2024-10-25 10:36:12 +02:00
Jan Goralski
bb92fc1370
Create an encryption service 2024-10-25 10:36:12 +02:00
Jan Goralski
54f85b5ed6
[Configuration] Basic payment-related encryption config 2024-10-25 10:36:12 +02:00
Jan Góralski
7369192e04
minor #17334 [Maintenance] Install stable chrome on CI (mpysiak)
This PR was merged into the 2.0 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  Install stable chrome on CI
2024-10-25 10:17:22 +02:00
Michał Pysiak
c1358f98db
Install stable chrome on CI 2024-10-25 08:54:22 +02:00
Grzegorz Sadowski
2b94002ec6
Add info about thumbnails to the upgrade file (#17327) 2024-10-25 07:10:17 +02:00
Grzegorz Sadowski
0a17b3af0b
[CS][DX] Refactor (#17333)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
2024-10-25 07:09:38 +02:00
Grzegorz Sadowski
2f2a946cf8
[Admin][Shop] Set http_method_override to true by default (#17264)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
lets make it true by default, as it can cause some problems on plugins
2024-10-25 07:09:02 +02:00
Grzegorz Sadowski
c48ff87e7a
Fix missing icons (#17329)
![image](https://github.com/user-attachments/assets/c015ed78-7dcc-4198-ae9f-a843ccb351dd)
2024-10-25 07:06:59 +02:00
Grzegorz Sadowski
79dfa5fbd9
Extract common State processor for resource removal (#17319)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
Ref: https://github.com/Sylius/Sylius/pull/17320
2024-10-25 07:05:29 +02:00
Sylius Bot
04880a59e7 [CS][DX] Refactor 2024-10-25 02:26:48 +00:00
Kamil Grygierzec
6660e1b1ef
Review fixes 2024-10-24 14:25:43 +02:00
Kamil Grygierzec
4785605db6
Correct province in use exception 2024-10-24 14:25:43 +02:00
Kamil Grygierzec
132d9d5a62
Update exception, remove unused ones 2024-10-24 14:25:43 +02:00
Kamil Grygierzec
760f06b809
Update Existing ResourceDeleteExceptionListener to prevent it from api context 2024-10-24 14:20:48 +02:00
Kamil Grygierzec
8e61e48580
Remove or update the existing state processors 2024-10-24 14:20:47 +02:00
Kamil Grygierzec
c9b1101054
Add Common RemoveStateProcessor for all resources 2024-10-24 14:20:47 +02:00
Grzegorz Sadowski
3466cbab10
Merge branch '1.14' into 2.0
* 1.14:
  Update upgrade file
  Deprecate exceptions from ApiBundle
2024-10-24 14:15:48 +02:00
Kamil Grygierzec
2bdec41dc7
[ShopBundle] set http_method_override to true by default 2024-10-24 14:11:19 +02:00
Kamil Grygierzec
01499f13a9
[AdminBundle] set http_method_override to true by default 2024-10-24 14:11:19 +02:00
Grzegorz Sadowski
547ac1a795
Services IDs Unification (#17324)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file
-->
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
2024-10-24 13:24:07 +02:00
Bartłomiej Sęk
6287e2c27f Fix missing icons 2024-10-24 12:36:32 +02:00
kulczy
c2727ccb38 Add info about thumbnails to the upgrade file 2024-10-24 11:47:11 +02:00
Rafał Jaskulski
f37f0975a7
Deprecate exceptions from ApiBundle (#17320)
| Q               | A
|-----------------|-----
| Branch?         | 1.14 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | yes <!-- don't forget to update the UPGRADE-*.md file
-->
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
2024-10-24 09:27:04 +02:00
Grzegorz Sadowski
4daef5e6d0
Merge branch '1.14' into 2.0
* 1.14:
  [API] Deprecate legacy_error_handling and serialization_groups configuration parameters
2024-10-24 09:03:47 +02:00
Grzegorz Sadowski
6192402fb2
[CS][DX] Refactor (#17325)
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
2024-10-24 08:53:07 +02:00
Kamil Grygierzec
680d5a31c1
Update upgrade file 2024-10-24 08:50:42 +02:00
Kamil Grygierzec
ee14268654
Deprecate exceptions from ApiBundle 2024-10-24 08:50:42 +02:00
Grzegorz Sadowski
bec423f5bd
Regenerate migrations (#17305)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 <!-- see the comment below -->
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file
-->
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
- Features, removing deprecations and BC breaks must be submitted
against the 2.0 branch
 - Make sure that the correct base branch is set

To be sure you are not breaking any Backward Compatibilities, check the
documentation:

https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->
the same as https://github.com/Sylius/Sylius/pull/16933, but with
removed duplicated migration from 1.14
2024-10-24 07:36:24 +02:00
Grzegorz Sadowski
9a346d0068
Update src/Sylius/Bundle/CoreBundle/Resources/config/services/catalog_promotion/calculators.xml 2024-10-24 06:46:28 +02:00
Sylius Bot
59017c0b43 [CS][DX] Refactor 2024-10-24 02:26:03 +00:00
Rafikooo
4fd542e7bf
[Core] Improve autowiring for catalog promotion services 2024-10-24 03:56:40 +02:00
Rafikooo
fd6927d297
[StateMachine] Invert service ids declaration 2024-10-24 00:57:03 +02:00
Rafikooo
c005362714
[Core] Change service id in the test class 2024-10-23 22:16:33 +02:00
Jan Goralski
942b32f78a
Fix default position of product image in postgres migration 2024-10-23 18:33:54 +02:00
Jan Goralski
a1daa3e5e1
Add conditional migrations for the messenger table when needed 2024-10-23 18:33:53 +02:00
Jan Góralski
8c6922f44a
minor #17317 [API] Remove legacy serialization_groups configuration parameters (GSadee)
This PR was merged into the 2.0 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | yes
| Deprecations?   | no<!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | fixes https://github.com/Sylius/Sylius/pull/17309#pullrequestreview-2388183159
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  [API] Remove legacy_error_handling and serialization_groups configuration parameters
2024-10-23 16:49:29 +02:00
Jan Góralski
35171db6f6
minor #17318 [API] Deprecate legacy_error_handling and serialization_groups configuration parameters (GSadee)
This PR was merged into the 1.14 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | yes <!-- don't forget to update the UPGRADE-*.md file -->
| Related tickets | related to #17317 and https://github.com/Sylius/Sylius/pull/17309#pullrequestreview-2388183159
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------
  [API] Deprecate legacy_error_handling and serialization_groups configuration parameters
2024-10-23 16:38:17 +02:00
Grzegorz Sadowski
b642278e77
[Maintenance] Remove drivers binaries (#17322)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | kinda
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | -
| License         | MIT

Apparently these got mistakenly committed during an upmerge 💃
2024-10-23 16:36:13 +02:00
Grzegorz Sadowski
f9ea7ee7e0
Merge branch '1.14' into 2.0
* 1.14:
  [API][PHPSpec] Remove unused arguments from ImageNormalizerSpec
2024-10-23 16:24:11 +02:00
Grzegorz Sadowski
44a221daeb
Merge branch '1.13' into 1.14
* 1.13:
  [API][PHPSpec] Remove unused arguments from ImageNormalizerSpec
2024-10-23 16:24:07 +02:00
Grzegorz Sadowski
915a3a7c8d
minor #17321 [API][PHPSpec] Remove unused arguments from ImageNormalizerSpec (GSadee)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes https://github.com/Sylius/Sylius/pull/16601 and builds on 2.0 😅 
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.13 branch
 - Features and deprecations must be submitted against the 1.14 branch
 - Features, removing deprecations and BC breaks must be submitted against the 2.0 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

a699891368 [API][PHPSpec] Remove unused arguments from ImageNormalizerSpec
2024-10-23 16:23:53 +02:00