-
-
Notifications
You must be signed in to change notification settings - Fork 601
Improve DHCP static leases management GUI #3565
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
base: development
Are you sure you want to change the base?
Conversation
…xtarea below Signed-off-by: DL6ER <[email protected]>
Signed-off-by: DL6ER <[email protected]>
Signed-off-by: DL6ER <[email protected]>
Signed-off-by: DL6ER <[email protected]>
…t any possibility for code injection) Signed-off-by: DL6ER <[email protected]>
The video looks good to me, but unfortunately I'm not able to test this as I have now stopped using PiHole (partly due to this very issue). However, two comments based on the video: |
Signed-off-by: DL6ER <[email protected]>
Yes, this is expected and per design. Advanced config lines may include
I did add |
Signed-off-by: DL6ER <[email protected]>
If something invalid is entered in the advanced box (e.g. The live-editing is cool but only shown advanced > table, not the other way round. Is this by design?
This could be hard to find if n is big. Could we show line numbers in the advanced text box? |
Signed-off-by: DL6ER <[email protected]>
I tested using an invalid IP (
When saved, the invalid IP is ignored, resulting in I think this is the correct behavior, but no warning was returned to the user, to inform something was wrong and the entry was "fixed" to fit the valid input fields. Maybe we need a warning/alert for cases like this. |
Signed-off-by: DL6ER <[email protected]>
Like so? Screencast.From.2025-07-20.1.webm |
Signed-off-by: DL6ER <[email protected]>
Screencast.From.2025-07-20.20-39-42.webm |
What does this implement/fix?
See title. This adds a easy accessible table that is kept in sync with the
<textarea>
which still allows for any advanced configuration.Please see this movie for a demonstration:
Screencast.From.2025-07-15.12-41-22.webm
You can test all of that even without having the DHCP server enabled. What will be saved in the end is always the content of said
<textarea>
which is getting stores asdhcp.hosts
inpihole.toml
.Related issue or feature (if applicable): N/A
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
git rebase
)Checklist:
development
branch.