Skip to content
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

Revamp of debug script with logic and colours #1565

Merged
merged 49 commits into from Jul 5, 2017
Merged
Changes from 48 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
6fa00e7
first functions with pretty colors. check OS, setupVars, and content…
jacobsalmela May 20, 2017
5d7ef92
get just the OS pretty name for Dan
jacobsalmela May 20, 2017
69fe889
comments for all lines and small formatting changes
jacobsalmela May 22, 2017
1aa5943
add if directory exists function
jacobsalmela May 22, 2017
6c4a7b6
add pihole version check functions
jacobsalmela May 22, 2017
daff5d8
add critical dependencies version check functions
jacobsalmela May 22, 2017
8c5c131
add php version and processor check functions
jacobsalmela May 22, 2017
8fd9a22
add detect IP function
jacobsalmela May 22, 2017
107babe
add ping gateway function
jacobsalmela May 22, 2017
b74300f
add ping internet function and fix some spacing issues
jacobsalmela May 22, 2017
085f2c6
add port check function
jacobsalmela May 24, 2017
1a87d3a
add process check function
jacobsalmela May 24, 2017
76266cf
add resolver functions and check directory content functions
jacobsalmela May 24, 2017
8bafd12
fix resolver functions and add x-header function
jacobsalmela May 24, 2017
6684af9
add lighttpd list function and gravity analysis
jacobsalmela May 24, 2017
c995c81
adjust some spacing
jacobsalmela May 25, 2017
1102fdc
append everything the user sees to the pihole_debug.log file
jacobsalmela May 25, 2017
cc946ce
upload to tricorder functions
jacobsalmela May 25, 2017
5902be2
comments for every line
jacobsalmela May 25, 2017
96f01e6
add functions to write to console and log at the same time
jacobsalmela May 26, 2017
ef5a6e7
add faq urls to some functions, added more colors, also use a static …
jacobsalmela May 26, 2017
7873da1
more colors. shortened dig timeouts
jacobsalmela May 26, 2017
7ec169a
more comments, fixed automated tricorder, variablizing echos, verify …
jacobsalmela May 27, 2017
36907ed
parse contents of each file in each dir, several log_writes
jacobsalmela May 27, 2017
d51e0c4
remove comments and blank lines when parsing files
jacobsalmela May 27, 2017
2fea5d4
condense repetitive code into functions
jacobsalmela May 27, 2017
d51c067
change some verbiage; new function to compare the ports in use to the…
jacobsalmela May 28, 2017
b207fad
check if os is supported based on pretty name
jacobsalmela Jun 1, 2017
02a601d
comment out dir checks for lighttpd, cronm and http as they have a lo…
jacobsalmela Jun 1, 2017
8b4c0b4
exclude webpassword from being uploaded. also check that the IP addre…
jacobsalmela Jun 1, 2017
92b5fe4
check arch compatibility and add gateway faq url
jacobsalmela Jun 5, 2017
24aa72c
condense repetative code into functions; parse the content of each file
jacobsalmela Jun 7, 2017
048eacd
parse array in correct location
jacobsalmela Jun 7, 2017
64171fa
small color and formatting changes
jacobsalmela Jun 9, 2017
b4f1fe0
variablize all files and directories. also put required files and fo…
jacobsalmela Jun 10, 2017
e10182c
only parse files required by Pi-hole
jacobsalmela Jun 10, 2017
b0cc1a3
adjust minor formatting for better readability
jacobsalmela Jun 10, 2017
3275c5f
more comments to help understand the script
jacobsalmela Jun 10, 2017
881819e
ignore big files we dont need to know about; also fix diagnosing piho…
jacobsalmela Jun 10, 2017
6d10a49
implement a limit on how many lines of a file we want to view
jacobsalmela Jun 11, 2017
172b8d2
parse ftl log
jacobsalmela Jun 11, 2017
fc04405
add functions to parse head and tails of gravity.list and pihole.log
jacobsalmela Jun 11, 2017
5f00347
appease shellcheck by removing two unneccesary functions and making s…
jacobsalmela Jun 27, 2017
b6a2a4a
more shellcheck fixes
jacobsalmela Jun 27, 2017
22fac5e
additional shellcheck fixes
jacobsalmela Jun 27, 2017
04cef25
remove color character codes before uploading so the log is more read…
jacobsalmela Jun 29, 2017
1957b00
add comments about X-Headers and further explain the file descriptor …
jacobsalmela Jun 29, 2017
05a724a
codacy appeasement: remove useless cats
jacobsalmela Jun 29, 2017
cb65907
Merge branch 'development' of https://github.com/pi-hole/pi-hole into…
jacobsalmela Jul 5, 2017
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+975 −427
Diff settings

Always

Just for now

Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.