Commit Graph

1563 Commits

Author SHA1 Message Date
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
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
Christian König
b256f5a627 Update bootstrap-notify to 3.1.5 (taken from master branch of their repo, last tagged version is 3.1.3)
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-02 23:14:38 +01:00
Christian König
dd89021cfb Fix notification animation
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-11-02 23:03:24 +01:00
RD WebDesign
f164e4597f Retrieve the config keys from the new data-configkeys attribute. 2023-11-01 18:35:04 -03:00
DL6ER
04ffa500cf Merge branch 'development-v6' into fix/adlist_list 2023-10-31 13:25:31 +01:00
DL6ER
ca0346a801 Add hint that users should run pihole -g after successful teleporter import
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-30 09:10:54 +01:00
DL6ER
cd28d487d3 Follow best-practice rules for login pages from https://web.dev/articles/sign-in-form-best-practices
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-30 08:53:18 +01:00
DL6ER
2218257f1c Only submit form after entering TOTP token when there is something in the password field as well
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-30 08:29:15 +01:00
DL6ER
e669b99d50 Fix TOTP input field not being shown when enabled (#2783) 2023-10-30 08:09:15 +01:00
DL6ER
b73a1da4fb Nicely format error toasts (#2791) 2023-10-29 19:44:06 +01:00
DL6ER
0d827b00f2 Add app password support (#2793) 2023-10-29 19:43:55 +01:00
Adam Warner
188f8ee412 Apply the same treatment to the local DNS records page.
Refactor of the javascript to reduce code deduplication
Fix datatable refresh after adding/removing an entry
2023-10-29 15:30:34 +00:00
Adam Warner
b2572c07e5 The CI does not like nested IF statements with a single action inside
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-29 15:21:18 +00:00
Adam Warner
66401ee222 In addition to adding the readonly icon, we can also add the other icons with teh same method.
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2023-10-29 15:21:18 +00:00
Adam Warner
fef945c49f Disable settings inputs if they are already set by environment variable. Add a padlock icon to the setting section title if any of the settings contained therin are set by environment variable 2023-10-29 15:21:18 +00:00
DL6ER
619ea8f039 Indicate config settings forced by env vars as read-only variables by marking them with a symbol and disabling the elements
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-29 15:21:18 +00:00
DL6ER
df1b128cbb Nicely format error toasts
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-29 07:55:47 +01:00
DL6ER
be21f650f1 Merge branch 'development-v6' into fix/adlist_list 2023-10-28 21:27:39 +02:00
DL6ER
a8a5d39487 Fix how Bootstrap-Notfy is used by Pi-hole (#2786) 2023-10-28 18:00:46 +02:00
Adam Warner
6c815721c4 Update chart.js to 4.4.0 (#2781) 2023-10-28 16:55:14 +01:00
DL6ER
85266fe515 Fix mass-deletion of sessions on the settings -> API page (#2765) 2023-10-27 22:10:38 +02:00
DL6ER
b5678b65f1 Add app password support and add robot column to the session table
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-27 16:12:20 +02:00
DL6ER
808c9f0abd Fix how Bootstrap-Notfy is used by Pi-hole
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-27 16:12:20 +02:00
Christian König
2165e98983 legend text fontColor has been removed
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-26 22:19:27 +02:00
yubiuser
1a359449d8 Fix dashboard when no queries are present (#2780) 2023-10-26 19:04:07 +02:00
DL6ER
4d7f8eda9c Fix TOTP input field not being shown when enabled
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-26 17:04:46 +02:00
DL6ER
cb3d3c16b6 Restore Teleporter functionality (#2738) 2023-10-26 17:00:24 +02:00
DL6ER
801efe96be Fix sorting on Settings -> Local DNS Records table (#2777) 2023-10-26 16:59:53 +02:00