Skip to content

Commit fce17cd

Browse files
committed
Merge tag 'v3.5.6' into develop
EasyEngine v3.5.6
2 parents 93df360 + 4b229ea commit fce17cd

File tree

5 files changed

+20
-7
lines changed

5 files changed

+20
-7
lines changed

CHANGELOG.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v3.5.6 - May 5, 2016
2+
- Patch for ImageMagick vulnerability CVE-2016–3714 - https://imagetragick.com/
3+
- Minor Fix for letsencrypt
4+
15
v3.5.5 - Apr 13, 2016
26
- WP-CLI support for wordpress v4.5, PR #701
37
- PR #686

ee/cli/plugins/site.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ def doupdatesite(self, pargs):
11751175
if (expiry_days <= min_expiry_days):
11761176
renewLetsEncrypt(self,ee_domain)
11771177
else:
1178-
Log.error(self,"More than 60 days left for certificate Expiry. Not renewing now.")
1178+
Log.error(self,"More than 30 days left for certificate Expiry. Not renewing now.")
11791179

11801180
else:
11811181
Log.error(self,"Cannot RENEW ! SSL is not configured for given site .")
@@ -1219,6 +1219,7 @@ def doupdatesite(self, pargs):
12191219
Log.error(self, "SSl is not configured for given "
12201220
"site",False)
12211221
return 0
1222+
pass
12221223

12231224
if pargs.letsencrypt:
12241225
if pargs.letsencrypt == 'on':

ee/core/variables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ class EEVariables():
1212
"""Intialization of core variables"""
1313

1414
# EasyEngine version
15-
ee_version = "3.5.5"
15+
ee_version = "3.5.6"
1616

1717

1818
# EasyEngine packages versions
19-
ee_wp_cli = "0.22.0"
19+
ee_wp_cli = "0.23.0"
2020
ee_adminer = "4.2.1"
2121
ee_roundcube = "1.1.4"
2222
# ee_vimbadmin = "3.0.12"

install

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fi
4848
# Define variables for later use
4949
ee_branch=$1
5050
readonly ee_version_old="2.2.3"
51-
readonly ee_version_new="3.5.5"
51+
readonly ee_version_new="3.5.6"
5252
readonly ee_log_dir=/var/log/ee/
5353
readonly ee_install_log=/var/log/ee/install.log
5454
readonly ee_linux_distro=$(lsb_release -i | awk '{print $3}')
@@ -87,7 +87,6 @@ fi
8787
# Generate Locale
8888
function ee_install_dep()
8989
{
90-
ee_lib_echo "Installing required packages, please wait..."
9190
if [ "$ee_linux_distro" == "Ubuntu" ]; then
9291
apt-get -y install gcc curl gzip python3 python3-apt python3-setuptools python3-dev sqlite3 git tar python-software-properties software-properties-common || ee_lib_error "Unable to install pre depedencies, exit status " 1
9392
elif [ "$ee_linux_distro" == "Debian" ]; then
@@ -234,7 +233,7 @@ function ee_update_wp_cli()
234233
if [ "${WP_CLI_PATH}" != "" ]; then
235234
# Get WP-CLI version
236235
WP_CLI_VERSION=$(${PHP_PATH} ${WP_CLI_PATH} --allow-root cli version | awk '{ print $2 }')
237-
dpkg --compare-versions ${WP_CLI_VERSION} lt 0.21.1
236+
dpkg --compare-versions ${WP_CLI_VERSION} lt 0.23.0
238237
# Update WP-CLI version
239238
if [ "$?" == "0" ]; then
240239
wget -qO ${WP_CLI_PATH} https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
@@ -365,6 +364,15 @@ function ee_upgrade_php(){
365364

366365
function ee_update_latest()
367366
{
367+
if [ -f /etc/ImageMagick/policy.xml ]
368+
then
369+
if [ ! -f /etc/ImageMagick/patch.txt ]
370+
then
371+
echo -e "\t<policy domain="coder" rights="none" pattern="EPHEMERAL" />\n\t<policy domain="coder" rights="none" pattern="URL" />\n\t<policy domain="coder" rights="none" pattern="HTTPS" />\n\t<policy domain="coder" rights="none" pattern="MVG" />\n\t<policy domain="coder" rights="none" pattern="MSL" />" >> /etc/ImageMagick/patch.txt
372+
sed -i '/<policymap>/r /etc/ImageMagick/patch.txt' /etc/ImageMagick/policy.xml
373+
fi
374+
fi
375+
368376
#Move ~/.my.cnf to /etc/mysql/conf.d/my.cnf
369377
if [ ! -f /etc/mysql/conf.d/my.cnf ]
370378
then

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
shutil.copy2(os.path.expanduser("~")+'/.gitconfig', '/root/.gitconfig')
5959

6060
setup(name='ee',
61-
version='3.5.5',
61+
version='3.5.6',
6262
description=long_description,
6363
long_description=long_description,
6464
classifiers=[],

0 commit comments

Comments
 (0)