• EyeDeck's avatar
    Add --hide-ui-dir-config command line flag · 29a2933e
    EyeDeck authored
    Adds `--hide-ui-dir-config` flag to disable editing directory configs from the web UI. This can be set to prevent users from setting the directory to somewhere they shouldn't, for public (or semi-public) interfaces.
    
    Directories are still read from config.json, so the server admin can still set them in the web UI and then relaunch with the hide flag, or edit the config manually.
    
    Also:
    - fix OptionInfo `component_args` keyword argument not being read if `component` isn't also set
    - ensure that hidden settings aren't still read from the web UI (otherwise they could still be changed by tampering with the interface)
    29a2933e
Name
Last commit
Last update
ESRGAN Loading commit data...
modules Loading commit data...
scripts Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
artists.csv Loading commit data...
environment-wsl2.yaml Loading commit data...
requirements.txt Loading commit data...
requirements_versions.txt Loading commit data...
screenshot.png Loading commit data...
script.js Loading commit data...
style.css Loading commit data...
webui-user.bat Loading commit data...
webui.bat Loading commit data...
webui.py Loading commit data...