Commit graph

37525 commits

Author SHA1 Message Date
Grzegorz Sadowski
58cb417a1f
[Maintenance] Fix invalid install command argument (#17335)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | related #16785
| License         | MIT

Due to this typehint the installation command is creating a hardcoded
`1/` directory instead of whatever is set under
`sylius_core.public_dir`.
2024-10-25 14:36:13 +02:00
Grzegorz Sadowski
c006720f79
[Admin] Deprecate NotificationController 2024-10-25 14:29:30 +02:00
Francis Hilaire
e022527a0a
Fix wrong suffix 2024-10-25 14:23:01 +02:00
Grzegorz Sadowski
b00ce4a05c
[Admin] Remove NotificationController 2024-10-25 14:20:09 +02:00
Jan Goralski
40908d1248
Cleanup v2 2024-10-25 14:09:30 +02:00
Jan Goralski
7b79ffef1a
Refactor creating encryption key
Hook key file generation to the installation command
2024-10-25 14:09:30 +02:00
Francis Hilaire
385bc223f4
Missing interface 2024-10-25 13:39:10 +02:00
Francis Hilaire
14ae2dbe4e
Do not get all available gateways just rely on database data 2024-10-25 13:25:03 +02:00
Wojdylak
102679c9a4
Minor improvements 2024-10-25 12:36:47 +02:00
Michał Pysiak
53b5dfaefd
Remove services 2024-10-25 12:34:59 +02:00
Michał Pysiak
55e281d67a
Bump minimal version to 4.0.3 2024-10-25 12:34:52 +02:00
Wojdylak
06bc2daea9
[AdminBundle] Add base form type for ShopUserType 2024-10-25 12:22:40 +02:00
Wojdylak
354deae356
[AdminBundle] Add base form type for PromotionCouponGeneratorInstructionType 2024-10-25 12:22:32 +02:00
Wojdylak
febb56a170
[AdminBundle] Add LiveComponent for TaxRate 2024-10-25 12:20:18 +02:00
Wojdylak
11dc64d240
[AdminBundle] Add LiveComponent for TaxCategory 2024-10-25 12:20:17 +02:00
Wojdylak
a295f5e7e9
[AdminBundle] Add LiveComponent for ShippingCategory 2024-10-25 12:20:17 +02:00
Wojdylak
e2bd9e2748
[AdminBundle] Add LiveComponent for PromotionCoupon 2024-10-25 12:20:16 +02:00
Wojdylak
aae7407fa7
[AdminBundle] Add LiveComponent for ProductVariant 2024-10-25 12:20:16 +02:00
Wojdylak
6396f39ee9
[AdminBundle] Add LiveComponent for ProductReview 2024-10-25 12:20:16 +02:00
Wojdylak
0dea4f36df
[AdminBundle] Add LiveComponent for ProductAssociation 2024-10-25 12:20:15 +02:00
Wojdylak
0e114c2ed2
[AdminBundle] Add LiveComponent for Locale 2024-10-25 12:20:15 +02:00
Wojdylak
c3f5319274
[AdminBundle] Add LiveComponent for ExchangeRate 2024-10-25 12:20:14 +02:00
Wojdylak
df68562f9c
[AdminBundle] Add LiveComponent for Customer 2024-10-25 12:20:14 +02:00
Wojdylak
3972679551
[AdminBundle] Add LiveComponent for Currency 2024-10-25 12:20:14 +02:00
Wojdylak
e99d93cbb1
[AdminBundle] Add LiveComponent for AdminUser 2024-10-25 12:20:13 +02:00
Jan Goralski
0ad1b6cf56
[Maintenance] Fix invalid install command argument 2024-10-25 11:23:03 +02:00
Grzegorz Sadowski
063bde88a6
Fix gateway factory not exist (#17332)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | yes
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT

When `$this->payum->getGateways()` is called, Payum will try to create
all available gateways including those present in the database. This
create an issue if your gateway is not using Payum. This PR is aiming to
filter out all gateways which are not willing to use Payum.

To do so:

- [x] a new field has been added to the `GatewayConfig`, it allows to
choose if you want to use payum or not.
- [x] the displayed checkbox is NOT disabled if the gateway support both
Payum and PaymentRequest.
- [x] if only PaymentRequest is supported, then the flag is set to
false.
2024-10-25 11:00:15 +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
Michał Pysiak
bf1a337d9b
Fix update password behat context 2024-10-25 10:18:10 +02:00
Michał Pysiak
f8d3d40465
Revert removed services 2024-10-25 10:18:10 +02:00
Michał Pysiak
aa4e7a6f5e
Revert changes to ApiClient 2024-10-25 10:18:10 +02:00
Michał Pysiak
51bbd59e1d
Remove services 2024-10-25 10:18:10 +02:00
Michał Pysiak
9a2260b962
Revert CI changes 2024-10-25 10:18:09 +02:00
Michał Pysiak
de841ff3f2
Fix response when route not found 2024-10-25 10:18:09 +02:00
Michał Pysiak
33ca5784a0
Fix changed response field 2024-10-25 10:18:09 +02:00
Michał Pysiak
137d4d3c79
Fix after rebase 2024-10-25 10:18:09 +02:00
Michał Pysiak
e04d8871b0
turn on unit and turn off rerun (for now) 2024-10-25 10:18:09 +02:00
Michał Pysiak
2b576dda75
move problematic test 2024-10-25 10:18:09 +02:00
Michał Pysiak
79ea166fc8
Remove duplicated operations 2024-10-25 10:18:09 +02:00
Michał Pysiak
8e95467caf
Fix response test 2024-10-25 10:18:09 +02:00
Michał Pysiak
a4e13f312e
Fix ApiBundle unit test 2024-10-25 10:18:08 +02:00