Commit Graph

1735 Commits

Author SHA1 Message Date
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
DL6ER eefbef678c Suppress white 'flashing' on page reloading in dark mode.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:50:29 +02:00
DL6ER b5e64653db Update network colors
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:50:29 +02:00
DL6ER ec53843379 Restore coloring of the entire rows in the Query Log
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:50:29 +02:00
DL6ER 05d5f02a36 Add theme chooser to Setting -> Web interface.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:50:29 +02:00
DL6ER 064a0aae9c Use the iCheck library for input box styling.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:50:29 +02:00
DL6ER 6b47a937fb Add network table theming.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:44:55 +02:00
DL6ER b23afb4516 Dark mode for Long-term Query Log and Lists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:44:55 +02:00
DL6ER 8468f129eb Dark mode optimizations for Query Log and Long-term graphics
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:44:55 +02:00
DL6ER a08a85994e Initial (incomplete) support for themes. Currently, the default is the new Pi-hole dark theme.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 22:44:52 +02:00
Matthias rank 4e07ae24f1 Added support for CNAME records add/remove
Signed-off-by: Matthias rank <development@m-rank.de>
2020-05-12 22:24:45 +02:00
XhmikosR bfd944e41c Switch to the plain chart.js build and moment.js to v2.24
This avoids including moment.js twice since chart.js bundle included moment.js

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-12 23:05:59 +03:00
DL6ER 08d2676489 Review comments
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 21:14:18 +02:00
DL6ER 257f6ce55e Log number of imported group assignments.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-12 20:36:00 +02:00