Skip to content

Commit 95aab70

Browse files
committed
Release 0.9.8-15
1 parent cdcda8d commit 95aab70

File tree

10 files changed

+68
-54
lines changed

10 files changed

+68
-54
lines changed

src/deb/nginx/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: vesta-nginx
22
Package: vesta-nginx
33
Priority: optional
4-
Version: 0.9.7-3
4+
Version: 0.9.8-15
55
Section: admin
66
Maintainer: Serghey Rodin <skid@vestacp.com>
77
Homepage: http://vestacp.com

src/deb/php/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: vesta-php
22
Package: vesta-php
33
Priority: optional
4-
Version: 0.9.7-3
4+
Version: 0.9.8-15
55
Section: admin
66
Maintainer: Serghey Rodin <skid@vestacp.com>
77
Homepage: http://vestacp.com

src/deb/vesta/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: vesta
22
Package: vesta
33
Priority: optional
4-
Version: 0.9.8-14
4+
Version: 0.9.8-15
55
Section: admin
66
Maintainer: Serghey Rodin <skid@vestacp.com>
77
Homepage: http://vestacp.com

src/deb/vesta/postinst

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,13 @@
11
#!/bin/bash
22

3-
# Run fwd_only trigger
4-
if [ -x "/usr/local/vesta/upd/add_fwd_only.sh" ]; then
5-
/usr/local/vesta/upd/add_fwd_only.sh
6-
fi
7-
8-
# Run exim permission fixer
9-
if [ -x "/usr/local/vesta/upd/fix_exim_permissions.sh" ]; then
10-
/usr/local/vesta/upd/fix_exim_permissions.sh
11-
fi
12-
13-
# Run vesta permission fixer
14-
if [ -x "/usr/local/vesta/upd/fix_vesta_ssl_permissions.sh" ]; then
15-
/usr/local/vesta/upd/fix_vesta_ssl_permissions.sh
16-
fi
17-
18-
# Run MySQL autostart fixed
19-
if [ -x "/usr/local/vesta/upd/fix_mysql_startup.sh" ]; then
20-
/usr/local/vesta/upd/fix_mysql_startup.sh
21-
fi
22-
233
# Run SUDO trigger
244
if [ -x "/usr/local/vesta/upd/add_sudo.sh" ]; then
255
/usr/local/vesta/upd/add_sudo.sh
266
fi
277

28-
# Run Firewall trigger
29-
if [ -x "/usr/local/vesta/upd/add_firewall.sh" ]; then
30-
/usr/local/vesta/upd/add_firewall.sh
8+
# Run Notification trigger
9+
if [ -x "/usr/local/vesta/upd/add_notifications.sh" ]; then
10+
/usr/local/vesta/upd/add_notifications.sh
3111
fi
3212

33-
3413
exit 0

src/rpm/conf/php-fpm.conf

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,11 @@ env[LANG] = en_US.UTF-8
490490

491491
; Default Value: nothing is defined by default except the values in php.ini and
492492
; specified at startup with the -d argument
493-
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
494-
;php_flag[display_errors] = off
495-
;php_admin_value[error_log] = /var/log/fpm-php.www.log
496-
;php_admin_flag[log_errors] = on
497-
;php_admin_value[memory_limit] = 32M
493+
php_flag[display_errors] = off
494+
php_admin_value[error_log] = /usr/local/vesta/log/fpm-php.log
495+
php_admin_flag[log_errors] = on
496+
php_admin_value[memory_limit] = 256M
497+
php_admin_value[post_max_size] = 512M
498+
php_admin_value[upload_max_filesize] = 512M
499+
php_admin_value[max_execution_time] = 600
500+
php_admin_value[max_input_time] = 600

src/rpm/specs/vesta-nginx.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: vesta-nginx
22
Version: 0.9.8
3-
Release: 3
3+
Release: 15
44
Summary: Vesta Control Panel
55
Group: System Environment/Base
66
License: BSD-like

src/rpm/specs/vesta-php.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: vesta-php
22
Version: 0.9.8
3-
Release: 2
3+
Release: 15
44
Summary: Vesta Control Panel
55
Group: System Environment/Base
66
License: GPL

src/rpm/specs/vesta.spec

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Name: vesta
22
Version: 0.9.8
3-
Release: 14
3+
Release: 15
44
Summary: Vesta Control Panel
55
Group: System Environment/Base
66
License: GPL
@@ -30,23 +30,11 @@ rm -rf %{buildroot}
3030

3131
%post
3232
if [ $1 -ge 2 ]; then
33-
if [ -e /usr/local/vesta/upd/convert_templates.sh ]; then
34-
/usr/local/vesta/upd/convert_templates.sh
35-
fi
36-
if [ -e /usr/local/vesta/upd/convert_webip.sh ]; then
37-
/usr/local/vesta/upd/convert_webip.sh
38-
fi
39-
if [ -e /usr/local/vesta/upd/add_fwd_only.sh ]; then
40-
/usr/local/vesta/upd/add_fwd_only.sh
41-
fi
42-
if [ -e /usr/local/vesta/upd/fix_vesta_ssl_permissions.sh ]; then
43-
/usr/local/vesta/upd/fix_vesta_ssl_permissions.sh
44-
fi
4533
if [ -e /usr/local/vesta/upd/add_sudo.sh ]; then
4634
/usr/local/vesta/upd/add_sudo.sh
4735
fi
48-
if [ -e /usr/local/vesta/upd/add_firewall.sh ]; then
49-
/usr/local/vesta/upd/add_firewall.sh
36+
if [ -e /usr/local/vesta/upd/add_notifications.sh ]; then
37+
/usr/local/vesta/upd/add_notifications.sh
5038
fi
5139
fi
5240
%files
@@ -62,6 +50,32 @@ fi
6250
%config(noreplace) %{_vestadir}/web/css/uploadify.css
6351

6452
%changelog
53+
* Fri Nov 06 2015 Serghey Rodin <builder@vestacp.com> - 0.9.8-15
54+
- File Manager (commercial plugin)
55+
- SFTP Chroot (commercial plugin)
56+
- Monitoring Tools: top/free/df/server-status/mysql-status/etc
57+
- New installer
58+
- Improved PHP-FPM support
59+
- UI: Notification center
60+
- UI: Starred objects
61+
- UI: Object sorting
62+
- UI: HotKeys suport
63+
- UI: Mail account settings JS hint
64+
- UI: Autofocus on first input when adding/editing
65+
- UI: Up to 8 nameserver dns support
66+
- Core: Improved system logger, domain adding api and backup routine
67+
- Japanese language support. Thanks to Flatta
68+
- Polish language support. Thanks to MarPiRK
69+
- Vietnamese language support. Thanks to Nguyen Ngoc Phuong
70+
- Security Fix: Command Injection and XSS Thanks to Global IT
71+
- BugFix: DNS Cluster SOA synchronization
72+
- BugFix: Bulk Operation
73+
- BugFix: Backup exclusions
74+
- BugFix: Domain validation
75+
- BugFix: FTP user name prefix
76+
- BugFix: Fail2Ban manager
77+
- BugFix: Service manager
78+
6579
* Wed Jun 03 2015 Serghey Rodin <builder@vestacp.com> - 0.9.8-13
6680
- New UI
6781
- PHP-FPM support

upd/add_notifications.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
# Add notifications
3+
4+
if [ ! -e '/usr/local/vesta/data/users/admin/notifications.conf' ]; then
5+
/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'
6+
/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."
7+
/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'
8+
/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>"
9+
/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>"
10+
fi

upd/add_sudo.sh

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
#!/bin/bash
2+
# New sudoers format
23

3-
if [ ! -e /etc/sudoers.d/admin ]; then
4-
echo "# Created by vesta update-trigger" > /etc/sudoers.d/admin
5-
echo "# $(date)" >> /etc/sudoers.d/admin
6-
echo "admin ALL=(ALL) ALL" >> /etc/sudoers.d/admin
7-
echo "admin ALL=NOPASSWD:/usr/local/vesta/bin/*" >> /etc/sudoers.d/admin
4+
if [ ! -e '/etc/sudoers.d/admin' ]; then
5+
if [ ! -d '/etc/sudoers.d' ]; then
6+
mkidr /etc/sudoers.d
7+
chmod 750 /etc/sudoers.d
8+
fi
9+
echo '# Created by vesta update-trigger' > /etc/sudoers.d/admin
10+
echo 'Defaults env_keep="VESTA"' >> /etc/sudoers.d/admin
11+
echo 'Defaults:admin !syslog' >> /etc/sudoers.d/admin
12+
echo 'Defaults:admin !requiretty' >> /etc/sudoers.d/admin
13+
echo '' >> /etc/sudoers.d/admin
14+
echo 'admin ALL=(ALL) ALL' >> /etc/sudoers.d/admin
15+
echo 'admin ALL=NOPASSWD:/usr/local/vesta/bin/*' >> /etc/sudoers.d/admin
816
chmod 440 /etc/sudoers.d/admin
917

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

0 commit comments

Comments
 (0)