Commit Graph

2379 Commits

Author SHA1 Message Date
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
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
Christian König
097a404bf0 Don't show rotation animation for pie chart updates
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-06 13:03:14 +01:00
DL6ER
832bf94b33 Show FTL hint if available
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-06 11:34:47 +01:00
DL6ER
a77e299176 Show error message from FTL if applicable
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-06 11:10:48 +01:00
DL6ER
80971905c4 Fix zooming to the zero axis, panning is still allowed if you want to leave y=0 behind
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-06 09:24:35 +01:00
Christian König
5300028f14 Defer chart loading
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-06 00:18:41 +01:00
Christian König
5a3730f36d Don't trigger double login on paste event to totp field
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-05 23:16:23 +01:00
Christian König
6f6f0f98fd Fix notification icon and add details for Local DNS/CNAME records
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-05 22:15:49 +01:00
DL6ER
4d3c0cded9 Fix errors happening when editing groups/clients/domains/lists not being shown. Also fix logic of the strings "enabling/disabling" as the variable "enabled" already has the new (not the current state). This was correct in groups.js, but not the others
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-05 21:54:40 +01:00
DL6ER
aa84cb4b9b Add zooming on the dashboard's two main graphs. You can zoom either with [Ctrl] + your mouse wheel (desktop) or the multi-touch "pinch" gesture (mobile). You can then drag with a single click (or finger) to move the graph up or down in case zooming wasn't that accurate
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-05 07:42:11 +02:00
DL6ER
8e4e4754c4 Show human-readable error message on settings save fail
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-04 13:08:28 +01:00
yubiuser
1586a94021 Tweak processing/render time (#2803) 2023-11-04 08:01:58 +01:00
DL6ER
c27bf73b32 Finalize renaming adlists -> lists (#2756) 2023-11-04 07:35:42 +01:00
DL6ER
7c3dd92cf8 Show dedicated error mesage on wrong 2FA token
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-04 07:15:23 +01:00
RD WebDesign
abe4a9f66c Tweak All Settings page (#2799)
- Use "All Settings" in menu button and page title;
- Rename the file to "settings-all.lp";
- Hide level selector in this page;
2023-11-03 19:35:23 -03:00
RD WebDesign
74c10d3a5f Set the focus to password field after clicking on the button
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-03 18:43:47 -03:00
RD WebDesign
b2325c870e Function to toggle password visibility (using jQuery) and icon
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-03 18:08:58 -03:00
Christian König
5bcc535970 Tweak processing/render time
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-03 21:38:50 +01:00
DL6ER
db3fcb4fb9 Show extra info alert on successful import to remind users they should run gravity's update
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-11-03 18:52:08 +01:00
RD WebDesign
156852810f Use the correct scriptname
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-11-03 14:06:10 -03:00