From 3103beb0e4e6c0bc2eb2799670049b90b2ed6a67 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Sat, 1 Feb 2025 21:53:39 +0100 Subject: [PATCH] ciscenje --- website/docs/changelog/0.1.0.md | 8 - website/docs/changelog/0.1.1.md | 17 -- website/docs/changelog/0.1.2.md | 19 -- website/docs/changelog/0.1.3.md | 13 -- website/docs/changelog/0.1.4.md | 38 ---- website/docs/changelog/0.1.5.md | 53 ----- website/docs/changelog/0.1.6.md | 334 -------------------------------- website/docs/changelog/0.1.7.md | 328 ------------------------------- website/docs/changelog/0.1.8.md | 63 ------ website/docs/changelog/0.1.9.md | 200 ------------------- website/docs/changelog/0.2.0.md | 83 -------- website/docs/changelog/0.2.1.md | 224 --------------------- website/docs/changelog/0.2.2.md | 114 ----------- website/docs/changelog/0.2.3.md | 86 -------- website/docs/changelog/0.2.4.md | 31 --- website/docs/changelog/0.2.5.md | 45 ----- website/docs/changelog/0.2.6.md | 51 ----- website/docs/changelog/0.2.7.md | 32 --- website/docs/changelog/0.2.8.md | 65 ------- website/docs/changelog/0.2.9.md | 42 ---- website/docs/changelog/0.3.0.md | 38 ---- website/docs/changelog/0.3.1.md | 60 ------ website/docs/changelog/0.3.2.md | 40 ---- website/docs/changelog/0.3.3.md | 75 ------- website/docs/changelog/0.3.4.md | 16 -- website/docs/changelog/0.3.5.md | 45 ----- website/docs/changelog/0.3.6.md | 37 ---- website/docs/changelog/0.3.7.md | 29 --- website/docs/changelog/0.3.8.md | 39 ---- website/docs/changelog/intro.md | 36 +--- 30 files changed, 1 insertion(+), 2260 deletions(-) delete mode 100644 website/docs/changelog/0.1.0.md delete mode 100644 website/docs/changelog/0.1.1.md delete mode 100644 website/docs/changelog/0.1.2.md delete mode 100644 website/docs/changelog/0.1.3.md delete mode 100644 website/docs/changelog/0.1.4.md delete mode 100644 website/docs/changelog/0.1.5.md delete mode 100644 website/docs/changelog/0.1.6.md delete mode 100644 website/docs/changelog/0.1.7.md delete mode 100644 website/docs/changelog/0.1.8.md delete mode 100644 website/docs/changelog/0.1.9.md delete mode 100644 website/docs/changelog/0.2.0.md delete mode 100644 website/docs/changelog/0.2.1.md delete mode 100644 website/docs/changelog/0.2.2.md delete mode 100644 website/docs/changelog/0.2.3.md delete mode 100644 website/docs/changelog/0.2.4.md delete mode 100644 website/docs/changelog/0.2.5.md delete mode 100644 website/docs/changelog/0.2.6.md delete mode 100644 website/docs/changelog/0.2.7.md delete mode 100644 website/docs/changelog/0.2.8.md delete mode 100644 website/docs/changelog/0.2.9.md delete mode 100644 website/docs/changelog/0.3.0.md delete mode 100644 website/docs/changelog/0.3.1.md delete mode 100644 website/docs/changelog/0.3.2.md delete mode 100644 website/docs/changelog/0.3.3.md delete mode 100644 website/docs/changelog/0.3.4.md delete mode 100644 website/docs/changelog/0.3.5.md delete mode 100644 website/docs/changelog/0.3.6.md delete mode 100644 website/docs/changelog/0.3.7.md delete mode 100644 website/docs/changelog/0.3.8.md diff --git a/website/docs/changelog/0.1.0.md b/website/docs/changelog/0.1.0.md deleted file mode 100644 index e2647df4..00000000 --- a/website/docs/changelog/0.1.0.md +++ /dev/null @@ -1,8 +0,0 @@ ---- ---- - -# 0.1.0 - -Released on July 18, 2023 - -🎉🎉🎉 Initial release 🎉🎉🎉 diff --git a/website/docs/changelog/0.1.1.md b/website/docs/changelog/0.1.1.md deleted file mode 100644 index 0592d2ab..00000000 --- a/website/docs/changelog/0.1.1.md +++ /dev/null @@ -1,17 +0,0 @@ ---- ---- - -# 0.1.1 - -Released on October 26, 2023 - -## 🔧 Maintenance - -- Ubuntu Docker images updated on [hub.openpanel.co](https://hub.openpanel.co/) - -## 🐛 Bug fixes - -- Fixed bug with removing certificates during nginx reload -- Fixed incorrect group permissions for wordpress files after ibstalling from WP Manager -- Fixed style bug with Bootstrap4 modals not being triggered using Bootstrap5 names -- Restrict PHP-FPM permissions to a new user to prevent permission escalation diff --git a/website/docs/changelog/0.1.2.md b/website/docs/changelog/0.1.2.md deleted file mode 100644 index 7130bfb1..00000000 --- a/website/docs/changelog/0.1.2.md +++ /dev/null @@ -1,19 +0,0 @@ ---- ---- - -# 0.1.2 - -Released on November 23, 2023 - -## 🚀 New features -- OpenCLI commands: [ssl-hostname](https://openpanel.co/docs/admin/scripts/users#list-users) [ssl-user](https://openpanel.co/docs/admin/scripts/users#list-users) [user-list](https://openpanel.co/docs/admin/scripts/users#list-users) [user-login](https://openpanel.co/docs/admin/scripts/users#login-as-user) [user-loginlog](https://openpanel.co/docs/admin/scripts/users#list-users) -- Set dedicated IP address for user in Nginx -- HTTP/2 and GZIP support for Nginx -- Access logs per domain name using GoAccess log analyzer -- SSL status detection for WP Manager -- Edit MySQL Configuration -- Dark mode toogle based on users OS or preference -- -## 🐛 Bug fixes -- Fixed bug on WP Manager to not show subdirectories backups for main domain -- Reverse sort of logs on the login history diff --git a/website/docs/changelog/0.1.3.md b/website/docs/changelog/0.1.3.md deleted file mode 100644 index eda7a06b..00000000 --- a/website/docs/changelog/0.1.3.md +++ /dev/null @@ -1,13 +0,0 @@ ---- ---- - -# 0.1.3 - -Released on November 30, 2023 - -## 💥 Breaking changes -- [All OpenCLI scripts](/docs/category/openpanel-cli) are now converted to binaries - -## 🚀 New features -- OpenCLI commands: [user-list](https://openpanel.co/docs/admin/scripts/users#list-users) [user-rename](https://openpanel.co/docs/admin/scripts/users#rename-user) [user-password](https://openpanel.co/docs/admin/scripts/users#change-password) [user-ip](https://openpanel.co/docs/admin/scripts/users#assign--remove-ip-to-user) [plan-list](https://openpanel.co/docs/admin/scripts/plans#list-plans) [plan-create](https://openpanel.co/docs/admin/scripts/plans#create-plan) [plan-usage](https://openpanel.co/docs/admin/scripts/plans#list-users-on-plan) -- MySQL Processes diff --git a/website/docs/changelog/0.1.4.md b/website/docs/changelog/0.1.4.md deleted file mode 100644 index e691d1be..00000000 --- a/website/docs/changelog/0.1.4.md +++ /dev/null @@ -1,38 +0,0 @@ ---- ---- - -# 0.1.4 - -Released on December 25, 2023 - -## 💅 Polish - -- [Admini bootstrap template](https://github.com/lekoala/admini) integrated as the new default template for the OpenPanel User Interface - -## 🚀 New features -- Autocomplete for OpenCLI scripts -- OpenCLI commands: [admin](https://openpanel.co/docs/admin/scripts/admin) [admin off](https://openpanel.co/docs/admin/scripts/admin#enable--disable-adminpanel) [admin on](https://openpanel.co/docs/admin/scripts/admin#enable--disable-adminpanel) [admin new](https://openpanel.co/docs/admin/scripts/admin#create-new-admin) [admin password](https://openpanel.co/docs/admin/scripts/admin#reset-admin-password) [opencli admin rename](https://openpanel.co/docs/admin/scripts/admin#rename-admin-user) [opencli admin delete](https://openpanel.co/docs/admin/scripts/admin#delete-admin-user) [opencli plan delete](https://openpanel.co/docs/admin/scripts/plans#delete-plan) [opencli user email change](https://openpanel.co/docs/admin/scripts/users#change-email) [opencli nginx-install_modsec](https://openpanel.co/docs/admin/scripts/webserver#install-modsecurity) [opencli domains-enable_modsec](https://openpanel.co/docs/admin/scripts/domains#enable-modsecurity) [opencli server_info](https://openpanel.co/docs/admin/scripts/admin#server_info) [opencli files-fix_permissions](https://openpanel.co/docs/admin/scripts/files#fix_permissions) [opencli docker-usage_stats_cleanup](https://openpanel.co/docs/admin/scripts/docker#usage_stats_cleanup) [opencli docker-is_port_in_use](https://openpanel.co/docs/admin/scripts/docker#is-port-in-use) -- [goaccess](https://github.com/allinurl/goaccess) integrated -- [ModSecurity](https://github.com/SpiderLabs/ModSecurity-nginx) with [OWASP core ruleset](https://github.com/coreruleset/coreruleset) -- Edit general options for WPManager -- Suppport for adding [custom code](https://openpanel.co/docs/admin/customize/development/#custom-code) -- Set WordPress update preferences for core, plugins and themes inside the WPManager -- Set debugging options for a website inside the WPManager -- Update WordPress core to latest version using the WPManager -- Refresh data option for WP Manager to re-scan existing installations -- Process Manager -- Change TimeZone -- Nginx / Apache Configuration Editor -- ModSecurity Settings -- Elasticsearch -- ClamAV Scanner (BETA) -- Fix Permissions -- IP blocking per domain -- Memory Usage and %CPU pages added - -## 🐛 Bug fixes - - Fixed bug where the menu sidebar would display while in File Editor full screen mode. - -## 💥 Breaking changes -- [custom nginx error pages](https://github.com/denysvitali/nginx-error-pages) added to the Nginx configuration -- HTTP/2 enabled by default in Nginx diff --git a/website/docs/changelog/0.1.5.md b/website/docs/changelog/0.1.5.md deleted file mode 100644 index c75f85e7..00000000 --- a/website/docs/changelog/0.1.5.md +++ /dev/null @@ -1,53 +0,0 @@ ---- ---- - -# 0.1.5 - -Released on March 08, 2024 - -## 🚀 New features -- [Notifications Center](https://community.openpanel.co/d/13-introducing-notifications-center) -- Administrators can now [customize the generated Domain Access Logs reports](https://community.openpanel.co/d/6-issues-with-domain-access-logs) -- [Custom nameservers can now be added](https://dev.openpanel.co/cli/commands.html) and will automatically be used in the dns zone template for new domains -- Administrators can now [set custom how-to articles](https://dev.openpanel.co/cli/commands.html) to be displayed in user dashboard -- Docker images now support all PHP verisons from 5.6 to 8.3 -- Administrators can now change the default `/openpanel` proxy to anything they want using the: [openpanel_proxy](/docs/admin/scripts/openpanel_config#openpanel_proxy) setting -- [opencli admin list](https://dev.openpanel.co/cli/commands.html#List-Admin-users), [opencli admin notifications](https://dev.openpanel.co/cli/commands.html#Notifications), [opencli user-redis](https://dev.openpanel.co/cli/commands.html#REDIS), [opencli user-memcached](https://dev.openpanel.co/cli/commands.html#Memcached), [opencli backup-config](https://dev.openpanel.co/cli/commands.html#Config), [opencli backup-destination](https://dev.openpanel.co/cli/commands.html#Destination), [opencli backup-logs](https://dev.openpanel.co/cli/commands.html#Logs), [opencli backup-job](https://dev.openpanel.co/cli/commands.html#Backup-Jobs) -- [OpenAdminAPI](https://dev.openpanel.co/api/)! 🎉 -- Implemented support for previewing .webp and .avif files in File Manager. -- Added code syntax highlight for [Nginx/Apache Configuration Editor](/docs/panel/advanced/server_settings/#nginx--apache-settings) and [PHP.INI Editor](/docs/panel/advanced/server_settings/#phpini-editor) -- Added support for [running custom scripts after OpenPanel update process](https://dev.openpanel.co/customize.html#After-update). - -## 💥 Breaking changes -- Storage driver [devicemapper is replaced with overlay2](https://community.openpanel.co/d/8-switching-docker-storage-engine-from-devicemapper-to-overlay2-storage) as the default storage driver for Docker -- PHP 7.4 is removed as the pre-installed verison in docker containers, PHP 8.3 is now the only version that is pre-installed. -- New users will have REDIS 7.2 instead of 6.3 -- Usernames must consist of a minimum of 3 characters and a maximum of 20 characters, only numbers and letters are allowed. -- Remote Backups with SSH key-based authentication -- `opencli server_info` command is renamed to `opencli report`: [Generate system information reports #43](https://github.com/stefanpejcic/openpanel/issues/43) - - -## 🐛 Bug fixes -- Fixed [bug with error `Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)` when running mysql commands on terminal](https://community.openpanel.co/d/18-cant-connect-to-local-mysql-server-through-socket-varrunmysqldmysqldsock-13). -- Fixed [bug with bind9 configuration](https://community.openpanel.co/d/5-dns-server-does-not-respond-to-request-for-domain-zone) that caused the DNS server not to respond to request for domain zone -- Fixed bug in [opencli config update](https://dev.openpanel.co/cli/commands.html) not restarting the service for major system changes -- Fixed bug with bind9 service restart instead of reload when adding new domains -- Fixed bug with 500 error on dashboard page if invalid JSON data in knowledge_base_articles.json -- Fixed bug 'create command denied for user' when creating tables in phpMyAdmin -- Fixed bug 'unexpected 'static' (T_STATIC)' in phpMyAdmin minimum required php version -- Fixed bug in dashboard page with wrong color indicators for current CPU and RAM usage -- Fixed 500 error in 'Resource Usage History' page caused by the % symbol in localization strings -- Fixed 404 error for 'Domain Logs' page link in the search results -- Fixed bug with free memory usage not being returned from containers back to the host server -- Fixed bug with container private ip address showing in domain logs -- Added support for allow/deny port ranges in `OpenAdmin > Firewall Settings` - -## 💅 Polish -- [German translation](https://github.com/stefanpejcic/openpanel-translations/tree/main/de-de) contributed by [dabonzo](https://github.com/dabonzo) -- The new template is now fully localized and [can be translated to any language](https://github.com/stefanpejcic/openpanel-translations) -- REDIS, Memcached and Elasticsearch are now not preinstalled, but can be installed by the user with a single click. -- Account Activity now highlights actions performed by the Administrator user. -- `panel` and `admin` services now support reload command. -- KEYPHRASES are now disabled in generated html reports from domain logs. -- Search results in FileManager now prioritize Files and Folders. -- Quick start guide added to OpenAdmin dashboard. diff --git a/website/docs/changelog/0.1.6.md b/website/docs/changelog/0.1.6.md deleted file mode 100644 index a7851bc9..00000000 --- a/website/docs/changelog/0.1.6.md +++ /dev/null @@ -1,334 +0,0 @@ ---- -hide_table_of_contents: true ---- - - -# 0.1.6 - -Released on April 15, 2024 - - -### 🐛 Bug fixes -- Fixed bug durring ModSecurity installation process (reported by [reyokh](https://hostingforums.net/d/282-openpanel-not-another-free-hosting-panel/6)) -- Fixed bug on *OpenAdmin > Users* with displaying server name -- Fixed bug on *OpenAdmin > Users > Edit information* with modal-backdrop left after closing the modal. -- Fixed bug on *OpenAdmin > General Settings* with the disabled input field causing 500 error on save. -- Resolved an issue with the PHP-FPM service that led to WordPress prompting for FTP credentials during plugin installation and media uploads. -- Fixed bug where suspended users were being excluded from search results in the *OpenAdmin > Users* section. -- Fixed bug where [the wrong OpenPanel version was shown in the sidebar](https://i.postimg.cc/Jz0tMy7X/2024-03-18-13-38.png) under OpenPanel. -- Fixed bug where errors for the OpenAdmin section were being logged in api.log instead of the error.log file. -- Fixed bug with PHP installation in `opencli php-install_php_version` script that caused the missing php-fpm service in containers. -- Fixed bug with the `opencli php-default_php_version` script that caused the new default php version not to be set for cli. -- Fixed bug with `opencli hostname-ssl` script failing to renew SSL. -- Fixed [bug with permissions not permiting user to edit crontab via terminal](https://github.com/stefanpejcic/OpenPanel/issues/75) -- Fixed bug [Memcached allocation slider bug #89](https://github.com/stefanpejcic/OpenPanel/issues/89) - - -### 🚀 New features -- [Turkish translation 🇹🇷](#turkish-translation) -- [Docker images can now be downloaded, updated and deleted from the *OpenAdmin > Docker Settings* page.](#openadmin--docker) -- Introduced *OpenAdmin > API Settings* page, enabling API access, token generation, curl command execution, request sending, response viewing, and API access log monitoring. -- Added a feature that allows for [manual initiation of updates via the *OpenAdmin > General Settings* section](#panel-update-from-gui). -- [*OpenAdmin > ModSecurity* interface.](#openadmin--modsecurity) -- [`opencli nginx-modsec` script that allows admins to: update OWASP Core Ruleset, List ModSecurity rules and Logs, Enable/Disable Rules and view domain settings.](#openadmin--modsecurity) -- [Custom OpenPanel and OpenAdmin templates](#custom-templates) can now be defined by the Administrator -- [dev_mode](#dev-mode) -- [BasicAuth for OpenAdmin panel](#basicauth-for-openadmin) -- [DNS zone export for *OpenPanel > Edit DNS Zone*](#export-dns-zone) -- [Selfsigned SSL inside docker containers for Nginx & Apache](#selfsigned-ssl) -- [Notifications on admin logins from new IP address](#admin-login) -- [Email alerts for the Notifications center](#email-alerts) - -### 💅 Polish -- Added check if docker images exist before creating plans. -- The system now logs the admin username to identify who performed actions for a user. -- Moved all JavaScript code for OpenAdmin to external files. -- All responses from OpenAdmin are now compressed, including pages (HTML), templates (JavaScript & CSS), and API responses (JSON). -- Added online status indicators to the Users table in OpenAdmin. -- MySQL service is now listening on both `localhost` and `127.0.0.1` -- New default OpenAdmin theme -- Added checks to remove apt cache and temporary files after install process -- [Custom cron file `/etc/cron.d/openpanel`](#etccrondopenpanel) -- [OpenAdmin login log](https://dev.openpanel.co/logs.html) -- [Default PHP version change is now logged](#log-php-change) -- Added warning messages for unlimited disk usage on *OpenAdmin > Users > single user* page. - - ------ - -### dev_mode - -dev_mode allows developers to view original responses from OpenAdmin and detailed error messages. When enabled, the following occurs: - -- html/css/js code from the templates is not minified -- json responses are not minified -- detailed error messages are shown - - -To enable dev_mode: - -``` -opencli config update dev_mode on -``` - -To disable dev_mode: - -``` -opencli config update dev_mode on -``` - -and restart *admin* service. - - ----- - -### BasicAuth for OpenAdmin - -As an additional security measure, [BasicAuth](https://en.wikipedia.org/wiki/Basic_access_authentication) can be enabled for OpenAdmin panel. [Instruction](/docs/admin/scripts/openpanel_config/#admin_template) - -![screenshot](https://i.postimg.cc/XNs02KHz/2024-04-08-15-04.png) - -:::danger -API access is automatically disabled when BasicAuth is enabled. -::: - -To enable basic authentication for OpenAdmin, run commands: - -``` -opencli config update basic_auth yes -``` - -``` -opencli config update basic_auth_username STRONG_USERNAME_HERE -``` - -``` -opencli config update basic_auth_password STRONG_PASSWORD_HERE -``` - - -then reload the OpenAdmin service: - -``` -service admin reload -``` - ---- - -### Email Alerts - -You can now receive email alerts from the Notifications center! - -![email_alert](https://i.postimg.cc/904QNyf9/image.png) - -- To enable email alerts, set email address in *OpenAdmin > Notifications Center* or using OpenCLI: `opencli config update email stefan@pejcic.rs` -- To disable email alerts simply remove the email address from *OpenAdmin > Notifications Center* or using OpenCLI: `opencli config update email ''` -- To check current email navigate to *OpenAdmin > Notifications Center* or using OpenCLI: `opencli config get email` - -For sending emails, you can configure outgoing SMTP server: - -``` -[SMTP] -mail_server= -mail_port=465 -mail_use_tls=False -mail_use_ssl=True -mail_username= -mail_password= -mail_default_sender= -mail_security_token=78bd237db2da -``` - -Each value can be set with the `opencli config update` command. - ---- - -### Admin Login - -You can now receive notifications when admin account is accessed from a new IP address. - -![notifications admin login](https://i.postimg.cc/mg9qmSH7/image.png) - -- To disable login notifications: `opencli admin notifications update login no` -- To enable login notifications: `opencli admin notifications update login yes` - ---- - -### Selfsigned SSL - -Docker images are now equipped with self-signed SSL certificates, enabling the establishment of secure connections from the Nginx proxy on the host server. - -This eliminates the need to [add custom code to wp-config.php to make WordPress work behind reverse proxy](https://developer.wordpress.org/advanced-administration/security/https/#administration-over-https). - ---- - -### OpenAdmin > ModSecurity - -*OpenAdmin > ModSecurity Settings* pagenow provides a list of all ModSec rules (files), logs from the Nginx service and options to identify attack, block IP addresses, disable certain rules or files, etc. - -![modsecurity settings page](https://i.ibb.co/7t7mZDW/2024-04-09-12-12.png) - -New commands are also available: - -- `opencli nginx-modsec --rules` displays rule files. -- `opencli nginx-modsec --logs IP_HERE/RULE_ID` allows you to search the logs. -- `opencli nginx-modsec --update` will update the ModSecurity OWASP Core Ruleset files. -- `opencli nginx-modsec --domain` displays a summary about a domain modsec status. -- `opencli nginx-modsec --enable FILE_NAME` enables a rule file globally. -- `opencli nginx-modsec --disable FILE_NAME` disabled a rule file globally. - - ---- - -### OpenAdmin > Docker - -Docker images can now be downloaded, updated and deleted from the *OpenAdmin > Docker Settings* page. - -![docker settings page](https://i.postimg.cc/nr66G5M6/2024-04-09-12-02.png) - -Command `opencli docker-update_images` can also be used from the terminal or cronjobs: https://openpanel.co/docs/admin/scripts/docker/#update-images - ---- - -### Custom Templates - -Starting v0.1.6 you can set [custom templates](https://dev.openpanel.co/templates/) for both OpenPanel and OpenAdmin interfaces! - -Examples: -![default](https://i.postimg.cc/wBGr0gkL/2024-04-05-17-00.png) -![example](https://i.postimg.cc/QMtPQHcj/2024-04-05-16-59.png) - -To create new templates copy the default templates folders: - -For OpenPanel: `cp /usr/local/panel/templates/ /home/custom_template/` - -For OpenAdmin: `cp /usr/local/admin/templates/ /home/custom_admin_template/` - -and then make the changes over html/css file. - -To change theme for OpenPanel, run command: - -``` -opencli config update template NAME_HERE -``` - -instead of *NAME_HERE* set either just the folder name in `/usr/local/panel/` or a full path, example: - -``` -opencli config update template "/home/custom_template/" -``` - -To change theme for OpenAdmin, run command: - -``` -opencli config update admin_template NAME_HERE -``` - -instead of *NAME_HERE* set either just the folder name in `/usr/local/admin/` or a full path, example: - -``` -opencli config update admin_template "/home/custom_admin_template/" -``` - ---- - - -### Export DNS Zone - -Users can now export the BIND9 DNS zone file from *OpenPanel > Edit DNS Zone* - -![export dns zone](https://i.postimg.cc/RFgBLdt4/image.png) - ---- - - -### Turkish translation - -Turkish language is now available for OpenPanel! 🎉 - -It will be included in the [0.1.6 version](https://openpanel.co/roadmap) and shipped with OpenPanel core. - -Thank you **grafen** for your personal contribution to OpenPanel. 🙏 - -To use `tr` locale immediately, run command: - -``` -wget -O - https://gist.githubusercontent.com/stefanpejcic/701fe98ab873120378f7c7de9d75e030/raw/0d4db8338ce2ad17aec54dfc1d4982abdbb254dc/install_tr.sh | bash -``` - -and the new locale will be available to your users under Account Settings: -![tr locale openpanel](https://i.postimg.cc/wv3J1DzS/image-720.png) - - ------ - -### Panel update from GUI - -OpenPanel can now be updated directly form the OpenAdmin interface. - -To update navigate to *OpenAdmin > General Settings* section and if new update is available, click on the update button to initiate. - -![update openpanel](https://i.postimg.cc/FzCGTgFg/openadmin-update-is-available.png) - ------ - -### /etc/cron.d/openpanel - -OpenPanel now utilizes a custom cron file located at `/etc/cron.d/openpanel` instead of relying on the root user's crontab. This allows the root user to add custom cronjobs without the risk of them being overwritten during OpenPanel updates. - -```bash -# /etc/cron.d/openpanel: crontab entries for the OpenPanel -# -# -# This file is used by OpenPanel to schedule cronjobs -# -# It should NOT be edited manually as it is overwritten on update. -# To add crons please use the crontab as root user. -# -# Important Note! This cronjob will NOT be executed if you are -# running systemd as your init system. If you are running systemd, -# the cronjob.timer function takes precedence over this cronjob. For -# more details, see the systemd.timer manpage, or use systemctl show -# certbot.timer. - -SHELL=/bin/sh -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin - -# SSL -0 */3 * * * root opencli ssl-hostname -0 */3 * * * root certbot renew --post-hook 'systemctl reload nginx' - -# STATISTICS -0 * * * * root opencli docker-collect_stats -30 2 * * * root opencli domains-stats - -# MAINTENANCE -* 2 * * * root opencli docker-usage_stats_cleanup -15 0 * * * root opencli update -0 0 12 * * root opencli server-ips - -# BACKUPS -0 7 * * * root opencli backup-check -0 8 * * * root opencli backup-scheduler - -# MONITORING -* * * * * root bash /usr/local/admin/service/notifications.sh -@reboot root bash /usr/local/admin/service/notifications.sh --startup -@reboot root opencli server-on_startup -``` - ------ - - -### remove apt cache - -Added checks to [remove apt cache](https://linuxier.com/how-to-clear-apt-cache-in-ubuntu/) and temporary files after install process - - ------ - -### Log PHP change - -When user modifies the default PHP version for CLI and new domains, the system logs this action in their activity log. - -![php_v_change](https://i.postimg.cc/XNKymZ0C/2024-04-10-12-14.png) diff --git a/website/docs/changelog/0.1.7.md b/website/docs/changelog/0.1.7.md deleted file mode 100644 index edc6b237..00000000 --- a/website/docs/changelog/0.1.7.md +++ /dev/null @@ -1,328 +0,0 @@ ---- -hide_table_of_contents: true ---- - - -# 0.1.7 - -Released on May 08, 2024 - -### 🚀 New features -- [French translation 🇫🇷](https://community.openpanel.co/d/45-parles-tu-francais-french-translation-for-openpanel) -- [WHMCS Module](#whmcs-module) -- [API endpoints for managing user accounts](#api-for-users) -- [Cronjobs can now be enabled/disabled and run on demand](#cron-disable) -- [Ubuntu 24.04 images](#ubuntu24-images) -- [Admin users can now be edited: rename, change password, suspend/unsuspend from OpenAdmin interface](#edit-admin-users) -- [OpenAdmin search for users, websites and options](#admin-search) -- [Forbidden usernames list](#forbidden-username) - - -### 💥 Breaking Changes -- [Containerized services](#containerized-services) -- [All services in our official docker images are now disabled by default](#disabled-services) -- Script `opencli docker-is_port_in_use` is now deprecated and will be removed in the future. - -### 🐛 Bug fixes -- [Fixed bug with successful update message in notification center](#success-message) -- Fixed bug with email alerts not being sent if server does not have a valid ssl -- Fixed js error when there are no docker images on *OpenAdmin > Docker Settings* -- Fixed bug where the system erroneously flagged initial admin login as a new admin login. -- [Fixed bug in the update script where failed updates were being retried.](#skip-version) -- [Fixed bug with leftover DNS zones from domains removed while the Named service is down](https://github.com/stefanpejcic/OpenPanel/issues/95) -- [Fixed multiple bugs with the install script](#improved-install) -- Fixed bug with pip install errors on python 3.11 -- Fixed bug with Nginx service unable to start if network is down during the installation or if ip.openpanel.co is unreachable. -- Fixed bug with `opencli admin` returning error instead of IPv4 address from external service. -- Fixed false-positive error bug when adding user via OpenAdmin interface. -- Fixed bug with search input on OpenAdmin > Firewall page. -- Fixed bug with ajax form submission not working on OpenAdmin > General Settings page (reported bySamanw). -- Fixed bug with docker: `failed to register layer: devicemapper: Error running deviceSuspend dm_task_run failed.` -- Fix bug with mysql: `ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 2` -- Fixed bug with PIP install on Python 3.11 and 3.12: `error: externally-managed-environment` -- Fixed bug with Gunicorn: `ModuleNotFoundError: No module named 'pyarmor_runtime_000000'` -- Fixed bug with Nginx: `Starting nginx: [emerg]: bind() to IP failed (99: Cannot assign requested address)` - - -## 💅 Polish -- [SSH service status is now restored after reboot](#ssh-after-reboot) -- Generate password button on *OpenAdmin > Users* now toggles the password field visible. -- All images are now hosted locally. -- Google Cloud Storage is now used as a mirror for installation files. -- [All docker images are now hosted on hub.docker.com](#hub-docker-com) -- Python 3.12 is now fully supported. - - ----- - -### WHMCS Module - -WHMCS module is now available for OpenPanel. -Currently supported actions are: - -- ✅ create account -- ✅ change password -- ✅ suspend account -- ✅ unsuspend account -- ✅ terminate account -- ✅ autologin from frontend -- ✅ autologin from backend -- ❌ get disk usage for account -- ❌ change package - -To setup WHMCS to use your OpenPanel server follow these steps: - -1. **Enable API access on OpenPanel server** - First make sure that API access is enabled by going to `OpenAdmin > API` or by running `opencli config get api` from the terminal: - ![enable_api](https://i.postimg.cc/L6vwMQ4t/image.png) - If API is not enabled, click on the "Enable API access" button or from terminal run `opencli config update api on`. - - We recommend creating new Administrator user for API, to create a new user navigate to *OpenAdmin > OpenAdmin Settings* and create new admin user, or from terminal run: `opencli admin new USERNAME_HERE PASSWORD_HERE` - -2. **Install OpenPanel WHMC Module** - Login to SSH for WHMCS server - Navigate to `path_to_whmcs/modules/servers` - Run this command to create a new folder and in it download the module: `git clone https://github.com/stefanpejcic/openpanel-whmcs-module.git openpanel` - -3. **Establish connection between the two servers** - On OpenPanel server make sure that the OpenAdmin port 2087 is open on `OpenAdmin > Firewall` or whitelist the IP adress of your WHMCS server. - to whitelist ip address from terminal run: `ufw allow from WHMCS_IP_HERE` - - On WHMCS server also make sure that the 2087 port is opened or whitelist the IP address of your OpenPanel server. - From WHMS navigate to: *System Settings > Products & Services > Servers* - ![screenshot](https://i.postimg.cc/MHWpL3tc/image.png) - Click on *Create New Server* and under module select **OpenPanel** then add OpenPanel server IP, username and password for the OpenAdmin panel: - ![create_whmcs_group](https://i.postimg.cc/3Jh3nqWY/image.png) - -4. **Create hosting packages** - Hosting packages need to be created on both OpenPanel and WHMCS servers. - On OpenPanel server login to admin panel and on `OpenAdmin > Plans` create hosting packages that you will be assinging to users on WHMCS. - - On the WHMCS server create first a new group and then create new plans under this group. When creating products, make sure to select OpenPanel for Module and the newly created group - ![screenshot2](https://i.postimg.cc/NLvF4GSc/image.png) - -5. **Test creating new accounts** - Create an order and create a new order to test OpenPanel API. - ---- - -### API for Users - -New API endpoints are available for automating various administrative tasks or integrating with billing solutions. - - -- List accounts - ```bash - curl -X GET http://PANEL:2087/api/users -H "Authorization: Bearer JWT_TOKEN_HERE" - ``` -- Create account - ```bash - curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" -d '{"email": "EMAIL_HERE", "username": "USERNAME_HERE", "password": "PASSWORD_HERE", "plan_name": "PLAN_NAME_HERE"}' http://PANEL:2087/api/users - ``` -- Suspend account - ```bash - curl -X PATCH -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" -d '{"action": "suspend"}' http://PANEL:2087/api/users/USERNAME_HERE - ``` -- Unsuspend account - ```bash - curl -X PATCH -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" -d '{"action": "unsuspend"}' http://PANEL:2087/api/users/USERNAME_HERE - ``` -- Delete account - ```bash - curl -X DELETE -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" http://PANEL:2087/api/users/USERNAME_HERE - ``` -- Change password - ```bash - curl -X PATCH -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" -d '{"password": "NEW_PASSWORD_HERE"}' http://PANEL:2087/api/users/USERNAME_HERE - ``` -- Change plan - ```bash - curl -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" -d '{"plan_name": "PLAN_NAME_HERE"}' http://PANEL:2087/api/users/USERNAME_HERE - ``` -- Autologin - ```bash - curl -X CONNECT -H "Content-Type: application/json" -H "Authorization: Bearer JWT_TOKEN_HERE" http://PANEL:2087/api/users/USERNAME_HERE - ``` - ---- - -### Improved install - -- `git` and `clamav` are now removed from the install script -- Added checks for failed wget (reported by *germangc125*) -- `--repair` flag will now retry all installation steps -- Port 22 is no longer disabled by default, only when flag `--no-ssh` is used. -- database import is now retried multiple times if mysql is not ready - ----- - -### Cron disable - -Users can now pause/unpause cronjobs and execute them out of schedule. - -![screenshot](https://i.postimg.cc/brZwBnSG/2024-04-15-23-56.png) - - -When troubleshooting cronjob, you can add ` >> /home/USERNAME/CRON.log 2>&1` in the cron command and output will be stored in the file everytime the cron is executed. - ------ - -### Edit Admin Users - -Admin users can now be edited: rename, change password, suspend/unsuspend from OpenAdmin interface. - -![screenshot](https://i.postimg.cc/Nf0sW-kvd/2024-04-16-10-39.png) - -Note: *Super admin* role can not be suspended or deleted. - ----- - -### Admin search - -OpenAdmin has been enhanced with a search feature, enabling Administrators to swiftly navigate the OpenAdmin interface and locate various items. -This search functionality covers: -- Users -- Websites -- OpenAdmin pages - -![sreenshot](https://i.postimg.cc/FFCV4Ktv/2024-04-17-14-35.png) - - - ----- - -### Success message - -Fixed bug with success message "OpenPanel successfully updated!" not dismissing the "New OpenPanel update is available" message. - -Fixed bug with wrong description added for successfull update. - -![screenshot](https://i.postimg.cc/PxDqzftk/2024-04-15-17-24.png) - ----- - -### Skip version - -Administrators now have the ability to specify which OpenPanel versions to skip during updates by modifying the `/etc/openpanel/upgrade/skip_versions` file. - -This feature proves handy when manually updating from an older version and wishing to skip certain intermediate versions. - -For instance, if a user is updating from OpenPanel 0.1.3 with autopatches disabled, the update process would typically progress from 0.1.4 to 0.1.5, then to 0.1.6, and finally to the latest version, 0.1.7. - -However, if there are minimal differences between versions 0.1.4 and 0.1.5, an admin can opt to skip version 0.1.4 by appending it to the `/etc/openpanel/upgrade/skip_versions` file: - -```bash -echo 0.1.4 >> /etc/openpanel/upgrade/skip_versions -``` - -Consequently, during the update procedure, specified version 0.1.4 will be skipped. - -It's worth noting that while skipping versions is possible, it's generally not recommended since each update typically takes around 30 seconds. - - -In the event of a failed update to a particular version, the opencli update scripts will automatically add that version to the `/etc/openpanel/upgrade/skip_versions` file to prevent future attempts at updating to it. - ----- - -### Forbidden Username - -Both `opencli user-add` and `opencli user-rename` scripts now use an external list of forbidden names from: `/usr/local/admin/scripts/helpers/forbidden_usernames.txt` file. Administrators can add usernames to this list. - -```bash -test -restart -reboot -shutdown -exec -root -admin -ftp -lsws -litespeed -1000 -vsftpd -apache2 -apache -nginx -php -mysql -mysqld -www-data -openpanel -``` - ----- - -### SSH after reboot - -SSH service inside users docker containers is disabled by default when account is created, and in OpenPanel < 0.1.6 was also disabled by default when server is rebooted. - -We now store the ssh service status for each user and if enabled, after reboot will be re-enabled. note: ssh service for users uses a random port, so after reboot the port is changed. - - ----- - -### hub.docker.com - -OpenPanel official docker images are now hosted on hub.docker.com - -- Nginx stack: https://hub.docker.com/r/openpanel/nginx/tags -- Apache stack: https://hub.docker.com/r/openpanel/apache/tags - - - ------ - -### Disabled services - -In order to reduce the memory footprint of Docker containers, we are implementing breaking changes to our official Docker images for Nginx and Apache: - -- NodeJS, Python, PM2, and WP-CLI are removed from the images. They are installed only when needed: when a user adds a WordPress website or a Node.js/Python application. -- All services are disabled by default and will only be enabled when needed. MySQL is enabled when adding the first database or user, webservers are started only when a domain is added, SSH only when SSH access is enabled, cron service after cronjob is added, etc. - -This ensures that only the services that are actually used are running. - -With these changes, **we managed to lower idle CPU & Memory Usage of new user accounts from 680MB to less than 10MB**. - ------ - - -### Ubuntu24 images - -Both official images [openpanel/nginx](https://hub.docker.com/r/openpanel/nginx) and [openpanel/apache](https://hub.docker.com/r/openpanel/apache) now use Ubuntu 24.04 as the base images. -This change fixes 16 vulnerabilities in the previous Ubuntu 22.04 docker image. - - ----- - -### Containerized services - -MySQL service is now also run as a docker container. This allows Admins to set cpu and memory limits for the service, as well to easily manage backup and restore. - -Example, restart mysql container: -```bash -docker restart openpanel_mysql -``` - -Example, backup mysql data locally: -```bash -docker run --rm \ ---mount source=openpanel_mysql_data,target= \ --v $(pwd):/backup \ -busybox \ -tar -czvf /backup/.tar.gz -``` - -Example, backup mysql data to AWS: -```bash -docker run --rm \ - -v openpanel_mysql_data:/var/lib/mysql \ - --env AWS_ACCESS_KEY_ID="" \ - --env AWS_SECRET_ACCESS_KEY="" \ - --env AWS_S3_BUCKET_NAME="" \ - --entrypoint backup \ - offen/docker-volume-backup:v2 -``` - ------ - diff --git a/website/docs/changelog/0.1.8.md b/website/docs/changelog/0.1.8.md deleted file mode 100644 index b272a1e4..00000000 --- a/website/docs/changelog/0.1.8.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -hide_table_of_contents: true ---- - - -# 0.1.8 - -Released on May 23, 2024 - -### 🚀 New features -- [Total Docker Resource Usage Settings](#docker-resources) -- [PHP Composer is now added to docker images](#php-composer) -- [Administrators can now grant root permissions to users](https://dev.openpanel.co/cli/commands.html#Grant-root) -- [`opencli docker` commands](https://dev.openpanel.co/cli/commands.html#Docker) -- [Docker info is now visible from the *OpenAdmin > Docker Settings* page](https://i.postimg.cc/6pCPVdsc/2024-05-09-19-38.png) -- [Exclude accounts from all backup jobs](#exclude-backups) - -### 🐛 Bug fixes -- "New User" button on 'OpenAdmin > Users' is now visible on mobile devices. -- Resolved issue regarding locales not being installed during OpenPanel installation. -- Fixed bug with mysql on Virtualizor: `Fatal glibc error: CPU does not support x86-64-v2` -- Fixed [bug with PyArmor encoding domains module](https://github.com/stefanpejcic/OpenPanel/issues/109) -- Fixed bug with Nginx docker image: `413 Request Entity Too Large` -- Fixed bug with 'Edit MySQL Config' to exclude keys without values -- Fixed bug with Apache Docker image - apache not getting real ip behind nginx proxy -- Fixed bug with search on 'OpenAdmin > ModSecurity Settings' page - -### 💅 Polish -- `opencli ssl-hostname` script now tries to restart all required services if any are failed. -- MySQL docker container now automatically restarts after failure. -- [GoAccess is now run as docker container to process domain logs](#allinurl-goaccess) -- First plan is now selected by default on the *OpenPanel > Users > Add New* form. -- [Improved messages for docker image updates](https://i.postimg.cc/GmQ7fXH7/2024-05-09-15-19.png) -- Docker container logs are now automatically rotated when they reach 5MB in size. -- `opencli php-install_php_version` now also sets limits for the php-cli ini -- Custom OpenPanel version can now be set on install with `--version=0.1.8` -- `jq` is no longer added on OpenPanel installation, instead only if/when needed by OpenCLI -- Install script now accepts addition flags: `--version=` `--post_install=` `--skip-apt-update` `--enable-ftp` `--ips` - -### Docker Resources - -Administrators now have the ability to set the maximum percentage of CPU and Memory resources that all Docker containers combined can utilize on the server. - -By default, this setting is configured to 90%, safeguarding against Docker monopolizing 100% of available resources and rendering the server inaccessible. - -![docker screenshot](https://i.postimg.cc/sgBj3HhX/2024-05-09-19-32.png) - -Please note: Memory usage is saved in gigabytes (GB), not as a percentage. Therefore, if the server's RAM is increased, the memory allocation settings will need to be adjusted accordingly. - -### PHP Composer - -Composer command is now available in both openpanel/nginx and openpanel/apache docker images. - - -### allinurl/goaccess - -GoAccess is no longer directly installed on the server; instead, it [runs as a Docker container](https://hub.docker.com/r/allinurl/goaccess) when necessary. This setup ensures that resources are utilized only when required and prevents any utilization of system services during idle periods. When collecting domain statistics, one container is initiated per domain name. - - -### Exclude backups - -You can disable individual user accounts from all backup jobs by including them in the file `usr/local/admin/scripts/helpers/excluded_from_backups.txt`. - diff --git a/website/docs/changelog/0.1.9.md b/website/docs/changelog/0.1.9.md deleted file mode 100644 index 7c7757a1..00000000 --- a/website/docs/changelog/0.1.9.md +++ /dev/null @@ -1,200 +0,0 @@ ---- -hide_table_of_contents: true ---- - - -# 0.1.9 - -Released on May 31, 2024 - - -### 🚀 New features -- [Remote API is now used by default for Websites Screenshots](#screenshots-api) -- OpenAdmin Notifications Center is now using [Sentinel](https://github.com/stefanpejcic/Sentinel/tree/main) service -- [IPset Blacklists for UFW](#ipset-blacklists) -- [Restrict access to Cloudflare only with a single click](#cloudflare-only) -- [OpenPanel FTP - FTP module for OpenPanel (**BETA**)](#ftp) -- [OpenMail - Emails module for OpenPanel (**BETA**)](https://github.com/stefanpejcic/OpenMail/) -- [`opencli faq` command to show frequently asked questions](#opencli-faq) - -### 🐛 Bug fixes -- Fixed 500 error on `/domains/edit-dns-zone` caused by the 0.1.7 update. -- Fixed bugs with `opencli admin on` and `opencli admin off` commands. -- Fixed bug with escaping `!` character in mysql database and user names. -- Fixed css bug in the menu that caused the *OpenAdmin > Notifications* link not to be shown on mobile. -- Fixed bug with `opencli report` that failed to retrive MySQL version for mysql running inside docker container. -- Fixed bug with incorect version in changelog link on *OpenAdmin > General Settings > Update Preferences*. -- Fixed bug with `opencli update` script failing due to `jq` missing on OS. -- Fixed js error on *OpenAdmin > CPU & RAM Usage* pages. -- Fixed 500 error on *OpenAdmin > Docker* page caused by the 0.1.8 update. -- Fixed bug with usermod when creating users via `opencli user-add` command. -- Fixed bug with WHMCS module not changing user plan due to whmcs passing plan_name instead of plan_id. -- Fixed bug with nginx default vhost file missing on account creation. - -### 💅 Polish -- [Install script now accepts `--hostname=` flag](#hostname-flag). -- [Custom SSH Welcome message](#ssh-welcome) -- `www.` is now automatically added as alias for new domains. -- `opencli user-add` `opencli user-change_plan` and `opencli plan-create` scripts now use plan name instead of plan id. -- Working server time on OpenAdmin > Dashboard. -- CPU type information on OpenAdmin > Dashboard. -- [Cloudflare IP addresses are now highlighted in OpenAdmin > Firewall](https://i.postimg.cc/xTDPTG6S/image.png) -- Install script now supports optional flags `--skip-blacklists`, `--enable_ftp` and `--enable_mail` to enable experimental features. -- `opencli -v` is now an alias for `opencli --version`. -- `opencli admin` command now accepts `log` and `help` flags. -- Added detailed usage with examples for `opencli admin` command. -- OpenPanel API now also uses the forbidden_usernames.txt* file. -- [Pre-fill OpenAdmin > Plans > New form ](#prefill-plan) - - - -### Screenshots API - -Starting 0.1.9, the [Playwright](https://playwright.dev/) service is no longer installed on the server for generating website screenshots. Instead, the remote screenshots API is utilized, and images are served from it. This change will conserve up to 1GB of additional disk space previously required for the Playwright service on each server. Additionally, it will decrease CPU consumption since screenshots are no longer generated locally but served from another server. - -- For new installations: By default, the `http://screenshots-api.openpanel.co/` API is used. Administrators can specify any other third-party API during installation using `--screenshots=LINK_HERE`. Alternatively, they can install the local Playwright service with `--screenshots=local`. -- For existing installations: Upon upgrade, the default screenshots service will be changed from local to `http://screenshots-api.openpanel.co/`. Administrators can modify the API by using the terminal command: `opencli config update screenshots NEW_LINK_HERE`, or they can keep using the existing local service using: `opencli config update screenshots local`. - - -### FTP - -New experimental OpenPanel FTP module is now available and allows you to create FTP sub-accounts. - -Upon activation, a fresh Docker container featuring VSFTPD will be initiated, serving as a shared environment for all OpenPanel FTP sub-users. This ensures the segregation of FTP accounts from other processes and services. Even in the event of a compromise, the impact is contained within the confines of the OpenPanel user's home folder, preventing access to other services or files. - -This functionality leverages the [open-source OpenPanel FTP module](https://github.com/stefanpejcic/OpenPanel-FTP/) and is currently in its preliminary developmental phase. As such, it is not enabled by default and there are no additional options available in the OpenPanel interface to facilitate the creation and management of FTP users. Currently, all configurations must be performed by the administrator via the terminal: - -To install FTP on an OpenPanel server, execute the following command: -```bash -opencli ftp-setup -``` - -To create new FTP accounts: -```bash -opencli ftp-add -``` - -After detailed testing, a dedicated FTP page will be introduced to the OpenPanel, enabling users to seamlessly create FTP sub-users. - -### Cloudflare only - -Administrators can now disable direct server access and only allow access via Cloudflare proxy. - -```bash - OpenPanel server - _____________________________ - __________________________________ | | | - | | | F | | --->| Traffic comming from Cloudflare |---------->| I | Websites | - |__________________________________| | R | | - __________________________________ | E | & | - | | | W | | --->| Direct access to server IP |----------X| A | User services | - |__________________________________| | L | | - | L | | - |_____|_______________________| -``` - -To enable this feature simply navigate to OpenAdmin > Firewall and click on the Cloudfare button. - -![screenshot of ipset cloudflare feature](https://i.postimg.cc/Z5dMnKSW-/image.png) - - -### IPset Blacklists - -OpenAdmin Firewall now allows Administrators to easily add blacklists to block IP addresses from known malicious sources. - -This feature uses the [ipset-blacklist service](https://github.com/stefanpejcic/ipset-blacklist) automating the process of fetching and blocking IPs. It's a simple yet effective way to enhance system security without manual hassle. - -![ipset-blacklist](https://i.postimg.cc/4xN3Qxvy/image.png) - -Default blacklists: - -| Blacklist | URL | -|-----------------|----------------------------------------------------------------------| -| AbuseIPDB (DISABLED) | [https://api.abuseipdb.com/api/v2/blacklist](https://api.abuseipdb.com/api/v2/blacklist) | -| OpenPanel (DISABLED) | [https://api.openpanel.co/blocklist.txt](https://api.openpanel.co/blocklist.txt) | -| Spamhaus DROP | [https://www.spamhaus.org/drop/drop.lasso](https://www.spamhaus.org/drop/drop.lasso) | -| Spamhaus EDROP | [https://www.spamhaus.org/drop/edrop.lasso](https://www.spamhaus.org/drop/edrop.lasso) | -| DShield | [https://www.dshield.org/feeds/suspiciousdomains_Low.txt](https://www.dshield.org/feeds/suspiciousdomains_Low.txt) | -| FireHOL level1 | [https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level1.netset](https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level1.netset) | -| FireHOL level2 | [https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level2.netset](https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level2.netset) | -| FireHOL level3 | [https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level3.netset](https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level3.netset) | -| FireHOL level4 | [https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level4.netset](https://raw.githubusercontent.com/firehol/blocklist-ipsets/master/firehol_level4.netset) | -| Binary Defense | [https://www.binarydefense.com/banlist.txt](https://www.binarydefense.com/banlist.txt) | -| blocklist.de | [https://lists.blocklist.de/lists/all.txt](https://lists.blocklist.de/lists/all.txt) | - -Administrators can add additional blacklists. - -### opencli faq - -OpenCLI now has a new command `opencli faq` to display most frequently asked questions: - -![opencli faq command output](https://i.postimg.cc/k5k7VkQX/image.png) - - -### /etc/openpanel/ - -To enable easier updates in the future, we are gradually migrating all configuration files from `/usr/local/panel/` & `/usr/local/admin/` directories to the new `/etc/openpanel/` directory. - -This will separate configuration files in /etc/ from all the code in /usr/ and therefore no configuration files will need to be moved&restored when performing updates. - -Current changes include: - -- Forbidden usernames file is now moved from: `/usr/local/admin/scripts/helpers/forbidden_usernames.txt` to `/etc/openpanel/openadmin/config/forbidden_usernames.txt` -- FTP configuration files are stored under `/etc/openpanel/ftp/users/` -- Template to prefill Plan Form is now moved from `/usr/local/admin/conf/new_plan_template` to `/etc/openpanel/openadmin/config/new_plan_template` - -### SSH Welcome - -A welcome message is shown to administrators upon logging into the server. The message currently displays OpenPanel version, admin link and help links. In the future it will also check for OpenPanel updates and display reminders. - -![ssh-welcome-message](https://i.postimg.cc/vmPTN47c/image.png) - -Custom SSH welcome message is also shown to OpenPanel users upon logging into the server. This message can be customized by the Administrator. - -![ssh-welcome-message-for-users](https://i.postimg.cc/tJfnsYvs/image.png) - - -### Prefill Plan - - -![prefill plan screenshot](https://dev.openpanel.co/prefill_plan_form.png) - - -To pre-fill data into the new plan form, simply create a new file: - -``` -/etc/openpanel/openadmin/config/new_plan_template -``` - -and set the data to be used: - -``` -{ - "name": "Starter Plan", - "description": "Basic starter plan for new users.", - "docker_image": "apache", - "domains": 5, - "websites": 3, - "databases": 2, - "ram": 2, - "cpu": 1, - "port_speed": 100, - "disk_limit_for_docker": 10, - "inodes_for_storage_file": 500000, - "disk_limit_for_storage_file": 20 -} -``` - - -### hostname flag - -[Install script](https://openpanel.co/docs/admin/intro/#installation) now accepts `--hostname=` flag to set the provided hostname on the server and set it for accessing both OpenPanel and OpenAdmin interfaces. The hostname must be a [Fully qualified domain name](https://en.wikipedia.org/wiki/Fully_qualified_domain_name). - -Example: -```bash -bash <(curl -sSL https://get.openpanel.co/) --hostname=server.openpanel.site -``` - - diff --git a/website/docs/changelog/0.2.0.md b/website/docs/changelog/0.2.0.md deleted file mode 100644 index 7f752237..00000000 --- a/website/docs/changelog/0.2.0.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -hide_table_of_contents: true ---- - - -# 0.2.0 - -Released on June 05, 2024 - - -### 🚀 New features -- [Support for Debian 11 and Debian 12](https://openpanel.co/blog/openpanel-supports-debian12/) -- [SWAP Usage notification and cleanup](#swap-notifications) -- [Email Templates for OpenAdmin Notifications](#email-template) -- [Email address can be added to receive login information](#install-email) -- Install script now accepts an optional flag `--swap=` to set disk space in GB for SWAP. - -### 🐛 Bug fixes -- Fixed 500 error on `/pm2` when installing Python application. -- Fixed error `Error retrieving database count for the user.` when user has MySQL service stopped. -- Fixed bug with Memcached 1.6.24+ `bind(): Cannot assign requested address #failed to listen on one of interface(s) 127.0.0.1,::1: Invalid argument`. - -### 💅 Polish -- [MySQL database queries optimization and improvements](#optimizing-mysql) -- dshield and spamhaus_edrop blacklists are removed from ipset-blacklist. -- `pip` is now automatically installed on PM2 when setting Python application. -- [terms & conditions modal on first login to OpenAdmin](https://i.postimg.cc/L5JKBzKV/image.png). -- [Customize Openpanel installation process](https://openpanel.co/install). -- Added service icons to *OpenAdmin> Dashboard* page. -- [opencli user-add script is optimized](#user-add). -- Installation and update information are now separate, so users won't receive update notifications until the update script is available. - - - -### SWAP Notifications - -SWAP usage can now also be monitored. When it reaches the threshold, you will receive a notification, and the Sentinel service will clear the swap. Once the process is complete, you will receive another notification. - -SWAP usage can also be monitored. When the treshold is reached you will receive a notification and the Sentiel service will clear the swap. After it is completed you will receive another notification. - -![swap-usage notifications](https://i.postimg.cc/nLTK7LbH/image.png) - -To change the swap usage treshold from terminal -```bash -opencli admin notifications update swap 90 -``` - -### Optimizing MySQL - -One major change for new installations is that the mysql login information is now stored in `/etc/openpanel/openadmin/config/db.cnf` for both OpenPanel and OpenAdmin. -File `/usr/local/admin/config.json` is also removed, so in the future all OpenCLI, OpenAdmin and OpenPanel will use the same file. This change will simplify the installation process and changes needed when mysql information is changed. - -All queries from OpenPanel and OpenAdmin interfaces are now optimized, ensuring even faster user login and all other database-related tasks. - - - - - -### Email Template - -OpenAdmin Notifications now use a custom email template: - -![admin template screenshot](https://i.postimg.cc/633XNKkH/image.png) - -This template was heavily inspired by [Vercel verification email](https://www.saasframe.io/examples/vercel-verification-email). - -Template can be customized by the Administrator by editing: `/usr/local/admin/templates/system/email_template.html` - - - -### user-add - -`opencli user-add` script was rewritten to optimize the account creation process. Detailed debugging information is available, overlay2 is supported for Docker and for each new user files are used from the `/etc/openpanel/openadmin/skeleton/` directory. - - - -### Install email - -Custom email address can now be set when installing OpenPanel using the `--email=` flag. If set, after the installation process, this email address will receive an email containing the OpenAdmin login information: - -![install email screenshot](https://i.postimg.cc/dvvVD9VS/image.png) - - diff --git a/website/docs/changelog/0.2.1.md b/website/docs/changelog/0.2.1.md deleted file mode 100644 index 4e3f25a3..00000000 --- a/website/docs/changelog/0.2.1.md +++ /dev/null @@ -1,224 +0,0 @@ ---- -hide_table_of_contents: true ---- - - -# 0.2.1 - -Released on June 28, 2024 - -### 🚀 New features -- [Spanish Translation 🇪🇸](https://community.openpanel.co/d/59-hablas-espanol-spanish-translation-for-openpanel) -- [OpenPanel Enterprise Edition](/product/openpanel-premium-control-panel/) -- OpenAdmin > Templates -- [OpenAdmin > Services > View Log Files](#log-viewer) -- [OpenAdmin > Services > Nginx Configuration](#nginx-configuration) -- [**BETA** support for CSF (ConfigServer Firewall) as drop-in replacement for UFW](#csf). -- [Internal OpenPanel blacklist](#openpanel-blacklist) -- [**BETA** FOSSBilling Module](https://github.com/stefanpejcic/FOSSBilling-OpenPanel) -- [OpenAdmin > Firewall > Settings](#firewall-settings) -- [opencli admin notifications check](#notifications-check) command -- [Custom CSS code can now be added to the OpenAdmin interface](#custom-css) -- [`/phpmyadmin` for each user domain proxies to their PHPMyAdmin instance](#phpmyadmin-proxy) -- [Visualize docker container resource usage per user](#docker-usage) - - -### 💥 Breaking changes -- All OpenPanel configuration files are now stored in `/etc/openpanel` - this directory is not modified on updates. -- OpenPanel service is now run inside `openpanel` docker container. -- [Translations are now stored in `/etc/openpanel/openpanel/translations/` directory](#translations). - -### 🐛 Bug fixes -- Fixed bug with [IP Address not showing in spanish](https://community.openpanel.co/d/60-ip-address-not-showing-in-spanish) - reported by [Luis Mendoza](https://github.com/mendozal) -- Fixed bug with `opencli user-rename` script -reported by [Matej Mohar](https://github.com/matejmohar) -- Excluded `/send_email` route on OpenAdmin from terms check. -- Fixed bug with `server_config.yml` file missing for new accounts. -- Fixed bug with OpenPanel > WPManager not displaying screenshots from remote api due to CSP setting. -- Fixed bug with mysql port exposed after reboot due to failed checks in bash script. -- Fixed bug with `jc` parsing of docker stats. -- Fixed bug with Sentinel checking SWAP usage when there is no swap file created. -- Fixed bug with custom css and js files causing 404 errors on OpenPanel > Dashboard - - -### 💅 Polish -- [16x faster account creation](https://openpanel.co/blog/how-we-decreased-bash-script-execution-by-16x-for-openpanel/#initial-challenges) -- [Additional PHP extensions are now installed with every version](#php-extensions) -- Added an option to block incoming ping (ipmi) in UFW. -- [OpenAdmin cron logs](https://dev.openpanel.co/logs.html#Logs) -- Changed paths for [OpenPanel and OpenAdmin log files](https://dev.openpanel.co/logs.html#Logs) - - - - -### Log Viewer - -The *OpenAdmin > Services > View Log Files* feature enables users to access and monitor logs for both OpenPanel and system services. This functionality supports modularity by allowing customization of the log files displayed in the viewer. - -![log viewer page](https://i.postimg.cc/zGmWT8L0/errorlof.png) - -List of default log files: https://raw.githubusercontent.com/stefanpejcic/openpanel-configuration/main/openadmin/config/log_paths.json - -To define custom log files for the viewer: - -1. Edit Configuration File: - Modify the file located at `/etc/openpanel/openadmin/config/log_paths.json`. This file should contain entries in JSON format where each key-value pair represents a log file name and its corresponding path. - Here is an example of what the log_paths.json file might look like: - Simply edit the file `/etc/openpanel/openadmin/config/log_paths.json` and in it set the desired log files and names: - ```json - { - "Nginx Access Log": "/var/log/nginx/access.log", - "Nginx Error Log": "/var/log/nginx/access.log", - "OpenAdmin Access Log": "/var/log/openpanel/admin/access.log", - "OpenAdmin Error Log": "/var/log/openpanel/admin/error.log", - "OpenAdmin API Log": "/var/log/openpanel/admin/api.log", - "Custom Service Log": "/path/to/custom/service.log" - "Syslog": "/var/log/syslog" - } - ``` - Replace `/path/to/custom/service.log` with actual path to your custom log files. - -2. Verify JSON Validity: - Ensure that the log_paths.json file is formatted correctly as JSON. Any syntax errors in the JSON file will prevent the custom log files from appearing in the viewer. - You can check the validity of your JSON file by using a command-line JSON processor like jq: - ```bash - cat /etc/openpanel/openadmin/config/log_paths.json | jq - ``` - If the JSON is valid, `jq` will output the parsed JSON structure. If there are any errors, `jq` will indicate where the problem lies. - -3. Verify Custom Logs in Viewer: - After saving the changes, navigate to *OpenAdmin > Services > View Log Files* in the interface. The custom log files you specified in log_paths.json should now appear alongside the default logs. - -By following these steps, you can effectively customize the log files displayed in the OpenAdmin log viewer according to your specific requirements. This flexibility allows you to monitor logs from both standard services and any custom applications or services you integrate with OpenPanel. - - -### Docker Usage - -*OpenAdmin > Users > Profile > Usage* page now shows a graph of users docker contianer resource usage from the table. - -![screenshot](https://i.postimg.cc/gJpmK6Yg/usagestats.gif) - -### OpenPanel Blacklist - -OpenPanel Blacklist shows top 10000 IP addresses that are currently involved *(in last 12hr) with attacks to OpenPanel servers. - -The list is auto-generated from the data collected by Sentinel service. Data is checked against other blacklists in order to avoid any false-positives and provide always up-to-date information. - -URL: https://api.openpanel.co/blocklist.txt - -![openpanel blacklist](https://i.postimg.cc/N0QncRRt/2024-06-08-13-45.png) - -Starting OpenPanel 0.2.1 this blacklist will be enabled by default in [IPset Blacklists](/docs/changelog/0.1.9/#ipset-blacklists). - - -### PHP extensions - -Additional php extensions are now installed for every PHP version. - -New extensions: -- xdebug -- apcu -- imap -- pgsql -- odbc -- dba -- enchant -- gmp -- snmp -- soap -- pspell -- recode -- gettext -- sybase -- shmop -- sysvmsg -- sysvsem -- sysvshm -- tokenizer -- wddx -- xsl -- interbase -- mcrypt -- mysqli -- pdo -- pdo_dblib -- pdo_firebird -- pdo_mysql -- pdo_odbc -- pdo_pgsql -- pdo_sqlite -- phalcon -- radius -- readline -- reflection -- session -- simplexml -- sodium -- solr -- sqlite3 -- stomp -- sysvshm -- tcpdf -- tidy -- uploadprogress -- uuid -- wddx -- xcache -- xdebug -- xmlreader -- xmlwriter -- yaml -- zip -- zlib - -Due to the higher number of extensions, we are also changing the install method to run in parallel. This may result in incosistent logs for php version install, but will speed up the install up to 4x. - -### PHPMyAdmin Proxy - -OpenPanel users can now access their PHPMyAdmin instances using https://their-domain/com`/phpmyadmin`. Auto-login from OpenPanel is still available, but if accessed via *https://their-domain/com/phpmyadmin/* then they can login as any mysql user and access the databases that user has access. This allows users to securely share limited phpmyadmin access with third parties. - -### Translations - -Starting version 0.2.1 the path for OpenPanel translations is changed from `/usr/local/panel/translations/` to `/etc/openpanel/openpanel/translations/`. This will ensure that translation files are not modified during OpenPanel updates, ensuring that you never lose your local changes. - - -### Firewall Settings - -*OpenAdmin > Frewall > Settings* page displays current firewall status, allows you to enable/disable firewall, edit settings, export existing rules or reset rules for all users. - -![firewall-settings](https://i.postimg.cc/NFGZm1Lx/2024-06-11-12-25.png) - -- **IPv6** options allows you to enable or disable IPv6 rules. When disabled, the IPv6 ports tab is hidden. -- **Default Input Policy** allows you to set DROP or ACCEPT incoming connections to ports that are not specified in the rules. -- **Default Output Policy** allows you to set DROP or ACCEPT outgoing connections from ports that are not specified in the rules. -- **Allow ping (IPMI)** allows you to enable or disable ping. -- **Export IPv4 rules** will download in txt file all existing ipv4 rules. -- **Export IPv6 rules** will download in txt file all existing ipv6 rules. -- **Reset ports for all users** will delete opened ports for all users and open the current ports for all active users. -- **Restrict access to Cloudflare only** - will whitelist all Cloudfalre proxy IP addresses. - -### notifications check -`opencli admin notifications check` command allows administrators to check notifications manually from the terminal. - -Example output: -![notifications screenshot](https://i.postimg.cc/pdcdGVvv/2024-06-18-15-06.png) - -### CSF - -ConfigServer Firewall can now be used with OpenPanel. To switch to CSF: -1. Uninstall UFW -2. Install CSF -3. Run `opencli firewall-reset` - -This will open needed ports and edit csf.conf to allow docker networks to communicate to the host. - -Please note that currently there is no interface in OpenAdmin to manage the CSF, so all changes need to be made [from the terminal](https://pcx3.com/cheatsheets/csf/) or by using [CSF UI](https://tecadmin.net/how-to-enable-csf-firewall-web-ui/). - -### Custom CSS - -Administrators can add custom CSS code in `/usr/local/admin/static/custom/custom.css` file. - -![example css](https://i.postimg.cc/LsW-Hkyk6/2024-06-18-15-04.png) - -Bootstrap5 documentation on setting variables: https://getbootstrap.com/docs/5.3/customize/color-modes/#variables - - diff --git a/website/docs/changelog/0.2.2.md b/website/docs/changelog/0.2.2.md deleted file mode 100644 index 7be7424c..00000000 --- a/website/docs/changelog/0.2.2.md +++ /dev/null @@ -1,114 +0,0 @@ ---- -hide_table_of_contents: true ---- - - -# 0.2.2 - -Released on July 16, 2024 - - -### 🚀 New features -- **BETA** support for RockyLinux 9.4 -- [DNSSEC for OpenPanel domains](https://dev.openpanel.co/cli/commands.html#DNSSEC) -- [Daily Usage Reports](#usage-reports) -- [Sentinel CLI](https://dev.openpanel.co/cli/commands.html#Sentinel) -- Google PageSpeed data for WordPress websites on [OpenPanel WPManager](/docs/panel/applications/wordpress/). -- Option to clear cached RAM from [OpenAdmin Dashboard](/docs/admin/dashboard/) page. -- [Shared phpMyAdmin for All OpenPanel users and their MySQL users](#phpmyadmin). -- Alerts for new SSH logins, checked agains the list of OpenAdmin logins. - - -### 🐛 Bug fixes -- Fixed bugs on *OpenAdmin > Users > Profile* and *OpenPanel > Dashboard* with disk usage information not displayed when overlay2 storage driver is used. -- Fixed bug with File Watcher service causing infinite OpenAdmin service restart on Ubuntu24. -- Fixed bug with File Watcher service failing to generate SSL for new nginx conf files. -- Fixed bug with OpenAdmin > Firewall > Blacklists (IPsets) causing `ufw reload` command to fail - reported by [@f1lk3](https://github.com/f1lk3). -- Fixed bug with `opencli config update` command not restarting OpenPanel docker container *(introduced in OpenPanel 0.2.1). -- Fixed bug with redis installation failing due to "noble" lsb_release added in [Redis Stack](https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/linux/). -- Fixed error 'Error stoping service panel: Failed to stop panel.service: Unit panel.service not loaded.' when managing panel service from OpenAdmin > Dashboard page. -- Fixed bug with `opencli admin notifications` not saving resource usage tresholds. - -### 💅 Polish - -- OpenPanel > WPManager > Install WordPress form now has prefilled email address. -- All modals on OpenPanel > File Manager now autofocus the input buttons. -- When new domain is added, OpenPanel will automatically check SSL for all other doamins owned by the user and regenerate the ssl information for OpenPanel > SSL page. -- [OpenCLI improvements, history and logging](#opencli-help) -- Widgets on [OpenAdmin Dashboard](/docs/admin/dashboard/): *Usage*, *Quick Start*, *Latest News* and *CPU* can now be dismissed. - - -### Mautic Autoinstaller - -| Mautic Manager | Mautic Auto-installer | -|----------------|----------------| -| [![mautic manager](https://i.postimg.cc/jxrps7Vc/image.png)](https://i.postimg.cc/jxrps7Vc/image.png) | [![mautic installer](https://i.postimg.cc/sj9t1gsr/image.png)](https://i.postimg.cc/sj9t1gsr/image.png) | - -The Mautic autoinstaller is now available, offering the following features: - -- Install the latest 10 versions of Mautic -- Automatically create and remove cron jobs -- Backup files and/or database -- Restore files and/or database -- Check Mautic, PHP, and MySQL versions -- Display file sizes -- Generate daily PageSpeed reports -- View database login information -- Remove Mautic from the manager -- Uninstall Mautic - -Note: Auto-login is not currently supported. According to [Mautic documentation](https://docs.mautic.org/en/5.x/authentication/authentication.html), you need to manually enable HTTP authentication or set up OAuth first. - -Upcoming features on the to-do list include: - -- Viewing email statistics from Mautic -- Checking for and running updates -- Viewing and editing settings for outgoing emails -- Clear cache - -Mautic Manager is disabled by default. To enable it, navigate to **OpenAdmin > OpenPanel Settings**. -![enable mautic on openadmin](https://i.postimg.cc/bwwQ0L2g/image.png) - - -### Usage Reports - -If email alerts are enabled, daily usage reports are generated: - -![daily usage report](https://i.postimg.cc/L8ZJptHV/daily-email-reports.png) - - -### phpMyAdmin - -Added an option to run a shared phpMyAdmin service accessible on a custom domain, allowing login for all MySQL users of OpenPanel. This service contradicts OpenPanel's usual setup where each user has independent services, but it was requested by a few users, so we decided to implement it. It remains disabled by default. - -To enable the shared phpMyAdmin service, first set the URL where it will be accessible. For example: - -```bash -opencli config update pma_url https://phpmyadmin.pejcic.rs -``` - -Then enable the phpMyAdmin service for all users: - -```bash -opencli phpmyadmin --enable -``` - -This will start the phpMyAdmin service, configure an nginx reverse proxy for the domain, and generate an SSL certificate if using HTTPS. - -![screenshot](https://i.postimg.cc/7h5Sg4vV/phpmyadminlink.png) - - - - -To disable the service: - -```bash -opencli phpmyadmin --disable -``` - -If enabled, the auto-login option from OpenPanel will no longer work. Instead, each user must use a username and password to log in to phpMyAdmin. - -NOTE: OpenPanel user must enable RemoteMySQL for his mysql users to be able to use the phpMyAdmin service. - - -If this shared service is enabled, we recommend removing phpmyadmin from the Dockerfiles and rebuilding the images. This will save you up to 250MB per OpenPanel user. diff --git a/website/docs/changelog/0.2.3.md b/website/docs/changelog/0.2.3.md deleted file mode 100644 index b79ed60b..00000000 --- a/website/docs/changelog/0.2.3.md +++ /dev/null @@ -1,86 +0,0 @@ ---- -hide_table_of_contents: true ---- - - -# 0.2.3 - -Released on July 24, 2024 - - -### 🚀 New feature -- [ConfigServer Firewall](#configserver-firewall) Integration -- [Upload file from URL using File Manager](#upload-url) -- [Autoinstaller](#autoinstaller) -- [Site Manager](#site-manager) - -### 🐛 Bug fixes -- Fixed bug with cron file causing daily reports not being sent from OpenAdmin. -- Fixed bug with `opencli websites-pagespeed --all` failing to generate reports for all websites. -- Fixed bug with `/json/page_speed/` route not accepting websites in subfolders. -- Fixed bug with Mautic installation emptying the .htaccess file. -- Fixed bug with xarg parsing in `opencli php-install_php_version` causing php version not to be installed. -- Fixed bug with deprecated php extensions being requested when running `opencli php-install_php_version`. -- [Fixed bug with mysql that caused the first 2 plans added to not be saved](https://github.com/stefanpejcic/openpanel-configuration/commit/51c1f1ffe3e4726850ba84992bb050b2c02b8a9c). -- Fixed bug with cron service not auto-starting after server reboot if user has cronjobs. -- Fixed bug with the Apache and Nginx state not being saved when domain is added. -- Fixed internal bug `#YFE-625684` when adding new domains for user that has Apache webserver. -- Fixed css bug with user letter avatar on OpenPanel sidebar menu. - - - - -### 💅 Polish - -- All new user accounts now have fixed ports for MySQL and SSH services, so the ports remain consistent even after a restore or server reboot. -- [Install script](/install) now accepts `--username=` and `--password=` flags to create admin account. -- Nginx and Apache vhosts files now restrict access to sensitive resources by default, these include: `.git`, `compose.json`, `composer.lock`, `auth.json`, `config.php`, `wp-config.php`, `vendor`. OpenPanel users can edit and remove the rules for any domain, from the **OpenPanel > Domains > Edit Vhosts File** page. -- PM2 Application installer now supports optional flags to be passed to the startup file. -- [Websites List](#websites-list) -- `opencli report` command now provides more detailed info for OpenAdmin service: pip installed packages, python version, ufw/csf rules and full error log. -- `opencli user-sudo` command now allows user to use the `su -` command to switch to root user. -- [/etc/profile.d/welcome.sh](https://github.com/stefanpejcic/openpanel-configuration/blob/main/ssh/admin_welcome.sh) now has 5sec timeout. -- `opencli server-on_startup` now updates openpanel version number from the docker container on server reboot, and `/etc/profile.d/welcome.sh` on each root user ssh login. - - -### ConfigServer Firewall - -ConfigServer Firewall is now the default firewall manager for OpenPanel. UFW can still be selected with the `--ufw` flag on installation. - -![csf openpanel integration](https://i.postimg.cc/2kJ2kgQs/csf-openpanel-023.png) - - -### Upload URL - -In **OpenPanel > File Manager**, click on "Upload." In the modal, select "Download from URL," then add the link and click the "Download" button. - -This feature accepts any link type. If the link points to an archive *(`.zip`, `.tgz`, `.tar.gz`, `.tar`, `.gz`), it will automatically be extracted; if it's a regular file, it will simply be downloaded. - -![upload from url file manager](https://i.postimg.cc/xT98xwwQ/ezgif-2-6ffcbe189c.gif) - - -### AutoInstaller - -Administrators can choose which CMS/tools to allow for the AutoInstaller interface from the **OpenAdmin > General Settings** page. - -![autoinstaller openpanel](https://i.postimg.cc/3RbrBQSB/autoinstaller-v1.png) - -We also receive frequent questions from new users on how to upload a website, as they often get confused by the *New Website* modal. To address this, we added an option to choose between using the Autoinstaller or manually adding files and databases: - -![new website modal openpanel](https://i.postimg.cc/zBfXKGjv/new-modal.png) - - -### Site Manager - -Mautic Manager, WordPress Manager, and PM2 (NodeJS & Python) are now combined in a single interface named **Site Manager**. - -![site manager openpanel](https://i.postimg.cc/gjXztt1P/site-manager.png) - - -This interface will list all available websites from the database. - -### Websites List - -List of all websites on **OpenPanel > Site Manager > selected website**. - -![websites list](https://i.postimg.cc/cs6yWdwH/siteslist.gif) diff --git a/website/docs/changelog/0.2.4.md b/website/docs/changelog/0.2.4.md deleted file mode 100644 index 9aaa05f2..00000000 --- a/website/docs/changelog/0.2.4.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -hide_table_of_contents: true ---- - -# 0.2.4 - -Released on August 02, 2024 - -### 🚀 New features -- [cPanel 2 OpenPanel importer (BETA)](/docs/articles/transfers/import-cpanel-backup-to-openpanel/) -- [opencli domains-add](https://dev.openpanel.co/cli/commands.html#Add-Domain-to-User) -- [opencli user-disk](https://dev.openpanel.co/cli/commands.html#View-disk-usage-for-user) -- [opencli php-ioncube](https://dev.openpanel.co/cli/commands.html#Enable-ioncube-loader) -- [Django autoinstaller](/docs/articles/user-experience/how-to-setup-django-on-openpanel) - - -### 🐛 Bug fixes -- Fixed error [Unable to create csf UI temp file: 'utf-8' codec can't decode byte 0xa9 in position 1422: invalid start byte](https://github.com/stefanpejcic/OpenPanel/issues/152) -- Fixed error [Error executing command opencli user-change_plan : Error: Unable to fetch limits for the new plan](https://community.openpanel.co/d/79-an-error-occurred-while-attempting-to-upgrade-the-hosting-plan) -- Fixed bug with [MySQL for users not auto-starting after server reboot](https://community.openpanel.co/d/77-bug-mysql-for-users-not-auto-starting-after-server-reboot) -- Fixed bug with the certbot schedule failing to run SSL renewals -- Fixed bug with display of website favicons from https://t1.gstatic.com/ and https://t2.gstatic.com/ on OpenPanel > Site manager -- Fixed 500 error on OpenPanel > Dashboard for accounts imported from cpanel, caused by parsing .lastlogin file from cpanel. -- Fixed bug on *OpenAdmin > Resource Settings* with parsing docker compose files. -- Fixed bug with `opencli update_check` causing false notification taht update is available in openadmin interface, when local version is newer than latest release. - - -### 💅 Polish -- total process number for OpenPanel interface is now limited based on available cpu cores -- Brand name on OpenPanel menu is now centered -- Added toast notifications on *OpenAdmin > OpenPanel Settings* diff --git a/website/docs/changelog/0.2.5.md b/website/docs/changelog/0.2.5.md deleted file mode 100644 index 4c720304..00000000 --- a/website/docs/changelog/0.2.5.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -hide_table_of_contents: true ---- - - -# 0.2.5 - -Released on August 18, 2024 - -### 🚀 New features -- [FOSSBilling integration](/docs/articles/extensions/openpanel-and-fossbilling/) -- [opencli ssl-cleanup](https://dev.openpanel.co/cli/commands.html#Delete-unused-SSLs) -- BIND9 service is now containerized in 'openpanel_dns' container. -- Logrotate is added for nginx, openpanel services and system logs. -- Nginx service is now containerized in 'nginx' container. -- Certbot service is now containerized in 'certbot' container. - - -### 🐛 Bug fixes -- Fixed bug with Django AutoInstaller not restarting user webserver after adding proxy. -- Fixed bug with the default php version 8.2 not starting after container restart. -- Fixed several bugs with ssl generation/renewal. -- Fixed validation bug for TXT records on OpenPanel > Domains > DNS Zone Editor -- Fixed warning with Nginx configuration files on newer versions: `the "listen ... http2" directive is deprecated, use the "http2" directive instead in..` -- Fixed bug on OpenAdmin > Dashboard with OpenPanel service status showing Active even when stopped. -- Fixed bug with install scripts generating random mysql password each time it is executed, even with --repair flag. - - -### 💅 Polish -- cPanel account import now accepts optional flag `--post-hook=` to run script after account import. -- Uploading custom SSL is disabled until bugs with certbot are resolved or we transition to lego. -- Container names are now used in nginx configuration files instead of internal docker IPs. -- On install only MySQL and OpenAdmin services are started. OpenPanel is started after adding first user. Nginx, DNS and Certbot are started after adding first domain. -- Certbot service is now also monitored by Sentinel. -- Nginx is updated to the latest version 1.27 -- Bind9 is updated to the latest version 9.18-22.04 -- ModSecurity is temporary disabled until dockerized. -- [opencli ssl-domain](https://dev.openpanel.co/cli/commands.html#Generate-SSL-for-a-domain) now checks if SSL is actually in use by Nginx and re-apply. -- Sentinel service now tries to restart service/container and sends alerts if that fails. -- File Watcher service is removed. -- Sentinel service now runs checks every 5 minutes instead of every minute. -- Startup tasks are optimized and server startup after reboot is now up to 15x faster. -- MySQL service wil now by default be limited to 100mb of RAM and 0.5 cpu core. -- After installation OpenPanel now uses less than 700mb of RAM. - diff --git a/website/docs/changelog/0.2.6.md b/website/docs/changelog/0.2.6.md deleted file mode 100644 index 04ad8aa6..00000000 --- a/website/docs/changelog/0.2.6.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -hide_table_of_contents: true ---- - -# 0.2.6 - -Released on August 28, 2024 - -### 🚀 New features -- [Support for all major RHEL distributions: AlmaLinux, RockyLinux, Fedora, CentOS](/blog/openpanel-rhel-support) -- [MailServer for OpenPanel Enterprise edition](https://community.openpanel.com/d/91-email-support-for-openpanel-enterprise-edition) -- [Favorites](/docs/panel/dashboard/#favorites) -- [/api/services endpoints](https://dev.openpanel.com/api/services.html) -- [opencli email commands](https://dev.openpanel.com/cli/email.html) - -### 🐛 Bug fixes -- Fixed bug with `opencli user-ip` on Debian and CSF. -- Fixed error `ModuleNotFoundError: No module named 'zope.event'` causing OpenAdmin service restart to fail on Ubuntu22. -- Fixed warning on nginx restart `nginx: [warn] conflicting server name "example.net" on IP:80, ignored`. -- Fixed bug on OpenPanel > Edit DNS Zone with the Priority field missing for MX type. -- Fixed bug on OpenPanel > Edit DNS Zone with incorrect display of TXT records that contain spaces. -- Fixed bug on OpenPanel > Edit DNS Zone with `-` not allowed in domain name pattern. -- Fixed bug with OpenAdmin > Users not showing dedicated ip for user. -- Fixed css styling bug with footer on OpenAdmin: Nginx and Plans pages. -- Fixed bug with `opencli user-delete` not deleting nginx vhost files after user is deleted. -- Fixed bug with `geoip` command missing from Fedora installation. -- Fixed bug with OpenAdmin > Logs showing ufw log when CSF is installed. -- Fixed error importing tables from phpmyadmin to database created via OpenPanel > AutoInstallers for WP and Flarum. -- Fixed error [Docker container named 'certbot' is not running. Make sure the container is running before executing this script](https://github.com/stefanpejcic/OpenPanel/issues/160). -- [Fixed bug with device devicemapper thinspace limit of 107.4GB](https://community.openpanel.com/d/8-switching-docker-storage-engine-from-devicemapper-to-overlay2-storage/2). -- [Fixed `Error: Data insertion failed.` on adding next user after 0.2.5 update](https://github.com/stefanpejcic/OpenPanel/issues/162). - -### 💅 Polish -- DNS zone file changes now automatically increment the serial number and reload only the specific zone for the affected domains. -- Mailserver hostname is now automatically set on installation to match the server hostname. -- Nginx docker image change: [nginx:alpine (43.2MB)](https://hub.docker.com/layers/library/nginx/mainline-alpine/images/sha256-0c57fe90551cfd8b7d4d05763c5018607b296cb01f7e0ff44b7d047353ed8cc0?context=explore) is now used instead of [nginx:latest (188MB)](https://hub.docker.com/layers/library/nginx/latest/images/sha256-5f0574409b3add89581b96c68afe9e9c7b284651c3a974b6e8bac46bf95e6b7f?context=explore) -- `--with-modsec` flag is removed from [the install command](/install). -- [overlay2 is now the default Docker storage driver for new instalaltions](https://community.openpanel.com/d/8-switching-docker-storage-engine-from-devicemapper-to-overlay2-storage/2). -- `--overlay2` flag is removed from [the install command](/install). -- on installation [50% of available disk space will be used to create an XFS partition for Docker](https://community.openpanel.com/d/8-switching-docker-storage-engine-from-devicemapper-to-overlay2-storage/2). -- `/etc/fstab` is now used for mounting storage files after reboot, `opencli server-on_reboot` is deprecated. -- Form validations on OpenPanel > Databases, limits imposed are: 64 characters max for db_name, 32 characters max for username and 8-32 characters for passwords. -- Improved validations when adding domains on OpenPanel > Domains and human-readable errors. -- OpenAdmin interface is now also using minified html code, respecting the [dev_mode](https://dev.openpanel.com/cli/config.html#dev-mode) value. -- `--enable-mail` flag is removed from install script and mail is only available for OpenPanel Enterprise. -- Excluded from minification are now: all `/api/` endpoints, view files on FileManager, view fullchain and privkey on SSL, dns zone export from Domains page. -- Added spf record to [the DNS zone template](https://github.com/stefanpejcic/openpanel-configuration/blob/main/bind9/zone_template.txt). -- Added 0 as the default value for Priority field when adding MX record from OpenPanel > Edit DNS Zone. -- Added option on OpenAdmin > Users to retry failed user account creation with additional debugging information. -- `opencli server-on_startup` is rewritten. - diff --git a/website/docs/changelog/0.2.7.md b/website/docs/changelog/0.2.7.md deleted file mode 100644 index 3958e1af..00000000 --- a/website/docs/changelog/0.2.7.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -hide_table_of_contents: true ---- - -# 0.2.7 - -Released on August 30, 2024 - -### 🚀 New features -- Support for MariaDB. -- Option to set a custom docker image when creating plans from *OpenAdmin > Plans* for Enterprise. - -### 🐛 Bug fixes -- Fixed bug with nginx reload from user panel and `opencli ssl-domain` failing due to incorrect shell path in nginx:alpine docker image. -- Fixed bug with DebianBanner in sshd_config on Fedora and AlmaLinux causing the service to fail. -- Fixed error on CentOS 9 when starting CSF: `Can't locate locale.pm in @INC (you may need to install the locale module)`. -- Fixed bug with SELinux on Fedora40 causing infinite restart of mysql container - error `error while loading shared libraries: libtinfo.so.6: cannot change memory protections`. -- Fixed bug with pquota mount for docker storage file on CentOS 9. -- Fixed bug with crontab that caused the `opencli server-stats --save` not to run. -- Fixed bug with `opencli server-recreate_hosts` causing nginx to fail if suspended user has active domains. -- Fixed bug with displaying long txt records on OpenPanel > DNS editor. -- Fixed bug with displaying tooltips on OpenPanel > Services Status. -- Fixed bug with displaying NodeJS version on OpenPanel > Services Status. -- Fixed bug with panel installation of the Enterprise verison, displaying false-positive mysql errors when setting mailserver. - -### 💅 Polish -- Added [information and new status 'Not Started' to the *OpenAdmin > Dashboard* services widget](https://i.postimg.cc/NMQSN63C/2024-08-29-12-59.png) for services that are not running but will be automatically started when needed. -- Added indicators for suspended users on OpenAdmin > Domains. -- Added validation on OpenAdmin > Users > new user form. -- OpenAdmin > Plans page now [displays the technology stack for each plan](https://i.postimg.cc/gjWMfXKn/2024-08-29-20-19.png). -- Added MariaDB to OpenPanel > Services Status. -- 4 plans are now automatically setup for Enterprise users upon installation: Apache & MariaDB, Apache & MySQL, Nginx & MariaDB, Nginx & MySQL. diff --git a/website/docs/changelog/0.2.8.md b/website/docs/changelog/0.2.8.md deleted file mode 100644 index beea639b..00000000 --- a/website/docs/changelog/0.2.8.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -hide_table_of_contents: true ---- - -# 0.2.8 - -Released on September 06, 2024 - -### 🚀 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 `. - -### 💅 Polish -- 'OpenAdmin > Services Status' now detects and displays ports in use by services. -- 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. -- All opencli scripts now use same file for a list of servers for ip checks: `/usr/local/admin/core/scripts/ip_servers.sh`. - diff --git a/website/docs/changelog/0.2.9.md b/website/docs/changelog/0.2.9.md deleted file mode 100644 index 40a46087..00000000 --- a/website/docs/changelog/0.2.9.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -hide_table_of_contents: true ---- - -# 0.2.9 - -Released on September 12, 2024 - -### 🚀 New features -- [FTP support](https://i.postimg.cc/3NdpRKV5/2024-09-10-21-41.png) - users can create and manage ftp sub-accounts. -- Option to [create temporary account for web terminal and share access](https://i.postimg.cc/JMDnKnCq/2024-09-06-20-14.png). -- ['OpenAdmin > Backups > Settings'](https://i.postimg.cc/ZJz7tsfX/2024-09-09-22-18.png) section allows administrators to configure and finetune backups settings. -- ['OpenAdmin > Backups > Logs'](https://i.postimg.cc/ssh6LCJp/2024-09-09-22-19.png) section allows administrators to view and download all logs for Backup-related processes and check their corresponding status. -- 'OpenAdmin > Emails page' is available for Enterprise edition and allows Administrators to start/stop mailserver. -- ['OpenPanel > Emails'](https://i.postimg.cc/Wjp2JN75/2024-09-08-17-04.png) allows users to create email accounts, monitor usage, edit them and login to webmail. -- Manage single email account: [edit account](https://i.postimg.cc/rypM6jpB/2024-09-08-17-05.png), [create email filters and forwarders](https://i.postimg.cc/hgCKLkyc/2024-09-08-17-05-1.png), [view mail client configuration](https://i.postimg.cc/YrMtRMBq/2024-09-08-17-05-2.png). -- 'OpenAdmin > Emails > Summary Reports' allows administrators to [view generate email reports per month/day](https://i.postimg.cc/tpwyfhGc/2024-09-08-16-55.png), [visualize the data per day](https://i.postimg.cc/4smsBWqt/2024-09-08-16-55-1.png) or [view detailed raw data](https://i.postimg.cc/JrxMdvR3/2024-09-08-16-56.png). -- New endpoint [/api/backups/settings](https://dev.openpanel.com/api/backups.html#Settings) to view/update global backups settings. -- [`opencli email-server pflogsumm`](https://dev.openpanel.com/cli/email.html#pflogsumm) command is added to analyze postfix logs and generate summary reports. -- [8 new commands for managing FTP users](https://dev.openpanel.com/cli/ftp.html#FTP). - - - - -### 🐛 Bug fixes -- Fixed bug with BIND9 not auto-starting after adding domains. -- Fixed bug [Database Wizard fails to create user on image with MariaDB #179](https://github.com/stefanpejcic/OpenPanel/issues/179). -- Fixed bug [Password reset for openpanel users does not end all active sessions on that user #66](https://github.com/stefanpejcic/OpenPanel/issues/66) -- Fixed bug with `opencli email-servers install` -- Fixed bug with `opencli email-servers start` not mounting users' home directories. -- Fixed bug with search on OpenAdmin > Backups > Logs -- Fixed bug with Nginx not starting in `opencli ssl-hostname` - - -### 💅 Polish -- Web Terminal no longer usess screen sessions to keep the ttyd active, instead shell is now available for a single session. -- Added optional `--debug` flag to `opencli email-servers install`. -- Nginx no longer needs to be restarted after the command `opencli server-recreate_hosts` is executed. -- Added option for Administrators to disable the impersonation banner when auto-login to user panel, by setting `impersonate=no` in /etc/openpanel/openadmin/config/admin.ini -- Improved logic for logs from `opencli backup-run` command. -- Notifications are moved to upper right corner on OpenAdmin > Backups -- `opencli ftp-setup` is removed as FTP is now pre-installed and can be enabled with command `cd /root && docker compose up -d openadmin_ftp`. diff --git a/website/docs/changelog/0.3.0.md b/website/docs/changelog/0.3.0.md deleted file mode 100644 index 54cd2197..00000000 --- a/website/docs/changelog/0.3.0.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -hide_table_of_contents: true ---- - -# 0.3.0 - -Released on September 25, 2024 - -### 🚀 New features -- [Advanced editor option is added to the DNS Zone Editor](https://i.postimg.cc/sskFmjpk/2024-09-13-09-29-1.png) and allows users to [directly edit/import the DNS zone file for domain](https://i.postimg.cc/PdYgFgyP/2024-09-13-09-29.png). -- [Advanced Editor option is added to CronJob Editor](https://i.postimg.cc/cxpZG72h/2024-09-18-15-49.png) and allows users to directly edit/import crontab file. - -### 🐛 Bug fixes -- [Fixed bug #193 - WebTerminal iframe not shown when force domain is set on OpenPanel](https://github.com/stefanpejcic/OpenPanel/issues/193) -- Fixed bug with [edit button on 'OpenPanel > Websites' not fetching data from the database](https://i.postimg.cc/mRVC7hGr/2024-09-13-10-07.png). -- Fixed bug with remote access to MariaDB databases failing due to defaults defined in `/etc/mysql/mariadb.conf.d/50-server.cnf`. -- Fixed bug [Failed to create user: /bin/sh: 1: Syntax error: ")" unexpected #96](https://github.com/stefanpejcic/OpenPanel/issues/96). -- Fixed error loading 'OpenAdmin > Dashboard' page on servers with AMD cpu. -- [Fixed bug with PHP.INI editor not saving changes](https://community.openpanel.com/d/101-phpini) -- [Fixed bug with custom SSL not saving](https://community.openpanel.com/d/100-custom-ssl-not-saving) -- Fixed 500 error on 'OpenPanel > Resource Usage History' when user has no stats directory created. -- Fixed javascript error on 'OpenPanel > Disk Usage' page. -- Fixed javascript error on 'OpenPanel > Resource Usage' when page is accessed multiple times that caused gauges not to display. -- [Fixed bug #92 - php install via OpenPanel gui works only after refresh](https://github.com/stefanpejcic/OpenPanel/issues/92) - - -### 💅 Polish -- Support for [QUIC](https://datatracker.ietf.org/doc/html/rfc9000) and [HTTP/3](https://datatracker.ietf.org/doc/html/rfc9114) - automatically enabled for new domains that use SSL. -- [Improvements to the 'OpenAdmin > Services' table to avoid confusiuon for new users.](https://community.openpanel.com/d/102-openpanel-starts-openadmin-works-but-openpanel-docker-wont-start) -- FTP sub-accounts are now restricted to their designated directories and are in the same group as OpenPanel user, allowing them to access and edit files without issues. -- Added browser validation and password generation to [OpenPanel > FTP Accounts > Change password](https://i.postimg.cc/NjGsNdRJ/2024-09-13-07-40.png) form. -- DNS zone edits will now [verify the serial number on each save](https://i.postimg.cc/s2h5Xf1Z/2024-09-13-08-26.png). If the zone has been modified by another user or program in the meantime, editing records will be disabled to ensure safety. -- WordPress AutoInstaller will no longer remove archives after extraction, instead keep and reuse them for future installations. -- phpMyAdmin is now accessible via both the domain name and the server's IP address. Users can enable /phpmyadmin on any domain by running the following command: `ln -s /usr/share/phpmyadmin /home/USERNAME/DOMAIN/phpmyadmin`. When accessed through DOMAIN/phpmyadmin, a login form will appear, allowing the user to log in with any MySQL credentials. When accessed through IP:PORT via the OpenPanel interface, the user will be automatically logged in and granted access to all databases. -- [Symlinks are now supported in the FileManager](https://i.postimg.cc/QMjBRVtX/2024-09-13-13-59.png). -- Improvements to the 'OpenPanel > Services Status' page: view is changed from columns to table, and user will only view services that Administrator enabled in the enabled_modules. -- Caching is added to OpenAdmin interface - decreasing resource usage by the service up to 20%. -- On OpenAdmin interface, all hardcoded links are now replaced with [Flask static files](https://flask.palletsprojects.com/en/3.0.x/tutorial/static/) so that custom static folder can be defined in the future versions. diff --git a/website/docs/changelog/0.3.1.md b/website/docs/changelog/0.3.1.md deleted file mode 100644 index 6ae4253e..00000000 --- a/website/docs/changelog/0.3.1.md +++ /dev/null @@ -1,60 +0,0 @@ - -# 0.3.1 - -Released on October 10, 2024 - - -### 🚀 New features -- [Temporary domains for websites added to the Site Manager interface](/docs/panel/applications/wordpress/#preview-with-temporary-link). - -### 🐛 Bug fixes -- Fixed [bug #66 - Password reset for openpanel users does not end all active sessions on that user](https://github.com/stefanpejcic/OpenPanel/issues/66) -- Fixed [bug with the update script causing multiple notifications](https://community.openpanel.org/d/104-bug-in-update-script-from-029-to-030). -- Fixed [bug #197 - update command has no timeout](https://github.com/stefanpejcic/OpenPanel/issues/197). -- Fixed bug with OpenAdmin service failing if /etc/cron.d/openpanel file is deleted. -- Fixed [bug #194 - OpenAdmin > Settings > OpenPanel error on save: Error restarting OpenPanel service: '' ](https://github.com/stefanpejcic/OpenPanel/issues/194). -- Fixed [bug #195 - Partial backup job runs only for first user](https://github.com/stefanpejcic/OpenPanel/issues/195). -- Fixed bug sorting docker container stats on 'OpenAdmin > Users > *user* > Usage'. -- Fixed js bug `Uncaught SyntaxError: Unexpected identifier 'bi' (at website?domain=X.com:99:609)` after user auto-logged-in to wp-admin. -- Fixed [js bug creating new plans from the OpenAdmin interface on OpenPanel Community edition](https://media.discordapp.net/attachments/1205652108213485571/1291779899442335927/image.png?ex=67015748&is=670005c8&hm=b74aa02b4a44c988843fd55656985702d6d279490aaf2d25186e5a90a71d097f&=&format=webp&quality=lossless&width=1162&height=614). -- Fixed js bug `Uncaught SyntaxError: Unexpected token '}' (at wordpress:19:240)` on Scan button when WordPress installations exist. -- Fixed js bug `Uncaught SyntaxError: Unexpected token 'function' (at wordpress:31:963)`when domain has punnycode. -- Fixed bug with WHMCS module not passing PackageName when creating new user account. -- Fixed bug with WHMCS module returning error messages even for successful actions. - -### 💅 Polish -- The [dev_mode](https://dev.openpanel.com/cli/config.html#dev-mode) option will now also control verbose logging of API requests in `/var/log/openpanel/admin/api.log`. -- The `opencli sentinel` will now check if service is actually needed before trying to restart it. -- The `opencli report` script will now provide more detailed information aboute the OpenAdmin service and installed pypthon modules. -- The `opencli config update` command will now restart services in the background, allowing for faster execution from the OpenAdmin interface. -- [OpenAdmin > Users > New will now display detailed log of the user account creation process](https://i.postimg.cc/XjyNsRYL/2024-10-07-16-16.png). -- [Enhanced WordPress auto-installation process](https://i.postimg.cc/9Q9cgn36/wp-installer-openpanel-032.gif). -- [Enhanced Domain addition with error reporting](https://i.postimg.cc/xTJYpTBx/adddomains-2024-10-05-17-32-24-ezgif-com-video-to-gif-converter-1.gif). -- FTP Logs are now available under the 'OpenAdmin > Services > Logs' page. -- Improvements to the 'OpenAdmin > Plans' page. -- 'OpenPanel > FTP Accounts' page now displays server IP and ftp port for users to connect to. -- [Documented features](/docs/admin/settings/openpanel/#enable-features). -- [Restrictions and validations to MySQL and MariaDB database names, usernames and passwords](/docs/articles/accounts/forbidden-usernames/#mysql--mariadb). -- [Restrictions and validations to FTP sub-accounts and passwords](/docs/articles/accounts/forbidden-usernames/#ftp). -- [Restrictions and validations to Email accounts and passwords](/docs/articles/accounts/forbidden-usernames/#emails). -- [Improvements to the 'OpenAdmin > Users > *user* > Backups' page](https://i.postimg.cc/3Nc6Kmd0/2024-09-30-14-41.png). -- [Added checks to the install script: if admin account is actually created and docker file mounted](https://github.com/stefanpejcic/OpenPanel/commit/b1ee609d0723447fccbd090d83f198949008fb42). -- For new domains, the server signature is now passed from the web server running within the user's container. For users running Apache, the headers will display Apache, and for those running Nginx, the headers will display Nginx. -- As from 0.2.9 users can enable /phpmyadmin on a per-domain base, therefor global setting is removed from /etc/openpanel/openpanel/conf/openpanel.config file and `opencli phpmyadmin` command is removed. -- `opencli webserver-check_if_file_exists` command is removed. -- `opencli php-enabled_php_versions` is now renamed to `opencli php-installed_versions`. -- `opencli php-default_php_version` is now renamed to `opencli php-available_versions`. -- `opencli php-get_available_php_versions` is now renamed to `opencli php-default_version`. -- `opencli php-install_php_version` is now renamed to `opencli php-install_version`. -- `opencli php-domain_php` is now renamed to `opencli php-domain`. -- `opencli backup-run` will now check mysql status inside user container before trying to export databases and users. -- `/backup_info/` route on OpenAdmin is now renamed to `/backups/restore/dates/`. -- `opencli ftp-add`, `opencli user-add`, `opencli user-rename`, `opencli admin new`, `opencli admin rename` will on validation errors display links to [username/password requirements](/docs/articles/accounts/forbidden-usernames). -- New user accounts will now immediately be [displayed in 'OpenAdmin > Backups > Restore' with 0 backups available](https://i.postimg.cc/WpZHbCcW/2024-10-01-12-36.png). -- `/etc/nginx/modsec/main.conf` is now renamed to `/usr/local/nginx/conf/modsecurity.conf`. -- `/openpanel`, `/openadmin` and `/webmail` will now redirect to set domains. -- The following routes are now excluded from minification and return plain text: `/view_file` (view files modal on OpenPanel > FileManager), `view_ssl_file/`, (view fullchain and privkey modal on OpenPanel > SSL), `domains/export-dns-zone/` (export/view dns zone on OpenPanel > Domains), `check_install` (php version install log on OpenPanel > PHP > Default Settings). -- websites list is removed from OpenPanel > SiteManager interface. -- `opencli domains-add` command now accepts optional `--debug` flag to display verbose output. -- WordPress auto installer will now also check for index.php and wp-config.php files in install directory. - diff --git a/website/docs/changelog/0.3.2.md b/website/docs/changelog/0.3.2.md deleted file mode 100644 index 093cae4b..00000000 --- a/website/docs/changelog/0.3.2.md +++ /dev/null @@ -1,40 +0,0 @@ -# 0.3.2 - -Released on October 16, 2024 - -### 🚀 New features -- [Users can now enable/disable public /phpmyadmin access for each website from the SiteManager](https://i.postimg.cc/wTGDZyT7/cfwww-2024-10-11-21-35-03-ezgif-com-video-to-gif-converter.gif). -- [OpenAdmin > Emails > Settings](https://i.postimg.cc/fDzzwFD9/gui.png) - -### 🐛 Bug fixes -- Fixed bug [#81 - PM2 delete application does not remove vhost proxy from Nginx vhost file](https://github.com/stefanpejcic/OpenPanel/issues/81) -- Fixed bug [#201 - OpenAdmin > Users > Configuration](https://github.com/stefanpejcic/OpenPanel/issues/201) -- Fixed bug [#203 - WP autoinstall stuck at importing tables](https://github.com/stefanpejcic/OpenPanel/issues/203) -- Fixed bug `cannot access local variable 'command' where it is not associated with a value` when restarting docker services from 'OpenAdmin > Services > Status' page. -- Fixed bug restarting Roundcube service from 'OpenAdmin > Services > Status' page. -- Fixed css bug with scrollbars on Firefox. -- Fixed bug with empty lines appended to `/etc/hosts` file when `opencli server-recreate_hosts` command is used. -- Fixed [css bug #202 - Login Page CSS after logout](https://github.com/stefanpejcic/OpenPanel/issues/202). -- Fixed [css bug on Create User modal from 'OpenPanel > Databases'](https://github.com/stefanpejcic/OpenPanel/issues/204) -- Fixed install error [`Dowloading configuration files from GitHub failed, main conf file /etc/openpanel/openpanel/conf/open panel.config is missing`](https://github.com/stefanpejcic/OpenPanel/issues/199) - - -### 💅 Polish -- Webmail clients will now automatically be updated to use domain and SSL as soon as custom domain is set on 'OpenAdmin > Settings > General'. -- [Webmail link for email accounts will now open webmail client in new tab with email address pre-filled](https://i.ibb.co/8jvqp3L/2024-10-16-12-56.png). -- Webmail link on 'OpenPanel > Emails' is now automatically updated based on webmail domain setting from 'OpenAdmin > Emails > Settings' - id doamin is set by Administrator that doamin will be sued, else user's dedicated IP or shared IP is used and port 8080. -- Webmail is added under Emails in OpenPanel menu for Enterprise version. -- [Improved NodeJS/Python application install process with logging](https://i.postimg.cc/LsfXNzpR/cfwww-2024-10-15-16-40-29-ezgif-com-video-to-gif-converter.gif). -- [Error logs are now visible for Python and NodeJS applications](https://i.postimg.cc/9mvqhQMr/pm2logs.png) from the Application Manager. -- [Deleting Python/NodeJS application now needs to be confirmed with double-click](https://i.postimg.cc/NFcMrL9D/2024-10-15-15-24.png). -- Administrators can now [add custom domain name to be used for temporary links](https://dev.openpanel.com/cli/config.html#temporary-links) for their users. -- https for domains that have NodeJS/Python apps will now also be proxied automatically. -- Changes to enabled_modules from 'OpenAdmin > Settings > OpenPanel' will now be applied immediately. -- Changing default PHP version will now terminate existing phpMyAdmin sessions, so that the next start of phpMyAdmin uses the new default. -- [Improvements to the 'OpenAdmin > Services > Status' page](https://i.postimg.cc/GdNq0LrD/2024-10-11-14-36.png). -- Certbot service is now added to the list of monitored services on 'OpenAdmin > Services > Status' page. -- Manual updates from 'OpenAdmin > Settings > General' will now have a 10min timeout limit. -- Favorites will now save links with query strings. -- Page title on OpenPanel > SiteManager will display WordPress site name. -- Removed [leftover icon on mobile view of user panel](https://github.com/stefanpejcic/OpenPanel/issues/200). -- The "Documentation" button on every page in OpenAdmin now links directly to the relevant section of the documentation for that specific page. diff --git a/website/docs/changelog/0.3.3.md b/website/docs/changelog/0.3.3.md deleted file mode 100644 index 7e244a05..00000000 --- a/website/docs/changelog/0.3.3.md +++ /dev/null @@ -1,75 +0,0 @@ -# 0.3.3 - -Released on October 25, 2024 - -### 🚀 New features -- [Option to email the login information to new users](https://i.postimg.cc/kq7r4WB9/2024-10-17-13-56.png). -- PIP and NPM install can now be executed by user from 'OpenPanel > SiteManager'. -- [`opencli websites-scan` command to add existing WordPress installations for users to the Site Manager](https://dev.openpanel.com/cli/websites.html#Add-websites-for-user). - -### 🐛 Bug fixes -- Fixed [#207 - Autologin button broken on :2083/wordpress page ](https://github.com/stefanpejcic/OpenPanel/issues/207) -- Fixed [#209 - Clam AV doesn't work](https://github.com/stefanpejcic/OpenPanel/issues/209) -- Fixed [#210 - Backup destinations failing validation](https://github.com/stefanpejcic/OpenPanel/issues/210) -- Fixed [#211 - Front validation needed for domains](https://github.com/stefanpejcic/OpenPanel/issues/211) -- Fixed [#222 - disabling widgets disables all enabled modules](https://github.com/stefanpejcic/OpenPanel/issues/222) -- Fixed [#223 - 2FA still exits in panel even it's disabled from modules](https://github.com/stefanpejcic/OpenPanel/issues/223) -- Fixed [#212 - CSS styling error of Panel tools](https://github.com/stefanpejcic/OpenPanel/issues/212) -- Fixed [#221 - Disable/Enable panel modules need openpanel restart](https://github.com/stefanpejcic/OpenPanel/issues/221) -- Fixed [#218 - Editing vhost files gives the error](https://github.com/stefanpejcic/OpenPanel/issues/218) -- Fixed [#231 - Error during user deletion via terminal](https://github.com/stefanpejcic/OpenPanel/issues/231) -- Fixed [#227 - Incorectly representing plans OS image](https://github.com/stefanpejcic/OpenPanel/issues/227) -- Fixed [#228 - Can't edit different format file types in file manager](https://github.com/stefanpejcic/OpenPanel/issues/228) -- Fixed [#206 - DNS Zone editor allows duplicate CNAME records](https://github.com/stefanpejcic/OpenPanel/issues/206) -- Fixed bug with displaying actual CPU% on 'OpenPanel > Dashboard' and 'OpenPanel > Resource Usage'. -- Fixed bug displaying CMS-type instalaltions count on 'OpenPanel > Auto Installer'. -- Fixed bug with double `/api/api/` on certain api endpoints. -- Fixed css bug with notifications toasts on 'OpenAdmin > Services Status' when dark theme is used. -- Fixed bug with `true` and `false` being set as strings on 'OpenPanel > SiteManager > *site* > Debugging'. -- Fixed bug with leftover row in 'OpenPanel > Applications' when application is deleted from the interface. -- Fixed typos on OpenPanel > Elasticsearch, Memcached and REDIS pages. -- Fixed bug with `opencli update_check` interpreting Cloudflare status code 521 as a version. -- Fixed bug with `opencli report --public` failing to upload to support.openpanel.org -- Fixed broken image for MariaDB on 'OpenPanel > Services Status'. -- Fixed js bug `Uncaught TypeError: Cannot read properties of null (reading 'getAttribute')` on 'OpenPanel > SiteManager > *site*'. -- Fixed validation error `Pattern attribute value [^'\ is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /[^'\/v: \ at end of pattern -(anonymous) @ users_add.js?v=0.39:5` on 'OpenAdmin > Users > Add New User' form. -- Fixed bug on install script with random generated username over 20 characters limit. -- Fixed bug with cached logs on 'OpenAdmin > Services > Log Viewer'. -- Fixed error on `opencli user-sudo` commmand. - -### 💅 Polish -- Redesigned OpenPanel login page. -- Pages added to OpenAdmin search based on enabled modules. -- Automatically retrieve cPanel backup name on 'OpenAdmin > Users > Import'. -- Improvements to the 'OpenAdmin > License' page. -- `.cfg` files can now be edited with OpenPanel > file editor. -- Enhancements to the cPanel import script: support for importing: wp instalaltions, domlogs, ssh password, notification preferences, account creationdate, locale. -- 'OpenPanel > Dashboard' statistics widget will now also display ppan limits and current number of FTP and email accounts. -- Redesigned OpenPanel login page. -- Administrators can now set limit for emails and ftp accounts per plan. -- Improvements to [Python applications in 'OpenPanel > SiteManager'](https://i.postimg.cc/NQXLSddB/2024-10-18-17-22.png). -- Improvements to Flarum applications in 'OpenPanel > SiteManager'. -- [PHP.ini save button result window needed #213](https://github.com/stefanpejcic/OpenPanel/issues/213) -- Optimized installation process for python applications. -- Enhancements to the 'OpenPanel > File Editor': the Monaco editor, automatic syntax highlighting, code suggestions, autocomplete functionality, scroll to specific lines and save files to favorites for quick access. -- Notification preferences are added for new user accounts. -- Generate report on 'OpenAdmin > Settings > OpenAdmin' will now display file path if uploading report to support.openpanel.org is not successful. -- The OpenPanel login page will now show specific error messages depending on the following scenarios: if the user does not exist, if the user is suspended, if the password is incorrect, or if the MySQL server is down. -- Dismissed admin dashboard widgets will now be perserved during updates. -- ClamAV service is now also dockerized and added to list of monitored services. -- Log is now automatically scrolled to bottom on 'OpenAdmin > Users > Add New User'. -- Security tab is hidden on 'OpenPanel > SiteManager > *site*'. -- Enable/disable of malware scanner from 'OpenAdmin > Settings > OpenPanel' will now immeditely edit the openpanel service to start clamav. -- Default port 3000 is now removed from 'OpenPanel > Applications > New' form. -- `pm2 save` is now run automatically after removing NodeJS/Python applications from 'OpenPanel > Applications'. -- hosting_plan_name is removed from the OpenPanel sidebar menu. -- CPU Usage widget on 'OpenPanel > Dashboard' will now display total number of CPU% allocated to the user and total CPU cores. -- Optimized mysql queries on 'OpenPanel > Databases, Domains, Mautic, WordPress' pages. -- Outgoing port `465` is now automatically opened on new installations. -- `flarum` module is now enabled by default for new installations. -- `opencli plans-create` now requires ftp and emails count to be set. -- Alerts in user interface are now replaced with toasts. -- Characters limit for OpenAdmin username is now increased from 20 to 30 characters. -- 'OpenAdmin > Services > Docker' will now display error message if docker socket is not reachable. -- Changes to the [opencli plan-edit](https://dev.openpanel.com/cli/plans.html#Edit-Plan). diff --git a/website/docs/changelog/0.3.4.md b/website/docs/changelog/0.3.4.md deleted file mode 100644 index 6e2a1188..00000000 --- a/website/docs/changelog/0.3.4.md +++ /dev/null @@ -1,16 +0,0 @@ -# 0.3.4 - -Released on October 31, 2024 - -### 🚀 New features -- Users can now [set notification preferences](https://i.postimg.cc/qvdgnmcH/2024-10-30-15-36.png) which will be used to send email alerts in the future. - -### 🐛 Bug fixes -- Fixed css bug with sidebar on OpenPanel Dashboard page. -- [#251](https://github.com/stefanpejcic/OpenPanel/issues/251), [#247](https://github.com/stefanpejcic/OpenPanel/issues/247), [#236](https://github.com/stefanpejcic/OpenPanel/issues/236), [#241](https://github.com/stefanpejcic/OpenPanel/issues/241), [#252](https://github.com/stefanpejcic/OpenPanel/issues/252), [#240](https://github.com/stefanpejcic/OpenPanel/issues/240), [#235](https://github.com/stefanpejcic/OpenPanel/issues/235), [#234](https://github.com/stefanpejcic/OpenPanel/issues/234), - - -### 💅 Polish -- Redesigned OpenPanel pages: Account, 2FA, Notifications, Favorites, Login Log, Activity Log. -- Optimized IP address checking and making OpenAdmin panel accessible even when server has network problems. -- [Enhanced Dark Mode for OpenPanel](https://i.postimg.cc/hDWx46B1/newdarktehem.png). diff --git a/website/docs/changelog/0.3.5.md b/website/docs/changelog/0.3.5.md deleted file mode 100644 index 5970fe74..00000000 --- a/website/docs/changelog/0.3.5.md +++ /dev/null @@ -1,45 +0,0 @@ -# 0.3.5 - -Released on November 08, 2024 - -### 🚀 New features -- [Email notifications for OpenPanel users](/docs/panel/account/notifications/). -- Option to change password for email accounts, set quota, suspend incoming/outgoing emails from the 'OpenPanel > Emails' page. -- Users can now view and terminate active sessions for their account from the 'OpenPanel > Account > Active Sessions' page. -- Administrators can now set [rate limiting and blocking limits](/docs/admin/intro/#brute-force-protection) for both OpenPanel and OpenAdmin login pages. -- Administrators can now set [session duration](https://dev.openpanel.com/cli/config.html#session-duration) for OpenPanel users. -- Administrators can now create [a custom template to be displayed on domains without any content](https://i.ibb.co/tXkHKyL/default-landing.png). -- New command `opencli admin logs` is available for multitail [all OpenAdmin services logs](https://dev.openpanel.com/logs.html). -- [Error IDs](https://i.postimg.cc/dtC3M7Mq/500.png) to help administrators trace OpenPanel errors with the new command [`opencli error`](https://dev.openpanel.com/cli/error.html). -- [`opencli domais-delete` command](https://dev.openpanel.com/cli/domains.html#Delete-Domain). - -### ️🚨 Security fixes -- *Insecure Permission Modification via Fix Permission Function* – vulnerability in 'OpenPanel > Files > Fix Permissions' allowed an attacker to access other files outside of the `/home/username/` directory within the user's container. -- *Remote Code Execution via Fix Permission* – vulnerability in 'OpenPanel > Files > Fix Permissions' allowed an attacker to execute commands inside the OpenPanel UI container which is accessible to all users. -- *Remote Code Execution via Change Time Zone* – vulnerability in 'OpenPanel > Server > Change TimeZone' allowed an attacker to execute commands inside the OpenPanel UI container which is accessible to all users. -- *Unauthorized File Access via Copy Function* – vulnerability in 'copy' function on the 'OpenPanel > File Manager' page allowed an attacker to access files from the OpenPanel UI container. -- *Unauthorized File Access via Compress Function* – vulnerability in 'compress' function on the 'OpenPanel > File Manager' page allowed an attacker to compress files from the OpenPanel UI container. -- *Unauthorized File Access* – vulnerability in the url parsing on 'OpenPanel > File Manager' page allowed an attacker to access files from the OpenPanel UI container. -- *Unauthorized File Access via Download Function* – vulnerability in 'download' function on the 'OpenPanel > File Manager' page allowed an attacker to download files from the OpenPanel UI container. -- *Unauthorized File Access via View Function* – path traversal vulnerability in 'view file' function on the 'OpenPanel > File Manager' page allowed an attacker to manipulate the file path and view files from the OpenPanel UI container. - -### 🐛 Bug fixes -- [Password reset for openpanel users does not end all active sessions on that user #66](https://github.com/stefanpejcic/OpenPanel/issues/66) -- [Error when changing email settings #208](https://github.com/stefanpejcic/OpenPanel/issues/208) -- [phpmyadmin gives token error #265](https://github.com/stefanpejcic/OpenPanel/issues/265) -- [Weird error when I add domain #266](https://github.com/stefanpejcic/OpenPanel/issues/266) -- ['Supplied non-number argument' error when creating emails #268](https://github.com/stefanpejcic/OpenPanel/issues/268) -- [_mysql_connector.MySQLInterfaceError: MySQL server has gone away #269](https://github.com/stefanpejcic/OpenPanel/issues/269) -- [[Errno 2] No such file or directory: '/etc/openpanel/clamav/domains.list' #271](https://github.com/stefanpejcic/OpenPanel/issues/271) -- [Bug with install script on Debian12 Hetzner ISO](https://community.openpanel.org/d/110-installation-issue/6). - -### 💅 Polish -- Python version for OpenPanel is updated from `3.10` to `3.12`. -- [Inline documentation for every page on OpenAdmin interface](https://i.postimg.cc/6tzM8Rtg/2024-10-31-20-32.png). -- `opencli user-login` will now display list of users to select and autocomplete username. -- Optimized `openpanel/openpanel:latest` docker image. -- `git` and `apparmor` are now installed automatically on Debian12. -- Email and FTP accounts for use are now deleted when OpenPanel user is terminated. -- Email folders are now automatically created for new domains. -- SSL, DNS, Proxy settings, blocked IPs, ClamAV settings and websites are now automatically deleted when domain is removed. -- Terms no longer need to be accepted for new installations. diff --git a/website/docs/changelog/0.3.6.md b/website/docs/changelog/0.3.6.md deleted file mode 100644 index f989abbd..00000000 --- a/website/docs/changelog/0.3.6.md +++ /dev/null @@ -1,37 +0,0 @@ -# 0.3.6 - -Released on November 20, 2024 - -### 🚀 New features -- [Java applications](/docs/articles/user-experience/how-to-setup-springboot-java-applicaiton-on-openpanel) can now be run from the 'OpenPanel > AutoInstaller' page. -- Administrators can now use self-hosted API's with custom domains for [temporary preview links](/docs/articles/dev-experience/selfhosted-temporary-links-api/) and [website screenshots](/docs/articles/dev-experience/selfhosted-screenshots-api/) on 'OpenPanel > SiteManager'. - - -### 🐛 Bug fixes -- Fixed bug with domain validation on 'OpenPanel > Domains > Add New' form. -- [files-fix_permissions should set 5000:5000 for /home/USERNAME/mail/* #187](https://github.com/stefanpejcic/OpenPanel/issues/187) -- [opencli admin notification not working #263](https://github.com/stefanpejcic/OpenPanel/issues/263) -- [Resizing EXT4 storage file for user on Overlay2 docker storage driver #275](https://github.com/stefanpejcic/OpenPanel/issues/275) -- [ERROR: Cannot uninstall typing_extensions The package was installed by debian](https://community.openpanel.org/d/113-error-cannot-uninstall-typing-extensions-the-package-was-installed-by-debian) -- [user files missing from their /home directory in container](https://community.openpanel.org/d/116-solved-user-files-missing-from-their-home-directory-in-container) -- [Could not check if docker-default AppArmor profile was loaded](https://community.openpanel.org/d/115-solved-could-not-check-if-docker-default-apparmor-profile-was-loaded) -- [Admin password change not working From 0.3.3 #279](https://github.com/stefanpejcic/OpenPanel/issues/279) -- [Fixed bug generating rndc for bind9 on AlmaLinux](https://github.com/stefanpejcic/OpenPanel/commit/9a5693f262110cb511bba8726c51fee12d21ec2a) -- [Account creation on AlmaLinux 9.2 - Error: jq installation failed. Please install jq manually and try again. #280](https://github.com/stefanpejcic/OpenPanel/issues/280) - - - -### 💅 Polish -- Addded [weakpass](https://dev.openpanel.com/cli/config.html#weakpass) setting to enable or disable checking passwords against [weakpass.com dictionaries](https://weakpass.com/wordlists). -- Adding domain is now logged in the user activity log. -- [openpanel docker image](https://hub.docker.com/r/openpanel/openpanel) no longer uses python-slim as base, in order to be compatible with ARM64 CPU. -- Warnign messages when adding domain if syntax errors are detected in templates. -- [Compressed file extraction progress bar #270](https://github.com/stefanpejcic/OpenPanel/issues/270) -- 'OpenAdmin > Settings > OpenPanel' now allows Administrators to set: login_ratelimit, login_blocklimit, session_duration and session_lifetime. -- 'OpenAdmin > Settings > OpenAdmin' now allows Administrators to set: impersonate, login_ratelimit, login_blocklimit, basic_auth, basic_auth_username and basic_auth_password. -- Any modification on 'OpenPanel > Emails > Accounts' will now refresh cached emails data for the user. -- 'OpenPanel > AutoInstaller > PM2' will now validate file extensions before checking if file exists. -- WordPress install, detach and uninstall are now also recorded as actions on 'OpenPanel > Account > Activity'. -- UID`1000` and GID`1000` will now be used for mail files of users, so that ftp sub-accounts can access them if needed. -- Administrators can now change [text for the admin notifications](https://github.com/stefanpejcic/openpanel-configuration/blob/main/services/sentinel/messages.yaml). - diff --git a/website/docs/changelog/0.3.7.md b/website/docs/changelog/0.3.7.md deleted file mode 100644 index 0116aeb2..00000000 --- a/website/docs/changelog/0.3.7.md +++ /dev/null @@ -1,29 +0,0 @@ -# 0.3.7 - -Released on December 03, 2024 - -### 🚀 New features -- Users can now reset the DNS zone for domain from ['OpenPanel > DNS Zone Editor > *domain* > Reset Zone'](/docs/panel/domains/dns/#reset-zone). -- Users can now block IP addresses per domain from ['OpenPanel > Advanced > IP Blocker'](/docs/panel/advanced/ip_blocker). -- Administrators can now [increase storage (disk space) allocated to Docker from 'OpenAdmin > Services > Docker'](https://i.postimg.cc/dwXgtRnP/storage-limits.png). - -### 🐛 Bug fixes -- [Domain Logs infinite error #123](https://github.com/stefanpejcic/OpenPanel/issues/123) -- [WARNING: invalid config detected in file and file will not be included in webserver - please contact Administrator. #283](https://github.com/stefanpejcic/OpenPanel/issues/283) -- [Error: Working outside of request context. #278](https://github.com/stefanpejcic/OpenPanel/issues/278) -- [Websites show 502 after csf restart](https://community.openpanel.org/d/120-solved-websites-show-502-after-csf-restart-on-openpanel-version-037) -- Fixed error: `docker: no matching manifest for linux/amd64 in the manifest list entries` when pulling openpanel/apache image. -- Fixed error: [`failed to start daemon: Couldn't create reference store repository: invalid character '\x00' looking for beginning of value`](https://community.openpanel.org/d/122-solved-docker-couldnt-create-reference-store-repository) caused by `opencli docker-limits --apply` on overlay2. -- Fixed error: [`failed to start daemon: error while opening volume store metadata database (/var/lib/docker/volumes/metadata.db): invalid database`](https://community.openpanel.org/d/121-solved-docker-error-while-opening-volume-store-metadata-database) caused by decreasing allocated storage for docker. - -### 💅 Polish -- [`opencli domains-dns default` command to restore default DNS zone for a domain](https://dev.openpanel.com/cli/domains.html#Default). -- For faster install process on servers with 400GB+ of storage, from now [a maximum of 200GB will be allocated to Docker service](https://github.com/stefanpejcic/OpenPanel/commit/930eb40b2e72b33cc60aaac49215f6a398d96c29). -- [No way to manually start PHP #281](https://github.com/stefanpejcic/OpenPanel/issues/281). -- [`opencli docker-limits --apply`](https://dev.openpanel.com/cli/docker.html#Limits) will now work for both devicemapper and overlay2 docker storage drivers. -- [`opencli docker-limits --apply SIZE`](https://dev.openpanel.com/cli/docker.html#Limits) now allows Administrators to increase storage size for Docker service. -- if [account activity](/docs/panel/analytics/account_activity/) feature is enabled, 'OpenPanel > Account > Active Sessions' will display link to search the activity log for each IP address in the table. -- `--docker-space=` flag is added to [install command generator](/install/) and [documented](/docs/admin/intro/#installing-openpanel-on-a-bare-metal-server). -- install script will now [validate docker configuration](https://github.com/stefanpejcic/OpenPanel/commit/60b204c444c53d76a478c23eb67ed139cf0ff3ad). -- `opencli backup-scheduler` will now use a separate cron file `/etc/cron.d/openpanel_backups` for backup jobs. -- OpenPanel installation script will now [block known PROXY and TOR blacklists on CSF](https://github.com/stefanpejcic/OpenPanel/commit/a289c217a4818894b80b7e7a058996e8fa5700ea). diff --git a/website/docs/changelog/0.3.8.md b/website/docs/changelog/0.3.8.md deleted file mode 100644 index 0e6f6413..00000000 --- a/website/docs/changelog/0.3.8.md +++ /dev/null @@ -1,39 +0,0 @@ -# 0.3.8 - -Not yet released. - -### 🚀 New features -- Templates for [Suspended User](/docs/admin/services/nginx/#suspended-user-template) and [Suspended Domains](/docs/admin/services/nginx/#suspended-domain-template). -- [`opencli domains-suspend`](https://dev.openpanel.com/cli/domains.html#Suspend-Domain) and [`opencli domains-unsuspend`](https://dev.openpanel.com/cli/domains.html#Unsuspend-Domain) commands. - -### 🐛 Bug fixes -- [Openpanel dashboard - FTP Accounts listed twice #292](https://github.com/stefanpejcic/OpenPanel/issues/292) -- [Openpanel - Email - manage adding filters #290](https://github.com/stefanpejcic/OpenPanel/issues/290) -- [Implement CSRF protection on all forms #272](https://github.com/stefanpejcic/OpenPanel/issues/272) -- [SyntaxError when deleting plan that has no users yet #300](https://github.com/stefanpejcic/OpenPanel/issues/300) -- Fixed bug displaying avatar type on 'OpenPanel > FileManager'. -- Fixed bug with translations for 'OpenPanel > SiteManager' on Flarum and WordPress templates. -- Fixed bug renewing ssl using `opencli ssl-domain` command. -- [Docker Hub unreachable with Contabo custom nameservers #294](https://github.com/stefanpejcic/OpenPanel/issues/294) - - -### 💅 Polish -- Storage files are no longer used for mounting user's /home directory - insted linux quotes are used. -- If ipv4 is not available on the server, new domains will instead use ipv6 in Nginx and Bind9 configuration files. [Full support for IPv6 only servers is in progress](https://github.com/stefanpejcic/OpenPanel/issues/296) -- Redesigned OpenAdmin Dashboard page. -- 'OpenAdmin > Users > singe user' will now display IPv6 address if set for the user. -- Suspending user will now redirect all their domains to custom [suspended_user.html](https://github.com/stefanpejcic/openpanel-configuration/blob/main/nginx/suspended_user.html) template. -- OpenPanel can now be updated [directly from Github](/docs/admin/intro/#manual-updates). -- [`opencli domains-add` command](https://dev.openpanel.com/cli/domains.html#Add-Domain-to-User) will no longer allow users to add the server hostname as a domain. -- [Administrators can now prevent OpenPanel users from creating certain domains](https://dev.openpanel.com/customize.html#Domain-Restriction). -- New 'Statistic' widget is added to OpenAdmin Dashboard, displays total count of: users, servers in the cluster, domains, websites, emails, plans and backup jobs. -- Email address is no longer required on 'OpenAdmin > Users > Add New User' page. -- Administrator can now delete suspended users from 'OpenAdmin > Users' or via [`opencli user-delete` command](https://dev.openpanel.com/cli/users.html#Delete-User). -- The 'OpenAdmin > Domains' section will now display the **SSL status**, whether the **domain is suspended**, and the **force HTTPS** option for each domain. -- On 'OpenAdmin > Dashboard > System Information widget' update badge will be displayed when new OpenPanel version is available. -- Adding license key on 'OpenAdmin > License' will no longer restart OpenAdmin but prompt user to restart. -- `x-csrftoken` is added to all forms on the OpenAdmin interface for [CSRF](https://portswigger.net/web-security/csrf) protection. -- `--no-restart` flag is added to the [opencli license command](https://dev.openpanel.com/cli/license.html). -- 'OpenAdmin > Dashboard' page will now use [Github](https://raw.githubusercontent.com/stefanpejcic/OpenPanel/refs/heads/main/version/latest) API to check the latest OpenPanel version. -- unzip is removed from install scripts as it is available in the OpenPanel UI container. - diff --git a/website/docs/changelog/intro.md b/website/docs/changelog/intro.md index b0fe1df3..c5c5ab93 100644 --- a/website/docs/changelog/intro.md +++ b/website/docs/changelog/intro.md @@ -8,45 +8,11 @@ sidebar_class_name: green ### Upcoming version -| Version| Released | +| Version| Release date | |---|---| |__[1.0.0](/docs/changelog/1.0.0)__| February 07, 2024 | -### Past versions - -| Version | Released | Highlight | -|---|---|---| -| [0.3.8](/docs/changelog/0.3.8) | | | -| [0.3.7](/docs/changelog/0.3.7) | 03.12.2024 | | -| [0.3.6](/docs/changelog/0.3.6) | 20.11.2024 | [Support for Java Applications](/docs/articles/user-experience/how-to-setup-springboot-java-applicaiton-on-openpanel/) | -| [0.3.5](/docs/changelog/0.3.5) | 08.11.2024 | [🚨 fix several vulnerabilities](https://openpanel.com/docs/changelog/0.3.5/#%EF%B8%8F-security-fixes) | -| [0.3.4](/docs/changelog/0.3.4) | 31.10.2024 | Bug fixes | -| [0.3.3](/docs/changelog/0.3.3) | 25.10.2024 | Support for PIP and NPM commands | -| [0.3.2](/docs/changelog/0.3.2) | 16.10.2024 | Bug fixes | -| [0.3.1](/docs/changelog/0.3.1) | 10.10.2024 | Preview websites | -| [0.3.0](/docs/changelog/0.3.0) | 25.09.2024 | Editors for Crontab and DNS zones | -| [0.2.9](/docs/changelog/0.2.9) | 12.09.2024 | FTP is now supported | -| [0.2.8](/docs/changelog/0.2.8) | 06.09.2024 | API endpoints and CLI commands| -| [0.2.7](/docs/changelog/0.2.7) | 30.08.2024 | MariaDB is supported | -| [0.2.6](/docs/changelog/0.2.6) | 28.08.2024 | [Support for AlmaLinux 9.4, Fedora 40 and CentOS 9](/blog/openpanel-rhel-support/) | -| [0.2.5](/docs/changelog/0.2.5) | 18.08.2024 | [FossBilling module](/docs/articles/extensions/openpanel-and-fossbilling/) | -| [0.2.4](/docs/changelog/0.2.4) | 02.08.2024 | [Import cPanel accounts](/docs/articles/transfers/import-cpanel-backup-to-openpanel/) | -| [0.2.3](/docs/changelog/0.2.3) | 24.07.2024 | [Support for ConfigServer Firewall & Security](/docs/admin/security/firewall/#csf) | -| [0.2.2](/docs/changelog/0.2.2) | 16.07.2024 | Support for RockyLinux 9.4 | -| [0.2.1](/docs/changelog/0.2.1) | 28.06.2024 | [Enterprise edition is released 🎉🎉🎉](/blog/openpanel-enterprise-version/) | -| [0.2.0](/docs/changelog/0.2.0) | 05.06.2024 | [Support for Debian 11 and Debian 12](/blog/openpanel-supports-debian12/) | -| [0.1.9](/docs/changelog/0.1.9) | 31.05.2024 | Emails are now supported | -| [0.1.8](/docs/changelog/0.1.8) | 23.05.2024 | PHP Composer is integrated | -| [0.1.7](/docs/changelog/0.1.7) | 08.05.2024 | [OpenPanel Account provisioning WHMCS module](https://marketplace.whmcs.com/product/7435-openpanel-account-provisioning) | -| [0.1.6](/docs/changelog/0.1.6) | 15.04.2024 | Admin alerts | -| [0.1.5](/docs/changelog/0.1.5) | 08.03.2024 | notifications and [OpenAPI](https://dev.openpanel.com/api/) | -| [0.1.4](/docs/changelog/0.1.4) | 25.12.2023 | multiple pages for user panel | -| [0.1.3](/docs/changelog/0.1.3) | 30.11.2023 | [Terminal interface - OpenCLI](https://dev.openpanel.com/cli/) | -| [0.1.2](/docs/changelog/0.1.2) | 23.11.2023 | dark mode, support for dedicated IPs| -| [0.1.1](/docs/changelog/0.1.1) | 26.10.2023 | [docker images are now public](https://hub.docker.com/u/openpanel) | -| [0.1.0](/docs/changelog/0.1.0) | 18.07.2023 | [Community edition is released 🎉🎉🎉]([#](https://hostingforums.net/d/282-openpanel-not-another-free-hosting-panel)) | - :::info If version is not in the list, it means that update was done for technical reasons and does not contain any critical changes. :::