Commit Graph

55 Commits (ecde2225122904a89543712ec8f2b0fd1da26ff6)

Author SHA1 Message Date
Adam Warner ecde222512 [Staging] 3.1 (#1502)
7 years ago
DL6ER 8235b18854
Remove duplicated line
7 years ago
DL6ER 10bc8414b9
Move FTL querying before clearing the terminal to avoid flashing on Pi B+
7 years ago
DL6ER 4e25e0dc5c
Add missing } to JSON output
7 years ago
DL6ER b1a9793d94
Let Chronometer query all data from FTL (no need for having the API). Fixes #1305
7 years ago
DL6ER f1b8abf503 Merge pull request #1146 from pi-hole/tweak/chronometer_recentlyblocked
7 years ago
Jacob Salmela 7a1a2dec67
update license to EUPL on core files
7 years ago
Mcat12 f8944177a0 Fix chronometer interpreting summaryRaw
7 years ago
Mcat12 58f3ff69d8 Align comment with referenced line
7 years ago
DL6ER 72d8d10e64
Show most recently blocked domain in chronometer (using FTL). Fixes #717
7 years ago
DL6ER 845d8c0e63
Ensure LC_NUMERIC=C is set when evaluating floating point number (non-English systems might expect "," as decimal separator
7 years ago
Promofaux b4c32e47c6 Missed one!
7 years ago
Promofaux 248d8680f7 actual codacy complaints
7 years ago
Promofaux 1bda965a7c Codacy complaints
7 years ago
Promofaux 2ee305769d Replace all calculations with values read directly web admin API. Parse JSON using native unix tools, no additional requirements needed.
7 years ago
DL6ER a4f58b0a22
Look for "query[" instead of "query" to avoid false-positives, like listed below
8 years ago
DL6ER bcf8139708
Removed cat where we don't need it
8 years ago
DL6ER 9b0390c9da
Space to Tab
8 years ago
DL6ER e88f58c34e
Remove grpping for today's log entries, because we flush the log every day
8 years ago
Dan Schaper 925c80edd4
Catch more 1's
8 years ago
Jacob Salmela ca56ca5bd8 promo-tweak
8 years ago
Jacob Salmela a0f0dff88e replace hardcoded interface with var
8 years ago
Adam Warner 4300759287 Fix logic. If both v6 and v4 divide by two, else dont.
8 years ago
Promofaux d7d6d6f991 Update to use new Var name
8 years ago
Jacob Salmela f8e9726922 source setupVars and check for the correct variable
8 years ago
Jacob Salmela 884363bd05 remove ipv6 check since it's already in setupVars
8 years ago
Marcus Hildum 6e94bf5b6d Consistency
8 years ago
Marcus Hildum 0efda04920 Use heredocs instead of multiple calls to echo
8 years ago
Marcus Hildum 28eeaf201b Standardize function declaration
8 years ago
Promofaux 090fbd04af Remove ${SUDO} usages and root checks from scripts called by `pihole` command as they should not be called directly.
8 years ago
Promofaux b3e7619048 curly brackets all the variables!
8 years ago
Carter Maxwell c0e1772e21 Replace toilet with echo
8 years ago
Promofaux 05e0003555 Fixes issue #453
8 years ago
nate 1a2046a7eb Added uninstall option to `pihole` command. Minor fixes
8 years ago
nate fee55fa642 Added gravity.sh to the list of options
8 years ago
nate 76ea1962be Controller script, pihole.sh added
8 years ago
nate 8ef4c12f97 Merge branch 'ScriptCleanup'
8 years ago
nate 0b9e78df2c Cleaned code and added prompt for purge on uninstall
8 years ago
Morlok8k d13ae0610e fix for older versions of uptime, on development branch.
8 years ago
Carter Maxwell a6877e7c13 remove trailing whitespace chronometer.sh
8 years ago
Hippyjake 21c688a8a8 add uptime -p to chrono script
8 years ago
Promofaux 4c24186911 Fixes divide by zero error.
8 years ago
Mcat12 48f9a61ff0 Updated License
8 years ago
Promofaux af982a02af Move call to CheckIPv6 function into CalcBlockedDomains, rather than relying on remembering to call it before you call CalcBlockedDomains.
8 years ago
Adam Warner f665899116 Update chronometer.sh
8 years ago
Adam Warner de464e17cc Update chronometer.sh
8 years ago
Adam Warner 0eed56380d Update chronometer.sh
8 years ago
Promofaux 487c26db44 Major overhaul. Added -j option to output stats as JSON formatted string. If run with no option, then chronometer runs as normal. Fixed calculations to match those on the web dashboard.
8 years ago
Dan Schaper cb91b8f5fa Add copyright headers
9 years ago
Fourdee 52ef76d717 missed a few more /etc/host changes
9 years ago