raincoats
eb763d2dc2
Redirect to admin panel when accessing ' http://pi.hole/ '
...
If someone tries to access 'http://pi.hole/ ', it will take them to the "Website blocked" page. Very confusing if you don't know to go to 'http://pi.hole/admin/ '. This just redirects them to the admin panel.
7 years ago
Dan Schaper
512c650441
Shellchecking.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
dc44fc9e27
Version check amalgamation and removal of && || logic.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
05640f9a6b
Merge pull request #1295 from pi-hole/tweak/pullapprove
...
Require 4 approvals instead of five for merging into master
7 years ago
Dan Schaper
6f2fb57c08
Protocol specific records checks.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
2547cc4c8d
Only run IPv6 if enabled, split out Chaos TXT checks.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
DL6ER
112ddb3c77
Require 4 approvals instead of five for merging into master
7 years ago
DL6ER
9f4ef66f41
Add IPv6 resolver test
7 years ago
DL6ER
086f0790fc
Add Google's IPv6 address for potential IPv6 resolver tests
7 years ago
Dan Schaper
709b44f736
IPv4 DNS tests
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
6cd4ff6d68
Organize functions and function calls.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
abd3e828de
Optimize normalOutput
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
DL6ER
b85af50d14
Generate only the information that is actually asked for
7 years ago
Dan Schaper
0e8fd49669
Function...
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
945e22874e
Collapse duplicate functions, and take out argument loops.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
77ab47a984
Awk for perl
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
ed8088f203
Functions for Core/Web version and hash. And only check first argument in each section.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
8831b22fc8
Prototype function for getting version of local repo
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
0341bd1758
Optimize code, undoc flag for current hash.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
9bb4a5fb25
Factor out variables from display.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
ebfffea5dc
Always show something, even if it's just the short hash of the latest commit.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
81939ab265
Get short hash of local and remote
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
DL6ER
f2fe84c9d3
Merge pull request #1292 from pi-hole/master
...
Merge patches back into devel
7 years ago
DL6ER
051f463350
Merge pull request #1291 from pi-hole/fix/defaultlisteningbehavior
...
Fix default listening behavior of dnsmasq
7 years ago
DL6ER
f626406685
Revert #1273
7 years ago
DL6ER
dd971b6ee5
Default behavior is old behavir (listen on gravity interface (e.g. eth0), permit all origins)
7 years ago
Dan Schaper
8776b822db
Merge pull request #1287 from pi-hole/fix/update_fail
...
Exit script immediately if we can't update package cache.
7 years ago
DL6ER
fc76b1a6a3
Merge pull request #1244 from pi-hole/new/FTL-binary
...
FTL
7 years ago
DL6ER
9183200b6f
Merge pull request #1286 from pi-hole/tweak/dpkg_lock
...
Test for dpkg lock before using apt-get
7 years ago
DL6ER
f1b8abf503
Merge pull request #1146 from pi-hole/tweak/chronometer_recentlyblocked
...
[FTL] Show most recently blocked domain in chronometer
7 years ago
DL6ER
9502356980
Move test_dpkg_lock to initial UPDATE_PKG_CACHE. There was unpredictable interference with debconf-apt-progress
7 years ago
DL6ER
a535ca9db4
Some tweaks to the new dpkg lock detector
7 years ago
DL6ER
2c762899de
Add loop to wait if package manager is blocked externally
7 years ago
Dan Schaper
24fd23493d
Exit script immediately if we can't update package cache.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago
Dan Schaper
6f1ed28d0a
Merge pull request #1274 from pi-hole/development
...
Pi-hole Core v2.13
7 years ago
DL6ER
66b7d04b82
Merge branch 'development' into new/FTL-binary
7 years ago
DL6ER
044afa838c
Merge pull request #1284 from pi-hole/new/dnsmasqListeningBehavior
...
Setup interface listening behavior of dnsmasq
7 years ago
DL6ER
7ba47f504c
Add special "except-interface" line in case of listening on all interfaces
7 years ago
DL6ER
0be1717ff4
Fix config error
7 years ago
DL6ER
189a4e0078
Add option to skip restarting of dnsmasq
7 years ago
DL6ER
3adf8785d8
Move "all" down in help text to not suggest that it is the default
7 years ago
DL6ER
b74862bfc5
Actually apply new setting by restarting dnsmasq
7 years ago
DL6ER
01273124ea
Change to -i, interface
7 years ago
DL6ER
721ada7e16
Fix typo
7 years ago
DL6ER
bd9dc91396
Add response for users manually setting this up via CLI
7 years ago
DL6ER
de6c43a8d3
Setup interface listening behavior of dnsmasq
7 years ago
Technicalpyro
93dea7b942
Moved to installers dependencies
7 years ago
Dan Schaper
f6fc6a5e56
Merge pull request #1281 from pi-hole/tweak/web_debug
...
Back end changes for Web based debug calls.
7 years ago
Dan Schaper
ca24f7c143
Merge pull request #1273 from pi-hole/new/no_fixed_interface
...
Don't save `interface=` line to `dnsmasq`s config file
7 years ago
Dan Schaper
17b0db6515
Fix for calling -w without -a.
...
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
7 years ago