Skip to content

Commit

Permalink
Update EasyEngine version to 3.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mbtamuli committed May 30, 2018
2 parents dc85ba1 + 0374c2d commit 4b3a61a
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
v3.8.1 - May 30, 2018
- Fix update command
- Fix issue with admin tools urls

v3.8.0 - May 29, 2018
- Add support for Ubuntu 18.04 and remove support for Ubuntu 12.04
- Nginx build for EasyEngine updated to 1.14.0
Expand Down
12 changes: 6 additions & 6 deletions ee/cli/templates/locations-php7.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -41,28 +41,28 @@ if ($uri ~* "^.+(readme|license|example)\.(txt|html)$") {
return 403;
}
# Status pages
location /nginx_status {
location = /nginx_status {
stub_status on;
access_log off;
include common/acl.conf;
}
location ~ ^/(status|ping) {
location ~ ^/(status|ping)$ {
include fastcgi_params;
fastcgi_pass php7;
include common/acl.conf;
}
# EasyEngine (ee) utilities
# phpMyAdmin settings
location /pma {
location = /pma {
return 301 https://$host:22222/db/pma;
}
location /phpMyAdmin {
location = /phpMyAdmin {
return 301 https://$host:22222/db/pma;
}
location /phpmyadmin {
location = /phpmyadmin {
return 301 https://$host:22222/db/pma;
}
# Adminer settings
location /adminer {
location = /adminer {
return 301 https://$host:22222/db/adminer;
}
12 changes: 6 additions & 6 deletions ee/cli/templates/locations.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -41,28 +41,28 @@ if ($uri ~* "^.+(readme|license|example)\.(txt|html)$") {
return 403;
}
# Status pages
location /nginx_status {
location = /nginx_status {
stub_status on;
access_log off;
include common/acl.conf;
}
location ~ ^/(status|ping) {
location ~ ^/(status|ping)$ {
include fastcgi_params;
fastcgi_pass php;
include common/acl.conf;
}
# EasyEngine (ee) utilities
# phpMyAdmin settings
location /pma {
location = /pma {
return 301 https://$host:22222/db/pma;
}
location /phpMyAdmin {
location = /phpMyAdmin {
return 301 https://$host:22222/db/pma;
}
location /phpmyadmin {
location = /phpmyadmin {
return 301 https://$host:22222/db/pma;
}
# Adminer settings
location /adminer {
location = /adminer {
return 301 https://$host:22222/db/adminer;
}
4 changes: 3 additions & 1 deletion ee/core/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ def download(self, packages):
if not os.path.exists(directory):
os.makedirs(directory)
Log.info(self, "Downloading {0:20}".format(pkg_name), end=' ')
urllib.request.urlretrieve(url, filename)
req = urllib.request.Request(url, headers={'User-Agent': 'Mozilla/5.0'})
with urllib.request.urlopen(req) as response, open(filename, 'wb') as out_file:
out_file.write(response.read())
Log.info(self, "{0}".format("[" + Log.ENDC + "Done"
+ Log.OKBLUE + "]"))
except urllib.error.URLError as e:
Expand Down
2 changes: 1 addition & 1 deletion ee/core/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class EEVariables():
"""Intialization of core variables"""

# EasyEngine version
ee_version = "3.8.0"
ee_version = "3.8.1"
# EasyEngine packages versions
ee_wp_cli = "1.5.1"
ee_adminer = "4.6.2"
Expand Down
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ fi
# Define variables for later use
ee_branch=$1
readonly ee_version_old="2.2.3"
readonly ee_version_new="3.8.0"
readonly ee_version_new="3.8.1"
readonly ee_log_dir=/var/log/ee/
readonly ee_install_log=/var/log/ee/install.log
readonly ee_linux_distro=$(lsb_release -i | awk '{print $3}')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
shutil.copy2(os.path.expanduser("~")+'/.gitconfig', '/root/.gitconfig')

setup(name='ee',
version='3.8.0',
version='3.8.1',
description=long_description,
long_description=long_description,
classifiers=[],
Expand Down

0 comments on commit 4b3a61a

Please sign in to comment.