Commit Graph

923 Commits

Author SHA1 Message Date
RD WebDesign
b7a5bfc8bc Fixing typo
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-22 14:21:49 -03:00
RD WebDesign
44ab80c65f Minor visual changes to the menu
- changed some icons;
- 2 new custom icons;
- Rename "Query List" to "Search Adlists"

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-22 00:23:02 -03:00
RD WebDesign
5c7fa94337 Fix PHP "Headers already sent" warning.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-21 16:21:03 -03:00
yubiuser
72811ddbbf Merge pull request #2146 from pi-hole/messages_everywhere
Include message triangle on all pages
2022-03-16 21:07:26 +01:00
Christian König
acd70b378f I was blind but now I see!
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-16 18:35:01 +01:00
Christian König
77c7a12867 Start php session before generating output for API token
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-16 13:47:56 +01:00
Christian König
6ab9ef0ef3 Source utils.js in header.php
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-16 11:11:11 +01:00
RD WebDesign
ea24655a7b Add colors to debug log
- Add function and CSS to show colorful debug log
- Adjusts to #output element

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-12 03:22:22 -03:00
RD WebDesign
84d31da743 Calling FTL API directly from PHP
- Using constants for default values
- Remove unnecessary variable
- Replace `piholeStatusAPI()` with a call to FTL API
- Transfer `api.php?status` code from `api.php` to `api_FTL.php`
- Change `piholeStatus()` to use FTL info (no need to use `pihole`).

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-10 16:20:00 -03:00
RD WebDesign
0b7e2e3ce4 New login form layout
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-04 12:33:58 -08:00
RD WebDesign
c0fcd7d565 New icon for Donate menu item
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-03 19:35:22 -03:00
yubiuser
a329c4f58e Merge pull request #2133 from pi-hole/deleteAll_warnings
Adds the ability to delete multiple warnings at once
2022-03-02 06:46:26 +01:00
Christian König
4969131b4c Change wording of status when blocking is disabled
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-01 13:18:21 +01:00
DL6ER
0dd9b304ac Check decoded string for array
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-27 18:25:53 +01:00
DL6ER
60122713a8 Be more explicit in API error reporting
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-27 16:29:50 +01:00
DL6ER
d59afde574 Add ability to batch-delete messages
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-27 16:23:30 +01:00
RD WebDesign
6288112044 Allow bulk deletion of warnings
- add Datatables extension Select (CSS and js);
- add Datatables extension Buttons (CSS and js);
- allow selection of multiple warnings;
- new button to select all;
- new button to delete all selected warnings;
- add icons for the buttons;
- hide buttons if all messages were deleted;
- update CSS themes to format the new items;
- Fix: update icon count after warning deletion;
- Fix: remove triangle icon after delete last warning;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-02-26 19:59:13 -03:00
DL6ER
8cad8114cf Always re-read FTL config file at start of settings page to refresh old config data from before running the savesettings.php code
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-19 10:58:19 +01:00
DL6ER
1d67146b75 Add rate-limit settings to dashboard
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-19 09:29:35 +01:00
Peter Dave Hello
66c2a9c6d5 footer.php: Improve Pi-Hole update instruction for Docker image
Running `pihole -up` in the Docker image release is not allowed, and
will receive this prompt msg: `Function not supported in Docker images`,
should display a different prompt message for Docker image release.

Signed-off-by: Peter Dave Hello <hsu@peterdavehello.org>
2022-02-13 16:54:09 +08:00
yubiuser
10984d5287 Merge pull request #2119 from pi-hole/blocklist
Omit blocklist for adlist
2022-02-12 18:36:49 +01:00
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
Christian König
e256b76d8e Omit blocklist
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-02-12 13:26:42 +01: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
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
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
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
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
rdwebdesign
b4539f1c24 Adjusting status panel
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-12-31 13:01:33 -03: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
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
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
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
DL6ER
00acbff2de Add bounce animation to Pi-hole diagnosis warning triangle (#1990)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-11-30 12:58:32 +01:00
DL6ER
21cba361e0 Skip DNS server processing if the requested type is not available for this server (#1970)
Signed-off-by: DL6ER <dl6er@dl6er.de>
2021-11-21 09:25:45 +01:00
DL6ER
18d15881ea Merge pull request #1943 from pi-hole/remove/API_Privacy_leftover
Remove traces of leftover API_PRIVACY_MODE
2021-11-20 21:13:59 +01:00
Christian König
9ce065f8b3 Remove 'privacyMode' as well
Signed-off-by: Christian König <ckoenig@posteo.de>
2021-10-26 19:56:19 +02:00
rdwebdesign
75251c173c Added new theme LCARS.
Signed-off-by: rdwebdesign <github@rdwebdesign.com.br>
2021-10-24 01:46:44 -03:00