-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/v103.3.0' into 'master'
release/v103.3.0 into master See merge request agence-dnd/marketplace/magento-2/external/magento2-connector-community!61
- Loading branch information
Showing
131 changed files
with
1,652 additions
and
1,080 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,27 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Akeneo\Connector\Api\Data; | ||
|
||
/** | ||
* Interface ImportInterface | ||
* | ||
* @category Interface | ||
* @package Akeneo\Connector\Api\Data | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2019 Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
interface ImportInterface | ||
{ | ||
/** | ||
* @var int IMPORT_SUCCESS | ||
*/ | ||
const IMPORT_SUCCESS = 1; | ||
public const IMPORT_SUCCESS = 1; | ||
/** | ||
* @var int IMPORT_ERROR | ||
*/ | ||
const IMPORT_ERROR = 2; | ||
public const IMPORT_ERROR = 2; | ||
/** | ||
* @var int IMPORT_PROCESSING | ||
*/ | ||
const IMPORT_PROCESSING = 3; | ||
public const IMPORT_PROCESSING = 3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,9 @@ | |
namespace Akeneo\Connector\Api\Data; | ||
|
||
/** | ||
* Interface JobInterface | ||
* | ||
* @package Akeneo\Connector\Api\Data | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
interface JobInterface | ||
|
@@ -20,89 +17,89 @@ interface JobInterface | |
* | ||
* @var int JOB_SUCCESS | ||
*/ | ||
const JOB_SUCCESS = 1; | ||
public const JOB_SUCCESS = 1; | ||
/** | ||
* Error status | ||
* | ||
* @var int JOB_ERROR | ||
*/ | ||
const JOB_ERROR = 2; | ||
public const JOB_ERROR = 2; | ||
/** | ||
* Processing status | ||
* | ||
* @var int JOB_PROCESSING | ||
*/ | ||
const JOB_PROCESSING = 3; | ||
public const JOB_PROCESSING = 3; | ||
/** | ||
* Scheduled status | ||
* | ||
* @var int JOB_SCHEDULED | ||
*/ | ||
const JOB_SCHEDULED = 4; | ||
public const JOB_SCHEDULED = 4; | ||
/** | ||
* Pending status | ||
* | ||
* @var int JOB_PENDING | ||
*/ | ||
const JOB_PENDING = 5; | ||
public const JOB_PENDING = 5; | ||
/** | ||
* Job entity id | ||
* | ||
* @var string ENTITY_ID | ||
*/ | ||
const ENTITY_ID = 'entity_id'; | ||
public const ENTITY_ID = 'entity_id'; | ||
/** | ||
* Job code | ||
* | ||
* @var string CODE | ||
*/ | ||
const CODE = 'code'; | ||
public const CODE = 'code'; | ||
/** | ||
* Job status | ||
* | ||
* @var string STATUS | ||
*/ | ||
const STATUS = 'status'; | ||
public const STATUS = 'status'; | ||
/** | ||
* Scheduled run date | ||
* | ||
* @var string SCHEDULED_AT | ||
*/ | ||
const SCHEDULED_AT = 'scheduled_at'; | ||
public const SCHEDULED_AT = 'scheduled_at'; | ||
/** | ||
* Last executed date | ||
* | ||
* @var string LAST_EXECUTED_DATE | ||
*/ | ||
const LAST_EXECUTED_DATE = 'last_executed_date'; | ||
public const LAST_EXECUTED_DATE = 'last_executed_date'; | ||
/** | ||
* Last success date | ||
* | ||
* @var string LAST_SUCCESS_DATE | ||
*/ | ||
const LAST_SUCCESS_DATE = 'last_success_date'; | ||
public const LAST_SUCCESS_DATE = 'last_success_date'; | ||
/** | ||
* The last executed date of the job which be successful | ||
* | ||
* @var string LAST_SUCCESS_EXECUTED_DATE | ||
*/ | ||
const LAST_SUCCESS_EXECUTED_DATE = 'last_success_executed_date'; | ||
public const LAST_SUCCESS_EXECUTED_DATE = 'last_success_executed_date'; | ||
/** | ||
* Execution job position | ||
* | ||
* @var string POSITION | ||
*/ | ||
const POSITION = 'position'; | ||
public const POSITION = 'position'; | ||
/** | ||
* Job PHP class | ||
* | ||
* @var string JOB_CLASS | ||
*/ | ||
const JOB_CLASS = 'job_class'; | ||
public const JOB_CLASS = 'job_class'; | ||
/** | ||
* Job name | ||
* | ||
* @var string NAME | ||
*/ | ||
const NAME = 'name'; | ||
public const NAME = 'name'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,13 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Akeneo\Connector\Api\Data; | ||
|
||
/** | ||
* Interface LogInterface | ||
* | ||
* @category Interface | ||
* @package Akeneo\Connector\Api\Data | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2019 Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
interface LogInterface | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,9 @@ | |
use Symfony\Component\Console\Output\OutputInterface; | ||
|
||
/** | ||
* Interface JobExecutor | ||
* | ||
* @package Akeneo\Connector\Api | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
interface JobExecutorInterface | ||
|
@@ -21,6 +18,7 @@ interface JobExecutorInterface | |
* Description execute function | ||
* | ||
* @param string $code | ||
* @param OutputInterface|null $output | ||
* | ||
* @return bool | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,9 @@ | |
namespace Akeneo\Connector\Api; | ||
|
||
/** | ||
* Interface JobRepositoryInterface | ||
* | ||
* @package Akeneo\Connector\Api | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
interface JobRepositoryInterface | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Akeneo\Connector\Api; | ||
|
||
use Akeneo\Connector\Api\Data\LogInterface; | ||
|
||
/** | ||
* Interface LogRepositoryInterface | ||
* | ||
* @package Akeneo\Connector\Api | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2019 Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
interface LogRepositoryInterface | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,16 @@ | |
namespace Akeneo\Connector\Api; | ||
|
||
/** | ||
* Interface ProcessClassFactoryInterface | ||
* | ||
* @package Akeneo\Connector\Api | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
interface ProcessClassFactoryInterface | ||
{ | ||
/** | ||
* Description create function | ||
* | ||
* @param string $type | ||
* @param array $arguments | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Akeneo\Connector\Block\Adminhtml\Grid\Column\Renderer; | ||
|
||
use Akeneo\Connector\Api\Data\JobInterface; | ||
use Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer; | ||
use Magento\Framework\DataObject; | ||
|
||
/** | ||
* Class Status | ||
* | ||
* @package Akeneo\Connector\Block\Adminhtml\Grid\Column\Renderer | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
class Status extends AbstractRenderer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,9 @@ | |
use Magento\Framework\UrlInterface; | ||
|
||
/** | ||
* Class JobActions | ||
* | ||
* @package Akeneo\Connector\Block\Adminhtml\Job | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
class JobActions extends AbstractRenderer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Akeneo\Connector\Block\Adminhtml\Log; | ||
|
||
use Magento\Backend\Block\Template; | ||
|
@@ -11,13 +13,9 @@ | |
use Akeneo\Connector\Model\Log as LogModel; | ||
|
||
/** | ||
* Class View | ||
* | ||
* @category Class | ||
* @package Akeneo\Connector\Block\Adminhtml\Log | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2019 Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
class View extends Template | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Akeneo\Connector\Block\Adminhtml\System\Config\Api; | ||
|
||
use Akeneo\Connector\Helper\Config as ConfigHelper; | ||
|
@@ -9,13 +11,9 @@ | |
use Magento\Framework\Data\Form\Element\AbstractElement; | ||
|
||
/** | ||
* Class Test | ||
* | ||
* @category Class | ||
* @package Akeneo\Connector\Block\Adminhtml\System\Config\Api | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2019 Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
class Test extends Field | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,9 @@ | |
use Magento\Framework\Data\Form\Element\AbstractElement; | ||
|
||
/** | ||
* Class DocumentationLink | ||
* | ||
* @package Akeneo\Connector\Block\Adminhtml\System\Config | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
class DocumentationLink extends Field | ||
|
@@ -24,20 +21,7 @@ class DocumentationLink extends Field | |
* | ||
* @var string DOCUMENTATION_LINK | ||
*/ | ||
const DOCUMENTATION_LINK = "https://help.akeneo.com/magento2-connector/v100/index.html"; | ||
|
||
/** | ||
* DocumentationLink constructor | ||
* | ||
* @param Context $context | ||
* @param array $data | ||
*/ | ||
public function __construct( | ||
Context $context, | ||
array $data = [] | ||
) { | ||
parent::__construct($context, $data); | ||
} | ||
public const DOCUMENTATION_LINK = "https://help.akeneo.com/magento2-connector/v100/index.html"; | ||
|
||
/** | ||
* Description _getElementHtml function | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,9 @@ | |
use Magento\Framework\View\Element\BlockInterface; | ||
|
||
/** | ||
* Class ExportPdf | ||
* | ||
* @package Akeneo\Connector\Block\Adminhtml\System\Config | ||
* @author Agence Dn'D <[email protected]> | ||
* @copyright 2004-present Agence Dn'D | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
* @link https://www.dnd.fr/ | ||
*/ | ||
class ExportPdf extends Field | ||
|
Oops, something went wrong.