-
-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark variables set by environment variable as read only in the web interface #2787
Conversation
80cf75a
to
faf9c2a
Compare
f201ad4
to
f2053ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
822127a
to
554feed
Compare
… marking them with a symbol and disabling the elements Signed-off-by: DL6ER <dl6er@dl6er.de>
…le. Add a padlock icon to the setting section title if any of the settings contained therin are set by environment variable
…ons with teh same method. Signed-off-by: Adam Warner <me@adamwarner.co.uk>
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
554feed
to
f0d92fe
Compare
Conflicts have been resolved. |
f0d92fe
to
c5a6d73
Compare
Refactor of the javascript to reduce code deduplication Fix datatable refresh after adding/removing an entry
c5a6d73
to
188f8ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works as expected. I just checked on the string literals (...
) and see that they have been introduced in ECMAScript 6, so Firefox 54 and Chrome 58 👍
NOTE:If we set the webpassword via environment variable in a container, the command This should be fixed to avoid confusion. |
On changing,
with exit code 5 |
I think this is fixed by pi-hole/pi-hole#5465 |
Commit 66401ee from this PR should have added the advanced icon to all advanced level settings. However, at least for some this does not work. E.g. DNS/Conditional Forwarding oder DNS/Rate limiting. Maybe this need to be fixed in FTL |
What does this PR aim to accomplish?:
If a config item is already set by environment variable (this making it read-only) - then we disable the input on the web interface to prevent confusion.
By submitting this pull request, I confirm the following:
git rebase
)