Skip to content

Commit ad9a801

Browse files
authored
Merge branch 'staging/features' into refactor/ui-i18n-fixes
2 parents 05de7d9 + b65ac4a commit ad9a801

Some content is hidden

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

44 files changed

+1046
-855
lines changed

CHANGELOG.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,27 @@ All notable changes to this project will be documented in this file.
99
- `UPGRADE_SEND_EMAIL` = Sends an email notification to admin email address
1010
- `UPGRADE_SEND_EMAIL_LOG` = Sends installation log output to admin email address
1111
- Upgrade process will now save logs to the `hst_backups` directory.
12+
- Support for removing backup remote location (#1083)
13+
- Add support Proftpd TLS Support
14+
- Add the possibility to assign user "Administrators" rights on login. Replaces "root" login. Notifications are only send towards the "admin" account email
1215

13-
## Bugfixes
16+
## Buggfixes
17+
- Removed root login (root / root password )
18+
- Update apache2.conf replace Include with IncludeOptional (#1072)
19+
- Add ca-certificates, software-properties-common to the dependencies (#1073 + [Forum](https://forum.hestiacp.com/t/hestiscp-fails-on-new-debian-9-vps/1623/8) ) @daniel-eder
20+
- Fixed issues with database port during backup when port was missing (#1068)
21+
- Postqresql: forbid the use of upper case (#1084) causing issues with backup / creating database or user
22+
- Fixed permissions email account during restore (#1114)
23+
- Create .npm on creating new user (#1113) @hahagu
24+
- Fixed Access to a website without a ssl certificate on https shows the content of the first, valid ssl website (#1103)
25+
- Fixed an issue when installing --with-debs and version check (#1110)
26+
- Improved Translations Chinese @myrevery
27+
- File manager create directory with proper permissions
28+
- Removed loop ad v-rebuild-all (#1096)
29+
- Add $restart flag to v-add-web-domain-backend call (#1094) (#797) @bright-soft
30+
- Fixed an issue with Restore Failed on Domains with Mail Setups using SSL (#1069)
31+
- Fixed an issue with PHPMyAdmin button (#1078)
32+
- Changed WordPress name in Webapp installer (#1074)
1433

1534
## [1.2.3] - Service Release
1635
### Features

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
**Web:** [www.hestiacp.com](https://www.hestiacp.com/)<br>
88
**Documentation:** [docs.hestiacp.com](https://docs.hestiacp.com/)<br>
9-
**Forums:** [forum.hestiacp.com](https://forum.hestiacp.com/)<br><br>
9+
**Forums:** [forum.hestiacp.com](https://forum.hestiacp.com/)<br>
10+
**Discord:** [Join HestiaCP Discord channel](https://discord.gg/nXRUZch)<br />
11+
<br>
1012
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ST87LQH2CHGLA)
1113
<br>
1214

bin/v-add-database

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ source $HESTIA/func/main.sh
3030
source $HESTIA/func/db.sh
3131
source $HESTIA/conf/hestia.conf
3232

33+
if [ "$type" = "pgsql" ]; then
34+
database=$(echo "$user"_"$2" | tr '[:upper:]' '[:lower:]');
35+
dbuser=$(echo "$user"_"$3" | tr '[:upper:]' '[:lower:]');
36+
fi
37+
3338
#----------------------------------------------------------#
3439
# Verifications #
3540
#----------------------------------------------------------#

bin/v-add-sys-ip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ if [ ! -z "$PROXY_SYSTEM" ]; then
147147
sed -e "s/%ip%/$ip/g" \
148148
-e "s/%web_port%/$WEB_PORT/g" \
149149
-e "s/%proxy_port%/$PROXY_PORT/g" \
150+
-e "s/%proxy_ssl_port%/$PROXY_SSL_PORT/g" \
150151
> /etc/$PROXY_SYSTEM/conf.d/$ip.conf
151152

152153
# mod_extract_forwarded

bin/v-add-user

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,16 @@ mkdir $HOMEDIR/$user/.config \
102102
$HOMEDIR/$user/.cache \
103103
$HOMEDIR/$user/.local \
104104
$HOMEDIR/$user/.composer \
105-
$HOMEDIR/$user/.ssh
105+
$HOMEDIR/$user/.ssh \
106+
$HOMEDIR/$user/.npm
106107

107108
chown $user:$user \
108109
$HOMEDIR/$user/.config \
109110
$HOMEDIR/$user/.cache \
110111
$HOMEDIR/$user/.local \
111112
$HOMEDIR/$user/.composer \
112-
$HOMEDIR/$user/.ssh
113+
$HOMEDIR/$user/.ssh \
114+
$HOMEDIR/$user/.npm
113115

114116
# Set permissions
115117
chmod a+x $HOMEDIR/$user
@@ -186,6 +188,7 @@ RKEY='$(generate_password)'
186188
TWOFA=''
187189
QRCODE=''
188190
PHPCLI=''
191+
ROLE='user'
189192
SUSPENDED='no'
190193
SUSPENDED_USERS='0'
191194
SUSPENDED_WEB='0'

bin/v-add-web-domain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ if [ ! -z "$WEB_BACKEND" ]; then
109109
fi
110110
fi
111111
BACKEND="$BACKEND_TEMPLATE"
112-
$BIN/v-add-web-domain-backend "$user" "$domain" $BACKEND_TEMPLATE
112+
$BIN/v-add-web-domain-backend "$user" "$domain" $BACKEND_TEMPLATE $restart
113113
check_result $? "Backend error" >/dev/null
114114
fi
115115

0 commit comments

Comments
 (0)