Commit Graph

13 Commits

Author SHA1 Message Date
Mcat12 d38486fbd6 Possible fix for incorrect token
It appears that sometimes the first time you open the page,
the token is not synced correctly or something, causing
the CSRF check to fail. Starting the session before any
HTML is outputted seems to be a recommended first step to
troubleshooting PHP session errors. I have tried to test
this fix, but right now I don't know exactly what triggers
the error.
2016-05-10 16:47:22 -04:00
Mcat12 283f4b7978 Implement CSRF token for list editing 2016-05-02 20:33:29 -04:00
Mcat12 4d6ec1c5a5 Remove password functionality
After the change to 0.0.0.0 there will
be no need for a password
2016-04-18 22:07:37 -04:00
Mcat12 5d1761b19d Implemented password checking
Currently allows anything for the password. This will be updated when I implment passwords on the main repo.
2016-02-28 14:52:54 -05:00
Mcat12 ac5b43c5e7 Fixed getting password
Now doesn't do anything if there is no domain entered
2016-02-28 12:20:36 -05:00
Mcat12 76ee22be4c Removed debug modal button 2016-02-24 20:27:11 -05:00
Mcat12 7a7d08ea89 Shows a dialog for Pi-hole password
Currently doesn't check it, everything still works.
Only asks once, then remembers it until you reload the page.
2016-02-24 20:04:24 -05: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 e19b584e29 Dynamic versions in footer
- Shows Pi-hole and Web Interface versions
2016-01-30 11:26:18 -05:00
Mcat12 d6fd5fb109 Added highlight effect when removing an item from a list
- Uses jQuery UI
2016-01-27 19:46:10 -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