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
Promofaux
6a13796d99
Organise folder structure a bit better... Seperates vendor packages from self-written scripts.
2016-12-19 18:30:16 +00: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
61a609f08d
Merge pull request #221 from unseen1980/patch-1
...
Some small changes in updateSummaryData
2016-12-15 14:12:36 -05:00
Adam Warner
5337469922
redundant double negation
2016-12-15 11:34:02 +00:00
DL6ER
a8cfb091df
$(document).ready(function() { ... }); was included in in function updateTopLists(){ ... }
2016-12-15 12:19:58 +01:00
Adam Warner
30ae5ea6b6
define functions before calling document.ready
2016-12-15 11:15:02 +00:00
Adam Warner
ff9741b4aa
Restore updateSummaryData to match devel
2016-12-15 10:55:01 +00:00
Adam Warner
8144ae01fe
Codacy complaints index.js
2016-12-15 10:16:25 +00:00
Adam Warner
aec468d000
Codacy complaints footer.js
2016-12-15 09:33:43 +00:00
DL6ER
07987b5a04
Add info boxes
2016-12-13 12:56:04 +01:00
DL6ER
c9479f1e18
Modified ajax calls to actual form submits
2016-12-13 12:28:19 +01:00
DL6ER
a187da3995
Fixed codacy issue
2016-12-13 12:02:02 +01:00
Christos Koutsiaris
19b132feae
Code review comments
2016-12-13 06:43:41 +00:00
DL6ER
29ff6310f4
Modified DOM of table
2016-12-12 18:16:08 +01:00
DL6ER
83f64508ea
Added DataTables for DHCP leases
2016-12-12 18:11:41 +01:00
DL6ER
7d4234b208
Removed debug statement
2016-12-12 15:37:39 +01:00
DL6ER
581ef88969
Added Pi-Hole DHCP server
2016-12-12 15:33:50 +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
0a40091f4a
Use method shorthands
2016-12-12 10:33:12 +01:00
DL6ER
0fe8cc5440
Added "restart system"
2016-12-11 22:34:04 +01:00
DL6ER
be27a0daa7
Add pihole/settings.js
2016-12-10 21:25:58 +01:00
DL6ER
ce65caa08f
Added jQuery inputmask scripts
2016-12-10 21:10:45 +01:00
Mcat12
ff55cf085e
Add button to Gravity page
...
This makes sure that the user doesn't accidentally cause the lists
to update because they were curious and clicked the Update Lists
link on the sidebar. Also, they can update the lists multiple
times, if they so desire.
2016-12-10 14:16:49 -05:00
Mcat12
3c79f7c692
Merge pull request #222 from pi-hole/queryadsnoauth
...
Improve Query adlists scripts
2016-12-10 13:51:53 -05:00
DL6ER
ace3bccbd1
Removed unnecessary code
2016-12-10 18:34:19 +01:00
DL6ER
76585024e7
Updated version comparison
2016-12-10 10:07:18 +01:00
DL6ER
bba2e38518
Add definition for variable 'percentage'
2016-12-10 09:57:10 +01:00
Promofaux
43295a4238
Don't hid exact match if on vDev
2016-12-09 23:36:09 +00:00
Promofaux
749a5af3f6
resolve merge conflicts
2016-12-09 23:24:43 +00:00
Promofaux
8c158eb7ba
add percentage tool tip to Top Clients progress bars, as with Top Domains and Top Advertisers
2016-12-09 23:13:11 +00:00
DL6ER
6247960580
Strings must use doublequote.
2016-12-09 18:05:04 +01:00
DL6ER
ae2bc08f0b
Show percentage when placing mouse on progress bars
2016-12-09 17:56:13 +01:00
Mcat12
002040452b
Codacy fixes
2016-12-08 17:33:21 -05:00
DL6ER
eeb8811738
Remove some obsolete checks if on development version
2016-12-08 23:01:25 +01:00
DL6ER
b204eaca30
If we are on vDev then we assume that it is always newer than the latest online release, i.e. version comparion should return 1
2016-12-08 22:57:23 +01:00
DL6ER
9812e46e00
Added a brace that disappeared earlier.
2016-12-08 22:44:13 +01:00
DL6ER
fa3350d0a7
Remove a debug alert() statement
2016-12-08 10:57:15 +01:00
DL6ER
bb3d343c39
Fix versionCompare(left, right)
2016-12-08 10:52:20 +01:00
DL6ER
6ae2cd0f84
Hide "exact match" button on queryads.php page if version is 2.9.5 or lower
2016-12-08 10:19:36 +01:00
DL6ER
d0d1bdf11c
Let the user use both partial and exact matching from the web UI. [Enter] results in partial matching (previous behavior)
2016-12-06 13:41:38 +01:00
DL6ER
beeea0edfb
Implemented new "pihole -q <domain> -exact" argument in web UI
2016-12-06 13:30:53 +01:00
DL6ER
9fd0f916c5
Refined to preserve newlines
2016-12-06 12:13:09 +01:00
DL6ER
0a8ff09261
Remove "(x results)"
2016-12-06 12:07:33 +01:00
DL6ER
881f772b6a
Add option "quiet" output to "queryads.js". Will only show the lists with results if option "quiet" is enabled (will be used in the new blocking page)
2016-12-05 11:21:45 +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
Christos Koutsiaris
f7cd5603cd
code review comments
2016-12-04 21:18:55 +00:00
Mcat12
1c135448ec
Merge pull request #188 from pi-hole/secure-pause-resume
...
Secure pause resume plus general security fixes
2016-12-04 14:19:14 -05:00
Mcat12
3c35afe217
Make sure token is URL safe
2016-12-04 13:58:24 -05:00