Serghey Rodin пре 10 година
родитељ
комит
95aab70c3e

+ 1 - 1
src/deb/nginx/control

@@ -1,7 +1,7 @@
 Source: vesta-nginx
 Source: vesta-nginx
 Package: vesta-nginx
 Package: vesta-nginx
 Priority: optional
 Priority: optional
-Version: 0.9.7-3
+Version: 0.9.8-15
 Section: admin
 Section: admin
 Maintainer: Serghey Rodin <skid@vestacp.com>
 Maintainer: Serghey Rodin <skid@vestacp.com>
 Homepage: http://vestacp.com
 Homepage: http://vestacp.com

+ 1 - 1
src/deb/php/control

@@ -1,7 +1,7 @@
 Source: vesta-php
 Source: vesta-php
 Package: vesta-php
 Package: vesta-php
 Priority: optional
 Priority: optional
-Version: 0.9.7-3
+Version: 0.9.8-15
 Section: admin
 Section: admin
 Maintainer: Serghey Rodin <skid@vestacp.com>
 Maintainer: Serghey Rodin <skid@vestacp.com>
 Homepage: http://vestacp.com
 Homepage: http://vestacp.com

+ 1 - 1
src/deb/vesta/control

@@ -1,7 +1,7 @@
 Source: vesta
 Source: vesta
 Package: vesta
 Package: vesta
 Priority: optional
 Priority: optional
-Version: 0.9.8-14
+Version: 0.9.8-15
 Section: admin
 Section: admin
 Maintainer: Serghey Rodin <skid@vestacp.com>
 Maintainer: Serghey Rodin <skid@vestacp.com>
 Homepage: http://vestacp.com
 Homepage: http://vestacp.com

+ 3 - 24
src/deb/vesta/postinst

@@ -1,34 +1,13 @@
 #!/bin/bash
 #!/bin/bash
 
 
-# Run fwd_only trigger
-if [ -x "/usr/local/vesta/upd/add_fwd_only.sh" ]; then
-    /usr/local/vesta/upd/add_fwd_only.sh
-fi
-
-# Run exim permission fixer
-if [ -x "/usr/local/vesta/upd/fix_exim_permissions.sh" ]; then
-    /usr/local/vesta/upd/fix_exim_permissions.sh
-fi
-
-# Run vesta permission fixer
-if [ -x "/usr/local/vesta/upd/fix_vesta_ssl_permissions.sh" ]; then
-    /usr/local/vesta/upd/fix_vesta_ssl_permissions.sh
-fi
-
-# Run MySQL autostart fixed
-if [ -x "/usr/local/vesta/upd/fix_mysql_startup.sh" ]; then
-    /usr/local/vesta/upd/fix_mysql_startup.sh
-fi
-
 # Run SUDO trigger
 # Run SUDO trigger
 if [ -x "/usr/local/vesta/upd/add_sudo.sh" ]; then
 if [ -x "/usr/local/vesta/upd/add_sudo.sh" ]; then
     /usr/local/vesta/upd/add_sudo.sh
     /usr/local/vesta/upd/add_sudo.sh
 fi
 fi
 
 
-# Run Firewall trigger
-if [ -x "/usr/local/vesta/upd/add_firewall.sh" ]; then
-    /usr/local/vesta/upd/add_firewall.sh
+# Run Notification trigger
+if [ -x "/usr/local/vesta/upd/add_notifications.sh" ]; then
+    /usr/local/vesta/upd/add_notifications.sh
 fi
 fi
 
 
-
 exit 0
 exit 0

+ 8 - 5
src/rpm/conf/php-fpm.conf

@@ -490,8 +490,11 @@ env[LANG] = en_US.UTF-8
 
 
 ; Default Value: nothing is defined by default except the values in php.ini and
 ; Default Value: nothing is defined by default except the values in php.ini and
 ;                specified at startup with the -d argument
 ;                specified at startup with the -d argument
-;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
-;php_flag[display_errors] = off
-;php_admin_value[error_log] = /var/log/fpm-php.www.log
-;php_admin_flag[log_errors] = on
-;php_admin_value[memory_limit] = 32M
+php_flag[display_errors] = off
+php_admin_value[error_log] = /usr/local/vesta/log/fpm-php.log
+php_admin_flag[log_errors] = on
+php_admin_value[memory_limit] = 256M
+php_admin_value[post_max_size] = 512M
+php_admin_value[upload_max_filesize] = 512M
+php_admin_value[max_execution_time] = 600
+php_admin_value[max_input_time] = 600

+ 1 - 1
src/rpm/specs/vesta-nginx.spec

@@ -1,6 +1,6 @@
 Name:           vesta-nginx
 Name:           vesta-nginx
 Version:        0.9.8
 Version:        0.9.8
-Release:        3
+Release:        15
 Summary:        Vesta Control Panel
 Summary:        Vesta Control Panel
 Group:          System Environment/Base
 Group:          System Environment/Base
 License:        BSD-like
 License:        BSD-like

+ 1 - 1
src/rpm/specs/vesta-php.spec

@@ -1,6 +1,6 @@
 Name:           vesta-php
 Name:           vesta-php
 Version:        0.9.8
 Version:        0.9.8
-Release:        2
+Release:        15
 Summary:        Vesta Control Panel
 Summary:        Vesta Control Panel
 Group:          System Environment/Base
 Group:          System Environment/Base
 License:        GPL
 License:        GPL

+ 29 - 15
src/rpm/specs/vesta.spec

@@ -1,6 +1,6 @@
 Name:           vesta
 Name:           vesta
 Version:        0.9.8
 Version:        0.9.8
-Release:        14
+Release:        15
 Summary:        Vesta Control Panel
 Summary:        Vesta Control Panel
 Group:          System Environment/Base
 Group:          System Environment/Base
 License:        GPL
 License:        GPL
@@ -30,23 +30,11 @@ rm -rf %{buildroot}
 
 
 %post
 %post
 if [ $1 -ge 2 ]; then
 if [ $1 -ge 2 ]; then
-    if [ -e /usr/local/vesta/upd/convert_templates.sh ]; then
-        /usr/local/vesta/upd/convert_templates.sh
-    fi
-    if [ -e /usr/local/vesta/upd/convert_webip.sh ]; then
-        /usr/local/vesta/upd/convert_webip.sh
-    fi
-    if [ -e /usr/local/vesta/upd/add_fwd_only.sh ]; then
-        /usr/local/vesta/upd/add_fwd_only.sh
-    fi
-    if [ -e /usr/local/vesta/upd/fix_vesta_ssl_permissions.sh ]; then
-        /usr/local/vesta/upd/fix_vesta_ssl_permissions.sh
-    fi
     if [ -e /usr/local/vesta/upd/add_sudo.sh ]; then
     if [ -e /usr/local/vesta/upd/add_sudo.sh ]; then
         /usr/local/vesta/upd/add_sudo.sh
         /usr/local/vesta/upd/add_sudo.sh
     fi
     fi
-    if [ -e /usr/local/vesta/upd/add_firewall.sh ]; then
-        /usr/local/vesta/upd/add_firewall.sh
+    if [ -e /usr/local/vesta/upd/add_notifications.sh ]; then
+        /usr/local/vesta/upd/add_notifications.sh
     fi
     fi
 fi
 fi
 %files
 %files
@@ -62,6 +50,32 @@ fi
 %config(noreplace) %{_vestadir}/web/css/uploadify.css
 %config(noreplace) %{_vestadir}/web/css/uploadify.css
 
 
 %changelog
 %changelog
+* Fri Nov 06 2015 Serghey Rodin <builder@vestacp.com> - 0.9.8-15
+- File Manager (commercial plugin)
+- SFTP Chroot (commercial plugin)
+- Monitoring Tools: top/free/df/server-status/mysql-status/etc
+- New installer
+- Improved PHP-FPM support
+- UI: Notification center
+- UI: Starred objects
+- UI: Object sorting
+- UI: HotKeys suport
+- UI: Mail account settings JS hint
+- UI: Autofocus on first input when adding/editing
+- UI: Up to 8 nameserver dns support
+- Core: Improved system logger, domain adding api and backup routine
+- Japanese language support. Thanks to Flatta
+- Polish language support. Thanks to MarPiRK
+- Vietnamese language support. Thanks to Nguyen Ngoc Phuong
+- Security Fix: Command Injection and XSS Thanks to Global IT
+- BugFix: DNS Cluster SOA synchronization
+- BugFix: Bulk Operation
+- BugFix: Backup exclusions
+- BugFix: Domain validation
+- BugFix: FTP user name prefix
+- BugFix: Fail2Ban manager
+- BugFix: Service manager
+
 * Wed Jun 03 2015 Serghey Rodin <builder@vestacp.com> - 0.9.8-13
 * Wed Jun 03 2015 Serghey Rodin <builder@vestacp.com> - 0.9.8-13
 - New UI
 - New UI
 - PHP-FPM support
 - PHP-FPM support

+ 10 - 0
upd/add_notifications.sh

@@ -0,0 +1,10 @@
+#!/bin/bash
+# Add notifications
+
+if [ ! -e '/usr/local/vesta/data/users/admin/notifications.conf' ]; then
+    /usr/local/vesta/bin/v-add-user-notification admin "File Manager" "Browse, coppy, edit, view, and retrieve all of your web domain files using fully featured File Manager. Plugin is avaiable for <a href='/edit/server/?lead=filemanager#module-filemanager'>purchase</a>" 'filemanager'
+    /usr/local/vesta/bin/v-add-user-notification admin "Chroot SFTP" "If you want have SFTP accounts that will be used only to transfer files (and not to ssh), you can  <a href='/edit/server/?lead=filemanager#module-sftp'>purchase</a> SFTP Chroot plugin."
+    /usr/local/vesta/bin/v-add-user-notification admin "Starred Objects" "Use stars to easily mark certain object as important or to indicate that you need to do something about it later." 'starred'
+    /usr/local/vesta/bin/v-add-user-notification admin "Monitoring Tools" "This module answers common performance, health, usage and monitoring questions. <a href='/list/server/?cpu'> Server -> Show CPU, Memory, Disk usage</a>"
+    /usr/local/vesta/bin/v-add-user-notification admin "Release 0.9.8-15" "New version is cool. A lot of work has been put in the user experience and stability. Check out <a href='http://vestacp.com/roadmap/#0.9.8-15'>release notes</a>"
+fi

+ 13 - 5
upd/add_sudo.sh

@@ -1,10 +1,18 @@
 #!/bin/bash
 #!/bin/bash
+# New sudoers format
 
 
-if [ ! -e /etc/sudoers.d/admin ]; then
-    echo "# Created by vesta update-trigger" > /etc/sudoers.d/admin
-    echo "# $(date)" >> /etc/sudoers.d/admin
-    echo "admin   ALL=(ALL)       ALL" >> /etc/sudoers.d/admin
-    echo "admin   ALL=NOPASSWD:/usr/local/vesta/bin/*" >> /etc/sudoers.d/admin
+if [ ! -e '/etc/sudoers.d/admin' ]; then
+    if [ ! -d '/etc/sudoers.d' ]; then
+        mkidr /etc/sudoers.d
+        chmod 750 /etc/sudoers.d
+    fi
+    echo '# Created by vesta update-trigger' > /etc/sudoers.d/admin
+    echo 'Defaults env_keep="VESTA"' >> /etc/sudoers.d/admin
+    echo 'Defaults:admin !syslog' >> /etc/sudoers.d/admin
+    echo 'Defaults:admin !requiretty' >> /etc/sudoers.d/admin
+    echo '' >> /etc/sudoers.d/admin
+    echo 'admin   ALL=(ALL)       ALL' >> /etc/sudoers.d/admin
+    echo 'admin   ALL=NOPASSWD:/usr/local/vesta/bin/*' >> /etc/sudoers.d/admin
     chmod 440 /etc/sudoers.d/admin
     chmod 440 /etc/sudoers.d/admin
 
 
     if [ -z "$(grep /etc/sudoers.d /etc/sudoers)" ]; then
     if [ -z "$(grep /etc/sudoers.d /etc/sudoers)" ]; then