Skip to content

Commit

Permalink
inited
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Apr 22, 2015
0 parents commit 8ec72f5
Show file tree
Hide file tree
Showing 66 changed files with 1,524 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# yii console command
/yii

# composer vendor dir
/vendor

# composer itself and lock file
composer.phar
composer.lock

# phpunit itself and local config
phpunit.phar
/phpunit.xml

# IDE project files
.idea
nbproject
.buildpath
.project
.settings

# windows thumbnail cache
Thumbs.db

# Mac DS_Store Files
.DS_Store

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
hiqdev/hipanel-module-hosting changelog
---------------------------------------

### 0.1.0 under development

- inited

32 changes: 32 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
The hipanel-module-hosting extension is free software.
It is released under the terms of the following BSD 3-clause License.

Copyright © 2014-2015 by HiQDev (http://hiqdev.com)
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
* Neither the name of HiQDev nor HiPanel nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
12 changes: 12 additions & 0 deletions Module.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting;

class Module extends \hipanel\base\Module
{
}
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Hosting Plugin for HiPanel
--------------------------

Hosting: account, backup, cron, DB, domain, IP, mail, request &service

For more info see wiki:
https://github.com/hiqdev/hipanel-module-hosting/wiki
49 changes: 49 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"name": "hiqdev/hipanel-module-hosting",
"type": "yii2-extension",
"description": "Hosting Plugin for HiPanel",
"keywords": ["hosting","hipanel","plugin"],
"homepage": "https://hiqdev.com/hipanel-module-hosting",
"license": "BSD-3-clause",
"support": {
"email": "[email protected]",
"source": "https://github.com/hiqdev/hipanel-module-hosting",
"issues": "https://github.com/hiqdev/hipanel-module-hosting/issues",
"wiki": "https://github.com/hiqdev/hipanel-module-hosting/wiki",
"forum": "https://forum.hiqdev.com/yii2"
},
"authors": [
{
"role": "Project lead",
"name": "Andrii Vasyliev",
"email": "[email protected]",
"homepage": "https://hipanel.com/"
},
{
"role": "Lead backend developer",
"name": "Dmitry Naumenko",
"email": "[email protected]",
"homepage": "http://silverfire.me/"
},
{
"role": "Lead frontend developer",
"name": "Andrey Klochok",
"email": "[email protected]",
"homepage": "https://hiqdev.com/"
},
{
"role": "QA Lead",
"name": "Yuriy Myronchuk",
"email": "[email protected]",
"homepage": "https://hiqdev.com/"
}
],
"require": {
"yiisoft/yii2": "2.*"
},
"autoload": {
"psr-4": {
"hipanel\\modules\\hosting\\": ""
}
}
}
13 changes: 13 additions & 0 deletions controllers/AccountController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\controllers;

class AccountController extends \hipanel\base\CrudController
{

}
13 changes: 13 additions & 0 deletions controllers/BackupController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\controllers;

class BackupController extends \hipanel\base\CrudController
{

}
13 changes: 13 additions & 0 deletions controllers/BackupingController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\controllers;

class BackupingController extends \hipanel\base\CrudController
{

}
13 changes: 13 additions & 0 deletions controllers/CrontabController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\controllers;

class CrontabController extends \hipanel\base\CrudController
{

}
13 changes: 13 additions & 0 deletions controllers/DBController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\controllers;

class DBController extends \hipanel\base\CrudController
{

}
13 changes: 13 additions & 0 deletions controllers/HdomainController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\controllers;

class HdomainController extends \hipanel\base\CrudController
{

}
13 changes: 13 additions & 0 deletions controllers/IpController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\controllers;

class IpController extends \hipanel\base\CrudController
{

}
13 changes: 13 additions & 0 deletions controllers/MailController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\controllers;

class MailController extends \hipanel\base\CrudController
{

}
13 changes: 13 additions & 0 deletions controllers/RequestController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\controllers;

class RequestController extends \hipanel\base\CrudController
{

}
13 changes: 13 additions & 0 deletions controllers/ServiceController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\controllers;

class ServiceController extends \hipanel\base\CrudController
{

}
23 changes: 23 additions & 0 deletions grid/AccountGridView.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\grid;

use hipanel\grid\MainColumn;

class AccountGridView extends \hipanel\grid\BoxedGridView
{
static public function defaultColumns()
{
return [
'account' => [
'class' => MainColumn::className(),
'filterAttribute' => 'account_like',
],
];
}
}
23 changes: 23 additions & 0 deletions grid/BackupGridView.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\grid;

use hipanel\grid\MainColumn;

class BackupGridView extends \hipanel\grid\BoxedGridView
{
static public function defaultColumns()
{
return [
'backup' => [
'class' => MainColumn::className(),
'filterAttribute' => 'backup_like',
],
];
}
}
23 changes: 23 additions & 0 deletions grid/BackupingGridView.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\grid;

use hipanel\grid\MainColumn;

class BackupingGridView extends \hipanel\grid\BoxedGridView
{
static public function defaultColumns()
{
return [
'backuping' => [
'class' => MainColumn::className(),
'filterAttribute' => 'backuping_like',
],
];
}
}
23 changes: 23 additions & 0 deletions grid/CrontabGridView.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\grid;

use hipanel\grid\MainColumn;

class CrontabGridView extends \hipanel\grid\BoxedGridView
{
static public function defaultColumns()
{
return [
'crontab' => [
'class' => MainColumn::className(),
'filterAttribute' => 'crontab_like',
],
];
}
}
23 changes: 23 additions & 0 deletions grid/DBGridView.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-hosting
* @license http://hiqdev.com/hipanel-module-hosting/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\hosting\grid;

use hipanel\grid\MainColumn;

class DBGridView extends \hipanel\grid\BoxedGridView
{
static public function defaultColumns()
{
return [
'db' => [
'class' => MainColumn::className(),
'filterAttribute' => 'db_like',
],
];
}
}
Loading

0 comments on commit 8ec72f5

Please sign in to comment.