Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #185 from ergonode/release/v0.5.0
Browse files Browse the repository at this point in the history
Release/v0.5.0
  • Loading branch information
rprzedzik committed Oct 8, 2019
2 parents 065d3b5 + bc76e55 commit 87ca2a8
Show file tree
Hide file tree
Showing 406 changed files with 15,164 additions and 2,550 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## CHANGELOG FOR 0.5.0
- feature [#115](https://github.com/ergonode/backend/issues/115) Product segment functionality (rprzedzik)
- feature [#118](https://github.com/ergonode/backend/issues/118) Event store history (BastekBielawski)
- feature [#124](https://github.com/ergonode/backend/issues/124) Register events in database (BastekBielawski)

## CHANGELOG FOR 0.4.0

- feature [#104](https://github.com/ergonode/backend/issues/104) Multiple category trees (wiewiurdp)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<p align="center">
<a href="https://ergonode.com" target="_blank">
<img src="https://img.shields.io/badge/version-0.4.0-4c9aff.svg" alt="Version">
<img src="https://img.shields.io/badge/version-0.5.0-4c9aff.svg" alt="Version">
</a>
<a href="https://ergonode.com" target="_blank">
<img src="https://img.shields.io/badge/version%20code-Vegas-00bc87.svg" alt="Code Version">
Expand Down Expand Up @@ -96,7 +96,7 @@ On the front side we've used headless approach with Vue.js application. Thanks t
#### Backend Technologies

- PHP 7.2
- Symfony 4.2
- Symfony 4.3
- Postgres 9.6 (uuid-ossp, ltree)
- RabbitMQ (optional)
- Redis (optional)
Expand Down
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"Ergonode\\AttributeUnit\\": "module/attribute-unit/src",
"Ergonode\\AttributeDate\\": "module/attribute-date/src",
"Ergonode\\AttributeImage\\": "module/attribute-image/src",
"Ergonode\\Condition\\": "module/condition/src",
"Ergonode\\Segment\\": "module/segment/src",
"Ergonode\\Grid\\": "module/grid/src",
"Ergonode\\Channel\\": "module/channel/src",
Expand Down Expand Up @@ -136,6 +137,7 @@
"Ergonode\\AttributeUnit\\Tests\\": "module/attribute-unit/tests",
"Ergonode\\AttributeDate\\Tests\\": "module/attribute-date/tests",
"Ergonode\\AttributeImage\\Tests\\": "module/attribute-image/tests",
"Ergonode\\Condition\\Tests\\": "module/condition/tests",
"Ergonode\\Segment\\Tests\\": "module/segment/tests",
"Ergonode\\Grid\\Tests\\": "module/grid/tests",
"Ergonode\\Channel\\Tests\\": "module/channel/tests",
Expand Down
4 changes: 3 additions & 1 deletion config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
Ergonode\Importer\ErgonodeImporterBundle::class => ['all' => true],
Ergonode\Reader\ErgonodeReaderBundle::class => ['all' => true],
Ergonode\Transformer\ErgonodeTransformerBundle::class => ['all' => true],
Ergonode\Condition\ErgonodeConditionBundle::class => ['all' => true],
Ergonode\Segment\ErgonodeSegmentBundle::class => ['all' => true],
Ergonode\Category\ErgonodeCategoryBundle::class => ['all' => true],
Ergonode\CategoryTree\ErgonodeCategoryTreeBundle::class => ['all' => true],
Ergonode\Product\ErgonodeProductBundle::class => ['all' => true],
Expand All @@ -43,6 +45,6 @@
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
Vich\UploaderBundle\VichUploaderBundle::class => ['all' => true],
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true],
Nelmio\CorsBundle\NelmioCorsBundle::class => ['all' => true],
Symfony\Bundle\WebServerBundle\WebServerBundle::class => ['dev' => true],
];
103 changes: 96 additions & 7 deletions config/packages/nelmio_api_doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,40 @@ nelmio_api_doc:
type: boolean
required: true
example: true
account_upd:
type: object
properties:
firstName:
type: string
required: true
description: User first name
example: Jon
lastName:
type: string
required: true
description: User last name
example: Dove
language:
type: string
required: true
description: User language
example: EN
password:
type: string
required: true
example: 12345678
passwordRepeat:
type: string
equired: true
example: 12345678
roleId:
type: string
required: true
example: 86800536-0f2a-4920-9291-f35fdcea3839
isActive:
type: boolean
required: true
example: true
status:
type: object
properties:
Expand Down Expand Up @@ -210,6 +244,15 @@ nelmio_api_doc:
example:
DE: Name DE
EN: Name EN
category_upd:
type: object
properties:
name:
type: object
description: category name
example:
DE: Name DE
EN: Name EN
product:
type: object
properties:
Expand All @@ -228,6 +271,15 @@ nelmio_api_doc:
type: string
required: false
description: Lista id kategorii
product_upd:
type: object
properties:
categortyIds:
type: array
items:
type: string
required: false
description: Lista id kategorii
template:
type: object
properties:
Expand Down Expand Up @@ -269,7 +321,7 @@ nelmio_api_doc:
$ref: "#/definitions/translation"
example:
key: key_1
translation:
value:
PL: Option PL 1
EN: Option EN 1
attribute_parameters:
Expand All @@ -281,13 +333,29 @@ nelmio_api_doc:
description: Additional format information (If used by attribute)
example: YYYY-MM-DDDD
segment:
type: object
type: 'object'
properties:
name:
type: string
condition_set_id:
type: 'string'
required: true
description: segment name
example: segment name
description: 'Condition set ID'
code:
type: 'string'
required: true
description: 'Segment unique code'
name:
$ref: "#/definitions/translation"
description:
$ref: "#/definitions/translation"
example:
condition_set_id: 'd1b9b64a-fef6-440c-9560-cf73daa4b4d6'
code: 'code'
name:
PL: 'Nazwa'
EN: 'Name'
description:
PL: 'Opis'
EN: 'Description'
languages_req:
type: object
properties:
Expand Down Expand Up @@ -416,7 +484,6 @@ nelmio_api_doc:
items:
type: 'string'
example: 'Error message'

credentials:
type: object
properties:
Expand Down Expand Up @@ -451,6 +518,28 @@ nelmio_api_doc:
description: List of role privileges
example:
[ ATTRIBUTE_CREATE, ATTRIBUTE_READ, ATTRIBUTE_UPDATE, ATTRIBUTE_DELETE]
conditionset_create:
type: 'object'
properties:
code:
type: 'string'
required: true
description: 'Condition code'
example: 'CONDITION_CODE'
name:
$ref: '#/definitions/translation'
description:
$ref: '#/definitions/translation'
conditionset_update:
type: 'object'
properties:
name:
$ref: '#/definitions/translation'
description:
$ref: '#/definitions/translation'
conditions:
type: 'array'
example: []
authentication:
type: object
properties:
Expand Down
Loading

0 comments on commit 87ca2a8

Please sign in to comment.