Commit Graph

646 Commits

Author SHA1 Message Date
XhmikosR
8db0957a28 Minor tweaks
* use the background-color property instead of the background shorthand
* add multiple classes with one `addClass` call
* rename `underline` to `text-underline`
* use the CSS class `pointer` instead of adding CSS via JS
* change `border-color: transparent` to `border: 0` in the navbar right dropdown image
* add image dimensions in the dropdown donate image
* remove the obsolete and unneeded `center` element from network.php
* remove commented out PHP code from header.php
* fix wrong `form-control` class used in buttons

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-11 21:49:48 +03:00
XhmikosR
e02df5467a Fix lint errors.
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-11 09:20:32 +03:00
DL6ER
73ee91a024 Merge branch 'master' into master-to-development-v5.0
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-10 22:00:07 +02:00
DL6ER
cc4e3c9a95 Query Log and long-term data Query Log: Substitute empty domains by "."
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-07 09:17:47 +02:00
DL6ER
b86ff763c0 Address xo complaints.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-05-07 07:52:18 +02:00
Adam Warner
68ce56fc56 show a clickable "." when there is a blank domain in the top domain lists
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-05-06 23:19:50 +01:00
XhmikosR
bdde1e6667 Use text() when retrieving the token. (#1237)
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-04 10:52:00 +03:00
XhmikosR
0e35b415ea JS: test for length explicitly. (#1240)
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2020-05-04 10:50:13 +03:00
DL6ER
abf6e9f7a2 Merge pull request #1210 from pi-hole/fix/regex_link_multiple_tabs
Prevent multiple tabs from being opened when clicking on a regex link on the Query Log page
2020-04-28 20:06:03 +02:00
DL6ER
79539bdd6c Merge pull request #1121 from pi-hole/fix/queries_over_time
Fix tooltip percentage computation and more...
2020-04-28 04:36:02 +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
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
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
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
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
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
DL6ER
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
Dan Schaper
aa51f014ab Fix domain and group disassociation when toggling from Black/Whitelis… (#1172)
* Fix domain and group disassociation when toggling from Black/Whitelist page

* Properly set the groups variable

Signed-off-by: trillaxe <trillax@tutanota.com>

* Trim whitespace

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
2020-03-05 12:59:42 -08:00
DL6ER
2530db8944 Responsiveness improvements for audit log page.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-22 12:35:04 +01:00
DL6ER
214bb004db Merge branch 'release/v5.0' into fix/audit_log 2020-02-22 11:43:43 +01:00
TheME
9fde58d7e0 make id names unique, ...* (#1170)
* - remove unneeded code
- fix php notice in log if url parameter 'type' is not set

Signed-off-by: Th3M3 the_me@outlook.de
2020-02-21 12:04:51 -08:00
DL6ER
1300b5411a Fix audit log page.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-21 19:11:17 +01:00
DL6ER
ea6a6ad2f3 Keep "custom" selection after clicking [Add].
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-21 18:27:39 +01:00
DL6ER
59085c237e Merge branch 'release/v5.0' into new/clients_comment_fields
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-18 16:44:12 +01:00
Adam Warner
596f5af7fa Merge branch 'release/v5.0' into fix/group_assignment_allow_overflow 2020-02-16 18:51:29 +00:00
Adam Warner
211bcc999f Whejn dropdown is shown, move it outside of the datatable container (at the same absolute position)
When it is closed, put it back where it came from

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-02-16 17:33:52 +00:00
Adam Warner
a7a99ea693 update multiselects on other group pages with the same logic
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2020-02-16 16:10:14 +00:00
Adam Warner
b5e77648ad drop up instead of down if there are less than 200 px to the bottom of the screen Signed-off-by: Adam Warner <me@adamwarner.co.uk> 2020-02-16 15:59:33 +00:00
DL6ER
a83626e99b Add class "breakall" also to the code fields in the other tables.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-16 16:51:06 +01:00
DL6ER
3c3e22bd98 Add support for client comment and timestamp fields.
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-16 15:55:29 +01:00
DL6ER
32815cb7f0 Merge branch 'release/v5.0' into new/unify_domain_pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2020-02-16 09:13:45 +01:00