Skip to content

Commit 245accf

Browse files
authored
Merge branch 'main' into release
2 parents 2f91cc8 + ebf12f3 commit 245accf

File tree

623 files changed

+21953
-2633
lines changed

Some content is hidden

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

623 files changed

+21953
-2633
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "[BUG]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is. Please include as much information as possible in your issue report, such as the configuration of your server and any troubleshooting steps that you've already performed.
12+
13+
**NOTE: Do not include any personal or sensitive information, such as email addresses or passwords.**
14+
15+
**To Reproduce**
16+
What steps did you take when the issue occured?
17+
1. Ex.: Click on the "Web" tab.
18+
2. Ex.: Click on "Add Web Domain".
19+
3. Ex.: Attempted to add a domain and received an Internal Server Error.
20+
21+
**Expected behavior**
22+
A clear and concise description of what you expected to happen.
23+
24+
**Screenshots**
25+
If applicable, add screenshots to help explain your problem.
26+
27+
**Operating system:**
28+
Please enter your answer here (e.g. Ubuntu 20.04 LTS)
29+
30+
**Hestia Control Panel version:**
31+
Please enter your answer here (e.g. 1.3.2).
32+
33+
**Additional context**
34+
If there is anything else that you'd like us to know about this issue that will help us diagnose and troubleshoot more effectively, such as links to forum posts or other discussions, please feel free to share here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[FEATURE]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Support request
3+
about: For support, take a look here
4+
title: "[SUPPORT]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Please do NOT use our GitHub Project for support requests, you can find community support and help here:**
11+
12+
**Documentation:** [docs.hestiacp.com](https://docs.hestiacp.com/)
13+
**Forums:** [forum.hestiacp.com](https://forum.hestiacp.com/)
14+
**Discord:** [Join the discussion](https://discord.gg/8b2HGNe8ne)

CHANGELOG.md

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

4+
## [DEVELOPMENT]
5+
### Features
6+
- Introduced support for PHPmyAdmin Single Sign On
7+
- Added NGINX Fast CGI Cache support
8+
- Install PHPMyAdmin directly from source, provide a migration script for existing installations.
9+
- Added new Webmail Stack to provide the ability to change the webmail client (Roundcube/Rainloop).
10+
- Install roundcube directly from source instead apt.
11+
- Added B2 Backup Support for Remote Backup Location, thanks @rez0n for the codeparts.
12+
- Added an upgrade script to provide inplace upgrades to php7.4 (or any other version).
13+
- Added template support for osticket, thanks @madito.
14+
- Added an SMTP Relay support for the whole server aswell for each domain.
15+
16+
### Bugfixes
17+
- Fixed an issue where user name was duplicated when editing FTP users. (#1411)
18+
- Fixed an issue where the iptables service would appear to be in a stopped state when fail2ban is stopped. (#1374)
19+
- Fixed an issue where the default language value was incorrectly set under Server Settings > Configure.
20+
- Fixed an issue with the dark theme where available updates were incorrectly displayed.
21+
- Fixed an issue where local and FTP backup files were not deleted when running `v-delete-user-backup`. (#1421)
22+
- Fixed an issue where IP addresses could not be deleted. (#1423)
23+
- Fixed an issue where nginx web statistics authorization is located in the wrong directory.
24+
- Added last name option for backward compatibility with Bleasta / WHMCS plugins.
25+
- Added private folder to openbasedir permission for all main templates.
26+
- Improvements have been made to the API's error handling - thanks **@danielalexis**!
27+
- ZSTD Compression has been made multi-threaded.
28+
- Fixed multiple small bugs in email stack.
29+
- Fixed an issue which leads custom docroot to be not set on backup restore.
30+
- Fixed an issue which leads to an NSPOSIXErrorDomain:100 Error on Safari/iOS (thanks @stsimb).
31+
- Fixed multiple small issues with postgresql.
32+
- Fixed an issue which the adding firewall rules didnt check if port field is empty.
33+
- Fixed an issue where exim ignored the mail quota limit.
34+
- Improved mail informations to provide DKIM and other mail server settings in mail overview.
35+
- Improved removal handling to allow the remove of suspended users, domains, etc.
36+
- Fixed an issue with the invalid chars validation for mail auto reply.
37+
- Improved dependencies over package control to install lsb-release and zstd.
38+
- Fixed an issue which leads let's encrypt to fail in moodle template, thanks @ArturoBlanco.
39+
- Improved SFTP connection handling, changing expect to be case insensitive in SFTP (thanks @lazzurs).
40+
- Fixed an issue which doesnt save the mysql wait_timeout due to wrong regexp attribute (thanks @guicapanema).
41+
- Improved subdoamin handling to prevent the ability of creating subdomains when the tld belongs to another account (thanks @KuJoe and @sickcodes).
42+
- Improved the IDN handling to remove the current issues with let's encrypt and mail.
43+
444
## [1.3.3] - Service Release
545
### Bugfixes
6-
- Improved permission handling.
46+
- Improved if web folder already exists and do not follow symlink on chmod (thanks @0xGsch and @kikoas1995).
47+
- Improved api key authentification to prevent brute force attacks.
48+
- Improved ssh keys folder permission to prevent unauthorized access.
749

850
## [1.3.2] - Service Release
951
### Features
@@ -15,7 +57,6 @@ All notable changes to this project will be documented in this file.
1557
- Improved bats testing with multiphp (5.6-8.0) tests.
1658
- Fixed an issue where full webmail path was loaded as default value.
1759

18-
1960
## [1.3.1] - Service Release
2061
### Features
2162
- No new features have been introduced in this release.

CONTRIBUTING.md

Lines changed: 19 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ Hestia Control Panel - Contribution Guidelines
44
Ways to contribute
55
-----------------------
66
- **Beta testing**:
7-
- Download and install builds from the `beta` branch. Provide feedback to our developers and file any issues that you come across on [GitHub](https://www.github.com/hestiacp/hestiacp/issues).<br>
7+
- Download and install builds from the `beta` branch. If you encounter an issue with a beta build, file an issue report on [GitHub](https://www.github.com/hestiacp/hestiacp/issues).<br>
88
`v-update-sys-hestia-git hestiacp beta install` will install the latest beta build from our GitHub repository.
99
- **Code review and bug fixes**:
10-
- Read over the code and if you notice errors (even spelling mistakes), submit a pull request with your fixes.
10+
- Read over the code and if you notice errors (even spelling mistakes), submit a pull request with your changes.
1111
- **New features**:
12-
- Is there an awesome feature that you'd love to see included? While our development team tries to fulfill all reasonable requests, it can take time to implement new features depending on the amount of work involved. Submit a pull request with your code and if your idea is approved, we'll review and test it for inclusion with an upcoming release.
12+
- Is there an awesome feature that you'd love to see included? Submit a pull request with your changes, and if approved your PR will be reviewed and merged for inclusion in an upcoming release. While our development team tries to accomodate all reasonable requests please remember that it does take time to develop, implement and test new features and as such we may not be able to fulfill all requests or may have to put a feature on backlog for a later date.
1313
- **Translations**:
14-
- If you are a non-English speaker and would like to improve the quality of the translations used in Hestia Control Panel's web interface, Please go to [Hestia Translate](https://translate.hestiacp.com/projects/hestiacp/) to review the translations. For more information please read [How to contribute with Translations](https://forum.hestiacp.com/t/how-to-contribute-with-translations/1664). Or open an issue report [GitHub](https://www.github.com/hestiacp/hestiacp/issues) highlighting the issue with the current translation so that it can be corrected.
14+
- If you are a non-English speaker and would like to improve the quality of the translations used in Hestia Control Panel's web interface, please go to [Hestia Translate](https://translate.hestiacp.com/projects/hestiacp/) to review the translations database. For more information please read [How to contribute with Translations](https://forum.hestiacp.com/t/how-to-contribute-with-translations/1664) on our forum. You can also open an issue report [GitHub](https://www.github.com/hestiacp/hestiacp/issues) highlighting the issue with the current translation so that it can be corrected.
1515
- **Donations**:
16-
- If you're not a developer but you still want to make a contribution, you can make a donation to the Hestia Control Panel project to further its development (or if you'd just like to buy our developers a lunch, we'd appreciate that too). We currently accept donations through [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ST87LQH2CHGLA).
16+
- If you're not a developer but you still want to make a contribution to support Hestia Control Panel and our developers, you can make a donation to the Hestia Control Panel project to further its development (or if you'd just like to buy our developers a lunch, we'd appreciate that too). We currently accept donations through [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ST87LQH2CHGLA).
1717

1818
Development Guidelines
1919
-----------------------
@@ -25,28 +25,27 @@ Development for this project takes place in branches to effectively develop, man
2525

2626
We have three primary or "evergreen" branches, which exist throughout our product's lifetime. Please refer to the following table for a description:
2727

28-
| Branch | Description | Cycle |
29-
|---------------|:---------------:|:---------------:|
30-
| `main` | Contains a snapshot of the latest development code.<br>**Not intended for production use and contains code from a merge snapshot.** | Daily |
31-
| `beta` | Contains a snapshot of the next version which is currently in testing.<br>**Not intended for production but should be highly stable.** | Weekly |
32-
| `release` | Contains a snapshot of the latest stable release.<br>**Intended for production use. This repository contains the same code as our compiled packages.** | Monthly |
28+
| Branch | Description
29+
|---------------|:---------------:|
30+
| `main` | Contains a snapshot of the latest development code.<br>**Not intended for production use and contains code from a merge snapshot.**
31+
| `beta` | Contains a snapshot of the next version which is currently in testing.<br>**Not intended for production use, however code from this branch should be stable.**
32+
| `release` | Contains a snapshot of the latest stable release.<br>**Intended for production use. This repository contains the same code as our compiled packages.**
3333

3434
### Creating a new branch and submitting pull requests
35-
The first step is to create a fork of the `hestiacp/hestiacp` repository under your account so that you may submit pull requests and patches via GitHub.
35+
The first step is to create a fork of the `hestiacp/hestiacp` repository under your GitHub account so that you may submit pull requests and patches.
3636

37-
Once you've created your fork, clone the repository to your computer and make sure that you've checked out the `main` branch. **Always** create a new topic branch for you work. When submitting pull requests it is important that you target the correct branch to ensure that your changes are properly integrated and tested based on our release schedule. When creating a new branch, we ask that you please adhere to the following naming conventions as much as possible:
37+
Once you've created your fork, clone the repository to your computer and make sure that you've checked out the `main` branch. **Always** create a new topic branch for your work.
3838

3939
### Branch naming convention:
4040
- **Prefix:** `topic/` (such as **fix**, **feature**, **refactor**, etc.)
41-
- **ID**: `888` (GitHub Issue ID if an issue exists) -or- `2020-07` (Year-Month if an issue does not already exist)
42-
- **Separator:** `_` (underscore)
41+
- **ID**: `888` (GitHub Issue ID if an issue exists)
4342
- **Title:** `my-awesome-patch`
4443

4544
Branch name examples:
46-
* `feature/777_my-awesome-new-feature` or `feature/2020-07_my-other-new-feature`
47-
* `fix/000_some-bug-fix` or `fix/2020-07_this-feature-is-broken`
48-
* `refactor/2020-07_v-change-domain-owner`
49-
* `test/2020-07_mail-domain-ssl`
45+
* `feature/777-my-awesome-new-feature` or `feature/my-other-new-feature`
46+
* `fix/000-some-bug-fix` or `fix/this-feature-is-broken`
47+
* `refactor/v-change-domain-owner`
48+
* `test/mail-domain-ssl`
5049

5150
### Squashing commits for smaller changes
5251
To aid other developers and keep the project's commit history clean, please **squash your commits** when it's appropriate. For example with smaller commits related to the same piece of code, such as commits labelled "Fixed item 1", "Adjusted color of button XYZ", "Adjusted alignment of button XYZ" can be squashed into one commit with the title "Fixed button issues in item".
@@ -55,48 +54,9 @@ To aid other developers and keep the project's commit history clean, please **sq
5554
- Our internal development team will review your work and validate your request.
5655
- Your changes will be tested to ensure that there are no issues.
5756
- If changes need to be made, you will be notified via GitHub.
58-
- Once approved, your code will be merged to the appropriate `staging/*` branch based on the chart below:
59-
60-
All pull requests must include a brief but descriptive title, and a description of the changes that you've made with as much detail as possible. **Only include commits that are related to your feature, bug fix, or patch in your pull request.**
61-
62-
| Topic branches: | Primary Target: | Final destination: |
63-
| -----------------------------|:---------------------------:|:-------------------------------------:|
64-
| **`feature/*`** | `staging/features` | `main` |
65-
| **`fix/*`** | `staging/fixes` | `main` **and** `beta` *or* `release` |
66-
| **`refactor/*`** | `staging/refactoring` | `main` |
67-
| **`test/*`** | `staging/tests` | `main` |
68-
| **`doc/*`** | `staging/docs` | `main`, `beta`, *or* `release` |
69-
70-
Our development and release cycles
71-
-----------------------
72-
### During the development cycle:
73-
- `topic/*` branches are submitted to our team via a pull request. Your changes will be reviewed and tested, and if all appropriate quality assurance checks pass the branch will be merged to the corresponding `staging/*` branch.
74-
75-
- `staging/*` branches merge into `main` at various intervals throughout the development process.
76-
77-
- When all planned features and fixes have been merged to `main`, the code is tested for regressions and bugs.
78-
79-
- A snapshot of `main` is pushed to a temporary branch called `staging/refactoring`, and final code review, refactoring, and optimization takes place. Once complete, `staging/refactoring` merges back to `main` bringing the codebase up-to-date. All other `staging/*` branches synchronize with `main` at this time.
80-
81-
- After final validation checks pass, our development team signs off on the release and the code is pushed from `main` to `beta`.
82-
83-
### During the release cycle:
84-
- **What happens when code moves from `main` to `beta`**:<br>
85-
- **No new feature requests will be approved**.
86-
- `main` will receive an increment in it's version number signaling the start of a new development cycle.
87-
- `fix/*` topic branches/commits will be cherry picked to `beta` as necessary.
88-
- `staging/docs` will merge into `beta` prior to the code being pushed to `release` to bring documentation and supporting files up-to-date.
89-
90-
- If all quality assurance checks pass, our development team will then:
91-
- Sign off on the code in `beta`.
92-
- Push the code to the `release` branch and create a corresponding version tag.
93-
- Compile new packages and publish them to our APT repository.
94-
- **Notes:**
95-
- `release` always contains the highest released version of Hestia Control Panel.
96-
- For major releases, a `release/vX.x` branch will be created for maintenance and servicing purposes.
97-
98-
57+
- Once approved, your code will be merged for inclusion in an upcoming release of Hestia Control Panel.
9958

59+
All pull requests must include a brief but descriptive title, and a detailed description of the changes that you've made. **Only include commits that are related to your feature, bug fix, or patch in your pull request!**
10060

10161
Thank you!
10262
-----------------------

ISSUE_TEMPLATE.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
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.1 | [View Changelog](https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md)<br>
5+
**Latest stable release:** Version 1.3.3 | [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>
@@ -19,7 +19,7 @@ Hestia Control Panel is designed to provide administrators an easy to use web an
1919
Features and Services
2020
----------------------------
2121
* Apache2 and NGINX with PHP-FPM
22-
* Multiple PHP versions (5.6 - 7.4, 7.4 as default)
22+
* Multiple PHP versions (5.6 - 8.0, 7.4 as default)
2323
* DNS Server (Bind) with clustering capabilities
2424
* POP/IMAP/SMTP mail services with Anti-Virus, Anti-Spam, and Webmail (ClamAV, SpamAssassin, and Roundcube)
2525
* MariaDB or PostgreSQL databases

0 commit comments

Comments
 (0)