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

General Bug Fixes and Improvements

parent 7b54da4a
......@@ -2,16 +2,14 @@
/**
*
*
* @author Steve Guns <steve@bedezign.com>
* @package com.bedezign.sa-portal.inet.telenet.be
* @copyright 2015 B&E DeZign
*/
namespace elitedivision\amos\audit\components\panels;
namespace arter\amos\audit\components\panels;
/**
* Panel
* @package elitedivision\amos\audit\panels
* @package arter\amos\audit\panels
*
* @property array|mixed $data
*/
......
<?php
namespace elitedivision\amos\audit\components\panels;
namespace arter\amos\audit\components\panels;
use elitedivision\amos\audit\Audit;
use elitedivision\amos\audit\models\AuditData;
use elitedivision\amos\audit\models\AuditEntry;
use arter\amos\audit\Audit;
use arter\amos\audit\models\AuditData;
use arter\amos\audit\models\AuditEntry;
use yii\helpers\Url;
use yii\web\View;
/**
* PanelTrait
* @package elitedivision\amos\audit\panels
* @package arter\amos\audit\panels
*
* @property Audit $module
* @property array|mixed $data
......
......@@ -5,11 +5,11 @@
* Time: 12:10 PM
*/
namespace elitedivision\amos\audit\components\panels;
namespace arter\amos\audit\components\panels;
/**
* Trait RendersSummaryChartTrait
* @package elitedivision\amos\audit\components\panels
* @package arter\amos\audit\components\panels
*
* Used by audit panels or controllers which want to render a summary chart in their view
*/
......
<?php
namespace elitedivision\amos\audit\components\web;
namespace arter\amos\audit\components\web;
use elitedivision\amos\audit\components\Access;
use elitedivision\amos\audit\web\AuditAsset;
use elitedivision\amos\audit\Audit;
use arter\amos\audit\components\Access;
use arter\amos\audit\web\AuditAsset;
use arter\amos\audit\Audit;
use Yii;
use yii\web\View;
/**
* Base Controller
* @package elitedivision\amos\audit\components\web
* @package arter\amos\audit\components\web
*
* @property Audit $module
* @property View $view
......
......@@ -3,13 +3,13 @@
* Error handler version for web based modules
*/
namespace elitedivision\amos\audit\components\web;
namespace arter\amos\audit\components\web;
use elitedivision\amos\audit\components\base\ErrorHandlerTrait;
use arter\amos\audit\components\base\ErrorHandlerTrait;
/**
* ErrorHandler
* @package elitedivision\amos\audit\components\web
* @package arter\amos\audit\components\web
*/
class ErrorHandler extends \yii\web\ErrorHandler
{
......
<?php
namespace elitedivision\amos\audit\controllers;
namespace arter\amos\audit\controllers;
use elitedivision\amos\audit\components\panels\RendersSummaryChartTrait;
use elitedivision\amos\audit\components\web\Controller;
use elitedivision\amos\audit\models\AuditEntry;
use arter\amos\audit\components\panels\RendersSummaryChartTrait;
use arter\amos\audit\components\web\Controller;
use arter\amos\audit\models\AuditEntry;
use Yii;
/**
* DefaultController
* @package elitedivision\amos\audit\controllers
* @package arter\amos\audit\controllers
*/
class DefaultController extends Controller
{
......
<?php
namespace elitedivision\amos\audit\controllers;
namespace arter\amos\audit\controllers;
use elitedivision\amos\audit\components\panels\Panel;
use elitedivision\amos\audit\components\web\Controller;
use elitedivision\amos\audit\models\AuditEntry;
use elitedivision\amos\audit\models\AuditEntrySearch;
use arter\amos\audit\components\panels\Panel;
use arter\amos\audit\components\web\Controller;
use arter\amos\audit\models\AuditEntry;
use arter\amos\audit\models\AuditEntrySearch;
use Yii;
use yii\helpers\ArrayHelper;
......@@ -13,7 +13,7 @@ use yii\web\NotFoundHttpException;
/**
* EntryController
* @package elitedivision\amos\audit\controllers
* @package arter\amos\audit\controllers
*/
class EntryController extends Controller
{
......
<?php
namespace elitedivision\amos\audit\controllers;
namespace arter\amos\audit\controllers;
use elitedivision\amos\audit\components\web\Controller;
use elitedivision\amos\audit\models\AuditError;
use elitedivision\amos\audit\models\AuditErrorSearch;
use arter\amos\audit\components\web\Controller;
use arter\amos\audit\models\AuditError;
use arter\amos\audit\models\AuditErrorSearch;
use Yii;
use yii\web\NotFoundHttpException;
/**
* ErrorController
* @package elitedivision\amos\audit\controllers
* @package arter\amos\audit\controllers
*/
class ErrorController extends Controller
{
......
<?php
namespace elitedivision\amos\audit\controllers;
namespace arter\amos\audit\controllers;
use elitedivision\amos\audit\components\web\Controller;
use elitedivision\amos\audit\models\AuditJavascript;
use elitedivision\amos\audit\models\AuditJavascriptSearch;
use arter\amos\audit\components\web\Controller;
use arter\amos\audit\models\AuditJavascript;
use arter\amos\audit\models\AuditJavascriptSearch;
use Yii;
use yii\web\NotFoundHttpException;
/**
* JavascriptController
* @package elitedivision\amos\audit\controllers
* @package arter\amos\audit\controllers
*/
class JavascriptController extends Controller
{
......
<?php
namespace elitedivision\amos\audit\controllers;
namespace arter\amos\audit\controllers;
use elitedivision\amos\audit\Audit;
use elitedivision\amos\audit\models;
use arter\amos\audit\Audit;
use arter\amos\audit\models;
use Yii;
use yii\helpers\Json;
......@@ -11,7 +11,7 @@ use yii\web\Response;
/**
* JsLogController
* @package elitedivision\amos\audit\controllers
* @package arter\amos\audit\controllers
*/
class JsLogController extends \yii\web\Controller
{
......
<?php
namespace elitedivision\amos\audit\controllers;
namespace arter\amos\audit\controllers;
use elitedivision\amos\audit\components\Helper;
use elitedivision\amos\audit\components\web\Controller;
use elitedivision\amos\audit\models\AuditMail;
use elitedivision\amos\audit\models\AuditMailSearch;
use arter\amos\audit\components\Helper;
use arter\amos\audit\components\web\Controller;
use arter\amos\audit\models\AuditMail;
use arter\amos\audit\models\AuditMailSearch;
use Yii;
use yii\web\NotFoundHttpException;
/**
* MailController
* @package elitedivision\amos\audit\controllers
* @package arter\amos\audit\controllers
*/
class MailController extends Controller
{
......
<?php
namespace elitedivision\amos\audit\controllers;
namespace arter\amos\audit\controllers;
use elitedivision\amos\audit\components\web\Controller;
use elitedivision\amos\audit\models\AuditTrail;
use elitedivision\amos\audit\models\AuditTrailSearch;
use arter\amos\audit\components\web\Controller;
use arter\amos\audit\models\AuditTrail;
use arter\amos\audit\models\AuditTrailSearch;
use Yii;
use yii\web\NotFoundHttpException;
/**
* TrailController
* @package elitedivision\amos\audit\controllers
* @package arter\amos\audit\controllers
*/
class TrailController extends Controller
{
......
......@@ -14,7 +14,7 @@ class m150622_000001_update_audit_entry extends \yii\db\Migration
echo " > filling 'request_method' from data ...";
$time = microtime(true);
foreach (\elitedivision\amos\audit\models\AuditEntry::find()->where(['request_method' => null])->batch() as $auditEntries) {
foreach (\arter\amos\audit\models\AuditEntry::find()->where(['request_method' => null])->batch() as $auditEntries) {
foreach ($auditEntries as $auditEntry) {
$auditEntry->request_method = \yii\helpers\ArrayHelper::getValue($auditEntry->data, 'env.REQUEST_METHOD');
if (!$auditEntry->request_method) {
......
<?php
use elitedivision\amos\audit\models\AuditError;
use arter\amos\audit\models\AuditError;
class m150622_000003_update_audit_error extends \yii\db\Migration
{
......
<?php
use elitedivision\amos\audit\models\AuditError;
use arter\amos\audit\models\AuditError;
class m150623_000001_audit_id_to_entry_id extends \yii\db\Migration
{
......
<?php
use elitedivision\amos\audit\models\AuditError;
use arter\amos\audit\models\AuditError;
class m150623_000002_drop_superfluous_fields extends \yii\db\Migration
{
......
<?php
use elitedivision\amos\audit\components\Migration;
use arter\amos\audit\components\Migration;
use yii\db\Schema;
class m150626_000001_create_audit_entry extends Migration
......
<?php
use elitedivision\amos\audit\components\Migration;
use arter\amos\audit\components\Migration;
use yii\db\Schema;
class m150626_000002_create_audit_data extends Migration
......
<?php
use elitedivision\amos\audit\components\Migration;
use arter\amos\audit\components\Migration;
use yii\db\Schema;
class m150626_000003_create_audit_error extends Migration
......
<?php
use elitedivision\amos\audit\components\Migration;
use arter\amos\audit\components\Migration;
use yii\db\Schema;
class m150626_000004_create_audit_trail extends Migration
......
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