Skip to content

Commit 29b6e0f

Browse files
author
Kristan Kenney
committed
Merge branch 'main' into fix/domain-idn-handling
2 parents 9acef2c + b580819 commit 29b6e0f

File tree

87 files changed

+223
-192
lines changed

Some content is hidden

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

87 files changed

+223
-192
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Hestia Control Panel](https://www.hestiacp.com/)
44
==================================================
5-
**Latest stable release:** Version 1.3.3 | [View Changelog](https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md)<br>
5+
**Latest stable release:** Version 1.3.4 | [View Changelog](https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md)<br>
66

77
**Web:** [www.hestiacp.com](https://www.hestiacp.com/)<br>
88
**Documentation:** [docs.hestiacp.com](https://docs.hestiacp.com/)<br>

bin/v-add-sys-ip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ source $HESTIA/conf/hestia.conf
4242
#----------------------------------------------------------#
4343

4444
check_args '2' "$#" 'IP NETMASK [INTERFACE] [USER] [STATUS] [NAME] [NATED_IP] [HELO]'
45-
is_format_valid 'ip' 'netmask' 'interface' 'user' 'ip_status'
45+
is_format_valid 'ip' 'netmask' 'iface' 'user' 'ip_status'
4646
is_ip_free
4747
is_object_valid 'user' 'USER' "$user"
4848
is_object_unsuspended 'user' 'USER' "$user"

func/main.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,6 @@ is_format_valid() {
962962
host) is_object_format_valid "$arg" "$arg_name" ;;
963963
hour) is_cron_format_valid "$arg" $arg_name ;;
964964
id) is_int_format_valid "$arg" 'id' ;;
965-
interface) is_interface_format_valid "$arg" ;;
966965
iface) is_interface_format_valid "$arg" ;;
967966
ip) is_ip_format_valid "$arg" ;;
968967
ip_name) is_domain_format_valid "$arg" 'IP name';;

install/deb/themes/dark.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@ a {
7373
padding: 11px 11px;
7474
}
7575

76-
.lang-ar .l-menu__item a {
77-
line-height: 35px;
78-
}
79-
8076
.lang-de .l-menu__item a {
8177
padding: 11px 12px;
8278
}

install/upgrade/versions/1.3.4.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
# Hestia Control Panel upgrade script for target version 1.3.4
4+
5+
#######################################################################################
6+
####### Place additional commands below. #######
7+
#######################################################################################
8+
9+
echo '[ * ] Updating System Administrator account permissions...'
10+
$HESTIA/bin/v-change-user-role admin admin
11+
12+
# Send end-of-life notification to admin user on servers running Ubuntu 16.04
13+
if [ "$OS_TYPE" = "Ubuntu" ]; then
14+
if [ "$OS_VERSION" = '16.04' ]; then
15+
$HESTIA/bin/v-add-user-notification admin 'IMPORTANT: End of support for Ubuntu 16.04 LTS' '<b>Hestia Control Panel no longer supports Ubuntu 16.04 LTS</b>, as a result your server will no longer receive upgrades or security patches after <b>v1.3.4</b>.<br><br>Please upgrade to a supported operating system.'
16+
fi
17+
fi

install/upgrade/versions/1.4.0.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,6 @@ fi
107107

108108
# Fix PostgreSQL repo
109109
if [ -f /etc/apt/sources.list.d/postgresql.list ]; then
110-
echo "[*] Updating PostgreSQL repository..."
110+
echo "[ * ] Updating PostgreSQL repository..."
111111
sed -i 's|deb https://apt.postgresql.org/pub/repos/apt/|deb [arch=amd64] https://apt.postgresql.org/pub/repos/apt/|g' /etc/apt/sources.list.d/postgresql.list
112112
fi

src/deb/nginx/postinst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,15 @@ if [ ! -e "/usr/local/hestia/data/users/admin" ]; then
1515
exit
1616
fi
1717

18-
# Load hestia.conf
18+
###############################################################
19+
# Initialize functions/variables #
20+
###############################################################
21+
22+
# Load upgrade functions and variables
23+
source /usr/local/hestia/func/main.sh
24+
source /usr/local/hestia/func/upgrade.sh
1925
source /usr/local/hestia/conf/hestia.conf
26+
source /usr/local/hestia/install/upgrade/upgrade.conf
2027

2128
# Reset backend port
2229
if [ ! -z "$BACKEND_PORT" ]; then

src/deb/php/postinst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ if [ ! -e "/usr/local/hestia/data/users/admin" ]; then
1111
exit
1212
fi
1313

14+
###############################################################
15+
# Initialize functions/variables #
16+
###############################################################
17+
18+
# Load upgrade functions and variables
19+
source /usr/local/hestia/func/main.sh
20+
source /usr/local/hestia/func/upgrade.sh
21+
source /usr/local/hestia/conf/hestia.conf
22+
source /usr/local/hestia/install/upgrade/upgrade.conf
23+
1424
# Restart hestia service
1525
if [ -f "/etc/init.d/hestia" ]; then
1626
systemctl restart hestia > /dev/null 2>&1

web/css/src/styles.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,10 +1145,6 @@ form#vstobjects .alert {
11451145
text-transform: lowercase;
11461146
}
11471147

1148-
.l-stat__col span {
1149-
padding-left: 15px;
1150-
}
1151-
11521148
.l-stat__col-title {
11531149
text-transform: uppercase;
11541150
font-weight: 600;
@@ -2147,13 +2143,11 @@ body.mobile .l-unit-toolbar__col--right {
21472143
.lang-tw .actions-panel__col a {
21482144
font-size: 0.9rem;
21492145
font-weight: normal;
2150-
line-height: 29px;
21512146
}
21522147

21532148
.lang-ar .actions-panel__col a {
21542149
font-size: 0.9rem;
21552150
font-weight: normal;
2156-
line-height: 31px;
21572151
}
21582152

21592153
.l-unit__col .actions-panel .fas {

web/css/styles.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)