OpenPanel/documentation/docs/changelog/0.1.6.md

103 lines
4.3 KiB
Markdown
Raw Normal View History

2024-03-21 13:20:06 +00:00
---
2024-03-21 13:29:31 +00:00
---
2024-03-21 13:20:06 +00:00
# 0.1.6
Not yet released.
2024-03-21 13:25:37 +00:00
### 🐛 Bug fixes
2024-03-21 13:52:56 +00:00
- Fixed bug durring ModSecurity installation process (reported by [reyokh](https://hostingforums.net/d/282-openpanel-not-another-free-hosting-panel/6))
2024-03-21 13:25:37 +00:00
- 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.
### 🚀 New features
2024-03-21 21:20:25 +00:00
- [Turkish translation 🇹🇷](https://community.openpanel.co/d/31-turkce-konusuyor-musun-turkish-translation-for-openpanel)
2024-03-21 13:25:37 +00:00
- Docker images can now be downloaded, updated and deleted from the *OpenAdmin > Docker Settings* page.
- 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](https://i.postimg.cc/FzCGTgFg/openadmin-update-is-available.png).
2024-03-27 19:05:48 +00:00
- **OpenAdmin > ModSecurity** interface.
- `opencli nginx-modsec` script that allows admins to: update OWASP Core Ruleset, List ModSecurity rules and Logs, Enable/Disable Rules and view domain settings.
2024-04-05 15:01:25 +00:00
- [Custom OpenPanel and OpenAdmin templates](https://community.openpanel.co/d/32-new-custom-openpanel-and-openadmin-templates-in-v016) can now be defined by the Administrator
2024-04-08 13:13:32 +00:00
- [BasicAuth for OpenAdmin panel](#basicauth-for-openadmin)
2024-03-21 13:25:37 +00:00
### 💅 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.
2024-03-25 11:40:22 +00:00
- MySQL service is now listening on both `localhost` and `127.0.0.1`
2024-04-05 07:27:58 +00:00
- New default OpenAdmin theme
2024-03-21 13:25:37 +00:00
2024-04-08 13:16:27 +00:00
-----
2024-04-08 13:08:42 +00:00
2024-04-08 13:13:32 +00:00
##### BasicAuth for OpenAdmin
2024-04-08 13:08:42 +00:00
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)
2024-04-08 13:09:59 +00:00
:::danger
2024-04-08 13:08:42 +00:00
API access is automatically disabled when BasicAuth is enabled.
:::
2024-04-08 13:13:32 +00:00
To enable basic authentication for OpenAdmin, run commands:
2024-04-08 13:16:27 +00:00
2024-04-08 13:13:32 +00:00
`opencli config update basic_auth yes`
2024-04-08 13:16:27 +00:00
2024-04-08 13:13:32 +00:00
`opencli config update basic_auth_username STRONG_USERNAME_HERE`
2024-04-08 13:16:27 +00:00
2024-04-08 13:13:32 +00:00
`opencli config update basic_auth_password STRONG_PASSWORD_HERE`
2024-04-08 13:16:27 +00:00
2024-04-08 13:13:32 +00:00
then reload the OpenAdmin service:
2024-04-08 13:16:27 +00:00
2024-04-08 13:13:32 +00:00
`service admin reload`
2024-04-08 13:16:27 +00:00
##### Custom Templates for OpenAdmin and OpenPanel
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/"`
----