Update 0.1.6.md

This commit is contained in:
Stefan Pejcic 2024-04-08 15:22:53 +02:00 committed by GitHub
parent 6e6c9efe71
commit 7ea193c712
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -17,7 +17,7 @@ Not yet released.
- Fixed bug where errors for the OpenAdmin section were being logged in api.log instead of the error.log file. - Fixed bug where errors for the OpenAdmin section were being logged in api.log instead of the error.log file.
### 🚀 New features ### 🚀 New features
- [Turkish translation 🇹🇷](https://community.openpanel.co/d/31-turkce-konusuyor-musun-turkish-translation-for-openpanel) - [Turkish translation 🇹🇷](#turkish-translation-for-openpanel)
- Docker images can now be downloaded, updated and deleted from the *OpenAdmin > Docker Settings* page. - 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. - 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). - 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).
@ -51,19 +51,27 @@ API access is automatically disabled when BasicAuth is enabled.
To enable basic authentication for OpenAdmin, run commands: To enable basic authentication for OpenAdmin, run commands:
`opencli config update basic_auth yes` ```
opencli config update basic_auth yes
```
`opencli config update basic_auth_username STRONG_USERNAME_HERE` ```
opencli config update basic_auth_username STRONG_USERNAME_HERE
```
`opencli config update basic_auth_password STRONG_PASSWORD_HERE` ```
opencli config update basic_auth_password STRONG_PASSWORD_HERE
```
then reload the OpenAdmin service: then reload the OpenAdmin service:
`service admin reload` ```
service admin reload
```
----- ---
@ -87,24 +95,31 @@ and then make the changes over html/css file.
To change theme for OpenPanel, run command: To change theme for OpenPanel, run command:
`opencli config update template NAME_HERE` ```
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: 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/"` ```
opencli config update template "/home/custom_template/"
```
--- ---
To change theme for OpenAdmin, run command: To change theme for OpenAdmin, run command:
`opencli config update admin_template NAME_HERE` ```
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: 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/"` ```
opencli config update admin_template "/home/custom_admin_template/"
```
---
-----