Skip to content

Commit

Permalink
Release 0.9.8-15
Browse files Browse the repository at this point in the history
  • Loading branch information
serghey-rodin committed Nov 5, 2015
1 parent cdcda8d commit 95aab70
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 54 deletions.
2 changes: 1 addition & 1 deletion src/deb/nginx/control
@@ -1,7 +1,7 @@
Source: vesta-nginx
Package: vesta-nginx
Priority: optional
Version: 0.9.7-3
Version: 0.9.8-15
Section: admin
Maintainer: Serghey Rodin <skid@vestacp.com>
Homepage: http://vestacp.com
Expand Down
2 changes: 1 addition & 1 deletion src/deb/php/control
@@ -1,7 +1,7 @@
Source: vesta-php
Package: vesta-php
Priority: optional
Version: 0.9.7-3
Version: 0.9.8-15
Section: admin
Maintainer: Serghey Rodin <skid@vestacp.com>
Homepage: http://vestacp.com
Expand Down
2 changes: 1 addition & 1 deletion src/deb/vesta/control
@@ -1,7 +1,7 @@
Source: vesta
Package: vesta
Priority: optional
Version: 0.9.8-14
Version: 0.9.8-15
Section: admin
Maintainer: Serghey Rodin <skid@vestacp.com>
Homepage: http://vestacp.com
Expand Down
27 changes: 3 additions & 24 deletions src/deb/vesta/postinst
@@ -1,34 +1,13 @@
#!/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
if [ -x "/usr/local/vesta/upd/add_sudo.sh" ]; then
/usr/local/vesta/upd/add_sudo.sh
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


exit 0
13 changes: 8 additions & 5 deletions src/rpm/conf/php-fpm.conf
Expand Up @@ -490,8 +490,11 @@ env[LANG] = en_US.UTF-8

; Default Value: nothing is defined by default except the values in php.ini and
; 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
2 changes: 1 addition & 1 deletion src/rpm/specs/vesta-nginx.spec
@@ -1,6 +1,6 @@
Name: vesta-nginx
Version: 0.9.8
Release: 3
Release: 15
Summary: Vesta Control Panel
Group: System Environment/Base
License: BSD-like
Expand Down
2 changes: 1 addition & 1 deletion src/rpm/specs/vesta-php.spec
@@ -1,6 +1,6 @@
Name: vesta-php
Version: 0.9.8
Release: 2
Release: 15
Summary: Vesta Control Panel
Group: System Environment/Base
License: GPL
Expand Down
44 changes: 29 additions & 15 deletions src/rpm/specs/vesta.spec
@@ -1,6 +1,6 @@
Name: vesta
Version: 0.9.8
Release: 14
Release: 15
Summary: Vesta Control Panel
Group: System Environment/Base
License: GPL
Expand Down Expand Up @@ -30,23 +30,11 @@ rm -rf %{buildroot}

%post
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
/usr/local/vesta/upd/add_sudo.sh
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
%files
Expand All @@ -62,6 +50,32 @@ fi
%config(noreplace) %{_vestadir}/web/css/uploadify.css

%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
- New UI
- PHP-FPM support
Expand Down
10 changes: 10 additions & 0 deletions 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
18 changes: 13 additions & 5 deletions upd/add_sudo.sh
@@ -1,10 +1,18 @@
#!/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

if [ -z "$(grep /etc/sudoers.d /etc/sudoers)" ]; then
Expand Down

0 comments on commit 95aab70

Please sign in to comment.