Commit Graph

944 Commits

Author SHA1 Message Date
yubiuser
89608e146e Merge pull request #1577 from pi-hole/tweak/moveloglocation
Update log file references
2022-05-31 23:00:13 +02:00
yubiuser
ffaad6dc04 Merge pull request #2202 from pi-hole/fix/issue2149
Show all available data on Long-term data query log page
2022-05-31 21:07:46 +02:00
RD WebDesign
cd4152058b Use the same types, as returned by FTL
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-05-30 13:14:03 -03:00
Christian König
6300c551b0 Change lighttpd log file names
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-05-29 21:18:01 +02:00
RD WebDesign
0ee25345a8 Remove empty line before PHP opening tag
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-05-22 02:36:41 -03:00
Adam Warner
cc2ca3fb6c /var/log/ -> /var/log/pihole/
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-05-12 21:53:59 +02:00
RD WebDesign
e2e3b07a0e Remove duplicate function declarations
and move functions to `func.php`.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-05-11 18:14:37 -03:00
yubiuser
042b54675c Merge pull request #2177 from pi-hole/bulk_delete_groups
Allow delete multiple items - Group pages
2022-05-07 21:06:01 +02:00
RD WebDesign
f0bd5d725e Fixing minor inconsistencies
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-05-07 15:37:39 -03:00
RD WebDesign
a4bd5d0d90 Quote SQL reserved word and fix javascript output.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-04-30 16:08:02 -03:00
RD WebDesign
f8ab31f431 Allow delete multiple items - Group pages
- add checkboxes, buttons and functions to groups page;
- add checkboxes, buttons and functions to clients page;
- add checkboxes, buttons and functions to domains page;
- add checkboxes, buttons and functions to adlists page;
- move function to `utils.js`;
- fix CSS after insert a new table column;

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-04-22 22:22:03 -03:00
Adam Warner
242654e149 Fix some suggestions / ignore others
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2022-04-22 17:17:59 +01:00
RD WebDesign
b209eb6167 Using the correct dimensions
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-04-20 19:28:44 -03:00
yubiuser
372ce92d78 Merge pull request #2165 from pi-hole/sidebar_warnings
Move warning count to sidebar (when sidebar is visible).
2022-04-14 23:10:37 +02:00
Christian König
45340aaa23 Guard socket and FTL response
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-04-08 20:49:29 +01:00
RD WebDesign
2ee6afe070 Merge branch 'devel' into sidebar_warnings 2022-04-06 19:00:56 -03:00
RD WebDesign
2324bf5078 Removing the triangle icon
The message count was moved to the "hamburger" menu icon.
Using more discreet color for the circle.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-04-06 18:49:22 -03:00
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
f90ae05bd0 Sidebar warning count
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-03-25 19:25:42 -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
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