Skip to content

Commit 16e41ab

Browse files
authored
Merge pull request hestiacp#2 from hestiacp/master
Sync with official master
2 parents 77a09a1 + a034e4b commit 16e41ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+598
-232
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ All notable changes to this project will be documented in this file.
1111
- Refactored MultiPHP functionality. MultiPHP will be enabled by default on new installations.
1212
- Allowed admin user to add or remove PHP versions from webui (edit/server->"Web Server" page).
1313
- Extended v-extract-fs-archive to allow archive testing and extracting only specific paths (for tar)
14-
- Added file manager (Tiny File Manager).
1514
- Allow renaming of existing packages from console (v-rename-package).
1615
- Webmail IP address is now inherited from web domain when using multiple IPs.
1716
- Exim now uses the web domain IP if it exists.
1817
- Public IP is now used when updating webmail DNS record.
1918
- Added PHP 7.4 to MultiPHP.
19+
- Add Support for Debian 10 (Buster).
2020

2121
### Bugfixes
2222
- Added a detection of web root for add .well-known ACME challenge.
@@ -61,6 +61,14 @@ All notable changes to this project will be documented in this file.
6161
- Re-Enable force ssl function on let's encrypt certification renew.
6262
- Added official postgresql repository to be up to date.
6363
- Hardening MySQL configuration, prevent local infile.
64+
- Fixed lograte bug and cleans up the messed up nginx/apache2 log permissions.
65+
- Fixed IfModule mpm_itk.c for apache2 templates.
66+
- Added mpm_itk for Deb10 single php installation only.
67+
- Hardening nginx configuration, drop TLSv1.1 support.
68+
- Fixed excluding folders named "logs" from restore backup, thanks to @davidgolsen.
69+
- Fixed typo in delete psql database part, thanks to @joshbmarshall.
70+
- Split long txt records to 255 chunks to prevent bind issues, thanks to @setiseta.
71+
- Fixed missing restart routine for vsftp on v-add-letsencrypt-host.
6472

6573
## [1.0.6] - 2019-09-24 - Hotfix
6674
### Bugfixes

ISSUE_TEMPLATE.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
1-
### The content below is simply a template. Please delete any unnecessary sections from your issue reports.
1+
### The content below is simply a template.
2+
3+
**To better assist in troubleshooting and aid with our debugging processes, we ask that you please delete any unnecessary sections below when filling out your issue report.**
4+
5+
**Important: Please DO NOT include any personal or sensitive information in your issue reports, including usernames, passwords, or email addresses.**
26

37
### In a few words, please describe the issue that you're experiencing:
4-
Please enter your response here (e.g. When I click on the Web tab, a blank page is displayed).
8+
Please enter your response here (e.g. When I try adding a web domain, an error message appeared stating that the php-fpm pool did not exist).
59

610
### What steps did you take when the issue occured?
711
1. Ex.: Log into the Hestia Control Panel using Firefox
812
2. Ex.: Click on the Web tab
9-
3. ...
13+
3. Ex.: Click on Add Web Domain
14+
4. Ex.: Attempted to add a domain and received an error.
1015

1116
### Expected behavior:
12-
Please enter your response here (e.g. A list of hosted web domains should appear).
17+
Please enter your response here (e.g. the web domain should have been added successfully).
1318

1419
### Operating system distribution and release:
15-
Please enter your response here (e.g. Ubuntu 18.04.2 LTS)
20+
Please enter your response here (e.g. Ubuntu 18.04.3 LTS)
1621

1722
### Which version of Hestia Control Panel is currently installed?
1823
You can find this information in $HESTIA/conf/hestia.conf by running the following command:

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,17 @@
33
**Current stable release:** Version 1.0.6, released on September 26th, 2019.<br>
44
**Current development release:** Version 1.1.0, release date yet to be determined.
55

6-
**We're looking for some extra hands on deck!**
6+
**Welcome!**
77
----------------------------
8-
Are you a software developer, tester, or have experience in writing documentation or guides? Do you have some spare time to contribute and want to help further the development of Hestia Control Panel?<br><br>Please send an email to info@hestiacp.com with a quick outline of your previous experience in any of these areas or where you think you could help on the project and we'll reach out to discuss with you further.
8+
Hestia Control Panel offers easy to use web and command line interfaces, enabling web server administrators to quickly deploy and manage web domains, mail accounts, and DNS zones from one central location without the hassle of manually deploying and configuring individual components.
9+
10+
While we have taken every effort to make the interface as friendly as possible (even for new users), it is assumed that you will have some prior knowledge and understanding in the basics how to set up a Linux server and managing web applications.
11+
12+
**We cannot provide support for requests that do not describe in detail the troubleshooting that has already been performed, or for third-party applications which do not directly relate to Hestia Control Panel. Please make sure that you fill in the necessary details in your issue reports, and remove any sections that do not apply to your issue or use case.**
13+
14+
Interested in helping shape the future of Hestia Control Panel?
15+
----------------------------
16+
Are you a software developer, tester, or have experience in writing documentation or guides and have some time to contibute to the project?<br><br>Please send an email to info@hestiacp.com with a quick outline of your previous experience in any of these areas or where you think you could help on the project and we'll reach out to discuss the next steps.
917

1018
As always we welcome all feedback and contributions!
1119

@@ -67,7 +75,7 @@ You may specify a number of various flags during installation to only install th
6775
```bash
6876
bash hst-install.sh -h
6977
```
70-
Alternatively, @gabizz has made available a command-line script generator at https://gabizz.github.io/hestiacp-scriptline-generator/ which allows you to easily generate the installation command via GUI.
78+
Alternatively, @gabizz has made available a command-line script generator at https://gabizz.github.io/hestiacp-scriptline-generator/ which allows you to easily generate the installation command via GUI. (Please note that this generator still references the master branch, which is not intended for production use - see development builds below.)
7179

7280
Installing & testing development builds
7381
=============================
@@ -107,4 +115,4 @@ If you would like to help our developers cover their time and infrastucture cost
107115

108116
License
109117
=============================
110-
Hestia Control Panel is licensed under [GPL v3](https://github.com/hestiacp/hestiacp/blob/master/LICENSE) license, and is based on the [VestaCP](https://www.vestacp.com/) project.<br>
118+
Hestia Control Panel is licensed under [GPL v3](https://github.com/hestiacp/hestiacp/blob/master/LICENSE) license, and is based on the [VestaCP](https://www.vestacp.com/) project.<br>

bin/v-add-letsencrypt-host

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,15 @@ fi
6868
if [ "$add_ssl" = "yes" ]; then
6969
# Add let's encrypt ssl
7070
$BIN/v-add-letsencrypt-domain $user $domain
71+
check_result $? "Let's Encrypt SSL creation failed" $E_UPDATE
7172
fi
7273

7374
# Add certificate to backend
7475
$BIN/v-update-host-certificate $user $domain
7576

7677
# Enable automatic ssl forward and hsts
77-
$BIN/v-add-web-domain-ssl-force $user $domain
78-
$BIN/v-add-web-domain-ssl-hsts $user $domain
78+
$BIN/v-add-web-domain-ssl-force $user $domain > /dev/null 2>&1
79+
$BIN/v-add-web-domain-ssl-hsts $user $domain > /dev/null 2>&1
7980

8081

8182
#----------------------------------------------------------#

bin/v-add-mail-account

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
6262
if [ "$quota" = 'unlimited' ]; then
6363
quota='0'
6464
fi
65-
str="$account:$md5:$user:mail::$HOMEDIR/$user:$quota"
65+
str="$account:$md5:$user:mail::$HOMEDIR/$user::userdb_quota_rule=*:storage=${quota}M"
6666
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
6767
fi
6868

bin/v-add-sys-sftp-jail

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ done
7373

7474
# Add v-add-sys-sftp-jail to startup
7575
if [ ! -e "/etc/cron.d/hestia-sftp" ]; then
76-
echo "@reboot admin /usr/local/hestia/bin/v-add-sys-sftp-jail" > /etc/cron.d/hestia-sftp
76+
echo "@reboot root /usr/local/hestia/bin/v-add-sys-sftp-jail" > /etc/cron.d/hestia-sftp
7777
fi
7878

7979
#----------------------------------------------------------#

bin/v-add-user

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,14 @@ fi
9999

100100
# Create default writeable folders
101101
mkdir $HOMEDIR/$user/.config \
102+
$HOMEDIR/$user/.cache \
102103
$HOMEDIR/$user/.local \
103104
$HOMEDIR/$user/.composer \
104105
$HOMEDIR/$user/.ssh
105106

106107
chown $user:$user \
107108
$HOMEDIR/$user/.config \
109+
$HOMEDIR/$user/.cache \
108110
$HOMEDIR/$user/.local \
109111
$HOMEDIR/$user/.composer \
110112
$HOMEDIR/$user/.ssh

bin/v-add-web-php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ if [ ! -f "$HESTIA_INSTALL_DIR/multiphp/$WEB_SYSTEM/PHP-${version//.}.sh" ]; the
4444
exit
4545
fi
4646

47+
# Perform verification if read-only mode is enabled
48+
check_hestia_demo_mode
49+
50+
4751
#----------------------------------------------------------#
4852
# Action #
4953
#----------------------------------------------------------#

bin/v-change-mail-account-password

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ md5="{MD5}$($BIN/v-generate-password-hash md5 $salt <<<$password)"
5656

5757
if [[ "$MAIL_SYSTEM" =~ exim ]]; then
5858
sed -i "/^$account:/d" $HOMEDIR/$user/conf/mail/$domain/passwd
59-
str="$account:$md5:$user:mail::$HOMEDIR/$user:$quota"
59+
str="$account:$md5:$user:mail::$HOMEDIR/$user::userdb_quota_rule=*:storage=${quota}M"
6060
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
6161
fi
6262

bin/v-change-mail-account-quota

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ if [[ "$MAIL_SYSTEM" =~ exim ]]; then
5858
quota=0
5959
fi
6060
sed -i "/^$account:/d" $HOMEDIR/$user/conf/mail/$domain/passwd
61-
str="$account:$md5:$user:mail::$HOMEDIR/$user:$quota"
61+
str="$account:$md5:$user:mail::$HOMEDIR/$user::userdb_quota_rule=*:storage=${quota}M"
6262
echo $str >> $HOMEDIR/$user/conf/mail/$domain/passwd
6363
fi
6464

0 commit comments

Comments
 (0)