Skip to content

Commit 4b3a61a

Browse files
committed
Update EasyEngine version to 3.8.1
2 parents dc85ba1 + 0374c2d commit 4b3a61a

File tree

7 files changed

+22
-16
lines changed

7 files changed

+22
-16
lines changed

CHANGELOG.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
v3.8.1 - May 30, 2018
2+
- Fix update command
3+
- Fix issue with admin tools urls
4+
15
v3.8.0 - May 29, 2018
26
- Add support for Ubuntu 18.04 and remove support for Ubuntu 12.04
37
- Nginx build for EasyEngine updated to 1.14.0

ee/cli/templates/locations-php7.mustache

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,28 @@ if ($uri ~* "^.+(readme|license|example)\.(txt|html)$") {
4141
return 403;
4242
}
4343
# Status pages
44-
location /nginx_status {
44+
location = /nginx_status {
4545
stub_status on;
4646
access_log off;
4747
include common/acl.conf;
4848
}
49-
location ~ ^/(status|ping) {
49+
location ~ ^/(status|ping)$ {
5050
include fastcgi_params;
5151
fastcgi_pass php7;
5252
include common/acl.conf;
5353
}
5454
# EasyEngine (ee) utilities
5555
# phpMyAdmin settings
56-
location /pma {
56+
location = /pma {
5757
return 301 https://$host:22222/db/pma;
5858
}
59-
location /phpMyAdmin {
59+
location = /phpMyAdmin {
6060
return 301 https://$host:22222/db/pma;
6161
}
62-
location /phpmyadmin {
62+
location = /phpmyadmin {
6363
return 301 https://$host:22222/db/pma;
6464
}
6565
# Adminer settings
66-
location /adminer {
66+
location = /adminer {
6767
return 301 https://$host:22222/db/adminer;
6868
}

ee/cli/templates/locations.mustache

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,28 @@ if ($uri ~* "^.+(readme|license|example)\.(txt|html)$") {
4141
return 403;
4242
}
4343
# Status pages
44-
location /nginx_status {
44+
location = /nginx_status {
4545
stub_status on;
4646
access_log off;
4747
include common/acl.conf;
4848
}
49-
location ~ ^/(status|ping) {
49+
location ~ ^/(status|ping)$ {
5050
include fastcgi_params;
5151
fastcgi_pass php;
5252
include common/acl.conf;
5353
}
5454
# EasyEngine (ee) utilities
5555
# phpMyAdmin settings
56-
location /pma {
56+
location = /pma {
5757
return 301 https://$host:22222/db/pma;
5858
}
59-
location /phpMyAdmin {
59+
location = /phpMyAdmin {
6060
return 301 https://$host:22222/db/pma;
6161
}
62-
location /phpmyadmin {
62+
location = /phpmyadmin {
6363
return 301 https://$host:22222/db/pma;
6464
}
6565
# Adminer settings
66-
location /adminer {
66+
location = /adminer {
6767
return 301 https://$host:22222/db/adminer;
6868
}

ee/core/download.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ def download(self, packages):
2222
if not os.path.exists(directory):
2323
os.makedirs(directory)
2424
Log.info(self, "Downloading {0:20}".format(pkg_name), end=' ')
25-
urllib.request.urlretrieve(url, filename)
25+
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0'})
26+
with urllib.request.urlopen(req) as response, open(filename, 'wb') as out_file:
27+
out_file.write(response.read())
2628
Log.info(self, "{0}".format("[" + Log.ENDC + "Done"
2729
+ Log.OKBLUE + "]"))
2830
except urllib.error.URLError as e:

ee/core/variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class EEVariables():
1212
"""Intialization of core variables"""
1313

1414
# EasyEngine version
15-
ee_version = "3.8.0"
15+
ee_version = "3.8.1"
1616
# EasyEngine packages versions
1717
ee_wp_cli = "1.5.1"
1818
ee_adminer = "4.6.2"

install

Lines changed: 1 addition & 1 deletion
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.8.0"
51+
readonly ee_version_new="3.8.1"
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}')

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.8.0',
61+
version='3.8.1',
6262
description=long_description,
6363
long_description=long_description,
6464
classifiers=[],

0 commit comments

Comments
 (0)