Commit Graph
3042 Commits
Author SHA1 Message Date
DL6ER 6f2a878371 Store filtering columns in array instead of in a string. This makes adding a column multiple times impossible.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-24 11:50:55 +02:00
DL6ER 77b421b133 Show how many domains have been added in case of an error.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-23 13:47:50 +02:00
DL6ER 7d1163ff9c Try to be clearer with the "failed to add domain" message by showing the original input when idn_to_ascii() failed and by showing both, the original and the converted domain when the conversion result itself is invalid.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-23 11:39:57 +02:00
DL6ER 14dd1350df Strip whitespaces from the beginning and end of user input to prevent errors getting triggered due to users trying to add "empty" domains.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-23 11:27:24 +02:00
DL6ER 51064df4fd Remove pointer cursor when auto-filtering is disabled.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-23 09:34:06 +02:00
DL6ER c24900ddff Reduce code duplication
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-23 09:30:18 +02:00
DL6ER 728d907780 Add meta key modifier and highlight filtering columns
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-23 09:17:10 +02:00
DL6ER c49bcb1454 Merge pull request #1147 from Th3M3/fix/custom_tooltips
tweak chartjs customtooltips
2020-04-21 16:34:19 +02:00
DL6ER 2439c3c76a Add comment that holding down [Ctrl] can do something magical
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 15:38:46 +02:00
DL6ER 0aecefcbc8 Add comments and simplify code
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 11:41:16 +02:00
DL6ER 8c82872f4a Add missing space in front of and on the dynamically generated button text.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 11:32:15 +02:00
DL6ER 8c1503cac5 Show filtering details on clear button.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 11:20:17 +02:00
DL6ER e9ba5e440a Add [Ctrl] key action to combine filters.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 10:56:23 +02:00
DL6ER 6fa9d036b4 Initialize regex filter mode and clear search field (if set previously)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 10:39:40 +02:00
DL6ER 7d0882723c Add exact searching using modified regex for query type, domain, and client.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-21 10:33:37 +02:00
DL6ER c1ddf66487 Merge pull request #1206 from pi-hole/fix/dhcp_static_error
Check for existence and readability of static leases file before trying to access it
2020-04-21 10:07:15 +02:00
Samu Voutilainen 39ec67829b Execute pihole through wrapper
All different exec() calls basically just calls sudo pihole,
with various different syntaxes. Using a wrapper function
allows sanitization of arguments for better safety.

Signed-off-by: Samu Voutilainen <smar@smar.fi>
2020-04-17 07:55:16 +03:00
DL6ERandTheME 2e7b9191fc Update scripts/pi-hole/js/queries.js
Co-Authored-By: TheME <andreas_fl@outlook.com>
2020-04-14 19:54:43 +02:00
DL6ER 8ad3b70f96 We should also accept open-ended IPv6 addresses such as, e.g., fda2:2001:5555::
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-13 09:48:08 +02:00
Th3M3 fadc6073db tweak chartjs customtooltips...
...and disable 'maintainAspectRatio' for the clients chart to avoid a squeezed display on small screens.

Signed-off-by: Th3M3 <the_me@outlook.de>
2020-04-12 15:25:29 +02:00
XhmikosR ae13014565 Adapt to the new rules.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-04-10 18:34:47 +00:00
DL6ER 373d59f751 Improve conditional forwarding settings so users can specify the subnet according to their needs.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-10 10:54:41 +02:00
DL6ER 0f21f6d269 Release possible previous onClick event handler on regex links to avoid multiple tabs being opened on click.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-10 10:45:26 +02:00
DL6ER a64810e00e Merge branch 'release/v5.0' into devel
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-08 12:25:18 +02:00
DL6ER 43b45d3da7 Merge pull request #1100 from Ghalid/patch-1
Disable text correction features, change types to make input fields easier to type in (especially for mobile devices)
2020-04-07 13:59:44 +02:00
DL6ER 0f892c9ffc Check for existance and readability of static leases file before trying to access it.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-04-07 12:30:51 +02:00
Th3M3 3ea59d5d36 shorter button textes & cleanup
Signed-off-by: Th3M3 <the_me@outlook.de>
2020-04-05 20:49:53 +02:00
Th3M3 fd983a2b68 improve multiselect
Signed-off-by: Th3M3 <the_me@outlook.de>
2020-04-05 14:56:28 +02:00
DL6ER 0a81dadf2f Merge pull request #1161 from pi-hole/tweak/wrap_other_tables
Add class "breakall" also to the code fields in the other tables.
2020-03-31 23:43:25 +02:00
DL6ER f9fd89cda7 Merge pull request #1149 from pi-hole/new/space-separated-item-injection
Allow space separated multiple items injection
2020-03-31 23:40:39 +02:00
DL6ER 57e139bcba Merge branch 'release/v5.0' into new/space-separated-item-injection 2020-03-31 21:31:41 +00:00
DL6ER 1e22f3349f Merge branch 'release/v5.0' into fix/queries_over_time 2020-03-31 21:22:18 +00:00
DL6ER 6e98c41a4f Merge branch 'release/v5.0' into tweak/wrap_other_tables 2020-03-31 21:11:30 +00:00
Adam Warner 45f98ae0f5 Merge pull request #1176 from pi-hole/master-xmr-btn
Streamline button classes and display.
2020-03-31 22:09:23 +01:00
DL6ER 7d2d9c29db Merge pull request #1199 from pi-hole/tweak/remember_filtering_chkbox
Remember last state of the "Apply filtering" checkbox on the Query Log page
2020-03-31 23:08:09 +02:00
DL6ER e2ca6bc920 Merge pull request #1187 from pi-hole/new/all_clients_network_table
Hide mock hardware addresses
2020-03-31 23:07:59 +02:00
Adam Warner 1dbbd3583c Merge pull request #1190 from Th3M3/fix/allow_empty_emailaddress
allow to clear email address
2020-03-31 22:07:13 +01:00
DL6ER f0034b305d Check adlist URL for valid characters before adding record to the database.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-03-31 20:41:50 +00:00
DL6ER e328f51e17 Remember last state of the "Apply filtering" checkbox on the Query Log page. Store this browser- not server-wise so individual users can use their own prefered settings.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-03-31 20:20:17 +00:00
Rick van Hattem 0c29a09a45 Add correct IP sorting for the Custom DNS table
Signed-off-by: Rick van Hattem <Wolph@wol.ph>
2020-03-30 22:29:47 +02:00
DL6ER 6fdeee53ca Merge pull request #1181 from pi-hole/tweak/client_address_validation
Add IPv4/IPv6 address validation to clients management page
2020-03-28 15:02:35 +01:00
XhmikosR 4af6a0785a Update xo to v0.28.0
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-03-20 10:31:32 +02:00
Th3M3 2a38bcc074 allow to clear email address
Signed-off-by: Th3M3 <the_me@outlook.de>
2020-03-18 21:39:55 +01:00
DL6ERandTheME bc9c656e37 Improve domain pages (#1184)
* Split domain input into two separate fields.

* Codestyle changes

* Fix checkout layout on full/limited domain pages.

* Improve wildcard hint

Signed-off-by: DL6ER <dl6er@dl6er.de>


* tabs for new domain/regex input

Signed-off-by: Th3M3 <the_me@outlook.de>


Co-authored-by: TheME <andreas_fl@outlook.com>
2020-03-15 12:07:22 -07:00
DL6ER ded679a9b7 Add IPv4/IPv6 address validation to clients management page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-03-14 13:37:33 +00:00
Ghalid 5924937e73 Readd autocorrect to groups search
The main groups page does not have IPs/domains - since groups typically contain words having autocorrect here makes sense

Signed-off-by: Ghalid <24234921+Ghalid@users.noreply.github.com>
2020-03-12 20:53:28 -04:00
DL6ER a99bfeaa6c Set hostname to italic unknown if not available
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-03-12 19:27:08 +00:00
DL6ER d89b13cf6c Hide mock hardware addresses
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-03-12 19:25:43 +00:00
Adam Warner 49da88949c Merge pull request #1074 from XhmikosR/favicons
New favicons.
2020-03-11 19:41:46 +00:00
XhmikosR b2bc0cb211 Streamline button classes and display.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-03-06 17:44:28 +02:00