Subida del módulo y tema de PrestaShop

This commit is contained in:
Kaloyan
2026-04-09 18:31:51 +02:00
parent 12c253296f
commit 16b3ff9424
39262 changed files with 7418797 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,2 @@
imports:
- { resource: ../routes.yml }

View File

@@ -0,0 +1,11 @@
imports:
- { resource: ../services.yml }
services:
PrestaShop\Module\PsClassicEdition\Controller\:
resource: "%kernel.project_dir%/modules/ps_classic_edition/src/Controller/*"
autoconfigure: true
autowire: true
exclude:
# Exclude this protection file that contains no class and breaks the service loading process
- "%kernel.project_dir%/modules/ps_classic_edition/src/Controller/index.php"

View File

@@ -0,0 +1,28 @@
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,5 @@
services:
_defaults:
public: true
PrestaShop\Module\PsClassicEdition\Presenter\SetupGuideDataPresenter: ~

View File

@@ -0,0 +1,45 @@
ps_classic_edition_homepage:
path: psclassicedition/homepage
methods: [GET, POST]
defaults:
_controller: PrestaShop\Module\PsClassicEdition\Controller\AdminPsClassicEditionHomepageController::indexAction
_legacy_controller: "AdminPsClassicEditionHomepageController"
_legacy_link: "AdminPsClassicEditionHomepageController"
ps_classic_edition_setup_guide_api:
path: /psclassicedition/setup-guide/api/
methods: [GET, POST, PUT, PATCH]
ps_classic_edition_setup_guide_api_index:
path: psclassicedition/setup-guide/api/index
methods: [GET]
defaults:
_controller: PrestaShop\Module\PsClassicEdition\Controller\AdminPsClassicEditionSetupGuideController::fetchInitialDatas
ps_classic_edition_setup_guide_api_edit:
path: psclassicedition/setup-guide/api/edit
methods: [PATCH]
defaults:
_controller: PrestaShop\Module\PsClassicEdition\Controller\AdminPsClassicEditionSetupGuideController::editStep
ps_classic_edition_setup_guide_api_modal_hidden:
path: psclassicedition/setup-guide/api/modal-hidden
methods: [POST]
defaults:
_controller: PrestaShop\Module\PsClassicEdition\Controller\AdminPsClassicEditionSetupGuideController::storeModalIsHidden
ps_classic_edition_setup_guide_api_delete:
path: psclassicedition/setup-guide/api/delete/{stepName}
methods: [DELETE]
defaults:
_controller: PrestaShop\Module\PsClassicEdition\Controller\AdminPsClassicEditionSetupGuideController::deleteStep
requirements:
stepName: "[a-z-]+"
ps_classic_edition_ps_academy:
path: psclassicedition/ps-academy
methods: [GET]
defaults:
_controller: PrestaShop\Module\PsClassicEdition\Controller\AdminPsClassicEditionPsAcademyController::getProducts
_legacy_controller: "AdminPsClassicEditionPsAcademyController"
_legacy_link: "AdminPsClassicEditionPsAcademyController"

View File

@@ -0,0 +1,26 @@
imports:
- { resource: ./presenters.yml }
services:
_defaults:
public: true
ps_classic_edition.module:
class: ps_classic_edition
factory: ["Module", "getInstanceByName"]
arguments:
- "ps_classic_edition"
ps_classic_edition.ps_accounts.installer:
class: 'PrestaShop\PsAccountsInstaller\Installer\Installer'
arguments:
- "5.2.5"
ps_classic_edition.ps_accounts.facade:
class: 'PrestaShop\PsAccountsInstaller\Installer\Facade\PsAccounts'
arguments:
- "@ps_classic_edition.ps_accounts.installer"
PrestaShop\Module\PsClassicEdition\Helper\PsAccountHelper:
autowire: true
public: true