Commit Graph

1563 Commits

Author SHA1 Message Date
DL6ER
c6fbdfcdff Queries/minute as default unit. Switching to Queries/second if more than 100 queries are received per minute (~ 1.6q/s)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-09-09 21:41:21 +02:00
DL6ER
3a568b55e1 Dynamically determine number of QPS fraction digits based on the value itself
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-09-07 21:57:11 +02:00
DL6ER
e2b9771f05 Convert q/s to q/m if there aren't all that many queries on this Pi-hole
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-09-07 06:25:27 +02:00
DL6ER
15c072bb01 Replace temperature display by query frequency
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-09-06 16:29:26 +02:00
RD WebDesign
18d66133b3 Add a tooltip to the dashboard showing the last time gravity was updated
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-09-02 20:14:12 -03:00
DL6ER
7b8829b85e Remove redirectin based on user-defined input
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-09-02 19:09:52 +02:00
yubiuser
2db29ed993 Unify system setting modal buttons
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-26 22:48:28 +02:00
Dominik
ed4961f4be Replace inline onclick with addEventListener inside .js file to be compatible with CSP (v6) (#3104) 2024-08-18 18:55:02 +02:00
yubiuser
964fcbd132 Have two spaces between indicator and text in Status panel
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-11 17:55:08 +02:00
Orazio
d28571bed9 Replace inline onclick with addEventListener inside .js file to be compatible with CSP
Signed-off-by: Orazio <22700499+orazioedoardo@users.noreply.github.com>
2024-08-11 09:47:07 +02:00
yubiuser
2302fdac5d Fix atob() deprecation error. See https://stackoverflow.com/a/70851350
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-08-10 13:57:29 +02:00
RD WebDesign
4aa049b824 Loop over all IPs to populate tooltip even when MAXIPDISPLAY is reached
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-08-08 19:20:40 -03:00
RD WebDesign
88bf5a6003 Show tooltip only when the number of items is greater than MAXIPDISPLAY
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-08-08 17:58:38 -03:00
RD WebDesign
9f283882a8 Fix the "title" attribute to show all IPs/hostnames
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-08-08 15:41:49 -03:00
DL6ER
eb8f820748 Show X-Forwarded-For information also in the top menu
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-27 10:42:57 +02:00
DL6ER
4269ade6fc sessions[].x_forwarded_for has been added
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-24 09:03:35 +02:00
Christian König
337d7e5c29 Don't try to fill client/domain tables if there is no data
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-07-08 18:56:08 +00:00
Dominik
9d39d6fc9e Fix possible race condition in Top Lists (#3061) 2024-07-02 20:53:02 +02:00
DL6ER
fa837b5762 Use AJAX.always() during logout
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-01 20:44:29 +02:00
DL6ER
bfa3906d18 Fix possible race condition on page load of the index page. This is a recent regression
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-01 16:32:41 +02:00
DL6ER
ee4562faca Always reload page after logout attempt
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-07-01 05:31:48 +02:00
Dominik
330845b577 Show CLI sessions property (#3056) 2024-06-30 20:25:48 +02:00
Dominik
78f2919481 Update the charts if the number of queries has increased significantly (#3058) 2024-06-29 21:48:57 +02:00
DL6ER
2174eaa836 Update summary data with new count
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-29 09:29:35 +02:00
DL6ER
d3ac2fed8d Remove "Remove currently set app password" button if none is actually set
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-26 11:04:15 +02:00
DL6ER
22fe50faa4 Update the charts if the number of queries has increased significantly
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-26 10:17:38 +02:00
DL6ER
76a7248e6b Show CLI sessions property
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-20 19:59:32 +02:00
DL6ER
513b7005a0 Add explicit confirmation when trying to replace existing password
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-16 07:50:51 +02:00
DL6ER
aab58a7ed7 Show "Replace" instead of "Enable" on the action button (also make it warning colored)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-16 07:15:58 +02:00
DL6ER
3681d7187a Show warning if user already set an application password
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-15 11:25:29 +02:00
RD WebDesign
5b6c8bbf41 New layout for "All Settings" page (#3042) 2024-06-06 19:13:05 -03:00
Dominik
4402d56026 Fix multi-deletion of DHCP leases (#2792) 2024-06-06 19:44:38 +02:00
Dominik
61acb4ad33 Apply suggestions from code review
Signed-off-by: Dominik <DL6ER@users.noreply.github.com>
2024-06-06 09:01:33 +02:00
RD WebDesign
8a88c8e67b Add button classes to nav-pills elements
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-05 20:31:24 -03:00
RD WebDesign
ab16bb80db Do not use tabs when showing only Modified Settings
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-05 20:31:05 -03:00
Christian König
9585aedbb9 Base expert icon on expert class no FTL advanced flag
Signed-off-by: Christian König <ckoenig@posteo.de>
2024-06-05 22:04:30 +02:00
RD WebDesign
c202f55179 Remove the word "settings" from each tabs button
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:48 -03:00
RD WebDesign
f0664ae90d Cleaner layout for "All Settings" page
- remove the external green boxes;
- remove border from inner boxes (and change the box-shadow);
- add navigation and tabs for settings sections;
- adjust/add some classes for formatting

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:47 -03:00
RD WebDesign
3e6d0e9dcf Use radio buttons for enum types
This replaces the original `<select>` and merges the options with the
"allowed values" block in a single one, simplifying the presentation.
Also, the defaultValueHint was incorporated into the default value.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:44 -03:00
RD WebDesign
3a5b791b7a Use full width for array values
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:43 -03:00
RD WebDesign
d66c5ec310 CSS adjustments
- change label style and width
- set icons padding

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:42 -03:00
RD WebDesign
494c1cf1c0 Replace non-breaking spaces with a margin
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:01:28 -03:00
RD WebDesign
03c0d3eb94 Move value.description to box-body and the content to box-footer
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:00:51 -03:00
RD WebDesign
84bd977f87 Add a few CSS classes
- add class `row` to form-group (because it contains columns) and move
  the tag to the details function
- add class `col-sm-12` to boolean values
- add new class `settings-box` to allow targeting only settings boxes

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:00:50 -03:00
RD WebDesign
e9df006489 Move value details and layout to a dedicated function
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 18:00:48 -03:00
RD WebDesign
44e1a9b8cd Move code used to format icons to a dedicated function
also surround the icons with a SPAN tag.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2024-06-04 17:56:38 -03:00
DL6ER
edda66f95e Apply the same fixes for the messages table
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-03 19:21:45 +02:00
DL6ER
420c5a83b4 Toasts need to be stored globally or the variables may overwrite each other causeing a race-collision
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-03 19:21:45 +02:00
DL6ER
2d12a28a56 Fix multi-deletion of DHCP leases
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-03 19:21:45 +02:00
DL6ER
75f54ff76a Fix/simplify mass deletion of tables, simplify deleting local DNS / CNAME records
Signed-off-by: DL6ER <dl6er@dl6er.de>
2024-06-03 19:21:08 +02:00