FEAT: Enable file browser feature by default and remove related environment variable

This commit is contained in:
arabcoders 2025-09-03 19:34:55 +03:00
parent aab690a822
commit 53949b177a
3 changed files with 8 additions and 2 deletions

2
FAQ.md
View file

@ -34,7 +34,7 @@ or the `environment:` section in `compose.yaml` file.
| YTP_PIP_IGNORE_UPDATES | Do not update the custom pip packages | `false` | | YTP_PIP_IGNORE_UPDATES | Do not update the custom pip packages | `false` |
| YTP_BASIC_MODE | Whether to run WebUI in basic mode | `false` | | YTP_BASIC_MODE | Whether to run WebUI in basic mode | `false` |
| YTP_PICTURES_BACKENDS | A comma separated list of pictures urls to use | `empty string` | | YTP_PICTURES_BACKENDS | A comma separated list of pictures urls to use | `empty string` |
| YTP_BROWSER_ENABLED | Whether to enable the file browser | `false` | | YTP_BROWSER_ENABLED | Whether to enable the file browser | `true` |
| YTP_BROWSER_CONTROL_ENABLED | Whether to enable the file browser actions | `false` | | YTP_BROWSER_CONTROL_ENABLED | Whether to enable the file browser actions | `false` |
| YTP_YTDLP_AUTO_UPDATE | Whether to enable the auto update for yt-dlp | `true` | | YTP_YTDLP_AUTO_UPDATE | Whether to enable the auto update for yt-dlp | `true` |
| YTP_YTDLP_DEBUG | Whether to turn debug logging for the internal `yt-dlp` package | `false` | | YTP_YTDLP_DEBUG | Whether to turn debug logging for the internal `yt-dlp` package | `false` |

View file

@ -164,7 +164,7 @@ class Config:
console_enabled: bool = False console_enabled: bool = False
"Enable direct access to yt-dlp console." "Enable direct access to yt-dlp console."
browser_enabled: bool = False browser_enabled: bool = True
"Enable file browser access." "Enable file browser access."
browser_control_enabled: bool = False browser_control_enabled: bool = False

View file

@ -86,6 +86,12 @@
The <strong>Basic mode</strong> (which limited the interface to the new download form) is being removed. The <strong>Basic mode</strong> (which limited the interface to the new download form) is being removed.
Everything except what is available behind configurable flag will become part of the standard interface. Everything except what is available behind configurable flag will become part of the standard interface.
</li> </li>
<li>
The file browser feature will be enabled by <strong>default</strong>, and the associated environment
variable <code>YTP_BROWSER_ENABLED</code> will be removed, We will keep the
<code>YTP_BROWSER_CONTROL_ENABLED</code> to control whether you want to enable the file management
features or not. it will default to <code>false</code>.
</li>
<li>The <strong>archive.manual.log</strong> feature has been removed.</li> <li>The <strong>archive.manual.log</strong> feature has been removed.</li>
</ul> </ul>
<p> <p>