Commit Graph

1860 Commits

Author SHA1 Message Date
Christian König
933e5512dd Convert IDNs to punycode before searching the lists
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-04-04 13:39:16 +02:00
RD WebDesign
d9869bf2c9 Add export to avoid docker error message
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-30 21:24:53 -03:00
RD WebDesign
1d9b40d245 Replace old image button with a simple button
- add fixes for mobile and medium screens
- new style selectors
- button background-color (tablets / medium screens)
- small adjustments
- remove unused image file

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-28 14:54:35 -03:00
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
yubiuser
cce71ba8b3 Merge pull request #2154 from pi-hole/fix_headers_already_sent
Fix PHP "Headers already sent" warning.
2022-03-22 00:31:58 +01: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
DL6ER
af9a6f3444 Merge branch 'devel' into new/nonfatal-dnsmasq-warnings
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-03-20 09:00:57 +01: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
yubiuser
ceb2036165 Merge pull request #2147 from pi-hole/buffer_off
Start php session before generating output for API token
2022-03-16 19:14:42 +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
a9ba338a21 Fix list add for already forwarded queries
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-16 14:12:39 +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
316ad2147d Fix prettier
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-14 21:07:26 -03:00
RD WebDesign
2d6a78d6cb Improving debug log
- add a message to show while loading content;
- add CSS to format the loading message;
- fix yellow log color (light theme);

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-14 20:25:55 -03:00
Adam Warner
d6323d571e Merge pull request #2142 from pi-hole/color_debug_output
Show debug logs in colors
2022-03-12 18:02:52 +00: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
yubiuser
32aa7ab463 Merge pull request #2132 from rubpa/lt_graphics
Better interval computation for Long-term data -> Graphics page
2022-03-12 07:10:09 +01:00
rubpa
80868f9a47 Better interval computation for Long-term data -> Graphics page
Signed-off-by: rubpa <rubpa@users.noreply.github.com>
2022-03-12 07:55:44 +05:30
Christian König
35c3a890a8 Change wording after Pi-hole has been disabled
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-03-10 21:34:09 +01:00
RD WebDesign
b09178f4ef Undo index.js changes
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-10 16:20:27 -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
RD WebDesign
e37575985d Addressing reviewer recommendations
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-01 15:18:02 -03: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
RD WebDesign
0467cb1f66 Remove array brackets from output
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-01 00:05:12 -03:00
RD WebDesign
bc2647e983 New Select/Deselect All button
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-02-28 22:57:42 -03:00
DL6ER
e614da5946 Simplify code by removing duplication of array
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-27 21:09:59 +01:00
DL6ER
790921a4e1 Hide triangle if all warnings disappeared
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-27 20:45:15 +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
8b8341ba36 Also hide non-fatal messages in the table
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-26 11:02:13 +01:00
DL6ER
21964cfd7f Add per-browser setting to ignore non-fatal dnsmasq warnings
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-02-26 10:53:45 +01: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
RD WebDesign
adbd9ec3cc Change the order of "uptream servers" graphic items
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-02-14 16:36:51 -03: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
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