Skip to content

Commit

Permalink
Updates to release v1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Jun 4, 2017
1 parent 08c8e62 commit 88054ee
Show file tree
Hide file tree
Showing 88 changed files with 999 additions and 997 deletions.
36 changes: 33 additions & 3 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,37 @@
Contributing to yii2-app-practical-b
====================================
Looking to contribute something to yii2-app-practical-b? **Here's how you can help.**

We really appreciate clear bug reports that _consistently_ show an issue
_within yii2-app-practical-b_.

The ideal bug report follows these guidelines:

1. **Use the [GitHub issue search][issue-search]** — Check if the issue
has already been reported.
2. **Check if the issue has been fixed** — Try to reproduce the problem
using the code in the `master` branch.

Please try to be as detailed as possible in your bug report, especially if an
isolated test case cannot be made. Some useful questions to include the answer
to are:

- What steps can be used to reproduce the issue?
- What is the bug and what is the expected outcome?
- What browser(s) and Operating System have you tested with?
- Does the bug happen consistently across all tested browsers?
- What version of jQuery are you using? And what version of yii2-app-practical-b?
- Are you using yii2-app-practical-b with other plugins?

All of these questions will help others fix and identify any potential bugs.

Contributing to Yii2
====================

- [Report an issue](docs/internals/report-an-issue.md)
- [Translate documentation or messages](docs/internals/translation-workflow.md)
- [Report an issue](https://github.com/yiisoft/yii2/blob/master/docs/internals/report-an-issue.md)
- [Translate documentation or messages](https://github.com/yiisoft/yii2/blob/master/docs/internals/translation-workflow.md)
- [Give us feedback or start a design discussion](http://www.yiiframework.com/forum/index.php/forum/42-general-discussions-for-yii-20/)
- [Contribute to the core code or fix bugs](docs/internals/git-workflow.md)
- [Contribute to the core code or fix bugs](https://github.com/yiisoft/yii2/blob/master/docs/internals/git-workflow.md)

[issue-search]: https://github.com/kartik-v/yii2-app-practical-b/search?q=&type=Issues
[issue-tracker]: https://github.com/kartik-v/yii2-app-practical-b/issues
9 changes: 5 additions & 4 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
### What steps will reproduce the problem?

### What is expected?
### What's expected?

### What do you get instead?


### Additional info

| Question | Answer
| ---------------- | ----------------
| Yii version |
| Q | A
| ---------------- | ---
| Yii vesion |
| PHP version |
| Operating system |
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
| Question | Answer
| ------------- | -------------
| Q | A
| ------------- | ---
| Is bugfix? | yes/no
| New feature? | yes/no
| Breaks BC? | yes/no
Expand Down
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# index files
/index.php
/index-test.php

# phpstorm project files
.idea

Expand Down Expand Up @@ -29,3 +25,6 @@ composer.phar
phpunit.phar
# local phpunit config
/phpunit.xml

tests/_output/*
tests/_support/_generated
92 changes: 46 additions & 46 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
# ----------------------------------------------------------------------
# Adds some security for the Apache server configuration for use with
# https://github.com/kartik-v/yii2-app-practical-b template.
# @author Kartik Visweswaran <[email protected]>
# @see http://demos.krajee.com/app-practical-b
# ----------------------------------------------------------------------

# "-Indexes" will have Apache block users from browsing folders without a default document
# Usually you should leave this activated, because you shouldn't allow everybody to surf through
# every folder on your server (which includes rather private places like CMS system folders).
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>


# Block access to "hidden" directories whose names begin with a period. This
# includes directories used by version control systems such as Subversion or Git.
<IfModule mod_rewrite.c>
RewriteCond %{SCRIPT_FILENAME} -d
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
</IfModule>


# Block access to backup and source files
# These files may be left by some text/html editors and
# pose a great security danger, when someone can access them
<FilesMatch "(\.(bak|bat|config|sql|fla|md|psd|ini|log|sh|inc|swp|dist)|~|init|composer\.json|composer\.lock)$">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>

# Increase cookie security
<IfModule php5_module>
php_value session.cookie_httponly true
</IfModule>

# Settings to hide index.php and ensure pretty urls
RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
# ----------------------------------------------------------------------
# Adds some security for the Apache server configuration for use with
# https://github.com/kartik-v/yii2-app-practical-b template.
# @author Kartik Visweswaran <[email protected]>
# @see http://demos.krajee.com/app-practical-b
# ----------------------------------------------------------------------

# "-Indexes" will have Apache block users from browsing folders without a default document
# Usually you should leave this activated, because you shouldn't allow everybody to surf through
# every folder on your server (which includes rather private places like CMS system folders).
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>


# Block access to "hidden" directories whose names begin with a period. This
# includes directories used by version control systems such as Subversion or Git.
<IfModule mod_rewrite.c>
RewriteCond %{SCRIPT_FILENAME} -d
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
</IfModule>


# Block access to backup and source files
# These files may be left by some text/html editors and
# pose a great security danger, when someone can access them
<FilesMatch "(\.(bak|bat|config|sql|fla|md|psd|ini|log|sh|inc|swp|dist)|~|init|composer\.json|composer\.lock)$">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>

# Increase cookie security
<IfModule php5_module>
php_value session.cookie_httponly true
</IfModule>

# Settings to hide index.php and ensure pretty urls
RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php
16 changes: 4 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,13 @@ cache:

install:
- travis_retry composer self-update && composer --version
- travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1"
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --dev --prefer-dist --no-interaction
# codeception
- travis_retry composer global require "codeception/codeception=2.0.*" "codeception/specify=*" "codeception/verify=*"
- travis_retry composer global require "fxp/composer-asset-plugin:~1.3.1"
- travis_retry composer update --dev --prefer-dist --no-interaction
# setup application:
- |
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" config/web.php
cd tests
codecept build
cd ..
script:
- |
cd web
php -S localhost:8080 > /dev/null 2>&1 &
cd ../tests
codecept run
php -S localhost:8080 -t web > /dev/null 2>&1 &
vendor/bin/codecept run
136 changes: 70 additions & 66 deletions CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,66 +1,70 @@
Change Log: `yii2-app-practical-b`
==================================

## Version 1.6.2

**Date:** 2016-04-08

- Updates to `composer.json` and `.gitignore`.
- Update to latest yii2-basic-app as of 08-Apr-2016.

## Version 1.6.1

**Date:** 2015-07-09

- (enh #7): Improve security for .htaccess.
- (enh #8): Update to latest yii2-basic-app as of 09-Jul-2015.

## Version 1.6.0

**Date:** 2014-12-19

- Update to latest yii2-basic-app as of 19-Dec-2014.


## Version 1.5.0

**Date:** 2014-11-22

- (bug # 5): Correct loading of site.css and app assets.
- Update to latest yii2-basic-app as of 22-Nov-2014.
- Set release to stable.

## Version 1.4.0

**Date:** 2014-11-04

- (enh # 4): Set write permissions for assets folder.

## Version 1.3.0

**Date:** 2014-10-14

- Update to latest yii2-basic-app as of 14-Oct-2014.
- (enh # 3): Easier AppAsset baseUrl setting


## Version 1.2.0

**Date:** 2014-09-09

- Update to latest yii2-basic-app as of 09-Sep-2014.
- (enh #2): PrettyURL enabled by default

## Version 1.1.0

**Date:** 2014-06-30

- Update to latest yii2-basic-app as of 30-Jun-2014.


## Version 1.0.0

**Date:** 2014-06-01

- Update to latest yii2-basic-app as of 31-May-2014.

Change Log: `yii2-app-practical-b`
==================================

## Version 1.6.3

**Date:** 2017-06-04

- Update to latest yii2-basic-app as of 04-Jun-2017.

## Version 1.6.2

**Date:** 2016-04-08

- Updates to `composer.json` and `.gitignore`.
- Update to latest yii2-basic-app as of 08-Apr-2016.

## Version 1.6.1

**Date:** 2015-07-09

- (enh #8): Update to latest yii2-basic-app as of 09-Jul-2015.
- (enh #7): Improve security for .htaccess.

## Version 1.6.0

**Date:** 2014-12-19

- Update to latest yii2-basic-app as of 19-Dec-2014.


## Version 1.5.0

**Date:** 2014-11-22

- (bug # 5): Correct loading of site.css and app assets.
- Update to latest yii2-basic-app as of 22-Nov-2014.
- Set release to stable.

## Version 1.4.0

**Date:** 2014-11-04

- (enh # 4): Set write permissions for assets folder.

## Version 1.3.0

**Date:** 2014-10-14

- Update to latest yii2-basic-app as of 14-Oct-2014.
- (enh # 3): Easier AppAsset baseUrl setting


## Version 1.2.0

**Date:** 2014-09-09

- Update to latest yii2-basic-app as of 09-Sep-2014.
- (enh #2): PrettyURL enabled by default

## Version 1.1.0

**Date:** 2014-06-30

- Update to latest yii2-basic-app as of 30-Jun-2014.

## Version 1.0.0

**Date:** 2014-06-01

- Update to latest yii2-basic-app as of 31-May-2014.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ 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.
POSSIBILITY OF SUCH DAMAGE.
Loading

0 comments on commit 88054ee

Please sign in to comment.