Skip to content

Commit 3af4b57

Browse files
committed
Merge branch 'staging/1.5.4' into main
2 parents 1f7c026 + 3c9ba6b commit 3af4b57

File tree

8 files changed

+76
-18
lines changed

8 files changed

+76
-18
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [1.5.4] - Service release
5+
6+
### Features
7+
8+
### Bugfixes
9+
10+
- Fixed an issue with v-add-sys-phpmailer not updating properly (#2336)
11+
- Fixed an issue where users where not able to download backups via UI (#2335)
12+
- Fixed an issue where php8.0 got "rounded" to php8 causing default.tpl falling back to 8.1 (#2340)
13+
- Fixed an issue with recalculating disk usage (#2341)
14+
- Fixed an issue where php files where still executable in upload folder Wordpress
15+
- Fixed an bug where version numbers includeing revisions (-x) where unable to build properly
16+
417
## [1.5.3] - Service release
518

619
### Features

install/hst-install-debian.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ HESTIA_INSTALL_DIR="$HESTIA/install/deb"
3131
VERBOSE='no'
3232

3333
# Define software versions
34-
HESTIA_INSTALL_VER='1.5.3'
34+
HESTIA_INSTALL_VER='1.5.4'
35+
# Dependencies
3536
pma_v='5.1.1'
3637
rc_v="1.5.1"
3738
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ HESTIA_INSTALL_DIR="$HESTIA/install/deb"
3131
VERBOSE='no'
3232

3333
# Define software versions
34-
HESTIA_INSTALL_VER='1.5.3'
34+
HESTIA_INSTALL_VER='1.5.4'
35+
# Dependencies
3536
pma_v='5.1.1'
3637
rc_v="1.5.1"
3738
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1")

install/upgrade/versions/1.5.3.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Hestia Control Panel upgrade script for target version 1.5.3
3+
# Hestia Control Panel upgrade script for target version 1.5.4
44

55
#######################################################################################
66
####### Place additional commands below. #######

install/upgrade/versions/1.5.4.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
3+
# Hestia Control Panel upgrade script for target version 1.5.4
4+
5+
#######################################################################################
6+
####### Place additional commands below. #######
7+
#######################################################################################
8+
####### Pass through information to the end user in case of a issue or problem #######
9+
####### #######
10+
####### Use add_upgrade_message "My message here" to include a message #######
11+
####### in the upgrade notification email. Example: #######
12+
####### #######
13+
####### add_upgrade_message "My message here" #######
14+
####### #######
15+
####### You can use \n within the string to create new lines. #######
16+
#######################################################################################
17+
18+
upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'false'
19+
upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'false'
20+
upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'false'
21+
upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'true'
22+
upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'false'

src/deb/hestia/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: hestia
22
Package: hestia
33
Priority: optional
4-
Version: 1.5.3
4+
Version: 1.5.4
55
Section: admin
66
Maintainer: HestiaCP <info@hestiacp.com>
77
Homepage: https://www.hestiacp.com

src/hst_autocompile.sh

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -288,11 +288,19 @@ fi
288288

289289
# Generate Links for sourcecode
290290
HESTIA_ARCHIVE_LINK='https://github.com/hestiacp/hestiacp/archive/'$branch'.tar.gz'
291-
NGINX='https://nginx.org/download/nginx-'$(echo $NGINX_V |cut -d"~" -f1)'.tar.gz'
291+
if [[ $NGINX_V =~ - ]]; then
292+
NGINX='https://nginx.org/download/nginx-'$(echo $NGINX_V |cut -d"-" -f1)'.tar.gz'
293+
else
294+
NGINX='https://nginx.org/download/nginx-'$(echo $NGINX_V |cut -d"~" -f1)'.tar.gz'
295+
fi
292296
OPENSSL='https://www.openssl.org/source/openssl-'$OPENSSL_V'.tar.gz'
293297
PCRE='https://github.com/PhilipHazel/pcre2/releases/download/pcre2-'$PCRE_V'/pcre2-'$PCRE_V'.tar.gz'
294298
ZLIB='https://www.zlib.net/zlib-'$ZLIB_V'.tar.gz'
295-
PHP='http://de2.php.net/distributions/php-'$(echo $PHP_V |cut -d"~" -f1)'.tar.gz'
299+
if [[ $PHP_V =~ - ]]; then
300+
PHP='http://de2.php.net/distributions/php-'$(echo $PHP_V |cut -d"-" -f1)'.tar.gz'
301+
else
302+
PHP='http://de2.php.net/distributions/php-'$(echo $PHP_V |cut -d"~" -f1)'.tar.gz'
303+
fi
296304

297305
# Forward slashes in branchname are replaced with dashes to match foldername in github archive.
298306
branch_dash=$(echo "$branch" |sed 's/\//-/g');
@@ -313,8 +321,12 @@ if [ "$NGINX_B" = true ] ; then
313321
cd $BUILD_DIR
314322

315323
BUILD_DIR_HESTIANGINX=$BUILD_DIR/hestia-nginx_$NGINX_V
316-
BUILD_DIR_NGINX=$BUILD_DIR/nginx-$(echo $NGINX_V |cut -d"~" -f1)
317-
324+
if [[ $NGINX_V =~ - ]]; then
325+
BUILD_DIR_NGINX=$BUILD_DIR/nginx-$(echo $NGINX_V |cut -d"-" -f1)
326+
else
327+
BUILD_DIR_NGINX=$BUILD_DIR/nginx-$(echo $NGINX_V |cut -d"~" -f1)
328+
fi
329+
318330
if [ "$KEEPBUILD" != 'true' ] || [ ! -d "$BUILD_DIR_HESTIANGINX" ]; then
319331
# Check if target directory exist
320332
if [ -d "$BUILD_DIR_HESTIANGINX" ]; then
@@ -456,8 +468,15 @@ if [ "$PHP_B" = true ] ; then
456468
echo "Building hestia-php package..."
457469

458470
BUILD_DIR_HESTIAPHP=$BUILD_DIR/hestia-php_$PHP_V
471+
459472
BUILD_DIR_PHP=$BUILD_DIR/php-$(echo $PHP_V |cut -d"~" -f1)
460-
473+
474+
if [[ $PHP_V =~ - ]]; then
475+
BUILD_DIR_PHP=$BUILD_DIR/php-$(echo $PHP_V |cut -d"-" -f1)
476+
else
477+
BUILD_DIR_PHP=$BUILD_DIR/php-$(echo $PHP_V |cut -d"~" -f1)
478+
fi
479+
461480
if [ "$KEEPBUILD" != 'true' ] || [ ! -d "$BUILD_DIR_HESTIAPHP" ]; then
462481
# Check if target directory exist
463482
if [ -d $BUILD_DIR_HESTIAPHP ]; then

web/inc/composer.lock

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)