Commit Graph

1955 Commits

Author SHA1 Message Date
DL6ER
87cc78d024 Fix unecessary string concat added during the conversion from PhpCsFixer to Symfony
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 21:50:34 +02:00
DL6ER
91e7708c4f Switch to style Symfony
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 21:46:34 +02:00
DL6ER
97a76669a2 Explicitly set blank_line_before_statement to exclude include* and require*
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 20:55:02 +02:00
DL6ER
4e4f13b996 Fix remaining styling change
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 12:09:07 +02:00
DL6ER
6ec4b8a529 Run PHP-CS-Fixer on all files
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-08-07 12:04:03 +02:00
RD WebDesign
6adf8e0132 Fixing lines without multiple of 4 spaces
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:57:13 -03:00
RD WebDesign
a3234d1306 Replacing tabs with 4 spaces
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:28:30 -03:00
RD WebDesign
2bc918ad6e Use 4 spaces to indent PHP files.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-08-01 01:18:26 -03:00
RD WebDesign
79187b1258 Simplify header.php
- move some functions to `func.php`
- move sidebar to its own file `sidebar.php`
- fix indentation
- LCARS CSS: hide menu headers when logged off
- LCARS CSS: invert hover and active menu colors

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-07-20 18:59:36 -03:00
RD WebDesign
e79a1d1535 Move require "footer.php" to loginpage.php
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-07-18 18:11:55 -03:00
RD WebDesign
5ffd9038b5 Fix LCARS menu (add grouping headers)
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-07-18 18:05:41 -03:00
DL6ER
82d18b51a3 Further simplification of the code, removing empty code blocks and some always-true if-clauses
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-17 10:45:17 +02:00
Christian König
67fa5e21c0 Address reviewer's comment
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-17 08:34:50 +02:00
Christian König
c4a29bffde Fix login redirect and collapsed sidemenu
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-16 20:35:36 +02:00
Christian König
6a1e590a07 Remove black/whitelist from group pages
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-16 14:20:43 +02:00
Christian König
f8e25e1142 Restructure nav menu
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-16 11:08:32 +02:00
Christian König
e6d1e9a6c0 Remove Blacklist and Whitelist from main nav
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-16 10:05:39 +02:00
yubiuser
6d7a1b6418 Merge pull request #2264 from Gontier-Julien/clean-up
Tidy the ends of some php files
2022-07-14 21:28:51 +02:00
Gontier Julien
85f765f1e5 Tidy the ends of some php file
Signed-off-by: Gontier Julien <gontierjulien68@gmail.com>
2022-07-14 20:24:38 +02:00
yubiuser
09fbd8b1c0 Merge pull request #2263 from pi-hole/tweak/taillog
Make tailLog.php looks like `pihole -t`
2022-07-14 09:25:03 +02:00
yubiuser
748b19c1c4 Merge pull request #2258 from pi-hole/idn
Allow to delete IDN via API
2022-07-14 09:20:53 +02:00
RD WebDesign
5b56a6871f Removing the text dnsmasq[nnnn] from the log.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-07-13 19:12:41 -03:00
Christian König
7208e794af Create separat converIDNAToUnicode function in func.php
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-13 22:10:10 +02:00
Christian König
678b4c96b6 Create separat convertDomainToIDNA function in func.php
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-13 19:42:18 +02:00
yubiuser
6656865e5b Omit idn_domain as it is not necessary
Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>

Signed-off-by: yubiuser <ckoenig@posteo.de>
2022-07-13 09:15:01 +02:00
RD WebDesign
91ad168100 Add highlighting to tailLog.php
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-07-12 17:38:49 -03:00
yubiuser
122ff0e89d Merge pull request #2259 from pi-hole/tweak/debug
Add the new "integrity check" option to debug log page
2022-07-11 20:16:54 +02:00
Christian König
4c66e22260 Fix editing domains from blacklist/whitelist pages
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-11 10:19:53 +02:00
RD WebDesign
059c4f4528 Add the new "integrity check" option to debug log page
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-07-10 18:46:32 -03:00
Christian König
154e85d568 Allow to delete IDN via API
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-10 23:20:25 +02:00
Adam Warner
b07372bd42 Merge pull request from GHSA-cfr5-rqm5-9vhp
Fix/ghsa-cfr5-rqm5-9vhp - Possible XSS in queryads.php
2022-07-07 19:23:48 +01:00
Christian König
0caa8bd02b Use a random name when creating intermediat archive for teleporter
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-07-03 23:35:03 +02:00
DL6ER
2d526a5852 Change FTL's default log file path from /var/log/pihole/pihole-FTL.log to /var/log/pihole/FTL.log
Signed-off-by: DL6ER <dl6er@dl6er.de>
2022-07-03 20:26:04 +02:00
RD WebDesign
a8aaebcad4 Remove old debug output
and fix indentation.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-06-28 19:33:51 -03:00
RD WebDesign
245583c40d Remove unused parameter
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-06-27 19:05:32 -03:00
RD WebDesign
718ace5d3d Adjust debug log scroll position
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-06-24 23:41:56 -03:00
Adam Warner
920dc5b3ff Merge pull request #2212 from pi-hole/valid_wildtype
Also check wildcard domains for validity before adding
2022-06-12 13:28:44 +01:00
yubiuser
ff350449c0 Use simpler logic
Co-authored-by: Adam Warner <me@adamwarner.co.uk>

Signed-off-by: yubiuser <ckoenig@posteo.de>
2022-06-12 13:24:53 +02:00
yubiuser
a65611c530 Merge pull request #2218 from pi-hole/gateway
Base DHCP settings on default gateway address and not on IPV4_ADDRESS from setupVars.conf
2022-06-11 21:30:41 +02:00
Christian König
0ccf727edd Use API gateway endpoint
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-06-10 23:41:45 +02:00
RD WebDesign
1317528ae8 Add a default option for PORTFILE
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-06-08 00:35:24 -03:00
Christian König
fbc37b91a8 Do not use IPvX from setupVars in
Signed-off-by: Christian König <ckoenig@posteo.de>
2022-06-04 23:32:11 +02:00
RD WebDesign
5e46f5e023 Fix possible XSS in queryads.php
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-06-02 18:37:27 -03:00
Anthony de Jong
eaef6f8733 Show suggested domains in group domains page
Signed-off-by: Anthony de Jong <11158888+anthony-de-jong@users.noreply.github.com>
2022-06-02 08:04:27 +00:00
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
33c5450ba4 Use consistent output for both query lists
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-05-31 15:26:10 -03: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
RD WebDesign
fad13b1151 Fixing prettier line break
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-05-30 01:11:52 -03:00
RD WebDesign
2dd5fb816b Fix DNSSEC info
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2022-05-29 19:14:44 -03:00