Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/0x-First-Prototype' into 5-Authe…
Browse files Browse the repository at this point in the history
…ntication-Authorization

# Conflicts:
#	.github/workflows/php-cs-fixer.yaml
  • Loading branch information
mattamon committed Mar 4, 2024
2 parents 524333a + 32492cf commit 12c58f2
Show file tree
Hide file tree
Showing 71 changed files with 397 additions and 162 deletions.
7 changes: 5 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@
'header_comment' => [
'comment_type' => 'PHPDoc',
'header' => 'Pimcore' . PHP_EOL . PHP_EOL .
'This source file is available under following license:' . PHP_EOL .
'This source file is available under two different licenses:' . PHP_EOL .
'- GNU General Public License version 3 (GPLv3)' . PHP_EOL .
'- Pimcore Commercial License (PCL)' . PHP_EOL .
'Full copyright and license information is available in' . PHP_EOL .
'LICENSE.md which is distributed with this source code.' . PHP_EOL .
PHP_EOL .
' @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)' . PHP_EOL .
' @license http://www.pimcore.org/license PCL'
' @license http://www.pimcore.org/license GPLv3 and PCL'
],

'blank_line_before_statement' => true,
Expand Down
31 changes: 28 additions & 3 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,36 @@
# License
Copyright (C) Pimcore GmbH

This software is available under following license:
This software is available under two different licenses:
* GNU General Public License version 3 (GPLv3) as Pimcore Community Edition
* Pimcore Commercial License (PCL)

The default Pimcore license, without a valid Pimcore Commercial License agreement, is the Open-Source GPLv3 license.

## GNU General Public License version 3 (GPLv3)
If you decide to choose the GPLv3 license, you must comply with the following terms:

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

## Pimcore Commercial License (PCL)
Commercial and supported versions of the program - also known as
Alternatively, commercial and supported versions of the program - also known as
Commercial Distributions - must be used in accordance with the terms and conditions
contained in a separate written agreement between you and Pimcore GmbH.
For more information about the Pimcore Commercial License (PCL) please contact [email protected].
For more information about the Pimcore Commercial License (PCL) please contact [email protected].



Please see also (files in this directory):
- [Licensing FAQ - license-faq.md](https://github.com/pimcore/pimcore/blob/master/license-faq.md)
- [GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - gpl-3.0.txt](gpl-3.0.txt)
7 changes: 5 additions & 2 deletions src/Controller/DefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Controller;
Expand Down
7 changes: 5 additions & 2 deletions src/DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\DependencyInjection;
Expand Down
7 changes: 5 additions & 2 deletions src/DependencyInjection/PimcoreStudioApiExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\DependencyInjection;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset/Archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset/Audio.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset/Folder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset/MetaData.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset/Permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset/Text.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset/Unknown.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset;
Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Asset/Video.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto\Asset;
Expand Down
11 changes: 7 additions & 4 deletions src/Dto/Dependency.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto;

class Dependency
readonly class Dependency
{
public function __construct(private readonly \Pimcore\Model\Dependency $dependency)
public function __construct(private \Pimcore\Model\Dependency $dependency)
{
}

Expand Down
7 changes: 5 additions & 2 deletions src/Dto/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto;
Expand Down
11 changes: 7 additions & 4 deletions src/Dto/Property.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,21 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto;

class Property
readonly class Property
{
public function __construct(private readonly \Pimcore\Model\Property $property)
public function __construct(private \Pimcore\Model\Property $property)
{
}

Expand Down
7 changes: 5 additions & 2 deletions src/Dto/ResetPasswordRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
/**
* Pimcore
*
* This source file is available under following license:
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license PCL
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace Pimcore\Bundle\StudioApiBundle\Dto;
Expand Down
Loading

0 comments on commit 12c58f2

Please sign in to comment.