Commit Graph

5630 Commits

Author SHA1 Message Date
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
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
yubiuser
a2567bf782 Bump actions/setup-node from 3.8.1 to 4.0.0 (#2789) 2023-10-28 14:10:43 +02:00
dependabot[bot]
94c01b8a3d Bump actions/setup-node from 3.8.1 to 4.0.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.8.1 to 4.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.8.1...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 10:55:29 +00:00
DL6ER
85266fe515 Fix mass-deletion of sessions on the settings -> API page (#2765) 2023-10-27 22:10:38 +02:00
yubiuser
0cbe31f575 temp.limit needs to be data-type="integer" (#2785) 2023-10-27 16:40:22 +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
744f8b8b2f temp.limit needs to be data-type="integer"
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-27 13:03:47 +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
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
DL6ER
f516e04c35 Add "Delay" column to Query Log (#2757) 2023-10-26 16:59:41 +02:00
DL6ER
b84683e1a9 Rename functions for clarity
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-26 00:11:15 +02:00
Christian König
7b55ddc5fa No need for second scales
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-25 21:45:29 +02:00
Christian König
5c928ce8d5 Replace this._chart with this .chart
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-25 13:48:06 +02:00
Christian König
20c924e900 Update chartjs 4.4.0
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-25 13:29:29 +02:00
Christian König
5c14641aa2 Remove leftover of line chart option
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-24 23:48:15 +02:00
Christian König
050e1d1056 Fix dashboard when no queries are present
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-24 23:30:29 +02:00
DL6ER
82f1965d4d Add ability to specify domains, lists, clients and group names as arrays (#2707) 2023-10-24 21:25:51 +02:00
DL6ER
7595ceb17f Ensure the own session is only removed once all other sessions removals finished. This also ensures our own session is NOT deleted on error so the user can still see the generated error message
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-24 19:39:13 +02:00
DL6ER
dedf8cddac Use stopwatch-icon for reply time in Query Log and fix abandoned CSS
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-23 21:31:25 +02:00
DL6ER
b46a8a5bb6 Address review comment
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-23 21:21:29 +02:00
DL6ER
3642b83d5c Fix sorting on Settings -> Local DNS Records table. Fixes #2770
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-23 21:00:41 +02:00
DL6ER
48fd33bf47 Show active instead of clients-ever-seen on the dashboard (#2769) 2023-10-22 19:51:30 +02:00
DL6ER
606a1de47a Show total clients in hover title instead
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-22 09:28:36 +02:00
RD WebDesign
eb55246121 Always point "Pi-hole" top bar link to pihole.webhome (#2772) 2023-10-21 19:08:37 -03:00
RD WebDesign
bd94e22a7d Always point "Pi-hole" top link to pihole.webhome
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-21 18:36:28 -03:00
DL6ER
ea4ebc3aca Show active clients instead of clients-ever-seen on the dashboard. When the two numbers are different, show both
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-21 18:43:42 +02:00
yubiuser
913399af72 Bump actions/checkout from 4.1.0 to 4.1.1 (#2767) 2023-10-21 13:50:42 +02:00
dependabot[bot]
ef3b2ecf06 Bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 10:41:58 +00:00
RD WebDesign
111c728675 Auto theme: do not load default-light.css file if dark mode is preferred (#2764)
The previous code was importing both files (`default-light.css` and  `default-dark.css`) when dark mode was set. 
Due to small differences between these themes, some elements were retaining Light styles on the Dark theme. 
Now only one file is imported.
2023-10-19 14:41:52 -03:00
RD WebDesign
c55a41cead Import light mode if color-scheme is different than dark
Imports the light theme if prefers-color-scheme is not dark
(light, no-preference, not set)

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-19 14:30:06 -03:00
DL6ER
80dba39a36 Fix mass-deletion of sessions on the settings -> API page
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-19 19:05:45 +02:00
RD WebDesign
afd017d833 Do not load light theme file if dark mode is preferred
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-18 17:22:01 -03:00
DL6ER
7e7c6d1815 Match only the filename that is in double-quotes
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-17 22:44:25 +02:00
yubiuser
f305d2d40d Do not show extra N/A when no ABP-style domains are in a list (#2761) 2023-10-17 22:17:11 +02:00
DL6ER
fcf226d521 Do not show extra N/A when no ABP-style domains are in a list
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-17 22:11:53 +02:00
DL6ER
ea03d4ab4f Use the final message from gravity to attest it was completed successfully (#2759) 2023-10-16 22:58:13 +02:00
DL6ER
c1d0523776 Remove duplicated reply time in child row
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-16 22:56:31 +02:00
RD WebDesign
7c5908fc5f Use the final message from gravity to attest it was completed successfully
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-10-16 17:25:13 -03:00
DL6ER
191f89d58e Improve rendering of search results (#2750) 2023-10-16 17:14:53 +02:00
Christian König
1802ab78dc Change descriptons to signal also allowed domains are searched for
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-10-15 14:07:51 +02:00
yubiuser
e3a547df7b Fix broken multi-delete of adlists (#2751) 2023-10-15 12:32:22 +02:00
DL6ER
d8a1469322 Add "Delay" column to Query Log
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-15 12:31:32 +02:00
DL6ER
25cef3fbf4 Fix broken multi-delete of adlists
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-15 12:11:17 +02:00
DL6ER
5dcaa2198d Add number of matches and possible hint about missing results due to too small N
Signed-off-by: DL6ER <dl6er@dl6er.de>
2023-10-15 11:55:17 +02:00