Commit Graph

12 Commits

Author SHA1 Message Date
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
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
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
Mcat12
62feb36640 Merge devel 2016-08-16 16:08:28 -04:00
Mcat12
c41d377eb3 Fix always returning invalid parameter 2016-08-16 15:55:41 -04:00
Mcat12
7265405424 Fix possible list param exploit
Sanitize list parameter, so that only the whitelist or blacklist are able to be read.
2016-08-16 15:17:28 -04:00
Mcat12
9f6fac65cb Fix possible XSS attack through white/black lists 2016-07-20 20:43:18 -04:00
Mcat12
020f9a433b Add back in list functionality 2016-02-24 18:42:06 -05:00
Mcat12
18a44efd95 Disable Whitelist/Blacklist feature for release
See #39 for why this is needed
2016-02-21 15:02:48 -05:00
Mcat12
84d11b570e Changed line endings
- Also changed return to die
2016-01-17 17:07:49 -05:00
Mcat12
3f3ebef42f Integrated list managment with admin site
- Made favicon work across pages
- No longer needs root access to tee command, still needs root access for gravity.sh and whitelist.sh
- Added call to gravity.sh when you remove an item
- Moved header and footer into separate files
- Moved files from list into the main folder
- Got rid of extra dependencies from the old list setup
- Added home button to sidebar
- Renamed original whitelist to "Old Whitelist"
- Added buttons to sidebar for Whitelist and Blacklist
2016-01-13 20:34:43 -05:00