Commit Graph

2898 Commits

Author SHA1 Message Date
DL6ER
b0f54f5451 Add new Pi-hole diagnostics page.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-17 16:07:21 +03:00
Adam Warner
7d409ad76c Merge pull request #1269 from pi-hole/fix/client_sorting
Add proper IP sorting to the groups->client table
2020-05-17 13:49:56 +01:00
Adam Warner
ee0f9fdf68 Merge pull request #1310 from pi-hole/XhmikosR-patch-2
Improve user-menu markup
2020-05-17 13:23:32 +01:00
Adam Warner
61715ffcc2 Merge pull request #1304 from pi-hole/XhmikosR-patch-8
header: fix `aria-expanded` for user-menu dropdown
2020-05-17 13:16:36 +01:00
Adam Warner
457ffb2a5d Merge pull request #1302 from pi-hole/xmr-update-fa
Update Font Awesome to v5.13.0
2020-05-17 13:12:49 +01:00
Adam Warner
ed3864b4d7 Merge pull request #1116 from pi-hole/update-datatables
Update DataTables to v1.10.21
2020-05-17 13:07:37 +01:00
Adam Warner
f4722cf2a9 Merge pull request #1263 from pi-hole/xmr-animate-min
Use the minified animate.css file.
2020-05-17 13:05:38 +01:00
XhmikosR
623087346a Enable no-zero-fractions rule
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-17 15:03:52 +03:00
XhmikosR
36b1344afe Update DataTables to v1.10.21
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-17 15:00:08 +03:00
Adam Warner
aec571579d Merge pull request #1312 from pi-hole/tweak/fix_summary
Fix summary header
2020-05-17 12:46:24 +01:00
Adam Warner
1e639e9dc5 Merge pull request #1306 from pi-hole/xmr-network
network: use Font Awesome
2020-05-17 11:54:29 +01:00
Adam Warner
dcf3c42924 flip null check on elName. === null was not working
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-17 11:46:50 +01:00
Adam Warner
0bf2f4e4cc Merge pull request #1300 from pi-hole/XhmikosR-patch-7
header: Move license header at the top
2020-05-17 11:16:08 +01:00
Adam Warner
34c9514e07 Merge pull request #1311 from pi-hole/XhmikosR-patch-11
header: add X-UA-Compatible meta tag
2020-05-17 11:11:11 +01:00
Adam Warner
404f2c2c45 Merge pull request #1307 from pi-hole/XhmikosR-patch-9
Rename variable to camelcase.
2020-05-17 11:11:02 +01:00
XhmikosR
acbe0edbd4 header: add X-UA-Compatible meta tag
For consistency with Bootstrap 3.x.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-17 11:52:52 +03:00
XhmikosR
725334c93e Improve user-menu markup
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-17 11:28:21 +03:00
XhmikosR
f2b11caf58 Rename variable to camelcase.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-17 08:53:53 +03:00
XhmikosR
0b3371030f network: use Font Awesome
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-17 08:51:07 +03:00
XhmikosR
d062cb0423 header: fix aria-expanded for user-menu dropdown
It's not expanded by default, so it needs `aria-expanded="false"`

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-16 19:53:44 +03:00
XhmikosR
f6bd1a28a2 Use fa-angle-left to see if sidebar transition works
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-16 19:44:55 +03:00
XhmikosR
8283f63c41 Simplify sidebar markup per the latest AdminLTE 2.x demo
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-16 19:44:05 +03:00
XhmikosR
db878379ea Update Font Awesome to v5.13.0
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-16 19:23:34 +03:00
XhmikosR
b416075cdc header: Move license header at the top
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-16 19:16:44 +03:00
DL6ER
dca347c056 Fix missing separator when there is vendor and address but no hostname
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-15 18:44:12 +02:00
DL6ER
7a5235512b Order suggested clients by firstSeen (most recent on top).
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-15 18:44:11 +02:00
Adam Warner
b351f45cb2 Change the names of the info elements without changing the property names of the API
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-15 09:25:01 +01:00
Matthias Rank
e380d9222a Removed already defined functions
Signed-off-by: Matthias Rank <development@m-rank.de>
2020-05-15 10:09:15 +02:00
DL6ER
6634fb6856 Merge pull request #1288 from pi-hole/tweak/add_domain_behaviour1
Also do this from the query log page
2020-05-15 01:18:33 +02:00
DL6ER
f7647c9c6d Show hostname(s) first, then MAC vendor (if applicable) and then IP address(es).
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-15 00:00:36 +02:00
DL6ER
29e048824e Ensure we're not adding IPs for mock devices.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-14 23:58:24 +02:00
DL6ER
389f1d1ecd Fix failed git auto-merge.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-14 20:29:42 +02:00
DL6ER
8a794bf9aa Also show IP addresses in MAC details
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-14 20:13:49 +02:00
DL6ER
fe10059517 Finalize sub-queries to ensure we're not running out of memory with hundreds of clients (can result in O(N^2) memory requirements).
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-14 18:43:35 +02:00
DL6ER
8c53844ef3 Add device vendor (if available) to info string shown in the select dropdown
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-14 18:43:35 +02:00
DL6ER
3e1a1f59aa Add support for multiple hostnames per client (hardware address).
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-14 18:43:35 +02:00
DL6ER
a3df25c845 Merge pull request #1293 from jacklul/patch-2
Trim user input where applicable
2020-05-14 18:22:18 +02:00
DL6ER
402e56e054 Allow adding groups with spaces in them when wrapping groups names in quotation marks.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-14 18:04:31 +02:00
Jack'lul
e12ebcbd08 Trim user input where applicable
Signed-off-by: Jack'lul <jacklulcat@gmail.com>
2020-05-14 18:01:36 +02:00
Jack'lul
9b92548ae1 Make sure ip-custom field is editable when no suggestions are available
Signed-off-by: Jack'lul <jacklulcat@gmail.com>
2020-05-14 17:38:49 +02:00
Adam Warner
c53436ab3f Also do this from the query log page
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-13 23:38:43 +01:00
DL6ER
56990c5c34 Merge pull request #1287 from pi-hole/fix/autocomplete_bug
Fix autocomplete bug on group pages
2020-05-13 23:59:59 +02:00
DL6ER
6b8e12a0d1 Fix autocomplete bug on group pages.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-13 23:54:22 +02:00
Adam Warner
ef13e69125 Use REPLACE into instead of INSERT into. This allows for a domain's white/blacklist status to be toggled
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-13 22:01:58 +01:00
DL6ER
68b99658ad Ensure IP addresses w/o MAC addresses are also shown and that already added clients are hidden.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-13 22:59:28 +02:00
DL6ER
bdca8104e5 Add better select menu allowing users to filter inside the dropdown as well as add new entries in place.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-13 21:19:05 +02:00
DL6ER
2f0b8bfdc8 Allow users to specify clients as MAC addresses
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-13 19:20:01 +02:00
Th3M3
38e7cb8e73 Use two different divs for mobile and desktop instead of a JS solution
Signed-off-by: Th3M3 <the_me@outlook.de>
Co-Authored-By: XhmikosR <xhmikosr@gmail.com>
2020-05-13 14:46:09 +02:00
XhmikosR
76d50c1897 Use the minified animate.css file.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-13 07:34:16 +03:00
DL6ER
b7d74ff772 Reinstall loading overlay on long-term graphs page (shown only if data has been requested).
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:50:29 +02:00