Skip to content

Commit

Permalink
Merge pull request #4 from spryker-eco/bugfix/cc-34963-update-licence…
Browse files Browse the repository at this point in the history
…-in-eco

Updated license.
  • Loading branch information
spryker-release-bot authored Dec 11, 2024
2 parents 5b8547c + 47299f0 commit 4c62f0a
Show file tree
Hide file tree
Showing 24 changed files with 138 additions and 68 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
php-version: '8.3'
extensions: mbstring, intl, bcmath
coverage: none

Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
extensions: mbstring, intl, bcmath
coverage: none

Expand Down
4 changes: 0 additions & 4 deletions .license

This file was deleted.

69 changes: 69 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
SPRYKER - CONTRIBUTION AGREEMENT FOR PLATFORM CONTRIBUTIONS

Spryker Systems GmbH, Heidestraße 9-10, 10557 Berlin, Germany (“Spryker”), and its affiliates invite you to contribute
to Spryker’s Software, including but not limited to with bug fixes, enhancements, additions or features
(each a “Platform Contribution”). For the purposes of this Agreement, the “Software” includes any software,
which is owned and made available by Spryker. Contributions can consist of source code, documentation and/or other
code-related elements.

BY DISPLAYING, PUBLISHING, UPLOADING, PROMOTING OR OTHERWISE PROVIDING A PLATFORM CONTRIBUTION TO SPRYKER
(COLLECTIVELY, “SUBMITTING”), YOU AGREE TO THIS CONTRIBUTION AGREEMENT FOR PLATFORM CONTRIBUTIONS (THE “AGREEMENT”).

Spryker grants you the right to use the Software for the purpose of developing and submitting Platform Contributions
to the Software and/or Spryker’s documentation subject to your compliance with this Agreement.
Under the license granted in this Agreement, you must not (i) use the Software to set up a production live system;
(ii) copy any part of the Software except to develop and provide a Platform Contribution or make one copy for back-up
purposes; (iii) distribute, disclose, market, rent, lease, or transfer the Software or act as a service bureau with
respect to the Software; (iv) export the Software or install it in multiple locations; (v) disclose any confidential
information provided by Spryker; (vi) modify or make derivative works of the Software beyond what you will submit to
Spryker as Platform Contribution; or (vii) allow others to make or obtain copies of the Software.

You grant Spryker and its affiliates an irrevocable, perpetual, worldwide, royalty-free, non-exclusive,
unrestricted license and right to use, including to reproduce and store, disseminate and otherwise exploit, modify,
delete from, add to, create derivative works of, publicly perform, publicly display, reproduce, exchange parts
of a Platform Contribution or combine them with other code, use in data networks and distribute with or without
consideration and without limitations as to the number of items via all distribution channels (and to sublicense
the foregoing rights through multiple tiers of licensees) such Platform Contribution and any other copyright
protected material for any reason and in connection with advertising and promoting our software and/or Spryker’s
products in any media formats and through any channels now existing or developed in the future.
The granting of these rights covers any usage and exploitation rights for any unknown types of use as well as
with regard to any known types of use the right to unrestrictedly make publicly available and publish,
irrespective of the medium including any editions and versions and grant simple or exclusive usage,
exploitation or adaptation rights to third parties.

Spryker may reject, refuse to post or delete any Platform Contribution for any or no reason, including,
without limitation. Spryker may or may not mention your name when publishing the Platform Contribution.
From time to time, Spryker may remove the Platform Contribution permanently or temporarily, provided that even
if Spryker does remove such Platform Contribution, Spryker shall have no obligation to cease its other uses of
the Platform Contribution as permitted above.
Spryker respects the intellectual property of others, and requires that you do the same. Your Platform Contributions
must not infringe any copyright, patent, trademark, trade secret or other proprietary rights or other rights of any
person or entity and you may not upload, embed, post, email, transmit or otherwise make available a Platform Contribution
or any other material that infringes such rights.
If you are submitting a Platform Contribution that includes licensed rights, you will inform Spryker of the name of
such third-party licensor, the third-party license as such and any restrictions you are aware of.
If you are submitting a Platform Contribution that was developed by you in the course of your work for your employer
or as a contractor, vendor or agent for another principal, you are responsible for obtaining permission from your
employer or such other principal.
You will not include a Platform Contribution containing code governed by a license with copyleft effect. You agree
to be fully responsible for and to pay any and all royalties, fees, and any other monies owed to any person or
entity for any rights in a Platform Contribution submitted by you.
YOU REPRESENT AND WARRANT THAT: (I) YOU OWN THE PLATFORM CONTRIBUTION POSTED BY YOU OR OTHERWISE ARE ENTITLED TO
GRANT THE LICENSES AND RIGHTS SET FORTH ABOVE, INCLUDING WHERE NECESSARY HAVE OBTAINED YOUR EMPLOYER’S OR OTHER
PRINCIPAL’S PERMISSION, AND (II) THE SUBMISSION OF YOUR PLATFORM CONTRIBUTION DOES NOT VIOLATE THE PRIVACY RIGHTS,
PUBLICITY RIGHTS, CONTRACT RIGHTS, INTELLECTUAL PROPERTY OR ANY OTHER RIGHTS OF ANY PERSON OR ENTITY OR ANY
APPLICABLE LAW.

YOU AGREE TO INDEMNIFY AND HOLD SPRYKER AND ITS AFFILIATES, AND THEIR RESPECTIVE OFFICERS, AGENTS, PARTNERS AND EMPLOYEES,
HARMLESS FROM ANY LOSS, LIABILITY, COST, EXPENSE, CLAIM, OR DEMAND, INCLUDING WITHOUT LIMITATION, REASONABLE ATTORNEYS’ FEES,
DUE OR RELATING TO OR ARISING OUT OF THE USE OF THE YOUR PLATFORM CONTRIBUTION IN VIOLATION OF THIS AGREEMENT AND/OR
ARISING FROM A BREACH OF ANY TERMS OF THIS AGREEMENT AND/OR ANY BREACH OF YOUR REPRESENTATIONS AND WARRANTIES SET
FORTH IN THIS AGREEMENT AND/OR ARISING OUT OF OR RELATING TO ANY PLATFORM CONTRIBUTION THAT YOU SUBMIT.

This Agreement is governed by the laws of Germany to the exclusion of its conflict of laws provisions and
the United Nations Convention on Contracts for the International Sale of Goods (CISG). The parties consent to the
jurisdiction of the courts in Berlin (Germany).

This Agreement constitutes the entire agreement between the parties concerning the Platform Contributions submitted
by you. This Agreement supersedes any prior verbal understanding between the parties on the matter. This Agreement
may be amended only in a writing signed by an authorized officer of Spryker.
48 changes: 27 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,27 @@
The MIT License (MIT)

Copyright (c) 2016-present Spryker Systems GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SPRYKER - LICENSE AGREEMENT FOR EVALUATION OF AND EARLY ACCESS TO SOFTWARE

SPRYKER SYSTEMS GMBH, HEIDESTRASSE 9-10, 10557 BERLIN, GERMANY (“WE” OR ”SPRYKER”) GRANTS YOU (“LICENSEE”) THE RIGHT TO USE THE SOFTWARE (AS DEFINED BELOW) UNDER THE PROVISIONS OF THIS LICENSE AGREEMENT FOR EVALUATION AND EARLY ACCESS (THE “AGREEMENT”).

For the purposes of this Agreement, the “Software” includes any software, which is owned and made available by Spryker (i) for evaluation purposes or (ii) as part of Spryker’s early access program under this Agreement. In case Licensee has a dedicated paid license agreement with Spryker on a part of the Software only, this Agreement still applies to all other parts of the Software not paid for and/or covered by such license agreement.

Spryker grants to Licensee, (i) during the 45-calendar-day period (the “Evaluation Period”) following the first download of the Software or (ii) during the period it makes available a feature, module or functionality as part of its early access program (the “Early Access Period”), the non-transferable, non-exclusive limited, free of charge license (for (i) the “Evaluation License” or for (ii) the “Early Access License”, as applicable, both a “License”) to permit Licensee and/or Licensee’s employees to internally use the Software to test and evaluate the Software. In case of the Evaluation License, Licensee will not be granted the license under this Agreement for one particular piece of the Software more than once.

Under the License granted in this Agreement, Licensee shall not (i) use the Software to set up a production live system, for development purposes or any other purposes apart from evaluating and testing the Software; (ii) copy any part of the Software except to make one copy for back-up purposes; (iii) distribute, disclose, market, rent, lease, or transfer the Software or act as a service bureau with respect to the Software; (iv) export the Software or install it in multiple locations; (v) disclose any confidential information provided by Spryker; (vi) modify or make derivative works of the Software; or (vii) allow others to make or obtain copies of the Software.

The use of the Software in a production environment, to the extent permitted at all, requires prior conclusion of a separate agreement between Spryker and Licensee. Spryker will not support any versions of the Software being provided for evaluation purposes or as part of Spryker’s early access program. The provision of the Software as part of Spryker’s early access program does not necessarily mean it will be released as part of Spryker’s products in the future.

The Software may contain elements of open source components, to which different license terms apply respectively. Licensee may need to install these open source components separately.

THE SOFTWARE IS PROVIDED “AS-IS” AND WITHOUT WARRANTY OF ANY KIND. SPRYKER DISCLAIMS ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, TITLE, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. SPRYKER WILL NOT BE LIABLE FOR ANY DAMAGES ASSOCIATED WITH THE SOFTWARE, INCLUDING WITHOUT LIMITATION ORDINARY, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES OF ANY KIND, INCLUDING BUT NOT LIMITED TO DAMAGES RELATING TO LOST DATA OR LOST PROFITS, EVEN IF SPRYKER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Licensee can provide input, suggestions, suggest or recommend changes or enhancements of the Software (“Feedback”). Any Feedback provided by Licensee is not considered confidential information and is received and treated by Spryker on a non-confidential and unrestricted basis. Licensee grants Spryker a sub-licenseable right to use, distribute, disclose and/or incorporate it into the Software or other products of Spryker, free of charge and without restriction as to time and place.

Licensee's License to use the Software under this Agreement shall terminate on the earlier of (i) the expiration of the Evaluation Period or the Early Access Period (as applicable), or (ii) the date both parties enter into a definitive agreement for the provision by Spryker to Licensee of a full non-evaluation license to Spryker’s software.

Upon termination of the License as provided under this Agreement, Licensee shall promptly destroy the Software and any back-up copy of the Software made during the Evaluation Period or Early Access Period if Spryker and Licensee have not agreed a non-evaluation license to Spryker’s software.

This Agreement shall be governed by the laws of Germany to the exclusion of IPR (International Law) and the United Nations Convention on Contracts for the International Sale of Goods (CISG). The parties consent to the jurisdiction of the courts in Berlin (Germany).

This Agreement and/or the License is not assignable or transferable by Licensee and any attempt to do so is null and void.

This Agreement constitutes the entire agreement between the parties concerning Licensee’s use of the Software. This Agreement supersedes any prior verbal understanding between the parties. This Agreement may be amended only in a writing signed by an authorized officer of Spryker.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![CI](https://github.com/spryker-eco/image-search-ai/workflows/CI/badge.svg?branch=master)](https://github.com/spryker-eco/image-search-ai/actions?query=workflow%3ACI+branch%3Amaster)
[![Latest Stable Version](https://poser.pugx.org/spryker-eco/image-search-ai/v/stable.svg)](https://packagist.org/packages/spryker-eco/image-search-ai)
[![License](https://img.shields.io/github/license/spryker-eco/image-search-ai.svg?b=master)](https://github.com/spryker-eco/image-search-ai)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.2-8892BF.svg)](https://php.net/)

ImageSearchAi module provides the functionality to search by image using AI.

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"name": "spryker-eco/image-search-ai",
"type": "library",
"description": "ImageSearchAi module",
"license": "MIT",
"license": "proprietary",
"require": {
"php": ">=8.1",
"spryker-eco/open-ai": "^0.1.0",
"php": ">=8.2",
"spryker-eco/open-ai": "^0.2.0",
"spryker/catalog": "^5.0.0",
"spryker/kernel": "^3.73.0",
"spryker/symfony": "^3.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Controller;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Dependency\Client;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Dependency\Client;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Dependency\Client;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Dependency\Client;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Dependency\Service;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Dependency\Service;
Expand Down
4 changes: 2 additions & 2 deletions src/SprykerEco/Yves/ImageSearchAi/ImageSearchAiConfig.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi;
Expand Down
4 changes: 2 additions & 2 deletions src/SprykerEco/Yves/ImageSearchAi/ImageSearchAiFactory.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Plugin\Router;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Transformer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Transformer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/

namespace SprykerEco\Yves\ImageSearchAi\Validator;
Expand Down Expand Up @@ -84,7 +84,6 @@ public function validateIsBase64(mixed $value, ExecutionContextInterface $contex
->addViolation();
}

/** @var string $tmpFilename */
$tmpFilename = tempnam(sys_get_temp_dir(), 'guessMimeType_');
file_put_contents($tmpFilename, $decodedFile);
$mimeTypes = new MimeTypes();
Expand Down
Loading

0 comments on commit 4c62f0a

Please sign in to comment.