Commit graph

37694 commits

Author SHA1 Message Date
kulczy
f90525432b Change homepage banner 2024-11-07 22:14:00 +01:00
kulczy
22f71ad101 [Fixtures] Add woman's jeans 2024-11-07 21:57:50 +01:00
kulczy
fcc18cfb43 [Fixtures] Add men's jeans 2024-11-07 21:57:50 +01:00
kulczy
17490b9988 [Fixtures] Add caps 2024-11-07 21:57:50 +01:00
kulczy
dbdda83d0b [Fixtures] Add men's t-shirts 2024-11-07 21:57:50 +01:00
kulczy
d3126825ad [Fixtures] Add women's t-shirts 2024-11-07 21:57:50 +01:00
kulczy
bc5037fc59 [Fixtures] Add dresses 2024-11-07 21:57:50 +01:00
Grzegorz Sadowski
b76d2dfacb
Change application's version to v2.0.0-DEV 2024-11-07 15:16:45 +01:00
Bartłomiej Sęk
9c7fb00e3c Fix mobile admin navbar 2024-11-07 15:16:18 +01:00
Grzegorz Sadowski
c49470271c
Generate changelog for v2.0.0-RC.1 2024-11-07 15:15:45 +01:00
Grzegorz Sadowski
f999a85a69
Change application's version to v2.0.0-RC.1 2024-11-07 15:10:05 +01:00
Grzegorz Sadowski
50d21541ae
Merge branch '2.0' into 2.0-docs
* 2.0:
  Change application's version to v1.14.0-DEV
  Generate changelog for v1.14.0-RC.1
  Change application's version to v1.14.0-RC.1
  [Admin] Rename customTrigger param to snake_case notation
  Fix create button in admin panel
  feat: support sqlite
2024-11-07 15:09:12 +01:00
Grzegorz Sadowski
8190f4b13b
Merge branch '1.14' into 2.0
* 1.14:
  Change application's version to v1.14.0-DEV
  Generate changelog for v1.14.0-RC.1
  Change application's version to v1.14.0-RC.1
2024-11-07 15:08:58 +01:00
Grzegorz Sadowski
15c7d3a413
Change application's version to v1.14.0-DEV 2024-11-07 15:06:09 +01:00
Grzegorz Sadowski
aaaf981830
Generate changelog for v1.14.0-RC.1 2024-11-07 15:05:10 +01:00
Grzegorz Sadowski
6212dd9c80
Change application's version to v1.14.0-RC.1 2024-11-07 15:01:11 +01:00
Grzegorz Sadowski
c9fb267fde
[Admin] Rename customTrigger param to snake_case notation (#17436)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | related to #17338
| 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-11-07 14:55:23 +01:00
Grzegorz Sadowski
22a6f65036
Fix create button in admin panel (#17435)
![image](https://github.com/user-attachments/assets/f8611874-d9a1-4479-b3f4-c05c18a1be7a)
2024-11-07 14:55:09 +01:00
Grzegorz Sadowski
817c6223f3
feat: support sqlite (#17254)
| 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
-->
| Related tickets | fixes #13051 
| License         | MIT

Add support for sqlite:

- fix sylius installer (dont run migrations, use schema:update force
command)
- fix admin dashboard (add Doctrine YEAR,MONTH ... functions
implementations)
2024-11-07 14:54:35 +01:00
Grzegorz Sadowski
c22e44cde6
Merge branch '2.0' into 2.0-docs
* 2.0:
  [Bug] Turn off stimulus debug mode in production
  Mention the serialization changes in API
  [CoreBundle] Fix initial log creation for table sylius_channel_pricing_log_entry (#17378)
2024-11-07 14:53:53 +01:00
Grzegorz Sadowski
35365a6f37
Merge branch '1.14' into 2.0
* 1.14:
  [CoreBundle] Fix initial log creation for table sylius_channel_pricing_log_entry (#17378)
2024-11-07 14:53:39 +01:00
Grzegorz Sadowski
98b792b219
Merge branch '1.13' into 1.14
* 1.13:
  [CoreBundle] Fix initial log creation for table sylius_channel_pricing_log_entry (#17378)
2024-11-07 14:53:25 +01:00
Grzegorz Sadowski
8593852f64
bug #17380 [CoreBundle] Fix initial log creation for table sylius_channel_pricing_log_entry (#17378) (jblairy)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A
|-----------------|-----
| Branch?         | 1.13
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes #17378
| License         | MIT



Commits
-------

3339f47ff2 [CoreBundle] Fix initial log creation for table sylius_channel_pricing_log_entry (#17378)
2024-11-07 14:53:06 +01:00
Grzegorz Sadowski
749719bd2d
[Admin] Rename customTrigger param to snake_case notation 2024-11-07 14:43:04 +01:00
Grzegorz Sadowski
76fad06b55
[Bug] Turn off stimulus debug mode in production (#17434)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT

Fixes stimulus debug mode in prod env

Debug mode enabled:
```
yarn encore dev 
```

Debug mode disabled:
```
yarn encore prod
```
2024-11-07 12:50:49 +01:00
Bartłomiej Sęk
ccde6b4efb Fix create button in admin panel 2024-11-07 12:11:16 +01:00
Michał Pysiak
ec3c74b3d7
[Bug] Turn off stimulus debug mode in production 2024-11-07 09:45:23 +01:00
Magdalena Sadowska
d3d1dd21a8
GITBOOK: Export Sylius documentation 2024-11-07 07:49:57 +00:00
Magdalena Sadowska
32f1839d8e
GITBOOK: Export Sylius documentation 2024-11-07 07:41:35 +00:00
Grzegorz Sadowski
b70fd77384
Mention the serialization changes in API (#17422)
| 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
-->
2024-11-07 06:54:06 +01:00
Grzegorz Sadowski
97254f997a
[DOCUMENTATION] Synchronize 2.0-docs -> 2.0 (#17433)
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action
2024-11-07 06:51:54 +01:00
Grzegorz Sadowski
3059d25fe7
Merge branch '2.0' into docs/2.0-docs_2.0 2024-11-07 06:51:15 +01:00
Grzegorz Sadowski
df41415b33
Merge branch '2.0' into 2.0-docs
* 2.0:
  Fix missing logo in reset password templates
  Group body classes into one Twig file
  Admin security root hooks refactor
  [API] update info about resource configuration changes in upgrade file
  Implement common hooks structure as in AdminBundle
  [Admin] Add twig.payment_method.excluded_gateways parameter
  Remove unnecessary hook
  Rename dashboard hook
  [PaymentRequest] Adjust ids of the services to link them to Payment Requests
  Minor improvement
  [Admin] Add checkout.payment.allowed_states parameter
  [Admin] Add attributes to dropdown helper
  [Shop] Enable customization of body classes
  Chore: Remove useless route vars
  Remove unnecessary file
  Reorganize account twig hooks
2024-11-07 06:49:09 +01:00
Grzegorz Sadowski
43af1a1ccb
Admin security hooks refactor (#17431)
![image](https://github.com/user-attachments/assets/afbb7d2c-d44f-472f-b006-012870a9e6f4)
2024-11-07 06:34:11 +01:00
Grzegorz Sadowski
0821452c82
[Shop] Enable customization of body classes (#17421)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | DX
| BC breaks?      | no
| Deprecations?   | no
| Related tickets |
| 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
-->

I've tried with a "bg_primary" template
```yaml
sylius_twig_hooks:
    hooks:
        'sylius_shop.base#body_classes':
            bg_primary:
                template: '@SyliusShop/shared/layout/base/body_classes/bg_primary.html.twig'
                priority: 0          
```

![Capture d’écran du 2024-11-05
15-40-53](https://github.com/user-attachments/assets/6b7b0560-65b6-4c1e-979e-62536e1bc3da)
2024-11-07 06:33:57 +01:00
Grzegorz Sadowski
49e8fe549c
Implement common hooks structure as in AdminBundle (#17429) 2024-11-06 16:11:21 +01:00
Magdalena Sadowska
771ff16d28
GITBOOK: Export Sylius documentation 2024-11-06 13:37:58 +00:00
Bartłomiej Sęk
eb21423301 Fix missing logo in reset password templates 2024-11-06 14:32:18 +01:00
Loïc Frémont
ec06523534 Group body classes into one Twig file 2024-11-06 14:30:05 +01:00
Bartłomiej Sęk
df2e2d48af Admin security root hooks refactor 2024-11-06 14:24:51 +01:00
Kamil Grygierzec
55bf164a64
Mention the serialization changes in API 2024-11-06 13:36:05 +01:00
Magdalena Sadowska
a53b3d4639
GITBOOK: Export Sylius documentation 2024-11-06 11:50:46 +00:00
Grzegorz Sadowski
82ef5f4df4
[API] Update info about resource configuration changes in upgrade file (#17430)
| 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
-->
2024-11-06 12:48:52 +01:00
Grzegorz Sadowski
5f947f5f29
SYL-4101: Hook rename (#17427)
![image](https://github.com/user-attachments/assets/ff9b8f2c-9e66-4e39-8e96-304917743ebd)
2024-11-06 12:08:18 +01:00
Grzegorz Sadowski
00693549e2
[Admin] Add twig.payment_method.excluded_gateways parameter (#17428)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | n/a
| License         | MIT
2024-11-06 11:59:13 +01:00
Kamil Grygierzec
938ef60370
[API] update info about resource configuration changes in upgrade file 2024-11-06 11:27:08 +01:00
Bartłomiej Sęk
19471e1eb1 Implement common hooks structure as in AdminBundle 2024-11-06 11:07:22 +01:00
Wojdylak
2fc2abec41
[Admin] Add twig.payment_method.excluded_gateways parameter 2024-11-06 10:42:09 +01:00
Karol
126b550477
[PaymentRequest] Adjust ids of the services to link them to Payment Requests (#17420)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file
-->
| Related tickets | 
| License         | MIT

Some of the services ids seemed too global and did not say what they
were for.

<!--
 - 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-11-06 10:20:50 +01:00
Grzegorz Sadowski
91c462b06e
[Admin] Chore: Remove useless route vars (#17418)
| Q               | A
|-----------------|-----
| Branch?         | 2.0 
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| 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
-->

Icon, form templates, header and subheader are not used anymore.
- Form templates are now handled by Twig hooks
- Icons only exist on the menu sidebar
- Headers are displayed with resource metadata or twig hooks
configuration
(https://github.com/Sylius/Sylius/blob/2.0/src/Sylius/Bundle/AdminBundle/templates/shared/crud/common/content/header/title_block/title.html.twig#L5)
&
https://github.com/Sylius/Sylius/blob/2.0/src/Sylius/Bundle/AdminBundle/templates/shared/crud/create/content/header/title_block/title.html.twig
- There's no sub-headers anymore
2024-11-06 10:16:06 +01:00