Commit Graph

1816 Commits

Author SHA1 Message Date
Adam Warner edfcf4521a Prevent misleading warning being printed to the lighttpd error log when attempting to flush tables that don't actually exist
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-02-12 13:39:57 +00:00
yubiuser f4c765a42c Merge pull request #2113 from pi-hole/fix_php_userini
Remove invalid PHP config file and change alert message for `db_queries.js`
2022-02-12 09:22:45 +01:00
RD WebDesign 66af9c5f96 Delete .user.php.ini
and change alert message for db_queries.js error.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-02-11 20:32:24 -03:00
Adam Warner d0ceca674d Prevent potential execution of arbitary code through the PIHOLE_DOCKER_TAG variable and AUTHORIZED_HOSTNAMES
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-02-11 23:21:04 +00:00
Adam Warner bb4cafcb7c Merge pull request #2021 from Iksas/safari-css-animation-fix
Decrease resource usage of CSS animations
2022-02-11 17:23:30 +00:00
yubiuser f727fb7690 Merge pull request #2026 from chrismiceli/issue/1119
1119 Privacy - Query Page and Dom.storage
2022-02-10 22:39:39 +01:00
yubiuser 551e2d093f Merge pull request #2091 from goopilot/devel
API call to modify local DNS and CNAME records
2022-02-07 19:36:37 +01:00
Christian König 01de8fa3a8 Add navigation above all datatables
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-06 21:47:44 +01:00
Chris Miceli cb083c061c 1119 Privacy - Query Page and Dom.storage
fix else

Signed-off-by: Chris Miceli <chrismiceli@outlook.com>
2022-02-05 23:04:29 -06:00
Chris Miceli dde4ac7d3e 1119 Privacy - Query Page and Dom.storage
be explicit for undefined

Signed-off-by: Chris Miceli <chrismiceli@outlook.com>
2022-02-05 22:38:56 -06:00
Chris Miceli bb2934e243 1119 Privacy - Query Page and Dom.storage
implement memory storage for functionality in case of no storage

Signed-off-by: Chris Miceli <chrismiceli@outlook.com>
2022-02-05 22:04:14 -06:00
rdwebdesign 171bf81b11 Retreives maxlogage calling api_FTL.php
FTL defines MAXLOGAGE value.
PHP retrieves the value and converts seconds to hours
Javascript calls the API to update the value.

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-02-01 22:56:06 -03:00
rdwebdesign c2b902da3b Fixing the escaping for settings datatable
This time, fixing the right spot.

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-31 17:49:58 -03:00
RD WebDesign bf82c47e98 Fix the wrong escaping on settings datatable (#2100)
* Fix the wrong escaping on settings datatable

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>

* Using utils escapeHtml function

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>

* Fix prettier

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-30 14:46:47 +01:00
Iksas 369170105a improve efficiency of the lookatme animation
Signed-off-by: Iksas <Iksas@users.noreply.github.com>
2022-01-22 15:12:30 +01:00
Adam Warner 903c40ed5c Merge pull request #2096 from PeterDaveHelloKitchen/EnhanceFooter
footer.php: Add the Docker Hub tags filter link to "Docker Tag"
2022-01-22 12:17:22 +00:00
Peter Dave Hello ddd48b1eb3 footer.php: Add the Docker Hub tags link to "Docker Tag"
Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2022-01-22 18:37:19 +08:00
Alexandr Salamatov 39f0da7eb5 API call to modify local CNAME records
Signed-off-by: Alexandr Salamatov <wpgnetworks@gmail.com>
2022-01-20 21:22:01 -06:00
Alexandr Salamatov dc598295ca API call to modify local DNS records
Signed-off-by: Alexandr Salamatov <wpgnetworks@gmail.com>
2022-01-19 16:07:18 -06:00
rdwebdesign d1e90e273a Better file extension verification
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-17 02:06:26 -03:00
yubiuser 7aee470507 Merge pull request #2034 from rdwebdesign/piechart_legend
Better pie chart legend
2022-01-16 17:49:29 +01:00
rdwebdesign 63032c8f6c Better pie chart legend
New icon and function names for pie legends
Minor adjustments to pie chart tooltips

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-15 18:43:12 -03:00
RD WebDesign 035d8f981d Fix layout on small screens (Group Mgmt tables) (#2078)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-14 22:41:41 +01:00
RD WebDesign 1f0ed95564 Remove extra space from the beginning of each line (#2079)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-14 16:55:33 +01:00
RD WebDesign f0c3ecded3 Use formmated string for "api.php?summary" (#2067)
restoring the old behavior

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-10 19:23:37 +01:00
yubiuser 9a5f62aba7 Use piholeStatus() in header.php (#2062)
* Use piholeStatus() in header.php

Signed-off-by: Christian König <ckoenig@posteo.de>

* Remove check for null

Signed-off-by: Christian König <ckoenig@posteo.de>
2022-01-08 21:01:57 +01:00
RD WebDesign ab6b7ae326 Change pihole status in api_FTL.php (#2059)
Using "pihole status web" info

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-08 20:21:43 +01:00
yubiuser 33755f1775 Rework the temp info in the status panel (#2054)
* Explicit set templimit if no tempsensor output was found

Signed-off-by: Christian König <ckoenig@posteo.de>

* Only show Temp info if tempsensor data is available

Signed-off-by: Christian König <ckoenig@posteo.de>

* Move block to the right place

Signed-off-by: Christian König <ckoenig@posteo.de>
2022-01-08 06:39:52 +01:00
RD WebDesign 031f83980e Fix CPU info on status panel (#2049)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2022-01-05 22:45:40 +01:00
DL6ER eadd6c5c20 Merge pull request #2042 from Moonlight63/tweak/DHCP-datatables
Tweak DHCP datatables
2022-01-05 19:03:45 +01:00
DL6ER 8f287941ae Merge pull request #2039 from Iksas/query-log-rename
Prevent ad blockers from blocking query log UI elements
2022-01-02 12:23:16 +01:00
Dalen f850264ab4 Fixed a typo and split DHCP page into different boxes.
Signed-off-by: Dalen <dalencattmlsp@gmail.com>
2022-01-01 14:54:06 -08:00
Dalen 9979b73371 Update DataTables on DHCP page to be consistent with the rest of Pi-Hole.
Signed-off-by: Dalen <dalencattmlsp@gmail.com>
2021-12-31 19:52:18 -08:00
rdwebdesign b4539f1c24 Adjusting status panel
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-31 13:01:33 -03:00
Iksas 1c23b78744 rename IDs of query summary elements
Signed-off-by: Iksas <Iksas@users.noreply.github.com>
2021-12-29 21:49:02 +01:00
yubiuser 64a3675326 Include FTL's DNS port in web status and give the temperature its own line (#2031)
* Inlcude port in web status

Signed-off-by: Christian König <ckoenig@posteo.de>

* Single line for DNS status

Signed-off-by: Christian König <ckoenig@posteo.de>

* Fix enable/disable status

Signed-off-by: Christian König <ckoenig@posteo.de>

* Give the user-panel a bit more space

Signed-off-by: Christian König <ckoenig@posteo.de>

* Address reviewer's comment

Signed-off-by: Christian König <ckoenig@posteo.de>

* Fix temp sensor

Signed-off-by: Christian König <ckoenig@posteo.de>

* Add  again

Signed-off-by: Christian König <ckoenig@posteo.de>

* Simplify CPU temp code

Signed-off-by: Christian König <ckoenig@posteo.de>

* Use intval() and resize the logo

Signed-off-by: Christian König <ckoenig@posteo.de>

* Do not substitute temperature if FTL is offline

Signed-off-by: Christian König <ckoenig@posteo.de>

* Apply suggestions from code review

Signed-off-by: DL6ER <dl6er@dl6er.de>

Co-authored-by: DL6ER <DL6ER@users.noreply.github.com>
2021-12-29 20:52:32 +01:00
rdwebdesign 4c8f869e7b Fixing PHP warnings in qrcode.php
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-28 02:13:50 -03:00
DL6ER 96be130325 Also use Intl.NumberFormat.format() for long-term pages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-26 18:25:18 +01:00
DL6ER b7c0fcb131 Ensure number formatting is taking place in browser-scope to use client- instead of browser-based number localization
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-26 11:32:13 +01:00
Chris Miceli 99c718296a 1119 Privacy - Query Page and Dom.storage
handle localStorage being null

Signed-off-by: Chris Miceli <chrismiceli@outlook.com>
2021-12-24 22:43:18 -06:00
DL6ER 605af66d02 Improve look of the main menu
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-24 14:19:52 +01:00
RD WebDesign d060a3b5c9 Update qrcode.php and use SVG to generate the code (#2022)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-24 11:38:58 +01:00
DL6ER 5eb2e2392e Add link to Pi-hole docs when showing dnsmasq warnings
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-23 11:36:09 +01:00
DL6ER fc1b2c56ab Merge branch 'devel' into feat/avoid-window-open 2021-12-21 21:33:44 +01:00
DL6ER d7e750bda0 Improve interface settings (#2011)
* Change wording in the "Interface Listening Behavior" box (renamed to simply "Interface settings") to address issue #2009

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Clarify interface listening behavior. Add fourth (new) option it actually bind to an interface.

Signed-off-by: DL6ER <dl6er@dl6er.de>

* Improve .no-danger-area and .danger-area CSS

Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-12-20 21:38:00 +01:00
RD WebDesign 7927ac1815 Improving code readability for lists (index.js and db_lists.js) (#1994)
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-18 13:15:24 +01:00
RD WebDesign b94884ae17 Show ignored items when adding new adlists (#1997)
* Show ignored itens when adding new adlists

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>

* Show ignored itens when adding new adlists (new messages)

Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-17 19:56:49 +01:00
Christian König a1904e2dc8 Change default theme to auto light/dark theme
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-12-16 12:19:22 +01:00
Paul Mannarino 1c12e9719c Ignore theme color for qr code
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-13 19:08:29 -05:00
Paul Mannarino 2a776f9dca Create modal for API token
Signed-off-by: Paul Mannarino <paul.mannarino@gmail.com>
2021-12-09 12:10:57 -05:00