Skip to content

Commit

Permalink
Merge branch 'servicing' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristan Kenney committed Jul 24, 2023
2 parents 42ff8f0 + 749589d commit 9ebaebb
Show file tree
Hide file tree
Showing 94 changed files with 204 additions and 144 deletions.
8 changes: 4 additions & 4 deletions .drone.yml
Expand Up @@ -41,9 +41,9 @@ steps:
trigger:
event: [pull_request, push]
ref:
- refs/heads/staging/*
- refs/heads/beta
- refs/heads/release
- refs/heads/prerelease
- refs/heads/servicing
- refs/heads/main
- refs/pull/*/head

Expand Down Expand Up @@ -94,9 +94,9 @@ steps:
trigger:
event: [pull_request, push]
ref:
- refs/heads/staging/*
- refs/heads/beta
- refs/heads/release
- refs/heads/prerelease
- refs/heads/servicing
- refs/heads/main
- refs/pull/*/head

Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,18 @@

All notable changes to this project will be documented in this file.

## [1.8.3] - Service release

- [UI] Fixed an issue where the wrong user type icon was displayed the top menu bar (#3810)
- [UI] Fixed back button links on SSH, API, Logs, and White Label pages (#3811)
- [UI] Fixed "No IPset lists defined" even when lists are defined (#3812)
- [UI] Removed animation effect from login screen (#3822)
- [UI] Fixed an issue where search results were not being returned for all users when logged in as `admin` (#3833)
- [UI] Removed animations from all page loads to improve performance (#3836)
- [UI] Moved debug mode enablement switch to a more logical place (#3838)
- [DNS] Ensure domain is formatted properly with DNSSEC (#3814)
- [API] Added update-dns-record permission to the API (#3819)

## [1.8.2] - Service release

- Added more files to default proxy extensions (#3768)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -2,9 +2,9 @@

![HestiaCP Web Interface screenshot](https://storage.hestiacp.com/hestiascreen.png)

<h2 align="center">Lightweight and powerful control panel for the modern web</h2>
<h2 align="center">A lightweight and powerful control panel for the modern web</h2>

<p align="center"><strong>Latest stable release:</strong> Version 1.8.2 | <a href="https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md">View Changelog</a></p>
<p align="center"><strong>Latest stable release:</strong> Version 1.8.3 | <a href="https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md">View Changelog</a></p>

<p align="center">
<a href="https://www.hestiacp.com/">HestiaCP.com</a> |
Expand Down
2 changes: 1 addition & 1 deletion bin/v-backup-user
Expand Up @@ -425,7 +425,7 @@ if [ -n "$DNS_SYSTEM" ] && [ "$DNS" != '*' ]; then
for domain in $dns_list; do
((i++))
echo -e "$(date "+%F %T") $domain" | tee -a $BACKUP/$user.log

domain_idn="$domain"
# Building directory tree
mkdir -p $tmpdir/dns/$domain/conf
mkdir -p $tmpdir/dns/$domain/conf/keys
Expand Down
2 changes: 1 addition & 1 deletion bin/v-restore-user
Expand Up @@ -429,7 +429,7 @@ if [ "$dns" != 'no' ] && [ -n "$DNS_SYSTEM" ]; then
# Restoring DNS domain
for domain in $domains; do
echo -e "$(date "+%F %T") $domain" | tee -a $tmpdir/restore.log

domain_idn="$domain"
# Cleanup previous config keys
unset -v DOMAIN IP TPL TTL EXP SOA RECORDS DNSSEC KEY SLAVE MASTER

Expand Down
2 changes: 2 additions & 0 deletions install/common/api/update-dns-records
@@ -0,0 +1,2 @@
ROLE='user'
COMMANDS='v-list-dns-records,v-change-dns-record'
2 changes: 1 addition & 1 deletion install/hst-install-debian.sh
Expand Up @@ -31,7 +31,7 @@ HESTIA_COMMON_DIR="$HESTIA/install/common"
VERBOSE='no'

# Define software versions
HESTIA_INSTALL_VER='1.8.2'
HESTIA_INSTALL_VER='1.8.3'
# Dependencies
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2")
fpm_v="8.1"
Expand Down
2 changes: 1 addition & 1 deletion install/hst-install-ubuntu.sh
Expand Up @@ -31,7 +31,7 @@ HESTIA_COMMON_DIR="$HESTIA/install/common"
VERBOSE='no'

# Define software versions
HESTIA_INSTALL_VER='1.8.2'
HESTIA_INSTALL_VER='1.8.3'
# Dependencies
multiphp_v=("5.6" "7.0" "7.1" "7.2" "7.3" "7.4" "8.0" "8.1" "8.2")
fpm_v="8.1"
Expand Down
30 changes: 30 additions & 0 deletions install/upgrade/versions/1.8.3.sh
@@ -0,0 +1,30 @@
#!/bin/bash

# Hestia Control Panel upgrade script for target version 1.8.3

#######################################################################################
####### Place additional commands below. #######
#######################################################################################
####### upgrade_config_set_value only accepts true or false. #######
####### #######
####### Pass through information to the end user in case of a issue or problem #######
####### #######
####### Use add_upgrade_message "My message here" to include a message #######
####### in the upgrade notification email. Example: #######
####### #######
####### add_upgrade_message "My message here" #######
####### #######
####### You can use \n within the string to create new lines. #######
#######################################################################################

upgrade_config_set_value 'UPGRADE_UPDATE_WEB_TEMPLATES' 'false'
upgrade_config_set_value 'UPGRADE_UPDATE_DNS_TEMPLATES' 'false'
upgrade_config_set_value 'UPGRADE_UPDATE_MAIL_TEMPLATES' 'false'
upgrade_config_set_value 'UPGRADE_REBUILD_USERS' 'false'
upgrade_config_set_value 'UPGRADE_UPDATE_FILEMANAGER_CONFIG' 'false'

# Add new API key permission
if [ -f "$HESTIA/data/api/update-dns-records" ]; then
rm $HESTIA/data/api/update-dns-records
fi
cp $HESTIA/install/common/api/update-dns-records $HESTIA/data/api/update-dns-records
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "hestia",
"private": true,
"version": "1.8.2",
"version": "1.8.3",
"description": "An open-source Linux web server control panel.",
"repository": "https://github.com/hestiacp/hestiacp",
"license": "GPL-3.0-or-later",
Expand Down
2 changes: 1 addition & 1 deletion src/deb/hestia/control
@@ -1,7 +1,7 @@
Source: hestia
Package: hestia
Priority: optional
Version: 1.8.2
Version: 1.8.3
Section: admin
Maintainer: HestiaCP <info@hestiacp.com>
Homepage: https://www.hestiacp.com
Expand Down
2 changes: 1 addition & 1 deletion src/rpm/hestia/hestia.spec
Expand Up @@ -2,7 +2,7 @@
%global _hardened_build 1

Name: hestia
Version: 1.8.2
Version: 1.8.3
Release: 1%{dist}
Summary: Hestia Control Panel
Group: System Environment/Base
Expand Down
2 changes: 1 addition & 1 deletion web/search/index.php
Expand Up @@ -21,7 +21,7 @@
$q = quoteshellarg($_GET["q"]);
$u = quoteshellarg($_GET["u"]);

if ($_SESSION["userContext"] === "admin" && !isset($_SESSION["look"])) {
if ($_SESSION["userContext"] === "admin" && $_SESSION["look"] == "") {
if (!empty($_GET["u"])) {
$user = $u;
exec(
Expand Down
2 changes: 1 addition & 1 deletion web/templates/includes/panel.php
Expand Up @@ -16,7 +16,7 @@
<!-- Usage Statistics -->
<div class="top-bar-usage">
<?php
if (isset($_SESSION['look'])) {
if ($_SESSION['look'] !== '') {
$user_icon = 'fa-binoculars';
} else if ($_SESSION['userContext'] === 'admin') {
$user_icon = 'fa-user-tie';
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_access_key.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">
<form id="main-form" name="v_add_access_key" method="post">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
<input type="hidden" name="ok" value="Add">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_cron.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_add_cron" method="post">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_db.php
Expand Up @@ -17,7 +17,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form
x-data="{
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_dns.php
Expand Up @@ -17,7 +17,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form
x-data="{
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_dns_rec.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_add_dns_rec" method="post">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_firewall.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_add_ip" method="post">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_firewall_banlist.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_add_ip" method="post">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_firewall_ipset.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_add_ipset" method="post">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_ip.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form
x-data="{
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_key.php
Expand Up @@ -21,7 +21,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_add_key" method="post">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_mail.php
Expand Up @@ -17,7 +17,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form
x-data="{
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_mail_acc.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form
x-data="{
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_package.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form
x-data="{
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_user.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form
x-data="{
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/add_web.php
Expand Up @@ -17,7 +17,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_add_web" method="post" class="js-enable-inputs-on-submit">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/debug_panel.php
Expand Up @@ -11,7 +11,7 @@ class="debug-panel-toggle"
x-text="open ? '<?= _("Close debug panel") ?>' : '<?= _("Open debug panel") ?>'">
<?= _("Open debug panel") ?>
</button>
<div x-cloak x-show="open" class="debug-panel-content animate__animated animate__fadeIn">
<div x-cloak x-show="open" class="debug-panel-content">
<?php
echo "<h3 class=\"u-mb10\">Server Variables</h3>";
foreach ($_SERVER as $key => $val) {
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/edit_backup_exclusions.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_edit_backup_exclusions" method="post">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/edit_cron.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_edit_cron" method="post" class="<?= $v_status ?>">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/edit_db.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_edit_db" method="post" class="<?= $v_status ?>">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/edit_dns.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_edit_dns" method="post" class="<?= $v_status ?>">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/edit_dns_rec.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_edit_dns_rec" method="post" class="<?= $v_status ?>">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/edit_firewall.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form id="main-form" name="v_edit_firewall" method="post" class="<?= $v_status ?>">
<input type="hidden" name="token" value="<?= $_SESSION["token"] ?>">
Expand Down
2 changes: 1 addition & 1 deletion web/templates/pages/edit_ip.php
Expand Up @@ -15,7 +15,7 @@
</div>
<!-- End toolbar -->

<div class="container animate__animated animate__fadeIn">
<div class="container">

<form
x-data="{
Expand Down

0 comments on commit 9ebaebb

Please sign in to comment.