Commit Graph

71 Commits (1d43c0a2fa36ddc993db51b1751e26cbc8123fbf)

Author SHA1 Message Date
Mcat12 b320e74921
Improve argument handling
5 years ago
Mcat12 add5e4ca5e
Explicitly allow only -r and --refresh in argument handler
5 years ago
Mcat12 422680ee9f
Fix chronometer refresh incorrectly reading the long argument sleep time
5 years ago
WaLLy3K 24e1dc92ba
Resolve issue #2428
6 years ago
Mark Drobnak dac27f1f18
Only get the first gateway for chronometer
6 years ago
Mark Drobnak 6f276ae4bb
Merge pull request #2299 from nullr0ute/net-tools
6 years ago
WaLLy3K eef948d797
Fix header newlines
6 years ago
Peter Robinson 45521b377a Use ip route rather than old net-tools route in chronometer.sh
6 years ago
Dan Schaper d251bbbb05
Space/Tab chronometer.sh
6 years ago
Perflyst 3390fbf238 Add RaspberryPi 3B+
6 years ago
DL6ER afa2e9c2f7
Exchange hard-coded domain "localhost" by hard-coded address "127.0.0.1"
6 years ago
WaLLy3K 2390b80359 Silence non-numeric domains_being_blocked output
7 years ago
WaLLy3K 714fd93292 Provide correct FTL stats (#1619)
7 years ago
WaLLy3K 1bebcef265 Make Chronometer usable on smaller screens (#1518)
7 years ago
WaLLy3K 10139241f5 Fix output IPv4 addr when removing CIDR notation (#1498)
7 years ago
WaLLy3K 4ad0cdf5d4 Rewrite Chronometer to output more stats
7 years ago
WaLLy3K b721ed49ab Update Help Output (#1467)
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