Skip to content

Commit

Permalink
Merge branch '4.0' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Feb 18, 2024
2 parents a541c84 + a469b89 commit 93bba6e
Show file tree
Hide file tree
Showing 17 changed files with 79 additions and 15 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,22 @@ name: Behat
on:
push:
branches: [ '4.0', 'next' ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
pull_request:
branches: [ '4.0', 'next' ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
release:
types: [ created ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs.yaml'
- 'README.md'
schedule:
- cron: "0 1 * * 1"

Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/behat_ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@ name: Behat UI
on:
push:
branches: [ '4.0', 'next' ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
pull_request:
branches: [ '4.0', 'next' ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
release:
types: [ created ]
schedule:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/gitsplit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- 3.0
- 3.1
- 4.0
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
release:
types: [ published ]

Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/packages_bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@ name: Packages Bundles
on:
push:
branches: [ '4.0', 'next' ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
pull_request:
branches: [ '4.0', 'next' ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
release:
types: [ created ]
schedule:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/packages_components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@ name: Packages Components
on:
push:
branches: [ '4.0', 'next' ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
pull_request:
branches: [ '4.0', 'next' ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
release:
types: [ created ]
schedule:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@ name: Static Tests (Lint, Stan)
on:
push:
branches: [ '4.0', 'next' ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
pull_request:
branches: [ '4.0', 'next' ]
paths-ignore:
- 'docs/**'
- '.github/workflows/docs_next.yml'
- 'README.md'
release:
types: [ created ]
schedule:
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG-3.2.x.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 3.2.5
* [Migration] [Migration] fix Staticroute Migration for Pimcore 10 by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2550

# 3.2.4
* [CoreBundle] fix priority of coreshop_payment_token route by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2542
* [Frontend] create order-token if not yet exists by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2543
* [ProductBundle] default return empty array instead of null in preGetData by @breakone in https://github.com/coreshop/CoreShop/pull/2544

# 3.2.3
* [ProductBundle] fix ClearCachedPriceRulesListener - remove service definition

Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG-4.0.x.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 4.0.3

* [Core] Fixes in DataObject Extensions and Subscribed Services by @solverat in https://github.com/coreshop/CoreShop/pull/2528
* [MessengerBundle] make FailedMessageDetails and MessageDetails JsonSerializable by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2530

# 4.0.2

* [DataHub] only enable queries for selected entities by @dpfaffenbauer in https://github.com/coreshop/CoreShop/pull/2512
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ transcends ordinary transactions.

# Installation

Read our Documentation for the Installation Guide [here](https://docs.coreshop.org/4.0.0/CoreShop/Getting_Started/Installation)
Read our Documentation for the Installation Guide [here](https://docs.coreshop.org/CoreShop/Getting_Started/Installation)

# Demo

Discover the full potential of CoreShop through our interactive demos. Read more about this [here](https://docs.coreshop.org/4.0.0/CoreShop/Getting_Started/Demo)
Discover the full potential of CoreShop through our interactive demos. Read more about this [here](https://docs.coreshop.org/CoreShop/Getting_Started/Demo)

## Copyright and license

Expand Down
14 changes: 7 additions & 7 deletions docs/03_Bundles/Resource_Bundle/01_Custom_Entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ First, create your Entity Class. In this case, we create a Translatable Entity.

### CustomEntityInterface

Create CustomEntityInterface.php in the AppBundle/Model directory.
Create `CustomEntityInterface.php` in the `AppBundle/Model` directory.

```php

<?php

interface CustomEntityInterface extends ResourceInterface, TranslatableInterface {
Expand Down Expand Up @@ -201,8 +200,9 @@ app_custom_entity:
alias: app.custom_entity
```

GET: /admin/app/custom_entity/list
GET: /admin/app/custom_entity/get
POST: /admin/app/custom_entity/add
POST: /admin/app/custom_entity/save
DELETE: /admin/app/custom_entity/delete
It will define the following routes:
- `GET`: `/admin/app/custom_entity/list`
- `GET`: `/admin/app/custom_entity/get`
- `POST`: `/admin/app/custom_entity/add`
- `POST`: `/admin/app/custom_entity/save`
- `DELETE`: `/admin/app/custom_entity/delete`
2 changes: 1 addition & 1 deletion docs/03_Bundles/Resource_Bundle/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Resource Bundle in CoreShop
# Resource Bundle

The Resource Bundle is a central component of CoreShop, handling the creation, reading, updating, and deleting (CRUD) of
CoreShop models. It manages Doctrine ORM mappings, translations, routing, event dispatching, serialization, and CRUD
Expand Down
2 changes: 1 addition & 1 deletion docs/03_Bundles/Sequence_Bundle.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sequence Bundle in CoreShop
# Sequence Bundle

The Sequence Bundle is a vital component within CoreShop that facilitates sequence generation, integrating seamlessly
with Symfony and Doctrine.
Expand Down
2 changes: 1 addition & 1 deletion docs/03_Bundles/StorageList_Bundle.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Storage List Bundle in CoreShop
# Storage List Bundle

The Storage List Bundle assists in managing lists and collections of objects, such as carts, wishlists, or compare
lists, in CoreShop.
Expand Down
2 changes: 1 addition & 1 deletion docs/03_Bundles/Theme_Bundle.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Theme Bundle in CoreShop
# Theme Bundle

The CoreShop Theme Bundle offers a flexible and extensible approach to managing multiple themes within a Pimcore
installation.
Expand Down
2 changes: 1 addition & 1 deletion docs/03_Bundles/Variant_Bundle.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Variant Bundle in CoreShop
# Variant Bundle

The CoreShop Variant Bundle provides a robust framework for managing different variants of a product in your e-commerce
application.
Expand Down
2 changes: 1 addition & 1 deletion src/CoreShop/Bundle/CoreBundle/Application/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ final class Version

public const MINOR_VERSION = '0';

public const RELEASE_VERSION = '2';
public const RELEASE_VERSION = '3';

public const EXTRA_VERSION = '';

Expand Down
3 changes: 3 additions & 0 deletions src/CoreShop/Bundle/CoreBundle/Security/AccessVoter.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ public function __construct(
) {
}

/**
* @phpstan-ignore-next-line
*/
protected function supports(string $attribute, $subject): bool
{
return str_starts_with($attribute, $this->prefix);
Expand Down

0 comments on commit 93bba6e

Please sign in to comment.