Commit Graph

99 Commits

Author SHA1 Message Date
DL6ER
bfa10c7be1 dnsmasq "bogus-priv" property 2016-12-14 16:15:51 +01:00
DL6ER
43daee192d dnsmasq "domain-needed" property 2016-12-14 16:10:26 +01:00
DL6ER
67df29c794 Moved Pi-Hole domain name setting to DHCP Server tab as it is a DHCP server setting... 2016-12-14 14:40:37 +01:00
DL6ER
aeee6c33d5 Add DNS domain setting 2016-12-14 14:27:14 +01:00
DL6ER
56ea43014e Remove debug output 2016-12-13 17:26:49 +01:00
DL6ER
6e8c1bf128 Allow leaving Custom secondary DNS server field empty 2016-12-13 17:22:58 +01:00
DL6ER
b0556852cb Add "Interface appearence" option 2016-12-13 14:58:47 +01:00
DL6ER
f866d94e3a Refined success/error messages 2016-12-13 13:11:46 +01:00
DL6ER
b28f4a0931 Add info/error boxes and populate with content. If there are hosts with errors in Top Lists / Top Clients each error will be shown separately 2016-12-13 13:08:27 +01:00
DL6ER
07987b5a04 Add info boxes 2016-12-13 12:56:04 +01:00
DL6ER
18aac58a8c Client entries should actually be IP addresses + Fixed some typos 2016-12-13 12:24:09 +01:00
DL6ER
ff5709b97f Some simplificaton and fixes for php/savesettings.php 2016-12-13 12:13:35 +01:00
DL6ER
ec2ad64cc4 Make $error accumulate all error messages 2016-12-13 12:08:38 +01:00
DL6ER
fcbf6f5c4c Prevent direct access to savesettings.php 2016-12-12 18:48:04 +01:00
DL6ER
c939951677 Print size of Pi-Hole log file 2016-12-12 17:36:31 +01:00
DL6ER
581ef88969 Added Pi-Hole DHCP server 2016-12-12 15:33:50 +01:00
DL6ER
b1cce8dc4f Fixed IP validation filter 2016-12-12 14:16:01 +01:00
DL6ER
68a35091a8 Add "query log" options 2016-12-12 13:14:45 +01:00
DL6ER
6ffbdc038e Added "flush logs" 2016-12-12 10:43:05 +01:00
DL6ER
498d0b9b36 Add "restart DNS server" 2016-12-12 10:38:07 +01:00
DL6ER
0fe8cc5440 Added "restart system" 2016-12-11 22:34:04 +01:00
DL6ER
a3efdab5df Small fix 2016-12-11 19:55:58 +01:00
DL6ER
99ddf6cabd Change temperature unit via settings page 2016-12-11 19:37:15 +01:00
DL6ER
4ec6a2d673 Modifying excluded entries for top domains/top ads and top clients working 2016-12-11 19:29:23 +01:00
DL6ER
7c1c45dbbd Simplified IP address validation 2016-12-11 18:34:02 +01:00
DL6ER
28ca620f31 Enable/Disable query logging implemented 2016-12-11 18:30:48 +01:00
DL6ER
f2974d4b61 Implemented setting of DNS server IPs 2016-12-11 18:14:23 +01:00
Mcat12
3c79f7c692 Merge pull request #222 from pi-hole/queryadsnoauth
Improve Query adlists scripts
2016-12-10 13:51:53 -05:00
Mcat12
8cf7e262a2 Remove CORS skip log message
It can fill up the error log really quickly, since this function is now used on all pages. Most of these pages are not able to be protected by CORS but can still be protected by the Host check.
2016-12-10 11:47:47 -05:00
DL6ER
beeea0edfb Implemented new "pihole -q <domain> -exact" argument in web UI 2016-12-06 13:30:53 +01:00
DL6ER
acbef91e9c Make sure that js/pihole/queryads.js always finds its target + remove requirement for authorization on php/queryads.php for using it within the new blocking page 2016-12-05 11:04:00 +01:00
Mcat12
0dec4b8aa0 Protect Enable/Disable with a CSRF token check
The token is now added for all pages.
2016-12-04 13:16:45 -05:00
Mcat12
40c6ee9f5a Remove strict flag and change Host check
Since the Host header is easily manipulated, we can only check if
it's wrong and can't use it to validate that the client is authorized,
only unauthorized. There's no need for the strict flag anymore
because of this.
2016-12-02 16:06:43 -05:00
Mcat12
6b8fa7dbe4 Merge remote-tracking branch 'origin/devel' into secure-pause-resume
Conflicts:
	header.php
2016-12-01 20:47:04 -05:00
DL6ER
fbe715c338 Small fix in password.php: Verify that there is a password hash before trying to access it 2016-11-24 12:54:26 +01:00
DL6ER
21649a2017 Extended password protection to php/queryads.php 2016-11-23 18:05:07 +01:00
DL6ER
d9adcccbc3 Merge branch 'devel' into auth
Conflicts:
	header.php
2016-11-23 18:02:40 +01:00
DL6ER
5b15755014 Added new check for validity of domain name 2016-11-23 12:18:27 +01:00
DL6ER
64d532a95c Pass "Invalid domain!" error message to user 2016-11-22 15:36:16 +01:00
DL6ER
7f779e482f Check if url does exists (try to resolve!) 2016-11-22 15:30:51 +01:00
DL6ER
7f7604a6af Add "Query adlists" feature 2016-11-22 15:23:30 +01:00
DL6ER
9e3a092701 Addressed codacy issues 2016-11-21 10:51:45 +01:00
Mcat12
591bc2c3f5 Change another else for codacy 2016-11-20 18:23:18 -05:00
Mcat12
2989709a23 Re-arrange check_cors if statements for codacy 2016-11-20 18:11:02 -05:00
DL6ER
f84d54558b Allow GET hash for API calls 2016-11-20 15:46:05 +01:00
DL6ER
cd75d7e7a3 Remove hash from the javascript scripts. 2016-11-20 15:34:03 +01:00
DL6ER
02dc741209 Move from GET to SESSION variables for the sake of convenience 2016-11-20 15:27:35 +01:00
DL6ER
2c93be0174 Extended current password protection to gravity.sh page 2016-11-20 14:52:53 +01:00
DL6ER
6781fa7919 Merge branch 'devel' into auth 2016-11-20 14:47:25 +01:00
DL6ER
d899293c67 Test if POST and GET variables are set before trying to actually access them. This increases code complexity noticable, let's see if codacy complains ... 2016-11-19 22:05:26 +01:00