-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
Added online debug log creator #399
Conversation
… user clicks on the big button
|
Yes. it can still be changed if you'd like to have something different |
LGTM. |
Can we not make it an optional upload still? I'm thinking Modal dialog box with a "Would you like to upload the debug log once it has completed?" before the script runs. OR alternatively a button that will just run the tl;dr I don't like (And therefore some users are not going to like) not giving users a choice. |
Yeah, that is possible, depending on that we can then decide whether to call |
Edit: NoTTY's don't block for |
Maybe just lower the blocking time at the end of the script, take the interaction out of it and make it mandatory... |
It has the timeout now, so it will stop the log capture, but then it still requires a Y/N for log upload. If the solution is that |
The pipe that is opened by our PHP script is read-only, hence
|
…ion can not be changed afterwards
Yeah, I see now that it's no-TTY, so |
|
||
// Will be called when script has finished | ||
source.addEventListener("error", function(e) { | ||
source.close(); |
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.
Should re-enable the button and checkbox when finished.
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.
I'd like to keep that as it is. Force the users to at least reload the page before sending another debug.
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-2-13-core-2-5-web/2004/1 |
By submitting this pull request, I confirm the following (please check boxes, eg [X] - no spaces) Failure to fill the template will close your PR:
Please submit all pull requests against the
development
branch. Failure to do so will delay or deny your requestHow familiar are you with the codebase?: 10
Calls
sudo pihole -d -a
This template was created based on the work of
udemy-dl
.