DL6ER
444b4f4864
Do not try to load messages on the login page
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-05 18:01:17 +01:00
DL6ER
442a931f71
Finish porting of Settings -> DNS and the upper part of Settings -> DHCP
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-05 17:52:31 +01:00
DL6ER
93bccf5a07
Generate dadvanced settings tab offering ALL of FTL's config options. This will always be up-to-date as all options shown here are directly generated from FTL's API response.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-04 19:48:20 +01:00
DL6ER
7fd5ec7744
Generate dns_upstreams table from received dns_servers data
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-04 18:36:18 +01:00
DL6ER
de004e51a6
First draft of the automatically generated settings page
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-04 12:11:04 +01:00
DL6ER
4b543e5c04
Add SHA256 library
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-03 20:12:14 +01:00
DL6ER
fff54aef3f
Remove further obsolete PHP code
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-03 19:12:13 +01:00
DL6ER
d7eada8156
Remove "Remember me for 7 days" checkbox. Each user gets their own independent session. By default, the session will expire after 5 minutes of no web interface being open (otherwise, it is continuously prolonged because of all the background API activity while refreshing the statistics). This timeout, however, can be set freely in pihole.toml and soon also in the web interface so this checkbox has stoped being useful.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-03 18:07:11 +01:00
Christian König
7373cc2675
Fix multiple restarts while importing with Teleporter
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-02-02 23:37:19 +01:00
DL6ER
ccced4c1a8
Fix "undefined" hit counts on the dashboard
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-02 20:57:10 +01:00
DL6ER
cb90e604e8
Add system information on first tab of the settings page
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-01 22:59:12 +01:00
DL6ER
9464cf5d9b
Remove db_queries.php. The Query Log has now builtin support for arbitrary time intervals
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-01 22:43:52 +01:00
DL6ER
afd08593dd
Use FTL-provided fileversion() function
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-01 22:39:43 +01:00
DL6ER
8ddebe8f14
Query Log: Use responsive design for query details
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-01 22:18:43 +01:00
DL6ER
590fec8bce
Query Log: Use status icon instead of full-row colors to increase accessibility
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-01 22:09:10 +01:00
DL6ER
c5989768dd
Port Query Log to v6.0 API. The new query log offers extensive filtering abilities and uses server-side pagination
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-01 21:59:12 +01:00
DL6ER
fb158191ff
Port Pi-hole diagnosis system ("messages") to the new v6.0 API
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-02-01 21:31:07 +01:00
DL6ER
4eb9a4cf29
Port dashboard landing page to v6.0 API
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-01-31 20:41:12 +01:00
DL6ER
4cf7a82713
First steps into the v6.0 world. Login and logout is now possible and all pages load without PHP errors (even when they are mostly empty until we added all the new API methods)
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2023-01-31 20:10:53 +01:00
RD WebDesign
d92df4af4c
If no unit is set on setupVars, try to use localstorage value, if exists
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-01-28 17:16:29 -03:00
RD WebDesign
4966f01dde
Use and set the unit on setupVars.conf option TEMPERATUREUNIT
...
New behavior!!!
The temperature unit will be set GLOBALLY and not per browser.
- if a TEMPERATUREUNIT is set in setupVars.conf file, the value will be used.
- if there is no unit set in setupVars.conf, "C" will be used;
- changing the value on the web interface WILL CHANGE setupVars.conf.
- if the browser has an old value set on locastorage, this will be ingnored.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-01-27 16:45:38 -03:00
Adam Warner
8025a38aca
Fix PHP-CS-Fixer complaints
2023-01-25 19:00:20 +00:00
Adam Warner
a998f51f2b
Merge pull request from GHSA-33w4-xf7m-f82m
...
Fix Improper Session Handling vulnerability of "Remember me for 7 days" functionality
2023-01-25 18:53:00 +00:00
4n4nk3
d31cf9d156
Fix insecure persistent login token
...
Signed-off-by: 4n4nk3 <47717886+4n4nk3@users.noreply.github.com >
2023-01-22 23:55:54 +01:00
Adam Warner
124d12ea37
Do not return 'false' if IDNA<->UNICODE conversion fails ( #2479 )
2023-01-22 14:10:50 +00:00
Glenn Strauss
d94d86bad8
remove hard-coded /admin/ path; relocatable
...
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com >
2023-01-22 12:46:34 +00:00
yubiuser
ec7b7536c6
Attenuate non-domain warning ( #2507 )
2023-01-21 19:26:58 +01:00
Christian König
4bc3d73acd
Remove warning triangle
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-01-21 15:18:26 +01:00
Christian König
0155c366d1
Attenuate non-domain warning
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-01-21 14:54:14 +01:00
Christian König
68ac05fb7e
Do not fail if IDNA<->UNICODE conversion fails
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-01-20 17:04:30 +01:00
Christian König
4473955291
Don't use idstring in messages when it's not necessary
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-01-20 16:57:34 +01:00
Christian König
acac90f79d
Tweak deleting message
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-01-20 16:57:34 +01:00
Christian König
9f7a04a37c
Show two decimals on doughnutTooltip if total share shown is less than 1%
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2023-01-18 22:29:00 +01:00
Christian König
a5eb854129
Add default value for $ver in func.php
...
Signed-off-by: Christian König <ckoenig@posteo.de >
Co-authored-by: ElectronicsTinkerer <ElectronicsTinkerer@users.noreply.github.com >
2023-01-16 23:02:24 +01:00
RD WebDesign
302a402277
Avoid caching issues using last modified time
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-01-13 23:10:15 -03:00
RD WebDesign
839836d848
Highlight the searched text
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-01-13 15:15:17 -03:00
RD WebDesign
9c62cc5225
Remove unused/dead old code
...
- "quiet" option and related functions (used by blocking page);
- "adlist" option (used by blocking page).
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-01-13 14:42:40 -03:00
RD WebDesign
2814556c16
Adding option to show all results for queryads
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2023-01-13 14:14:52 -03:00
RD WebDesign
f8c121407d
Allow only authenticated access to queryads.php
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br >
2022-12-21 16:58:34 -03:00
Christian König
65dd61845e
Do not use unicorn/switch-case-braces
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2022-11-26 12:53:56 +01:00
Christian König
7b172c5cbc
Do not check for unicorn/prefer-logical-operator-over-ternary
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2022-11-26 12:53:56 +01:00
Christian König
7a9cf91def
Use xo 0.53.0 and fix errors
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2022-11-26 12:53:56 +01:00
Christian König
f841f309a2
Fix doughnutTooltip if total percentage of shown slices is less than 0.1%
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2022-11-17 14:35:32 +01:00
DL6ER
c9a7d5df8e
Addressing review comments.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2022-11-14 15:06:45 -03:00
DL6ER
1a0b24474d
Add stale cache query status
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2022-11-14 15:06:45 -03:00
Adam Warner
fad5b4f30d
Don't link to github releases if docker tag is nightly or dev
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2022-11-11 22:01:48 +00:00
Christian König
388c33b45b
Remove obsolete loginpage
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2022-11-09 23:10:33 +01:00
Christian König
71cbfb0715
Update jquery.confirm to 2.7.0
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2022-10-28 14:15:46 -03:00
DL6ER
807ea10f4a
Allow addding more than one local DNS/CNAME record ( #2410 )
2022-10-28 13:10:28 -04:00
DL6ER
bc6f9fd33c
Update momentjs to 2.29.4 ( #2399 )
2022-10-28 13:08:54 -04:00