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
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