Commit Graph

135 Commits

Author SHA1 Message Date
Mcat12
ebe310d1db Correctly parse IPV4_ADDRESS in setupVars for CORS
Often there's a `/24` at the end of the IP, so we need to ignore
that.
2016-12-21 12:32:36 -05:00
Mcat12
977c026868 Use checkfile on get.php
Move checkfile to funcs.php to be used by more scripts
2016-12-21 12:24:48 -05:00
Mcat12
8b59998299 Use IPv4 from setupVars for CORS 2016-12-21 12:08:19 -05:00
DL6ER
e188cb6fbc Revert "Merge pull request #267 from pi-hole/folderStructure"
This reverts commit fba3d10fa4, reversing
changes made to 4ee75f4167.
2016-12-21 17:16:52 +01:00
Mcat12
d1da1de597 Move PHP scripts to scripts folder 2016-12-19 19:44:51 -05:00
DL6ER
da12f6f16d Change the "none" to "nothing" 2016-12-19 10:44:04 +01:00
Adam Warner
0772b24757 Merge pull request #230 from pi-hole/loginpage
Add custom login page
2016-12-18 19:02:58 +00:00
DL6ER
1068ed82b1 Add hostname to allowed domains 2016-12-16 21:36:26 +01:00
DL6ER
1044879218 Merge branch 'devel' into loginpage 2016-12-16 18:11:10 +01:00
Adam Warner
ee41a78bdd More codacy fixes (#256)
* single quotes to double

* Avoid variables with short names like $a. Configured minimum length is 3.

* list_type > listType https://www.codacy.com/app/Pi-hole/AdminLTE/file/4753758893/issues/source?bid=3919163&fileBranchId=3919163#l30

* define `refresh` before it is used

* single to double quotes

* EsLint expects `{}` after `if`

* singlequotes to doublequotes

* https://www.codacy.com/app/Pi-hole/AdminLTE/file/4753758894/issues/source?bid=3919163&fileBranchId=3919163#l49

* Copy filterArray Function from api.php

* missed a single-quote

* single>double

* `===`, `==`

* single to double

* Usages come AFTER declarations

* missing semi

* function delcaration order change

* more codacy complaints
2016-12-16 13:52:51 +00:00
DL6ER
766f733592 Minor tweaks 2016-12-15 23:18:48 +01:00
DL6ER
4b035c0247 Merge branch 'loginpage' of https://github.com/pi-hole/AdminLTE into loginpage 2016-12-15 23:16:03 +01:00
DL6ER
79a648dd87 Removed dark logo 2016-12-15 23:15:53 +01:00
Promofaux
21fec8c657 brightlybrightly 2016-12-15 22:14:56 +00:00
Promofaux
437ab6afb4 be a bit more intelligent about logo size 2016-12-15 21:00:26 +00:00
Promofaux
5c447582f5 increase logo size 2016-12-15 20:48:23 +00:00
Promofaux
52f448cad1 played about with the layout. Looks nicer on fullscreen, boxed-layout, and mobile (in my opinion) 2016-12-15 20:43:06 +00:00
DL6ER
dbba1059bb Move variables out of if clause 2016-12-15 20:42:31 +01:00
DL6ER
ab05a79865 Use dark vortex logo 2016-12-14 23:34:41 +01:00
DL6ER
172d63a049 Merge branch 'devel' into loginpage 2016-12-14 23:31:48 +01:00
DL6ER
4348593838 Made forgot password box also red if wrong pasword 2016-12-14 16:54:17 +01:00
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
3e56e37a27 Added how to disable password 2016-12-13 17:04:19 +01:00
DL6ER
cef0f488a1 Merge branch 'devel' into loginpage 2016-12-13 15:43:03 +01:00
DL6ER
90f4088bf0 Automatically expand "Forgot password" box if password is wrong 2016-12-13 15:41:47 +01:00
DL6ER
5f83f6af2f New design for new login page 2016-12-13 15:38:03 +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
27f80a2bf8 Merge branch 'loginpage' of https://github.com/pi-hole/AdminLTE into loginpage
Conflicts:
	php/loginpage.php
2016-12-13 11:59:26 +01:00
DL6ER
721e283a67 Minor change 2016-12-13 11:55:10 +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