Skip to content

Commit

Permalink
Merge branch 'release/v3.6.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
iam404 committed May 16, 2016
2 parents 4b229ea + a471355 commit 9fbb283
Show file tree
Hide file tree
Showing 20 changed files with 623 additions and 511 deletions.
173 changes: 87 additions & 86 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,98 +22,99 @@ before_script:
- sudo apt-get update

script:
- lsb_release -a
- unset LANG
- sudo bash -c 'echo -e "[user]\n\tname = abc\n\temail = [email protected]" > /home/travis/.gitconfig'
- sudo echo "Travis Banch = $TRAVIS_BRANCH"
- sudo apt-get install -y --force-yes git python3-setuptools python3-dev python3-apt
- sudo bash install $TRAVIS_BRANCH
- sudo ee --help
- sudo ee stack install
- sudo ee stack install --web
- sudo ee stack install --admin

- sudo ee site create html.net --html
- sudo ee site create php.com --php
- sudo ee site create mysql.com --mysql
- sudo ee site create site1.com --wp

- sudo ee site create site2.net --wp --wpsc
- sudo ee site create site3.net --wp --w3tc
- sudo ee site create site4.com --wpfc
- sudo ee site create site4.net --wp --wpfc
- sudo ee site create site4.org --wpfc --wp
- sudo ee site create site5.com --wpsubdir

- sudo ee site create site6.com --wpsubdir --wpsc
- sudo ee site create site7.com --wpsubdir --w3tc
- sudo ee site create site8.com --wpsubdir --wpfc
- sudo ee site create site8.net --wpfc --wpsubdir
- sudo ee site create site9.com --wpsubdomain

- sudo ee site create site10.org --wpsubdomain --wpsc
- sudo ee site create site11.org --wpsubdomain --w3tc
- sudo ee site create site12.org --wpsubdomain --wpfc
- sudo ee site create site12.in --wpfc --wpsubdomain

- yes | sudo ee site create site.hhvm.pagespeed2.com --wpsc --hhvm --pagespeed
- yes | sudo ee site create site.hhvm.pagespeed4.com --wpfc --hhvm --pagespeed
- yes | sudo ee site create site.hhvm.pagespeed5.com --wpsubdir --hhvm --pagespeed
- yes | sudo ee site create site.hhvm.pagespeed6.com --wpsubdir --wpsc --hhvm --pagespeed
- yes | sudo ee site create site.hhvm.pagespeed8.com --wpsubdir --wpfc --hhvm --pagespeed
- yes | sudo ee site create site.hhvm.pagespeed9.com --wpsubdomain --hhvm --pagespeed
- yes | sudo ee site create site.hhvm.pagespeed10.org --wpsubdomain --wpsc --hhvm --pagespeed
- yes | sudo ee site create site.hhvm.pagespeed12.in --wpfc --wpsubdomain --hhvm --pagespeed

- sudo ee site create site1.localtest.me --php --mysql
- sudo ee site create site2.localtest.me --mysql --html
- sudo ee site create site3.localtest.me --php --html
- sudo ee site create site4.localtest.me --wp --wpsubdomain
- sudo ee site create site5.localtest.me --wp --wpsubdir --wpfc
- yes | sudo ee site create site6.localtest.me --wpredis
- yes | sudo ee site create site7.localtest.me --wpsubdomain --wpredis
- yes | sudo ee site create site8.localtest.me --wpsubdir --wpredis


- sudo ee debug --all
- sudo ee debug --all=off
- sudo ee debug site12.net
- sudo ee debug site12.net --all=off
- sudo ee site create 1.com --html
- sudo ee site create 2.com --php
- sudo ee site create 3.com --mysql

- sudo ee site update 1.com --wp
- sudo ee site update 2.com --wpsubdir
- sudo ee site update 3.com --wpsubdomain

- sudo ee site update site1.com --wp --wpfc
- sudo ee site update site1.com --wp --w3tc
- sudo ee site update site1.com --wp --wpsc
- yes | sudo ee site update site1.com --wpredis

- sudo ee site update site5.com --wpsubdir --wpfc
- sudo ee site update site5.com --wpsubdir --wpsc

- sudo ee site update site9.com --wpsubdomain --wpfc
- sudo ee site update site9.com --wpsubdomain --wpsc
- yes | sudo ee site update site.hhvm.pagespeed12.in --pagespeed=off --hhvm=off
- yes | sudo ee site update site9.com --hhvm --pagespeed
- sudo ee site info site.hhvm.pagespeed12.in
- sudo ee site info site9.com

- sudo ee site create www.site-1.com --wp
- sudo ee site create www.subsite.site-1.com --wpfc
- sudo ee site update www.subsite.site-1.com --wp
- sudo ee site delete www.subsite.site-1.com --all --no-prompt

- sudo ee site delete site12.in --all --no-prompt

- echo "yes" | sudo ee stack install --nginxmainline
- nginx -v
- sudo ee site create site-nm.localtest.me --php --mysql --html
- sudo ee site update site-nm.localtest.me --wp
- yes | sudo ee site update site-nm.localtest.me --hhvm --pagespeed --wpredis
- sudo ee site delete site-nm.localtest.me --no-prompt
- sudo ee stack install || sudo tail -n50 /var/log/ee/ee.log
- sudo ee stack install --web || sudo tail -n50 /var/log/ee/ee.log
- sudo ee stack install --admin || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site create html.net --html || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create php.com --php || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create mysql.com --mysql || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site1.com --wp || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site create site2.net --wp --wpsc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site3.net --wp --w3tc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site4.com --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site4.net --wp --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site4.org --wpfc --wp || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site5.com --wpsubdir || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site create site6.com --wpsubdir --wpsc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site7.com --wpsubdir --w3tc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site8.com --wpsubdir --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site8.net --wpfc --wpsubdir || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site9.com --wpsubdomain || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site create site10.org --wpsubdomain --wpsc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site11.org --wpsubdomain --w3tc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site12.org --wpsubdomain --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site12.in --wpfc --wpsubdomain || sudo tail -n50 /var/log/ee/ee.log

- yes | sudo ee site create site.hhvm.pagespeed2.com --wpsc --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed4.com --wpfc --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed5.com --wpsubdir --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed6.com --wpsubdir --wpsc --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed8.com --wpsubdir --wpfc --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed9.com --wpsubdomain --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed10.org --wpsubdomain --wpsc --hhvm || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site.hhvm.pagespeed12.in --wpfc --wpsubdomain --hhvm || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site create site1.localtest.me --php --mysql || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site2.localtest.me --mysql --html || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site3.localtest.me --php --html || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site4.localtest.me --wp --wpsubdomain || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create site5.localtest.me --wp --wpsubdir --wpfc || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site6.localtest.me --wpredis || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site7.localtest.me --wpsubdomain --wpredis || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site create site8.localtest.me --wpsubdir --wpredis || sudo tail -n50 /var/log/ee/ee.log


- sudo ee debug --all || sudo tail -n50 /var/log/ee/ee.log
- sudo ee debug --all=off || sudo tail -n50 /var/log/ee/ee.log
- sudo ee debug site12.net || sudo tail -n50 /var/log/ee/ee.log
- sudo ee debug site12.net --all=off || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create 1.com --html || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create 2.com --php || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create 3.com --mysql || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site update 1.com --wp || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update 2.com --wpsubdir || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update 3.com --wpsubdomain || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site update site1.com --wp --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site1.com --wp --w3tc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site1.com --wp --wpsc || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site update site1.com --wpredis || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site update site5.com --wpsubdir --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site5.com --wpsubdir --wpsc || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site update site9.com --wpsubdomain --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update site9.com --wpsubdomain --wpsc || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site update site.hhvm.pagespeed12.in --hhvm=off || sudo tail -n50 /var/log/ee/ee.log
- yes | sudo ee site update site9.com --hhvm || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site info site.hhvm.pagespeed12.in || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site info site9.com || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site create www.site-1.com --wp || sudo tail -n50 /var/log/ee/ee.log|| sudo tail -n50 /var/log/ee/ee.log
- sudo ee site create www.subsite.site-1.com --wpfc || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site update www.subsite.site-1.com --wp || sudo tail -n50 /var/log/ee/ee.log
- sudo ee site delete www.subsite.site-1.com --all --no-prompt || sudo tail -n50 /var/log/ee/ee.log

- sudo ee site delete site12.in --all --no-prompt || sudo tail -n50 /var/log/ee/ee.log

# - echo "yes" | sudo ee stack install --nginxmainline || sudo tail -n50 /var/log/ee/ee.log
# - nginx -v
# - sudo ee site create site-nm.localtest.me --php --mysql --html || sudo tail -n50 /var/log/ee/ee.log
# - sudo ee site update site-nm.localtest.me --wp || sudo tail -n50 /var/log/ee/ee.log
# - yes | sudo ee site update site-nm.localtest.me --hhvm --wpredis || sudo tail -n50 /var/log/ee/ee.log
# - sudo ee site delete site-nm.localtest.me --no-prompt || sudo tail -n50 /var/log/ee/ee.log

- travis_wait sudo ee stack install --mail
- sudo ls /var/www/
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
v3.6.0 - May 16, 2016
- Add support for Ubuntu 16.04 LTS - Xenial.
- Updated Nginx to the latest stable version (1.10.1)
- Updated OpenSSL to v1.0.2g for HTTP/2 support
- Drop support for spdy module. Move existing spdy sites to http2.
- Drop support for ngx_pagespeed module.
- Drop support for Nginx Mainline builds.
- Fix Let's Encrypt Auto renew issue

v3.5.6 - May 5, 2016
- Patch for ImageMagick vulnerability CVE-2016–3714 - https://imagetragick.com/
- Minor Fix for letsencrypt
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 rtCamp Solutions Private Limited
Copyright (c) 2016 rtCamp Solutions Private Limited

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
34 changes: 17 additions & 17 deletions config/bash_completion.d/ee_auto.rc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ _ee_complete()
# HANDLE EVERYTHING AFTER THE SECOND LEVEL NAMESPACE
"clean")
COMPREPLY=( $(compgen \
-W "--memcache --opcache --fastcgi --pagespeed --redis --all" \
-W "--memcache --opcache --fastcgi --redis --all" \
-- $cur) )
;;

Expand Down Expand Up @@ -74,7 +74,7 @@ _ee_complete()
# HANDLE EVERYTHING AFTER THE THIRD LEVEL NAMESPACE
"install" | "purge" | "remove" )
COMPREPLY=( $(compgen \
-W "--pagespeed --web --admin --mail --nginx --nginxmainline --php --php7 --mysql --postfix --wpcli --phpmyadmin --adminer --utils --all --mailscanner --hhvm --redis --phpredisadmin" \
-W "--web --admin --mail --nginx --php --php7 --mysql --postfix --wpcli --phpmyadmin --adminer --utils --all --mailscanner --hhvm --redis --phpredisadmin" \
-- $cur) )
;;
"upgrade" )
Expand Down Expand Up @@ -165,13 +165,13 @@ _ee_complete()

"create")
COMPREPLY=( $(compgen \
-W "--user --pass --email --html --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --proxy= --pagespeed --wpredis --letsencrypt -le" \
-W "--user --pass --email --html --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --proxy= --wpredis --letsencrypt -le" \
-- $cur) )
;;

"update")
COMPREPLY=( $(compgen \
-W "--password --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --hhvm=off --pagespeed --pagespeed=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew" \
-W "--password --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --hhvm=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew" \
-- $cur) )
;;
"delete")
Expand Down Expand Up @@ -204,7 +204,7 @@ _ee_complete()
;;
edit)
COMPREPLY=( $(compgen \
-W "--pagespeed" \

-- $cur) )
;;
*)
Expand All @@ -217,9 +217,9 @@ _ee_complete()
"--wp")
if [ ${COMP_WORDS[1]} != "debug" ]; then
if [ ${COMP_WORDS[2]} == "create" ]; then
retlist="--wp --wpsc --w3tc --wpfc --pagespeed --hhvm --user --email --pass --wpredis --letsencrypt --php7"
retlist="--wp --wpsc --w3tc --wpfc --hhvm --user --email --pass --wpredis --letsencrypt --php7"
elif [ ${COMP_WORDS[2]} == "update" ]; then
retlist="--wp --w3tc --wpfc --wpsc --php7 --php7=off --pagespeed --hhvm --pagespeed=off --hhvm=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
retlist="--wp --w3tc --wpfc --wpsc --php7 --php7=off --hhvm --hhvm=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
else
retlist=""
fi
Expand All @@ -236,9 +236,9 @@ _ee_complete()
"--wpsubdir" | "--wpsubdomain")
if [ ${COMP_WORDS[1]} != "debug" ]; then
if [ ${COMP_WORDS[2]} == "create" ]; then
retlist="--wpsc --w3tc --wpfc --pagespeed --hhvm --user --email --pass --wpredis --letsencrypt --php7"
retlist="--wpsc --w3tc --wpfc --hhvm --user --email --pass --wpredis --letsencrypt --php7"
elif [ ${COMP_WORDS[2]} == "update" ]; then
retlist="--w3tc --wpfc --wpsc --php7 --php7=off --pagespeed --hhvm --pagespeed=off --hhvm=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
retlist="--w3tc --wpfc --wpsc --php7 --php7=off --hhvm --hhvm=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
else
retlist=""
fi
Expand All @@ -252,9 +252,9 @@ _ee_complete()
-- $cur) )
;;

"--pagespeed" | "--hhvm" | "--wpredis" | "--w3tc" | "--wpfc" | "--wpsc" | "--wpsubdir" | "--wpsubdomain" | "--user" | "--pass" | "--email" | "--wp")
"--hhvm" | "--wpredis" | "--w3tc" | "--wpfc" | "--wpsc" | "--wpsubdir" | "--wpsubdomain" | "--user" | "--pass" | "--email" | "--wp")
if [ ${COMP_WORDS[2]} == "create" ]; then
retlist="--user --pass --email --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --pagespeed --experimenal --wpredis --php7 --letsencrypt "
retlist="--user --pass --email --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --experimenal --wpredis --php7 --letsencrypt "
else
retlist=""
fi
Expand All @@ -265,9 +265,9 @@ _ee_complete()
-- $cur) )
;;

"--pagespeed" | "--hhvm" | "--wpredis" | "--w3tc" | "--wpfc")
"--hhvm" | "--wpredis" | "--w3tc" | "--wpfc")
if [ ${COMP_WORDS[2]} == "update" ]; then
retlist="--password --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --hhvm=off --pagespeed --pagespeed=off --experimenal --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
retlist="--password --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --hhvm=off --experimenal --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
else
retlist=""
fi
Expand Down Expand Up @@ -320,7 +320,7 @@ _ee_complete()
elif [ ${COMP_WORDS[2]} == "delete" ]; then
retlist="--db --files --force"
elif [ ${COMP_WORDS[2]} == "update" ]; then
retlist="--password --php --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --hhvm=off --pagespeed --pagespeed=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
retlist="--password --php --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --hhvm=off --wpredis --letsencrypt --letsencrypt=off --letsencrypt=renew"
else
retlist=""
fi
Expand All @@ -330,8 +330,8 @@ _ee_complete()
-- $cur) )
;;

"--memcache" | "--opcache" | "--fastcgi" | "--all" | "--redis" | "--pagespeed")
retlist="--memcache --opcache --fastcgi --pagespeed --redis --all"
"--memcache" | "--opcache" | "--fastcgi" | "--all" | "--redis")
retlist="--memcache --opcache --fastcgi --redis --all"
ret="${retlist[@]/$prev}"
COMPREPLY=( $(compgen \
-W "$(echo $ret)" \
Expand Down Expand Up @@ -369,7 +369,7 @@ _ee_complete()
case "$mprev" in
"--user" | "--email" | "--pass")
if [ ${COMP_WORDS[2]} == "create" ]; then
retlist="--user --pass --email --html --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --pagespeed --wpredis --letsencrypt"
retlist="--user --pass --email --html --php --php7 --mysql --wp --wpsubdir --wpsubdomain --w3tc --wpfc --wpsc --hhvm --wpredis --letsencrypt"
fi
ret="${retlist[@]/$prev}"
COMPREPLY=( $(compgen \
Expand Down
Loading

0 comments on commit 9fbb283

Please sign in to comment.