Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
52b2787
OP-291: Update readme
hmfilar Jul 17, 2024
e6dfaba
OP-291: Refactor templates
hmfilar Jul 22, 2024
1984c2d
OP-291: Update dependencies
hmfilar Jul 22, 2024
07a1c60
OP-291: Refactor, simplify processing logic
hmfilar Jul 22, 2024
c545592
OP-291: Use test application build action from SyliusLabs
hmfilar Jul 22, 2024
2d538e5
OP-291: Deprecate WishlistProductFactoryFacade
hmfilar Jul 23, 2024
cd5cc44
OP-291: Refactor AddProductsToCartHandler to handle exceptions in con…
hmfilar Jul 24, 2024
b732a4e
OP-291: Refactor AddSelectedProductsToCartHandler to handle exception…
hmfilar Jul 25, 2024
3db585e
OP-291: Refactor RemoveSelectedProductsFromWishlistHandler to handle …
hmfilar Jul 25, 2024
e156f2d
OP-291: Extract abstraction to prevent code repetition
hmfilar Jul 25, 2024
67e90e1
OP-291: Add a command for removing guest wishlists
hmfilar Jul 25, 2024
6a82668
OP-291: Refactor behats
hmfilar Jul 26, 2024
d53fe47
OP-291: Add tests for the new command
hmfilar Jul 26, 2024
aafb2e1
OP-291: Clean up behat configs
hmfilar Jul 29, 2024
9beaad4
OP-291: Make wishlist page more consistent with cart
hmfilar Jul 29, 2024
be4dc0a
OP-291: Cover edge case with behat tests
hmfilar Jul 30, 2024
516c2bb
OP-291: Replicate wishlist selection logic from product list on produ…
hmfilar Jul 30, 2024
2f48a04
OP-291: Bring back installations steps using recipes and make them op…
hmfilar Jul 30, 2024
167b8f8
OP-291: Include plugin scripts and styles using template events
hmfilar Aug 2, 2024
2808fdf
OP-291: Fix template copying section in readme
hmfilar Aug 28, 2024
aa49117
Merge branch 'master' into feature/op-291-code-style
hmfilar Sep 18, 2024
17d8ab8
OP-291: Update supported php and node versions
hmfilar Sep 18, 2024
6e0c5ac
[Maintenance] Update dependencies
hmfilar Feb 4, 2025
c6ce4ff
[Maintenance] Update service IDs
hmfilar Feb 4, 2025
c835376
[Maintenance] Temporarily comment-out removed classes and interfaces
hmfilar Feb 4, 2025
a58b416
[OP-551] Migrate API Platform configuration to new syntax
hmfilar Feb 4, 2025
322d9c9
[Maintenance] Update routes
hmfilar Feb 4, 2025
dd12f53
[OP-551] Adjust dependencies and a register missing bundle
hmfilar Feb 5, 2025
43d5e89
Merge branch 'master' into feature/op-291-code-style
hmfilar Feb 5, 2025
f69d668
OP-291: Delete resource override, document it
hmfilar Jul 19, 2024
b228236
Merge branch 'MAINTENANCE/sylius-2.0-support' into feature/op-291-cod…
hmfilar Feb 5, 2025
9eb374b
[OP-551] Comment-out event-based template injections
hmfilar Feb 5, 2025
6a4fa0d
[OP-551] Compatibility adjustments
hmfilar Feb 5, 2025
96e60f2
[OP-551] Adjust FE compilation
hmfilar Feb 6, 2025
422ef96
[OP-551] Use twig hooks instead of sylius events
hmfilar Feb 6, 2025
b5672e4
[OP-551] Align templates with the new layout
hmfilar Feb 12, 2025
eae6eac
HM-1: Frontend adjustments (semantic to bootstrap)
jkindly Apr 18, 2025
6c6dae1
HM-1: Bitbag -> Sylius namespaces
jkindly Apr 19, 2025
6ea8356
HM-1: OS Header -> Sylius header
jkindly Apr 19, 2025
8db1f44
HM-1: Bitbag -> Sylius names
jkindly Apr 19, 2025
210812d
HM-1: ECS
jkindly Apr 19, 2025
41b9e57
HM-1: Spec
jkindly Apr 19, 2025
71bd976
Merge remote-tracking branch 'origin/feature/HM-1-sylius2-upgrade' in…
jkindly Apr 19, 2025
b883e30
HM-1: Tests
jkindly Apr 21, 2025
106849a
HM-1: PHP Unit tests
jkindly Apr 23, 2025
9d80fc8
HM-1: Behat fixes
jkindly Apr 25, 2025
76dedd7
HM-1: coding_standard.yml update
jkindly Apr 25, 2025
ab171cf
HM-1: Command name extract to attribute
jkindly Apr 25, 2025
52bc622
HM-1: Command name extract to attribute
jkindly Apr 25, 2025
864c795
HM-1: Removed 6.4 from coding_standard.yml
jkindly Apr 25, 2025
efcfd12
HM-1: Update package.json
jkindly Apr 25, 2025
2ece19b
HM-1: Update build.yml
jkindly Apr 25, 2025
eb68a19
HM-1: Spec fix
jkindly Apr 26, 2025
f9ca14a
HM-1: Remove 6.4 version from build.yml
jkindly Apr 26, 2025
720f63e
HM-1: Change --headless to --headless=old build.yml
jkindly Apr 26, 2025
c2657cc
HM-1: Template override
jkindly Apr 26, 2025
06d8aa6
HM-1: Remove headless=old
jkindly Apr 26, 2025
38293ee
HM-1: Remove bitbag name
jkindly Apr 27, 2025
7a790c1
HM-1: Tables rename
jkindly Apr 27, 2025
0fa365d
HM-1: Remove dead code
jkindly Apr 27, 2025
abe70be
HM-1: Name adjustments and remove unused code
jkindly Apr 27, 2025
c0ce0da
HM-1: Readme and docs
jkindly Apr 27, 2025
2975e82
Merge branch 'master' of github.com:BitBagCommerce/SyliusWishlistPlug…
jkindly Apr 27, 2025
9957a76
HM-1: Remove unused code
jkindly Apr 27, 2025
7975035
HM-1: 01.1-webpack-config.md update
jkindly Apr 27, 2025
dc271be
HM-1: Remove unused files
jkindly Apr 28, 2025
d5f4ff0
HM-1: Remove useless constructor
jkindly Apr 28, 2025
85445fd
HM-1: Service id added in command.xml
jkindly Apr 28, 2025
65e42d0
HM-1: Update composer and ecs
jkindly Apr 28, 2025
2dcd7c4
HM-1: Update build.yml and CODEOWNERS
jkindly Apr 28, 2025
33bfe8c
HM-1: Update behat.yml.dist
jkindly Apr 28, 2025
1e66bc6
HM-1: Assets & webpack reorganization
jkindly Apr 28, 2025
dd8bb87
HM-1: Api endpoints name change
jkindly Apr 29, 2025
43f2198
HM-1: build.yml update and remove coding_standard.yml
jkindly Apr 29, 2025
cfea26d
HM-1: Reorganized src/Resources to config symfony standards
jkindly Apr 29, 2025
f92ee80
HM-1: phpstan
jkindly Apr 29, 2025
447f283
HM-1: API groups
jkindly Apr 29, 2025
9ab9979
HM-1: Added symfony/console to require dev to resolve installation error
jkindly Apr 29, 2025
da67515
HM-1: Remove symfony/dependency-injection
jkindly Apr 29, 2025
7f21417
HM-1: Correct indexes name in relations
jkindly Apr 29, 2025
877e7d3
HM-1: Update symfony/dependency-injection due to composer error
jkindly Apr 29, 2025
4ad1bac
HM-1: Update symfony/doctrine-messenger due to composer error
jkindly Apr 29, 2025
ac03fce
HM-1: Update sylius version for winzou
jkindly Apr 29, 2025
7cd6c83
HM-1: Update build and composer
jkindly Apr 29, 2025
cc0f91f
HM-1: Update build
jkindly Apr 29, 2025
0018970
HM-1: symfony/console
jkindly Apr 29, 2025
ebcf6e0
HM-1: symfony/dependency-injection
jkindly Apr 29, 2025
3436cfe
HM-1: symfony/doctrine-messenger
jkindly Apr 29, 2025
94d55f3
HM-1: symfony/form
jkindly Apr 29, 2025
ad10790
HM-1: symfony/framework-bundle
jkindly Apr 29, 2025
e55f5ca
HM-1: symfony/http-kernel
jkindly Apr 29, 2025
802dcb5
HM-1: Fix symfony 6.4 to ^6.4 in build.yml
jkindly Apr 30, 2025
9149d8a
HM-1: Register winzou conditionally
jkindly Apr 30, 2025
374386f
HM-1: Fallback for symfony 6.4 in WishlistTokenValueAwareDenormalizer…
jkindly Apr 30, 2025
458cfeb
HM-1: PHPStan error handling
jkindly Apr 30, 2025
d8c2246
HM-1: ecs
jkindly Apr 30, 2025
bb0c7c0
HM-1: docs update
jkindly Apr 30, 2025
d37d53e
HM-1: Fix for adding product variant
jkindly May 5, 2025
ea60888
HM-1: Fix for adding product variant
jkindly May 6, 2025
bd0c3a8
HM-1: Missing headers
jkindly May 6, 2025
c598d4c
HM-1: Docs
jkindly May 6, 2025
da0e34f
HM-1: ecs
jkindly May 6, 2025
e70090d
HM-1: change name wishlist-bundle to wishlist-plugin
jkindly May 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
* @BitBagCommerce
* @Sylius/core-team
* @Sylius/key-contributors @Sylius/development-team
149 changes: 130 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,26 @@ jobs:
runs-on: ubuntu-latest

name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }},
MySQL ${{ matrix.mysql }}, Node ${{ matrix.node }}"
MySQL ${{ matrix.mysql }}, State Machine Adapter ${{ matrix.state_machine_adapter }}"

strategy:
fail-fast: false
matrix:
php: [ "8.1", "8.2", "8.3" ]
symfony: ["^5.4", "^6.4"]
sylius: [ "~1.13.0", "~1.14.0" ]
node: [ "18.x", "20.x" ]
mysql: ["8.0"]

exclude:
-
php: "8.3"
symfony: "^5.4"
sylius: "~1.13.0"
php: [ "8.2", "8.3" ]
symfony: [ "^6.4", "^7.1" ]
sylius: [ "^2.0" ]
node: [ "20.x" ]
mysql: [ "8.4" ]
state_machine_adapter: ["symfony_workflow"]

include:
- php: "8.3"
symfony: "^7.1"
database: "mysql"
sylius: "~2.0.1"
mysql: "8.4"
node: "20.x"
state_machine_adapter: "winzou_state_machine"

env:
APP_ENV: test
Expand All @@ -52,15 +56,122 @@ jobs:
coverage: none

-
name: Build test application
uses: SyliusLabs/BuildTestAppAction@v1.3
name: Setup Node
uses: actions/setup-node@v4
with:
sylius-version: "${{ matrix.sylius }}"
symfony-version: "${{ matrix.symfony }}"
mysql-version: "${{ matrix.mysql }}"
node-version: "${{ matrix.node }}"
working-directory: "."
plugin-build: "yes"

-
name: Shutdown default MySQL
run: sudo service mysql stop

-
name: Setup MySQL
uses: mirromutth/mysql-action@v1.1
with:
mysql version: "${{ matrix.mysql }}"
mysql root password: "root"

-
name: Output PHP version for Symfony CLI
run: php -v | head -n 1 | awk '{ print $2 }' > .php-version

-
name: Install certificates
run: symfony server:ca:install

-
name: Run Chrome Headless
run: google-chrome-stable --enable-automation --disable-background-networking --no-default-browser-check --no-first-run --disable-popup-blocking --disable-default-apps --allow-insecure-localhost --disable-translate --disable-extensions --no-sandbox --enable-features=Metal --headless --remote-debugging-port=9222 --window-size=2880,1800 --proxy-server='direct://' --proxy-bypass-list='*' http://127.0.0.1 > /dev/null 2>&1 &

-
name: Run webserver
run: (cd tests/Application && symfony server:start --port=8080 --dir=public --daemon)

-
name: Get Composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

-
name: Cache Composer
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json **/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-${{ matrix.php }}-composer-

-
name: Restrict Symfony version
if: matrix.symfony != ''
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^2.4"
composer config --no-plugins allow-plugins.symfony/thanks true
composer config extra.symfony.require "${{ matrix.symfony }}"

-
name: Restrict Sylius version
if: matrix.sylius != ''
run: composer require "sylius/sylius:${{ matrix.sylius }}" --no-update --no-scripts --no-interaction

-
name: Require Winzou State Machine
if: "${{ matrix.state_machine_adapter == 'winzou_state_machine' }}"
run: |
composer require winzou/state-machine:^0.4 --no-update
composer require winzou/state-machine-bundle:^0.6 --no-update

-
name: Install PHP dependencies
run: composer install --no-interaction

-
name: Run PHPStan
run: vendor/bin/phpstan analyse -c phpstan.neon src/

-
name: Run ECS
run: vendor/bin/ecs

-
name: Get Yarn cache directory
id: yarn-cache
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

-
name: Cache Yarn
uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-node-${{ matrix.node }}-yarn-${{ hashFiles('**/package.json.~1.13.0.dist **/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-${{ matrix.node }}-yarn-

-
name: Install JS dependencies
run: (cd tests/Application && yarn install)

-
name: Prepare test application database
run: |
(cd tests/Application && bin/console doctrine:database:create -vvv)
(cd tests/Application && bin/console doctrine:migrations:migrate -vvv)

-
name: Prepare test application assets
run: |
(cd tests/Application && bin/console assets:install public -vvv)
(cd tests/Application && yarn prod)

-
name: Prepare test application cache
run: (cd tests/Application && bin/console cache:warmup -vvv)

-
name: Load fixtures in test application
run: (cd tests/Application && bin/console sylius:fixtures:load -n)

-
name: Validate composer.json
Expand Down
81 changes: 0 additions & 81 deletions .github/workflows/coding_standard.yml

This file was deleted.

Loading
Loading