Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Jan 3, 2017
0 parents commit 9c65687
Show file tree
Hide file tree
Showing 11 changed files with 292 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# hidev internals
.hidev/composer.json
.hidev/composer.lock
.hidev/config-local.yml
.hidev/vendor

# IDE & OS files
.*.swp
.DS_Store
.buildpath
.idea
.project
.settings
Thumbs.db
nbproject

# vendor dirs
vendor

# composer lock files
composer.lock

# php-cs-fixer cache
.php_cs.cache

# phpunit generated files
coverage.clover

# Binaries
chkipper.phar
composer.phar
php-cs-fixer.phar
phpunit-skelgen.phar
phpunit.phar
15 changes: 15 additions & 0 deletions .hidev/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package:
type: yii2-extension
name: hipanel-module-mailing
title: Mailing module for HiPanel
headline: HiPanel Mailing Module
keywords: hipanel, module, mailing
namespace: hipanel\modules\mailing
description: |
[![Logo](https://raw.githubusercontent.com/hiqdev/hipanel-core/master/docs/logo.png)](https://hipanel.com/)
[HiPanel](http://hipanel.com) is the next generation control panel for hosting, domains and more.
This package provides mailing functions for HiPanel.
54 changes: 54 additions & 0 deletions .php_cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
<?php

$header = <<<EOF
Mailing module for HiPanel
@link https://github.com/hiqdev/hipanel-module-mailing
@package hipanel-module-mailing
@license BSD-3-Clause
@copyright Copyright (c) 2017, HiQDev (http://hiqdev.com/)
EOF;

return PhpCsFixer\Config::create()
->setUsingCache(true)
->setRiskyAllowed(true)
->setRules(array(
'@Symfony' => true,
'header_comment' => [
'header' => $header,
'separate' => 'bottom',
'location' => 'after_declare_strict',
'commentType' => 'PHPDoc',
],
'binary_operator_spaces' => [
'align_double_arrow' => null,
'align_equals' => null,
],
'concat_space' => ['spacing' => 'one'],
'array_syntax' => ['syntax' => 'short'],
'empty_return' => false,
'blank_line_before_return' => false,
'phpdoc_align' => false,
'phpdoc_params' => false,
'phpdoc_scalar' => false,
'phpdoc_separation' => false,
'phpdoc_to_comment' => false,
'method_argument_space' => false,
'ereg_to_preg' => true,
'blank_line_after_opening_tag' => true,
'single_blank_line_before_namespace' => true,
'ordered_imports' => true,
'phpdoc_order' => true,
'pre_increment' => true,
'strict_comparison' => true,
'strict_param' => true,
'no_multiline_whitespace_before_semicolons' => true,
))
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__)
->notPath('vendor')
->notPath('runtime')
->notPath('web/assets')
)
;
9 changes: 9 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
checks:
php:
code_rating: true
duplication: true
tools:
php_code_coverage:
enabled: true
external_code_coverage:
timeout: 600
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: php
php:
- 5.5
- 5.6
- 7
- hhvm
matrix:
allow_failures:
-
php: hhvm
-
php: 5.5
cache:
directories:
- $HOME/.composer/cache
before_install:
- 'composer self-update'
- 'composer --version'
- 'wget http://hiqdev.com/hidev/hidev.phar -O hidev.phar && chmod a+x hidev.phar'
- './hidev.phar --version'
- './hidev.phar travis/before_install'
sudo: false
install:
- './hidev.phar travis/install'
script:
- './hidev.phar travis/script'
after_script:
- './hidev.phar travis/after_script'
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# hiqdev/hipanel-module-mailing

## [Under development]

## [Development started] - 2017-01-03

[@silverfire]: https://github.com/SilverFire
[d.naumenko.a@gmail.com]: https://github.com/SilverFire
[@hiqsol]: https://github.com/hiqsol
[sol@hiqdev.com]: https://github.com/hiqsol
[Under development]: https://github.com/hiqdev/hipanel-module-mailing/releases/tag/Under development
29 changes: 29 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Copyright © 2017, 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 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.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
HiPanel Mailing Module
======================

**Mailing module for HiPanel**

[![Latest Stable Version](https://poser.pugx.org/hiqdev/hipanel-module-mailing/v/stable)](https://packagist.org/packages/hiqdev/hipanel-module-mailing)
[![Total Downloads](https://poser.pugx.org/hiqdev/hipanel-module-mailing/downloads)](https://packagist.org/packages/hiqdev/hipanel-module-mailing)
[![Build Status](https://img.shields.io/travis/hiqdev/hipanel-module-mailing.svg)](https://travis-ci.org/hiqdev/hipanel-module-mailing)
[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/hiqdev/hipanel-module-mailing.svg)](https://scrutinizer-ci.com/g/hiqdev/hipanel-module-mailing/)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/hipanel-module-mailing.svg)](https://scrutinizer-ci.com/g/hiqdev/hipanel-module-mailing/)

[![Logo](https://raw.githubusercontent.com/hiqdev/hipanel-core/master/docs/logo.png)](https://hipanel.com/)

[HiPanel](http://hipanel.com) is the next generation control panel for hosting, domains and more.

This package provides mailing functions for HiPanel.

## Installation

The preferred way to install this yii2-extension is through [composer](http://getcomposer.org/download/).

Either run

```sh
php composer.phar require "hiqdev/hipanel-module-mailing"
```

or add

```json
"hiqdev/hipanel-module-mailing": "*"
```

to the require section of your composer.json.

## License

This project is released under the terms of the BSD-3-Clause [license](LICENSE).
Read more [here](http://choosealicense.com/licenses/bsd-3-clause).

Copyright © 2017, HiQDev (http://hiqdev.com/)
3 changes: 3 additions & 0 deletions chkipper.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name": "hiqdev/hipanel-module-mailing"
}
54 changes: 54 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"name": "hiqdev/hipanel-module-mailing",
"type": "yii2-extension",
"description": "Mailing module for HiPanel",
"keywords": [
"hipanel",
"module",
"mailing"
],
"homepage": "https://github.com/hiqdev/hipanel-module-mailing",
"license": "BSD-3-Clause",
"support": {
"email": "support@hiqdev.com",
"source": "https://github.com/hiqdev/hipanel-module-mailing",
"issues": "https://github.com/hiqdev/hipanel-module-mailing/issues",
"wiki": "https://github.com/hiqdev/hipanel-module-mailing/wiki",
"forum": "http://forum.hiqdev.com/"
},
"authors": [
{
"name": "Andrii Vasyliev",
"role": "Project lead",
"email": "sol@hiqdev.com",
"homepage": "http://hipanel.com/"
},
{
"name": "Dmitry Naumenko",
"role": "Lead backend developer",
"email": "silverfire@hiqdev.com",
"homepage": "http://silverfire.me/"
},
{
"name": "Andrey Klochok",
"role": "Lead frontend developer",
"email": "tafid@hiqdev.com",
"homepage": "http://hiqdev.com/"
},
{
"name": "Yuriy Myronchuk",
"role": "QA Lead",
"email": "bladeroot@hiqdev.com",
"homepage": "http://hiqdev.com/"
}
],
"require-dev": {
"hiqdev/hidev-php": "<2.0 || dev-master",
"hiqdev/hidev-hiqdev": "<2.0 || dev-master"
},
"autoload": {
"psr-4": {
"hipanel\\modules\\mailing\\": "src"
}
}
}
14 changes: 14 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# hiqdev/hipanel-module-mailing

## [Under development]

- [424661f] 2017-01-03 Initial commit [@silverfire]

## [Development started] - 2017-01-03

[@silverfire]: https://github.com/SilverFire
[d.naumenko.a@gmail.com]: https://github.com/SilverFire
[@hiqsol]: https://github.com/hiqsol
[sol@hiqdev.com]: https://github.com/hiqsol
[Under development]: https://github.com/hiqdev/hipanel-module-mailing/releases/tag/Under development
[424661f]: https://github.com/hiqdev/hipanel-module-mailing/commit/424661f

0 comments on commit 9c65687

Please sign in to comment.