Skip to content

Commit 5093022

Browse files
committed
Release-2.1.0
2 parents 5d9f87a + 24727e2 commit 5093022

File tree

211 files changed

+4308
-4874
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+4308
-4874
lines changed

.codeclimate.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
engines:
3+
duplication:
4+
enabled: true
5+
config:
6+
languages:
7+
php:
8+
mass_threshold: 30
9+
phpcodesniffer:
10+
enabled: true
11+
config:
12+
standard: PSR2
13+
14+
ratings:
15+
paths:
16+
- "**.php"
17+
18+
exclude_paths:
19+
- "bin/"
20+
- "build/"
21+
- "docs/"
22+
- "docs-api/"
23+
- "language_files/"
24+
- "lib/"
25+
- "sef/"
26+
- "tests/"
27+
- "tmpl/"
28+
- "vendor/"

.travis.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,46 +23,47 @@ addons:
2323
matrix:
2424
fast_finish: true
2525
include:
26-
- php: 5.4
27-
env:
28-
- TEST_CHECK=false
29-
- CS_CHECK=true
30-
- CC_CHECK=true
3126
- php: 5.5
3227
env:
28+
- COMPOSER_PROCESS_TIMEOUT=1200
3329
- TEST_CHECK=true
3430
- CS_CHECK=true
35-
- CC_CHECK=true
31+
- CC_CHECK=false
3632
- php: 5.6
3733
env:
38-
- TEST_CHECK=true
34+
- COMPOSER_PROCESS_TIMEOUT=1200
35+
- TEST_CHECK_COVER=true
3936
- CS_CHECK=true
40-
- CC_CHECK=true
37+
- CC_CHECK=false
38+
- CODECLIMATE_REPO_TOKEN=cdf9d20bb5113bdc18f79b722ca5a54c965e2ccae2912ba40d92d0651cf8affa
4139
- php: 7
4240
env:
4341
- TEST_CHECK=false
4442
- CS_CHECK=true
45-
- CC_CHECK=true
43+
- CC_CHECK=false
4644
- php: hhvm
4745
allow_failures:
4846
- php: hhvm
4947

5048
before_install:
51-
- phpenv config-rm xdebug.ini || return 0
5249
# XVFB
5350
- "export DISPLAY=:99.0"
5451
- "sh -e /etc/init.d/xvfb start"
5552
- sleep 5 # give xvfb some time to start
5653
- travis_retry composer self-update
57-
- if [[ $TEST_CHECK == 'false' ]]; then rm $TRAVIS_BUILD_DIR/composer.json ; fi
58-
- if [[ $TEST_CHECK == 'false' ]]; then mv $TRAVIS_BUILD_DIR/composer.php54.json $TRAVIS_BUILD_DIR/composer.json ; fi
59-
- $TRAVIS_BUILD_DIR/bin/codeception-setup.sh
54+
- if [[ $TEST_CHECK_54 == 'true' ]]; then rm $TRAVIS_BUILD_DIR/composer.json && mv $TRAVIS_BUILD_DIR/composer.php54.json $TRAVIS_BUILD_DIR/composer.json ; fi
55+
- if [[ -z "$TEST_CHECK_COVER" ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
56+
- if [[ $CC_CHECK == 'true' ]]; then $TRAVIS_BUILD_DIR/bin/codeception-setup.sh ; fi
6057
- sleep 5 # gives enough time to Selenium to start
6158

6259
install:
6360
- travis_retry composer install --no-interaction
6461

6562
script:
66-
- if [[ $TEST_CHECK == 'true' ]]; then composer test ; fi
63+
- if [[ $TEST_CHECK == 'true' || $TEST_CHECK_54 == 'true' ]]; then composer test ; fi
64+
- if [[ $TEST_CHECK_COVER == 'true' ]]; then composer test-cover ; fi
6765
- if [[ $CS_CHECK == 'true' ]]; then composer cs ; fi
6866
- if [[ $CC_CHECK == 'true' ]]; then composer cc ; fi
67+
68+
after_success:
69+
- if [[ $TEST_CHECK_COVER == 'true' ]]; then composer test-report ; fi

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# CHANGELOG
22

3+
## 2.1.0 (2017-12-22)
4+
5+
- Fixes issue #15 - Allow users to configure an automated reply email to those submitting the form.
6+
- Fixes issue #18 - Getting error of missing closing DIV.
7+
- Fixes issue #22 - Allow to easily modify SEF's rendering by using its internal methods.
8+
- Sets JForm as Simple Email Form's default mode.
9+
- Offers a complete API documentation for developers.
10+
311
## 2.0.1 (2017-02-24)
412

513
- Fixes issue #17 - JForm translations not explained well enough in documentation.

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
# mod_simpleemailform
2-
Joomla Simple Email Form Module
3-
[![PDS Skeleton](https://img.shields.io/badge/pds-skeleton-blue.svg?style=flat-square)](https://github.com/php-pds/skeleton)
1+
# [![Simple Email Form Banner](docs/images/logo.png)](http://joomla.unlikelysource.org/)
2+
# Simple Email Form - Joomla Module
3+
Basic email contact form which lets you define up to eight (8) configurable fields.
44

55
[![Build Status](https://travis-ci.org/andrewscaya/mod_simpleemailform.svg?branch=master)](https://travis-ci.org/andrewscaya/mod_simpleemailform)
6+
[![Code Climate](https://codeclimate.com/github/andrewscaya/mod_simpleemailform/badges/gpa.svg)](https://codeclimate.com/github/andrewscaya/mod_simpleemailform)
7+
[![Test Coverage](https://codeclimate.com/github/andrewscaya/mod_simpleemailform/badges/coverage.svg)](https://codeclimate.com/github/andrewscaya/mod_simpleemailform)
8+
[![Issue Count](https://codeclimate.com/github/andrewscaya/mod_simpleemailform/badges/issue_count.svg)](https://codeclimate.com/github/andrewscaya/mod_simpleemailform)
9+
[![PDS Skeleton](https://img.shields.io/badge/pds-skeleton-blue.svg?style=flat-square)](https://github.com/php-pds/skeleton)
610

7-
Code coverage: 81.03% covered overall (SEF 68.14%, SEFv2 100%).
11+
Code coverage: SEFv2 100%.

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
"joomla/framework": "1.1.0",
3737
"phpunit/phpunit": "4.8.32",
3838
"mockery/mockery": "0.9.7",
39+
"psr/log": "1.0.0",
40+
"codeclimate/php-test-reporter": "0.2.0",
41+
"satooshi/php-coveralls": "~0.6",
3942
"squizlabs/php_codesniffer": "^2.3",
4043
"se/selenium-server-standalone": "^2.53",
4144
"codeception/codeception": "^2.2",
@@ -68,6 +71,8 @@
6871
"cs": "phpcs",
6972
"cs-fix": "phpcbf",
7073
"test": "phpunit",
74+
"test-cover": "phpunit --coverage-clover build/logs/clover.xml",
75+
"test-report": "test-reporter --coverage-report build/logs/clover.xml",
7176
"cc": "codecept run acceptance",
7277
"apidocs": "phpdoc --template=responsive-twig"
7378
}

composer.phar

37.4 KB
Binary file not shown.

docs-api/build/classes.svg

Lines changed: 0 additions & 77 deletions
This file was deleted.

0 commit comments

Comments
 (0)