Commit f2b4c23f authored by Aster's avatar Aster Committed by waltermazza
Browse files

General Bug Fixes and Improvements

parent 7b54da4a
<?php
namespace elitedivision\amos\audit\panels;
namespace arter\amos\audit\panels;
use elitedivision\amos\audit\components\Helper;
use elitedivision\amos\audit\components\panels\Panel;
use elitedivision\amos\audit\components\panels\RendersSummaryChartTrait;
use elitedivision\amos\audit\models\AuditError;
use elitedivision\amos\audit\models\AuditErrorSearch;
use arter\amos\audit\components\Helper;
use arter\amos\audit\components\panels\Panel;
use arter\amos\audit\components\panels\RendersSummaryChartTrait;
use arter\amos\audit\models\AuditError;
use arter\amos\audit\models\AuditErrorSearch;
use Yii;
use yii\grid\GridViewAsset;
/**
* ErrorPanel
* @package elitedivision\amos\audit\panels
* @package arter\amos\audit\panels
*/
class ErrorPanel extends Panel
{
......
<?php
namespace elitedivision\amos\audit\panels;
namespace arter\amos\audit\panels;
use elitedivision\amos\audit\components\panels\DataStoragePanel;
use arter\amos\audit\components\panels\DataStoragePanel;
use Yii;
use yii\data\ArrayDataProvider;
......@@ -10,7 +10,7 @@ use yii\grid\GridViewAsset;
/**
* ExtraDataPanel
* @package elitedivision\amos\audit\panels
* @package arter\amos\audit\panels
*/
class ExtraDataPanel extends DataStoragePanel
{
......
<?php
namespace elitedivision\amos\audit\panels;
namespace arter\amos\audit\panels;
use elitedivision\amos\audit\components\panels\Panel;
use elitedivision\amos\audit\components\panels\RendersSummaryChartTrait;
use elitedivision\amos\audit\models\AuditJavascript;
use elitedivision\amos\audit\models\AuditJavascriptSearch;
use arter\amos\audit\components\panels\Panel;
use arter\amos\audit\components\panels\RendersSummaryChartTrait;
use arter\amos\audit\models\AuditJavascript;
use arter\amos\audit\models\AuditJavascriptSearch;
use Yii;
use yii\grid\GridViewAsset;
/**
* JavascriptPanel
* @package elitedivision\amos\audit\panels
* @package arter\amos\audit\panels
*/
class JavascriptPanel extends Panel
{
......
<?php
namespace elitedivision\amos\audit\panels;
namespace arter\amos\audit\panels;
use elitedivision\amos\audit\components\panels\DataStoragePanelTrait;
use arter\amos\audit\components\panels\DataStoragePanelTrait;
use Yii;
use yii\debug\models\search\Log;
......@@ -10,7 +10,7 @@ use yii\grid\GridViewAsset;
/**
* LogPanel
* @package elitedivision\amos\audit\panels
* @package arter\amos\audit\panels
*/
class LogPanel extends \yii\debug\panels\LogPanel
{
......
<?php
namespace elitedivision\amos\audit\panels;
namespace arter\amos\audit\panels;
use elitedivision\amos\audit\Audit;
use elitedivision\amos\audit\components\panels\Panel;
use elitedivision\amos\audit\components\panels\RendersSummaryChartTrait;
use elitedivision\amos\audit\models\AuditMail;
use elitedivision\amos\audit\models\AuditMailSearch;
use arter\amos\audit\Audit;
use arter\amos\audit\components\panels\Panel;
use arter\amos\audit\components\panels\RendersSummaryChartTrait;
use arter\amos\audit\models\AuditMail;
use arter\amos\audit\models\AuditMailSearch;
use Swift_Message;
use Swift_Mime_Attachment;
......@@ -21,7 +21,7 @@ use yii\swiftmailer\Message;
/**
* MailPanel
* @package elitedivision\amos\audit\panels
* @package arter\amos\audit\panels
*/
class MailPanel extends Panel
{
......
<?php
namespace elitedivision\amos\audit\panels;
namespace arter\amos\audit\panels;
use elitedivision\amos\audit\components\panels\DataStoragePanelTrait;
use arter\amos\audit\components\panels\DataStoragePanelTrait;
use Yii;
use yii\debug\models\search\Profile;
......@@ -10,7 +10,7 @@ use yii\grid\GridViewAsset;
/**
* ProfilingPanel
* @package elitedivision\amos\audit\panels
* @package arter\amos\audit\panels
*/
class ProfilingPanel extends \yii\debug\panels\ProfilingPanel
{
......
<?php
namespace elitedivision\amos\audit\panels;
namespace arter\amos\audit\panels;
use elitedivision\amos\audit\components\panels\DataStoragePanelTrait;
use arter\amos\audit\components\panels\DataStoragePanelTrait;
use Yii;
use yii\base\InlineAction;
......@@ -10,7 +10,7 @@ use yii\helpers\Inflector;
/**
* RequestPanel
* @package elitedivision\amos\audit\panels
* @package arter\amos\audit\panels
*/
class RequestPanel extends \yii\debug\panels\RequestPanel
{
......
<?php
namespace elitedivision\amos\audit\panels;
namespace arter\amos\audit\panels;
use Yii;
use elitedivision\amos\audit\models\AuditError;
use elitedivision\amos\audit\components\panels\DataStoragePanel;
use arter\amos\audit\models\AuditError;
use arter\amos\audit\components\panels\DataStoragePanel;
use yii\data\ArrayDataProvider;
/**
* Class CurlPanel
* @package elitedivision\amos\audit\src\panels
* @package arter\amos\audit\src\panels
*/
class SoapPanel extends DataStoragePanel
{
......
<?php
namespace elitedivision\amos\audit\panels;
namespace arter\amos\audit\panels;
use elitedivision\amos\audit\components\panels\Panel;
use elitedivision\amos\audit\components\panels\RendersSummaryChartTrait;
use elitedivision\amos\audit\models\AuditTrail;
use elitedivision\amos\audit\models\AuditTrailSearch;
use arter\amos\audit\components\panels\Panel;
use arter\amos\audit\components\panels\RendersSummaryChartTrait;
use arter\amos\audit\models\AuditTrail;
use arter\amos\audit\models\AuditTrailSearch;
use Yii;
use yii\grid\GridViewAsset;
/**
* TrailPanel
* @package elitedivision\amos\audit\panels
* @package arter\amos\audit\panels
*/
class TrailPanel extends Panel
{
......
<?php
use elitedivision\amos\audit\Audit;
use elitedivision\amos\audit\components\Access;
use arter\amos\audit\Audit;
use arter\amos\audit\components\Access;
use yii\helpers\Html;
/** @var yii\web\View $this */
/** @var elitedivision\amos\audit\models\AuditEntry $entry */
/** @var arter\amos\audit\models\AuditEntry $entry */
if ($auditEntry = Audit::getInstance()->getEntry()) {
if (!isset($style)) {
......
<?php
use elitedivision\amos\audit\Audit;
use elitedivision\amos\audit\components\Access;
use elitedivision\amos\audit\models\AuditTrail;
use elitedivision\amos\audit\models\AuditTrailSearch;
use elitedivision\amos\audit\web\AuditAsset;
use arter\amos\audit\Audit;
use arter\amos\audit\components\Access;
use arter\amos\audit\models\AuditTrail;
use arter\amos\audit\models\AuditTrailSearch;
use arter\amos\audit\web\AuditAsset;
use yii\db\ActiveQuery;
use yii\grid\GridView;
......
<?php
use elitedivision\amos\audit\Audit;
use elitedivision\amos\audit\components\panels\Panel;
use arter\amos\audit\Audit;
use arter\amos\audit\components\panels\Panel;
use dosamigos\chartjs\ChartJs;
use yii\helpers\Html;
......
<?php
/* @var $panel ErrorPanel */
use elitedivision\amos\audit\panels\ErrorPanel;
use arter\amos\audit\panels\ErrorPanel;
use dosamigos\chartjs\ChartJs;
......
<?php
/* @var $panel JavascriptPanel */
use elitedivision\amos\audit\panels\JavascriptPanel;
use arter\amos\audit\panels\JavascriptPanel;
use dosamigos\chartjs\ChartJs;
......
<?php
/* @var $panel MailPanel */
use elitedivision\amos\audit\panels\MailPanel;
use arter\amos\audit\panels\MailPanel;
use dosamigos\chartjs\ChartJs;
......
<?php
/* @var $panel TrailPanel */
use elitedivision\amos\audit\models\AuditTrail;
use elitedivision\amos\audit\panels\TrailPanel;
use arter\amos\audit\models\AuditTrail;
use arter\amos\audit\panels\TrailPanel;
use dosamigos\chartjs\ChartJs;
......
<?php
use elitedivision\amos\audit\Audit;
use arter\amos\audit\Audit;
use yii\helpers\Html;
use yii\grid\GridView;
use elitedivision\amos\audit\models\AuditEntrySearch;
use arter\amos\audit\models\AuditEntrySearch;
/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */
......
......@@ -3,7 +3,7 @@
use yii\bootstrap\Tabs;
use yii\helpers\Html;
use elitedivision\amos\audit\components\Helper;
use arter\amos\audit\components\Helper;
if (!function_exists('formatDataString')) {
function formatDataString($types, $data, $preformatted, &$tabs) { foreach ($types as $function => $title) { $result = Helper::$function($data); if ($result) { $tabs[] = ['label' => $title, 'content' => Html::tag('div', $result, $preformatted)]; break; }}}
......
......@@ -5,7 +5,7 @@
use yii\helpers\Html;
use yii\grid\GridView;
use elitedivision\amos\audit\models\AuditErrorSearch;
use arter\amos\audit\models\AuditErrorSearch;
echo Html::tag('h1', $panel->name);
......
......@@ -3,7 +3,7 @@
/* @var $searchModel AuditJavascriptSearch */
/* @var $dataProvider ArrayDataProvider */
use elitedivision\amos\audit\models\AuditJavascriptSearch;
use arter\amos\audit\models\AuditJavascriptSearch;
use yii\data\ArrayDataProvider;
use yii\debug\panels\LogPanel;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment