Skip to content

Commit fba3d3d

Browse files
committed
rehideved
1 parent e7ec391 commit fba3d3d

9 files changed

+131
-25
lines changed

.gitignore

+16-12
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
1-
# vendor dirs
2-
vendor
3-
4-
# composer lock files
5-
composer.lock
6-
71
# hidev internals
82
.hidev/composer.json
93
.hidev/composer.lock
104
.hidev/vendor
115

126
# IDE & OS files
137
.*.swp
14-
.idea
15-
nbproject
8+
.DS_Store
169
.buildpath
10+
.idea
1711
.project
1812
.settings
1913
Thumbs.db
20-
.DS_Store
21-
22-
# Codeception generated files
23-
tests/_support/_generated
14+
nbproject
2415

2516
# php-cs-fixer cache
2617
.php_cs.cache
18+
19+
# vendor dirs
20+
vendor
21+
22+
# composer lock files
23+
composer.lock
24+
25+
# phpunit generated files
26+
coverage.clover
27+
28+
# PHARs
29+
php-cs-fixer.phar
30+
phpunit.phar

.hidev/commits.md

+41-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,47 @@ hiqdev/hipanel-core commits history
33

44
## Under development
55

6+
- e7ec391 2016-01-26 removed old invalid tests ([email protected])
67
- Fixed different issues
8+
- 9f9edb6 2016-01-25 IndexAction - do not use filterstorage on ajax requests ([email protected])
9+
- 815c325 2016-01-22 FilterStorage implemented in IndexAction ([email protected])
10+
- 6b23d93 2016-01-22 Added FilterStorage ([email protected])
11+
- c5a6d97 2016-01-13 base/Connection::errorChecker - updated according to HiArt latest changes ([email protected])
12+
- 9fb0dd7 2016-01-12 Change Isotope version from 2.0.0 to 2.2.2. Events fix ([email protected])
13+
- c10f912 2016-01-11 changed to take Isotope from CDN ([email protected])
14+
- 5978507 2016-01-11 + `base_url` for HiArt ([email protected])
15+
- 424e541 2016-01-06 Dev version isotope ([email protected])
16+
- 58e193b 2016-01-05 Rename IsotopeAsset class ([email protected])
17+
- f6ace9a 2016-01-05 Create IsotopeAsset ([email protected])
18+
- 38baabd 2016-01-05 Replace rules call from static to self ([email protected])
19+
- 633bd22 2016-01-03 Update PHPDoc ([email protected])
20+
- b9649e2 2015-12-25 Added base/User::seller and user.seller param ([email protected])
21+
- 11fe721 2015-12-25 ModelTrait::attributes() add late static binding for rules() call ([email protected])
22+
- dddac4b 2015-12-25 Fix css for .profile-usermenu ([email protected])
23+
- 4985605 2015-12-24 Fix height in grid when the last element remains ([email protected])
24+
- 4ad6fe8 2015-12-23 Added bower-asset octicons ([email protected])
25+
- 8c6233d 2015-12-23 Fix contact combo hover css ([email protected])
26+
- fa6dfc1 2015-12-23 Make profile-usermenu class more localized ([email protected])
27+
- 90c2c21 2015-12-22 Fix Fatal error in validate form action ([email protected])
28+
- 9abff80 2015-12-21 ValidateFormAction redone to implement default Action events ([email protected])
29+
- 16478db 2015-12-18 Added less-space asset ([email protected])
30+
- 71d4545 2015-12-18 Add btn-group dropdown direction fix in ActionColumn ([email protected])
31+
- f866e06 2015-12-17 Finalize OcticonsAsset ([email protected])
32+
- 4f044ee 2015-12-17 bower dep try ([email protected])
33+
- 213bb75 2015-12-17 bower dep try ([email protected])
34+
- 1272021 2015-12-17 bower dep try ([email protected])
35+
- 948c4d3 2015-12-17 Add Octicons Asset ([email protected])
36+
- 0f6aaf6 2015-12-17 Add usePost attribute to AjaxModal ([email protected])
37+
- ea7fb28 2015-12-16 Add LessSpace with version to composer ([email protected])
38+
- 353a41f 2015-12-15 Fix css ([email protected])
39+
- b3a992e 2015-12-15 Remove @import url from panel.css ([email protected])
40+
- 32ed50b 2015-12-15 Add LessSpaceAsset ([email protected])
41+
- 694e9b0 2015-12-14 Add LessSpace CSS ([email protected])
42+
- e2d0c80 2015-12-11 AjaxModal - now loads data with POST requests :exclamation: ([email protected])
43+
- d7d67f2 2015-12-11 ViewAction - fixed setting of multiple ids to the fetch model ([email protected])
44+
- a9d061c 2015-12-11 Pjax::init - set clientOption skipOuterContainers to true by default ([email protected])
45+
- 99fa0a8 2015-12-11 SmartUpdateAction - fixed setting of multiple ids to the fetch model ([email protected])
46+
- 08a65fb 2015-12-11 ProxyAction::action can be a Closure ([email protected])
747
- 3c551a6 2015-12-10 fixed namespace and moved to base ([email protected])
848
- e942f02 2015-12-09 Fixed PHP7 incompatible call of non-static function in static context ([email protected])
949
- d1e354b 2015-12-09 Composer.json - PHP requirement updated to allow PHP7 ([email protected])
@@ -136,7 +176,7 @@ hiqdev/hipanel-core commits history
136176
- 6508e89 2015-09-16 translation ([email protected])
137177
- 6d9f2c6 2015-09-16 x fix conflicts ([email protected])
138178
- 2e183c9 2015-09-16 * improve language pack ([email protected])
139-
- e5e701a 2015-09-14 models/Ref - added gl_key, gl_value properties ([email protected])
179+
- e5e701a 2015-09-14 models/Ref - added `gl_key`, `gl_value` properties ([email protected])
140180
- 3275a06 2015-09-14 actions/Action - added getFlashText method ([email protected])
141181
- 3de82ce 2015-09-15 localization ([email protected])
142182
- ec60832 2015-09-15 redone Menu widget: used menumanager Menu widget ([email protected])

.hidev/config.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
package:
2+
type: yii2-extension
23
name: hipanel-core
34
namespace: hipanel
45
headline: HiPanel Core
56
title: HiPanel core package
6-
type: yii2-extension
77
homepage: https://hipanel.com/
88
keywords: hipanel, control panel, hosting, domains
9-
year: 2014
109
description: |
1110
[![Logo](https://raw.githubusercontent.com/hiqdev/hipanel-core/master/docs/logo.png)](https://hipanel.com/)
1211
1312
[HiPanel](http://hipanel.com) is next generation control panel for hosting, domains and more.
1413
This package is the core of the system.
1514
1615
require:
17-
hiqdev/hidev-config: "*"
18-
hiqdev/hidev-config-php: "*"
16+
hiqdev/hidev-php: "*"
17+
hiqdev/hidev-vendor: "*"
1918

.php_cs

+16-4
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,35 @@
11
<?php
22

33
$header = <<<EOF
4-
HiPanel - Next Generation Control Panel
4+
HiPanel core package
55
66
@link https://hipanel.com/
77
@package hipanel-core
88
@license BSD-3-Clause
9-
@copyright Copyright (c) 2014-2015, HiQDev (https://hiqdev.com/)
9+
@copyright Copyright (c) 2014-2016, HiQDev (http://hiqdev.com/)
1010
EOF;
1111

1212
Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);
1313

1414
return Symfony\CS\Config\Config::create()
15+
->setUsingCache(true)
1516
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL)
1617
->fixers([
1718
'-long_array_syntax', /// Arrays should use the long syntax.
1819
'-php4_constructor', /// Convert PHP4-style constructors to __construct. Warning! This could change code behavior.
1920
'-phpdoc_var_to_type', /// @var should always be written as @type.
21+
'-align_double_arrow', /// Align double arrow symbols in consecutive lines.
22+
'-unalign_double_arrow', /// Unalign double arrow symbols in consecutive lines.
23+
'-align_equals', /// Align equals symbols in consecutive lines.
24+
'-unalign_equals', /// Unalign equals symbols in consecutive lines.
25+
'-blankline_after_open_tag', /// Ensure there is no code on the same line as the PHP open tag and it is followed by a blankline.
26+
'-phpdoc_no_empty_return', /// @return void and @return null annotations should be omitted from phpdocs.
27+
'-empty_return', /// A return statement wishing to return nothing should be simply "return".
28+
'-return', /// An empty line feed should precede a return statement.
29+
'-phpdoc_params', /// All items of the @param, @throws, @return, @var, and @type phpdoc tags must be aligned vertically.
30+
'-phpdoc_scalar', /// Scalar types should always be written in the same form. "int", not "integer"; "bool", not "boolean".
31+
'-phpdoc_separation', /// Annotations of a different type are separated by a single blank line.
2032
'header_comment', /// Add, replace or remove header comment.
21-
'align_double_arrow', /// Align double arrow symbols in consecutive lines.
22-
'align_equals', /// Align equals symbols in consecutive lines.
2333
'concat_with_spaces', /// Concatenation should be used with at least one whitespace around.
2434
'ereg_to_preg', /// Replace deprecated ereg regular expression functions with preg. Warning! This could change code behavior.
2535
'multiline_spaces_before_semicolon', /// Multi-line whitespace before closing semicolon are prohibited.
@@ -35,7 +45,9 @@ return Symfony\CS\Config\Config::create()
3545
->finder(
3646
Symfony\CS\Finder\DefaultFinder::create()
3747
->in(__DIR__)
48+
->notPath('vendor')
3849
->notPath('runtime')
50+
->notPath('web/assets')
3951
->notPath('tests/unit/UnitTester.php')
4052
)
4153
;

.scrutinizer.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
checks:
2+
php:
3+
code_rating: true
4+
duplication: true
5+
tools:
6+
php_code_coverage:
7+
enabled: true
8+
external_code_coverage:
9+
timeout: 600

.travis.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: php
2+
php:
3+
- 5.5
4+
- 5.6
5+
- 7
6+
- hhvm
7+
matrix:
8+
allow_failures:
9+
-
10+
php: hhvm
11+
cache:
12+
directories:
13+
- $HOME/.composer/cache
14+
before_install:
15+
- 'composer self-update'
16+
- 'composer --version'
17+
- 'wget http://hiqdev.com/hidev/hidev.phar -O hidev.phar && chmod a+x hidev.phar'
18+
- './hidev.phar --version'
19+
- './hidev.phar travis/before_install'
20+
sudo: false
21+
install:
22+
- './hidev.phar travis/install'
23+
script:
24+
- './hidev.phar travis/script'
25+
after_script:
26+
- './hidev.phar travis/after_script'

LICENSE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright © 2014-2015, HiQDev (http://hiqdev.com/)
1+
Copyright © 2014-2016, HiQDev (http://hiqdev.com/)
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without
@@ -11,7 +11,7 @@ are met:
1111
notice, this list of conditions and the following disclaimer in
1212
the documentation and/or other materials provided with the
1313
distribution.
14-
* Neither the name of HiQDev nor HiPanel Core nor the names of its
14+
* Neither the name of HiQDev nor the names of its
1515
contributors may be used to endorse or promote products derived
1616
from this software without specific prior written permission.
1717

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ HiPanel Core
55

66
[![Latest Stable Version](https://poser.pugx.org/hiqdev/hipanel-core/v/stable)](https://packagist.org/packages/hiqdev/hipanel-core)
77
[![Total Downloads](https://poser.pugx.org/hiqdev/hipanel-core/downloads)](https://packagist.org/packages/hiqdev/hipanel-core)
8+
[![Build Status](https://img.shields.io/travis/hiqdev/hipanel-core.svg)](https://travis-ci.org/hiqdev/hipanel-core)
9+
[![Code Coverage](https://scrutinizer-ci.com/g/hiqdev/hipanel-core/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/hiqdev/hipanel-core/?branch=master)
10+
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/hiqdev/hipanel-core/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/hiqdev/hipanel-core/?branch=master)
811
[![Dependency Status](https://www.versioneye.com/php/hiqdev:hipanel-core/dev-master/badge.svg)](https://www.versioneye.com/php/hiqdev:hipanel-core/dev-master)
912

1013
[![Logo](https://raw.githubusercontent.com/hiqdev/hipanel-core/master/docs/logo.png)](https://hipanel.com/)
@@ -18,7 +21,7 @@ The preferred way to install this yii2-extension is through [composer](http://ge
1821

1922
Either run
2023

21-
```
24+
```sh
2225
php composer.phar require "hiqdev/hipanel-core"
2326
```
2427

@@ -35,4 +38,4 @@ to the require section of your composer.json.
3538
This project is released under the terms of the BSD-3-Clause [license](LICENSE).
3639
Read more [here](http://choosealicense.com/licenses/bsd-3-clause).
3740

38-
Copyright © 2014-2015, HiQDev (http://hiqdev.com/)
41+
Copyright © 2014-2016, HiQDev (http://hiqdev.com/)

phpunit.xml.dist

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<phpunit backupGlobals="false" backupStaticAttributes="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" syntaxCheck="false" bootstrap="tests/_bootstrap.php">
3+
<testsuites>
4+
<testsuite name="Unit Test Suite">
5+
<directory>./tests/unit/</directory>
6+
</testsuite>
7+
</testsuites>
8+
<filter>
9+
<whitelist addUncoveredFilesFromWhitelist="true">
10+
<directory suffix=".php">./src/</directory>
11+
</whitelist>
12+
</filter>
13+
</phpunit>

0 commit comments

Comments
 (0)