-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #385 [Maintenance] Add support for Sylius 1.12 with Symfony 5…
….4 (coldic3) This PR was merged into the 1.3 branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | 1.3 | Bug fix? | no | New feature? | no | Related tickets | To be merged on Sylius 1.12 release 💃 Support for Symfony 6 will be added in a separate PR. Commits ------- 2dcc5fe [Maintenance] Add support for Sylius 1.12 but without Symfony 6 5be01c2 [GitHub Actions] Add Sylius 1.12 to the matrix dc8d2b8 Replace gulp with webpack e4e8226 [Maintenance] Add support for both Swiftmailer and SF Mailer in the test app f259da1 [Behat] Fix contexts cee61c3 [GitHub Actions] Use latest version of ubuntu 2048ec2 [Behat] Refactor services config 2254fef [Maintenance] Refactor test app config
- Loading branch information
Showing
37 changed files
with
215 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,10 @@ DATABASE_URL=mysql://[email protected]/sylius_refund_plugin_%kernel.environment% | |
MAILER_URL=smtp://localhost | ||
###< symfony/swiftmailer-bundle ### | ||
|
||
###> symfony/mailer ### | ||
MAILER_DSN=null://null | ||
###< symfony/mailer ### | ||
|
||
###> knplabs/knp-snappy-bundle ### | ||
WKHTMLTOPDF_PATH=/usr/local/bin/wkhtmltopdf | ||
###< knplabs/knp-snappy-bundle ### | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import 'sylius/bundle/AdminBundle/Resources/private/entry'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import 'sylius/bundle/ShopBundle/Resources/private/entry'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
framework: | ||
assets: | ||
packages: | ||
shop: | ||
json_manifest_path: '%kernel.project_dir%/public/build/shop/manifest.json' | ||
admin: | ||
json_manifest_path: '%kernel.project_dir%/public/build/admin/manifest.json' |
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
tests/Application/config/packages/test_cached/swiftmailer.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
webpack_encore: | ||
output_path: '%kernel.project_dir%/public/build/default' | ||
builds: | ||
shop: '%kernel.project_dir%/public/build/shop' | ||
admin: '%kernel.project_dir%/public/build/admin' |
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
tests/Application/config/sylius/1.11/packages/staging/swiftmailer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
imports: | ||
- { resource: "../dev/mailer.yaml" } |
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
tests/Application/config/sylius/1.11/packages/test_cached/swiftmailer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
imports: | ||
- { resource: "../test/mailer.yaml" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
framework: | ||
mailer: | ||
dsn: '%env(MAILER_DSN)%' |
5 changes: 5 additions & 0 deletions
5
tests/Application/config/sylius/1.12/packages/test/mailer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
framework: | ||
cache: | ||
pools: | ||
test.mailer_pool: | ||
adapter: cache.adapter.filesystem |
2 changes: 2 additions & 0 deletions
2
tests/Application/config/sylius/1.12/packages/test_cached/mailer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
imports: | ||
- { resource: "../test/mailer.yaml" } |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tests/Application/templates/bundles/SyliusAdminBundle/Security/_content.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% include '@SyliusUi/Security/_login.html.twig' | ||
with { | ||
'action': path('sylius_admin_login_check'), | ||
'paths': {'logo': asset('build/admin/images/logo.png', 'admin')} | ||
} | ||
%} |
1 change: 1 addition & 0 deletions
1
tests/Application/templates/bundles/SyliusAdminBundle/_scripts.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ encore_entry_script_tags('admin-entry', null, 'admin') }} |
1 change: 1 addition & 0 deletions
1
tests/Application/templates/bundles/SyliusAdminBundle/_styles.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ encore_entry_link_tags('admin-entry', null, 'admin') }} |
5 changes: 5 additions & 0 deletions
5
tests/Application/templates/bundles/SyliusShopBundle/Layout/Header/_logo.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div class="column"> | ||
<a href="{{ path('sylius_shop_homepage') }}"> | ||
<img src="{{ asset('build/shop/images/logo.png', 'shop') }}" alt="Sylius logo" class="ui small image" /> | ||
</a> | ||
</div> |
1 change: 1 addition & 0 deletions
1
tests/Application/templates/bundles/SyliusShopBundle/_scripts.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ encore_entry_script_tags('shop-entry', null, 'shop') }} |
1 change: 1 addition & 0 deletions
1
tests/Application/templates/bundles/SyliusShopBundle/_styles.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{{ encore_entry_link_tags('shop-entry', null, 'shop') }} |
Oops, something went wrong.