Commit Graph

2898 Commits

Author SHA1 Message Date
Christian König
1080019ff1 Fix datatable warning on network table
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 23:03:59 +01:00
Christian König
f9d33979f1 Update datatables
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 22:45:24 +01:00
DL6ER
a39c8a5c0a Escape only where we are displaying
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-18 22:38:01 +01:00
DL6ER
bc1c6bc117 Explicitly set contentType to avoid promotion to jsonp
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-18 12:54:41 +01:00
Christian König
dc2cfdba28 Fix tests and editorconfig
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-18 09:26:52 +00:00
DL6ER
7c0812b52b Apply necessary code styling changes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-17 10:36:38 +01:00
DL6ER
9815602ecd Call initTable() from getGroups() when finished to avoid a possible race-collision
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-17 10:33:38 +01:00
DL6ER
5c09620a34 Fix Upstreams Query Log links (#2843) 2023-11-16 22:26:58 +01:00
DL6ER
8b7c88f1bf Do not accept comma to separate regex (#2835) 2023-11-16 22:26:42 +01:00
DL6ER
feea661daf Fix upstream links yielding no results on the Query Log if names are shown
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-16 12:53:08 +01:00
RD WebDesign
35ab1fd4a0 Use row background colors in Query Log table (#2840) 2023-11-15 21:56:55 -03:00
RD WebDesign
5b8bf35040 Clear input fields after successfully adding new items (#2832)
This applies to Clients, Domains, Lists, DNS records and CNAME records.
2023-11-15 17:48:02 -03:00
RD WebDesign
abfa0a44ae Allow open details only on normal rows
Detail rows don't have their own details, so don't allow the click event

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-15 17:32:31 -03:00
RD WebDesign
74fa7e4965 Also clear input fields after adding DNS and CNAME records.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-15 16:52:00 -03:00
RD WebDesign
d7466adb65 Use row background colors in Query Log table
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-15 16:29:01 -03:00
DL6ER
0371f870a8 Domains/Regex must be either space or newline separated when adding multiple at once. It is not possible to use comma as this has a special meaning in the regex world
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-15 12:11:57 +01:00
DL6ER
5cd1b2e16b Add DHCP netmask field and nicely format API errors (#2805) 2023-11-15 11:09:46 +01:00
RD WebDesign
eeb07535ad Clear input fields after successfully adding new items
Applies to Clients, Domains and Lists.
2023-11-14 19:58:41 -03:00
DL6ER
afacc21b1c Dynamically determine when FTL finished restarting by pinging it every 0.5 seconds (after an initial delay of 2 seconds)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-14 22:16:59 +01:00
DL6ER
0d35ad2caf Remove progress bar on general page loading
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-14 10:19:22 +01:00
DL6ER
233b6d0898 Add progress overlay when saving settings and add general progress bar for (1) general page load, (2) login, and (3) saving settings
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-14 09:56:25 +01:00
yubiuser
e0ca2b2b1f Shorten animation delay (#2815) 2023-11-13 23:25:23 +01:00
DL6ER
b015938c9a Move comment about CNAME limitations to the CNAME box (#2806) 2023-11-13 23:21:44 +01:00
DL6ER
707d2e078d Prevent multi-login due to slow password hashing (#2826) 2023-11-13 23:21:10 +01:00
DL6ER
c366ec26ea Use upstream names instead of IP when available (#2827) 2023-11-13 23:20:58 +01:00
DL6ER
3cf7eb82b9 Be explicit about where seconds and where milliseconds are used
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-13 22:05:36 +01:00
Christian König
3e1ab7ceb3 Fix inital date/time
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-13 13:58:17 +01:00
DL6ER
7e1114f0c6 Use upstream names instead of IP when available
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-13 10:17:33 +01:00
DL6ER
c5b51e8969 Disable all inputs on login submission, re-enable them on error
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-13 09:39:41 +01:00
DL6ER
e360e3edbd Fix query logs "all time" option
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-12 21:18:52 +01:00
DL6ER
9422016bb0 Fix error displaying when editing groups/clients/domains/lists (#2808) 2023-11-12 14:04:03 +01:00
DL6ER
ca67f3a11e Add a few more comments, fix applyBtn variable declaration, make selection only work on the first <td>-element and ensure we include both type and kind in the data-id attribute to make it really a unique selector
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-12 08:25:46 +01:00
DL6ER
9049674eb4 A domain is a domain and not a list
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-10 20:53:05 +01:00
RD WebDesign
24970487f5 Improve TOTP field (#2795) 2023-11-09 23:38:25 -03:00
Adam Warner
305a7d36f2 Set the title icons correctly on the local dns/cname page 2023-11-08 22:16:33 +00:00
Christian König
611daf735a Shorten animation delay
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-08 22:06:14 +01:00
RD WebDesign
b44a07446d Small desing adjustment and simplify selector
- use class to style buttons and info icons (move style to pi-hole.css)
- add negative margin to avoid small jump when the button is shown
- use the new classes to simplify jquery selectors
2023-11-08 16:52:21 -03:00
DL6ER
e71557a60f Show Reset Zoom button when zoomed in
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-08 10:26:49 +01:00
DL6ER
6eb7440a21 Add tooltip explaining you can zoom and pan the graphs
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-07 21:48:49 +01:00
DL6ER
27f4a94b48 Add zooming on the dashboard's two main graphs (#2807) 2023-11-07 20:56:31 +01:00
DL6ER
752e37ffac Update scripts/pi-hole/js/index.js
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: DL6ER <DL6ER@users.noreply.github.com>
2023-11-07 19:14:46 +01:00
DL6ER
9c1f310af0 Exit early in the htmlLegendPlugin if the legend has the same items as last time
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-07 13:26:28 +01:00
yubiuser
3495c8f53b Defer chartjs animation until they are in viewport (#2810) 2023-11-07 09:27:36 +01:00
DL6ER
59809d9959 Remeber original axis limit instead of trying to calculate it
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-07 06:43:54 +01:00
Christian König
bb32db9ae8 Suppress no-undef warning
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-06 21:11:55 +01:00
Christian König
a06bbdf589 Fix styling
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-06 21:04:31 +01:00
Christian König
80fbb15280 Apply deferred chart loading also to cache pie at settings system
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-06 19:42:34 +01:00
yubiuser
917750a716 Fix notification icon and add details for Local DNS/CNAME records (#2809) 2023-11-06 19:16:10 +01:00
DL6ER
dddd3ab0b5 Tweak teleporter success message (#2796) 2023-11-06 15:54:40 +01:00
Christian König
a55167973d Fix chartjs v4 migration: scales[id].grid.drawBorder > scales[id].border.display
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-06 13:34:17 +01:00