File tree Expand file tree Collapse file tree 7 files changed +22
-16
lines changed Expand file tree Collapse file tree 7 files changed +22
-16
lines changed Original file line number Diff line number Diff line change 1+ v3.8.1 - May 30, 2018
2+ - Fix update command
3+ - Fix issue with admin tools urls
4+
15v3.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
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff line change 4848# Define variables for later use
4949ee_branch=$1
5050readonly ee_version_old=" 2.2.3"
51- readonly ee_version_new=" 3.8.0 "
51+ readonly ee_version_new=" 3.8.1 "
5252readonly ee_log_dir=/var/log/ee/
5353readonly ee_install_log=/var/log/ee/install.log
5454readonly ee_linux_distro=$( lsb_release -i | awk ' {print $3}' )
Original file line number Diff line number Diff line change 5858 shutil .copy2 (os .path .expanduser ("~" )+ '/.gitconfig' , '/root/.gitconfig' )
5959
6060setup (name = 'ee' ,
61- version = '3.8.0 ' ,
61+ version = '3.8.1 ' ,
6262 description = long_description ,
6363 long_description = long_description ,
6464 classifiers = [],
You can’t perform that action at this time.
0 commit comments