fix tests, edit reset_install.sh, manage payment modules, change debugbar namespace to theliadebugbar
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<database defaultIdMethod="native" name="thelia" namespace="DebugBar\Model">
|
||||
<!--
|
||||
See propel documentation on http://propelorm.org for all information about schema file
|
||||
-->
|
||||
<external-schema filename="/home/manu/dev/www/thelia/local/config/schema.xml" referenceOnly="true" />
|
||||
</database>
|
||||
@@ -32,13 +32,13 @@
|
||||
<services>
|
||||
<service id="debugBar" class="DebugBar\DebugBar"/>
|
||||
|
||||
<service id="smarty.debugbar" class="DebugBar\Smarty\Plugin\DebugBar">
|
||||
<service id="smarty.debugbar" class="TheliaDebugBar\Smarty\Plugin\DebugBar">
|
||||
<argument type="service" id="debugBar"/>
|
||||
<argument >%kernel.debug%</argument>
|
||||
<tag name="thelia.parser.register_plugin"/>
|
||||
</service>
|
||||
|
||||
<service id="debugBar.listener" class="DebugBar\Listeners\DebugBarListeners">
|
||||
<service id="debugBar.listener" class="TheliaDebugBar\Listeners\DebugBarListeners">
|
||||
<argument type="service" id="service_container"/>
|
||||
<tag name="kernel.event_subscriber"/>
|
||||
</service>
|
||||
6
local/modules/TheliaDebugBar/Config/schema.xml
Executable file
6
local/modules/TheliaDebugBar/Config/schema.xml
Executable file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<database defaultIdMethod="native" name="thelia" namespace="TheliaDebugBar\Model">
|
||||
<!--
|
||||
See propel documentation on http://propelorm.org for all information about schema file
|
||||
-->
|
||||
</database>
|
||||
@@ -21,14 +21,17 @@
|
||||
/* */
|
||||
/*************************************************************************************/
|
||||
|
||||
namespace DebugBar\DataCollector;
|
||||
namespace TheliaDebugBar\DataCollector;
|
||||
|
||||
use DebugBar\DataCollector\DataCollector;
|
||||
use DebugBar\DataCollector\Renderable;
|
||||
use Propel\Runtime\Propel;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
|
||||
/**
|
||||
* Class PropelCollector
|
||||
* @package DebugBar\DataCollector
|
||||
* @package TheliaDebugBar\DataCollector
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
*/
|
||||
class PropelCollector extends DataCollector implements Renderable, LoggerInterface
|
||||
@@ -21,11 +21,12 @@
|
||||
/* */
|
||||
/*************************************************************************************/
|
||||
|
||||
namespace DebugBar\Listeners;
|
||||
namespace TheliaDebugBar\Listeners;
|
||||
|
||||
use DebugBar\DataCollector\MemoryCollector;
|
||||
use DebugBar\DataCollector\MessagesCollector;
|
||||
use DebugBar\DataCollector\PhpInfoCollector;
|
||||
use DebugBar\DataCollector\PropelCollector;
|
||||
use TheliaDebugBar\DataCollector\PropelCollector;
|
||||
use DebugBar\DataCollector\TimeDataCollector;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use Symfony\Component\HttpKernel\KernelEvents;
|
||||
@@ -35,7 +36,7 @@ use Thelia\Core\Event\TheliaEvents;
|
||||
|
||||
/**
|
||||
* Class DebugBarListeners
|
||||
* @package DebugBar\Listeners
|
||||
* @package TheliaDebugBar\Listeners
|
||||
* @author Manuel Raynaud <mraynaud@openstudio.fr>
|
||||
*/
|
||||
class DebugBarListeners extends BaseAction implements EventSubscriberInterface {
|
||||
@@ -21,7 +21,7 @@
|
||||
/* */
|
||||
/*************************************************************************************/
|
||||
|
||||
namespace DebugBar\Smarty\Plugin;
|
||||
namespace TheliaDebugBar\Smarty\Plugin;
|
||||
use Thelia\Core\Template\Smarty\AbstractSmartyPlugin;
|
||||
use Thelia\Core\Template\Smarty\an;
|
||||
use Thelia\Core\Template\Smarty\SmartyPluginDescriptor;
|
||||
@@ -21,11 +21,11 @@
|
||||
/* */
|
||||
/*************************************************************************************/
|
||||
|
||||
namespace DebugBar;
|
||||
namespace TheliaDebugBar;
|
||||
|
||||
use Thelia\Module\BaseModule;
|
||||
|
||||
class DebugBar extends BaseModule
|
||||
class TheliaDebugBar extends BaseModule
|
||||
{
|
||||
/**
|
||||
* YOU HAVE TO IMPLEMENT HERE ABSTRACT METHODD FROM BaseModule Class
|
||||
@@ -49,6 +49,6 @@ class DebugBar extends BaseModule
|
||||
|
||||
public function getCode()
|
||||
{
|
||||
return 'DebugBar';
|
||||
return 'TheliaDebugBar';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user