openpanel/documentation/docs/changelog/0.2.8.md
2024-09-05 20:43:14 +02:00

64 lines
6.5 KiB
Markdown

---
hide_table_of_contents: true
---
# 0.2.8
Not yet released.
### 🚀 New features
- New api endpoints for retrieving server usage: [/api/usage](https://dev.openpanel.com/api/usage.html#Endpoints), [/api/usage/stats](https://dev.openpanel.com/api/usage.html#Stats), [/api/usage/cpu](https://dev.openpanel.com/api/usage.html#CPU-usage), [/api/usage/memory](https://dev.openpanel.com/api/usage.html#Memory-usage), [/api/usage/disk](https://dev.openpanel.com/api/usage.html#Disk-usage).
- New api endpoint for retrieving system information: [/api/system](https://dev.openpanel.com/api/system.html#System-info).
- New api endpoint for retrieving users with dedicated IP addresses: [/api/ips](https://dev.openpanel.com/api/users.html#IPs).
- New api endpoints for retrieving docker information: [/api/docker/info](https://dev.openpanel.com/api/docker.html#Docker-info) and [/api/docker/context](https://dev.openpanel.com/api/docker.html#Docker-context).
- New command [`opencli api-list`](https://dev.openpanel.com/cli/api.html#API-list) displays available api endpoints with usage examples.
- [18 new sub-commands for managing mailserver using `opencli email-server`](https://dev.openpanel.com/cli/email.html#MailServer)
- [13 new sub-commands for managing dns using `opencli domains-dns`](https://dev.openpanel.com/cli/domains.html#DNS)
- Option to change nameservers for a single dns zone or accross all zones on the server with [opencli domains-update_ns](https://dev.openpanel.com/cli/domains.html#Update-Nameservers).
- [`opencli php-ini`](https://dev.openpanel.com/cli/php.html#PHP-INI)
- New option in OpenAdmin > Settings > API displays [a list of all available api endpoints with usage examples](https://i.postimg.cc/bpMqV3VK/2024-09-05-14-56.png).
- [Display custom message per user by creating `/etc/openpanel/openpanel/core/users/USERNAME/custom_message.html` file](https://i.postimg.cc/5xTqkddZ/2024-09-05-15-52.png).
- [Option to install custom SSL certificate](https://i.postimg.cc/PxcnR9RM/2024-09-05-19-12.png).
### 🐛 Bug fixes
- Fixed bug with invalid serial number format in bind9 zone files for domains.
- Fixed bug with free Let's Encrypt SSL replacing custom SSL if configured.
- Fixed bug [#97 DELETE modal not functioning properly on admin user delete](https://github.com/stefanpejcic/OpenPanel/issues/97).
- Fixed bug with `"` automatically applied to all TXT records that breaks DKIM validity.
- Fixed a bug where domains couldn't be deleted from *OpenPanel > Domains* if the associated website was removed within the last 5 minutes. Deleting a website now immediately invalidates the cache.
- Fixed bug `-c: line 1: unexpected EOF while looking for matching ''` when installing a new php version.
- Fixed broken css on Flarum from autoinstaller because of setting http:// in Flarum configuration.
- Fixed bug with Flarum autoinstaller not using provided admin username and always setting 'admin' instead.
- Fixed bug with Mautic autoinstaller not using provided admin username and always setting 'admin' instead.
- Fixed bug with the update_check script and added alternative server for updates.
- Fixed bug within dockerfile for `openpanel/nginx-mariadb:latest` image that caused failed build step.
- Fixed bug with limiting port speed on AlmaLinux, due to the tc command missing.
- Fixed bug with `opencli ssl-hostname` refusing to generate ssl if admin service is failed.
- Fixed bug with `opencli php-ioncube` command not extracting files.
- Fixed bug with Sentinel service displaying false-positive for domains that use Cloudflare proxy on AlmaLinux when dig (bind-utils package) is not installed.
- Fixed bug with install script and error `The command could not be located because '/usr/local/bin' is not included in the PATH environment variable.` on Ubuntu22.
- Fixed bug with install script and error `tput: No value for $TERM and no -T specified` on Ubuntu22.
- Fixed bug deleting SSL certificate using `opencli ssl-domain -d <domain>`.
### 💅 Polish
- Domain Access reports are now separated in domains_visitors module and can easily be disabled by administrator.
- Administrators can now specify the PHP extensions to be installed automatically when a user installs a PHP version by editing [the `/etc/openpanel/php/extensions.txt` file](https://github.com/stefanpejcic/openpanel-configuration/blob/main/php/extensions.txt).
- Administrators can now specify the PHP.INI values to be automatically set when a user installs a PHP version by editing the [`/etc/openpanel/php/ini.txt` file](https://github.com/stefanpejcic/openpanel-configuration/blob/main/php/ini.txt).
- `opencli ssl-domain` will now first try to generate certificate with DNS-01 verification, if that fails, HTTP-01 will be used.
- Wildcard subdomain SSL are now generated automatically if domain is pointed with nameservers to the OpenPanel server.
- Update script will now [create a log file of each update attempt and write a notification in OpenAdmin dashboard](https://i.postimg.cc/sXvkNFKv/2024-08-30-20-33.png).
- Added timeouts to all external curl and wget calls from opencli scripts.
- `opencli ssl-domain` command now accepts optional flag `--dry-run` to perform a test run against the Let's Encrypt staging server, obtaining test (invalid) certificates but not saving them to disk.
- Improved [opencli files-fix_permissions](https://dev.openpanel.com/cli/files.html#Fix-Permissions) script will now add permissions for groups as well and run commands in parallel to speed-up the process.
- [DNS record comments](https://i.postimg.cc/RZvwW15Q/2024-09-04-20-12.png) to clarify the purpose of DNS records within Zone Editor - supports comments from zones that have been exported from Cloudflare.
- `bash` is replaced with `sh` in all opencli scripts, so we have support for alpine containers.
- `bc` command is repalced with `awk` in sentinel scripts, so we have support for RHEL distributions that do not have bc pre-installed.
- The admin user impersonating OpenPanel users now has a distinct indicator bar and lacks a logout option, as ending the user session would also log the admin out of the panel.
- All of our hosted services are migrated from .co to .com domain.
- `opencli ssl-domain` command now accepts optional flag `--debug` to output verbose inforamtion.
- Disk Usage widget on OpenAdmin > Dashboard now displays types.
- `opencli admin new` and `opencli admin password` will now do validations for username/password fields: must contain only letters and numbers, and be between 5 and 20 characters.
- Adding applications is disabled from OpenPanel > PM2 interface until a domain is added.
- 2FA is now an optional module that is enabled by default.