Christian König
e32bc2d07a
Remove email functionality
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2022-08-17 23:18:07 +02:00
DL6ER
6a39cc3b4a
Disable Yoda style
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2022-08-12 18:55:27 +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
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
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
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
DL6ER
1d67146b75
Add rate-limit settings to dashboard
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2022-02-19 09:29:35 +01:00
DL6ER
d7e750bda0
Improve interface settings ( #2011 )
...
* Change wording in the "Interface Listening Behavior" box (renamed to simply "Interface settings") to address issue #2009
Signed-off-by: DL6ER <dl6er@dl6er.de >
* Clarify interface listening behavior. Add fourth (new) option it actually bind to an interface.
Signed-off-by: DL6ER <dl6er@dl6er.de >
* Improve .no-danger-area and .danger-area CSS
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-12-20 21:38:00 +01:00
DL6ER
21cba361e0
Skip DNS server processing if the requested type is not available for this server ( #1970 )
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-11-21 09:25:45 +01:00
Christian König
9ce065f8b3
Remove 'privacyMode' as well
...
Signed-off-by: Christian König <ckoenig@posteo.de >
2021-10-26 19:56:19 +02:00
Adam Warner
d64818c7a5
Merge pull request #1892 from a1346054/fixes
...
Simple maintenance improvements
2021-09-29 21:17:25 +01:00
yubiuser
2d41191ac3
Lift prefix limitaion for --rev-server
...
Signed-off-by: yubiuser <ckoenig@posteo.de >
2021-09-21 09:25:31 +02:00
a1346054
48c63c0a0b
Fix spelling
...
Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com >
2021-09-15 21:22:59 +00:00
DL6ER
03920e3595
Move validation functions into func.php and use the same validation in all cases.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2021-07-25 16:59:16 +02:00
Will Cooke
b69e774bf3
Simple typo fix: static release -> static lease.
...
Signed-off-by: Will Cooke <will@whizzy.org >
2021-02-27 15:02:52 +00:00
Jonny Bolton
590749b7eb
Typo fixed in save settings
...
Signed-off-by: Jonny Bolton <jonnybolton@gmail.com >
2021-02-16 17:39:39 +00:00
DL6ER
1b129bcad0
Merge branch 'release/v5.2' into new/mac_clients
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-07-30 21:56:21 +02:00
DL6ER
99adb3012b
Fix arpflush command
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-07-19 22:13:05 +02:00
Adam Warner
c42c06be2d
Merge pull request #1208 from pi-hole/new/rev-server
...
Improve conditional forwarding settings
2020-07-02 10:51:41 +01:00
DL6ER
1482b9055d
Update scripts/pi-hole/php/savesettings.php
...
Co-authored-by: Adam Warner <me@adamwarner.co.uk >
2020-06-30 22:55:06 +02:00
Adam Warner
f51705b675
Don't add #53 to any passed IP value by default, only add custom port if it is specified by the user
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-06-25 17:54:23 +01:00
Adam Warner
297c1b019f
response is expected to be empty here, as far as I can tell. Reverting this logic change prevents a misleading message being displayed to the user
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-06-25 17:46:22 +01:00
DL6ER
a901489a96
Merge branch 'devel' into new/mac_clients
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-06-05 22:24:17 +02:00
DL6ER
540ebddb8c
Merge branch 'devel' into new/rev-server
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-06-04 09:24:49 +02:00
DL6ER
a4a678b584
Revert "Add per-browser boxed layout setting"
...
This reverts commit c2683fb87bc50369753b279e179e7b5d0d1e60a9.
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-06-02 16:20:51 +01:00
DL6ER
51dc473278
Remove saving backend for settings moved into local storage.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-06-02 16:20:51 +01:00
DL6ER
ac89d268a7
Only try to implode pihole arpflush quiet output if it is an array.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-19 11:23:42 +02:00
Jack'lul
e12ebcbd08
Trim user input where applicable
...
Signed-off-by: Jack'lul <jacklulcat@gmail.com >
2020-05-14 18:01:36 +02:00
DL6ER
05d5f02a36
Add theme chooser to Setting -> Web interface.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-12 22:50:29 +02:00
DL6ER
73ee91a024
Merge branch 'master' into master-to-development-v5.0
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-05-10 22:00:07 +02:00
Adam Warner
6e5bbfb68a
Check IP addresses read in from dns-server.conf are valid before adding them to the array.
...
Fix for CVE-2020-12620
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2020-05-03 22:47:33 +01:00
Samu Voutilainen
39ec67829b
Execute pihole through wrapper
...
All different exec() calls basically just calls sudo pihole,
with various different syntaxes. Using a wrapper function
allows sanitization of arguments for better safety.
Signed-off-by: Samu Voutilainen <smar@smar.fi >
2020-04-17 07:55:16 +03:00
DL6ER
373d59f751
Improve conditional forwarding settings so users can specify the subnet according to their needs.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-04-10 10:54:41 +02:00
DL6ER
0f892c9ffc
Check for existance and readability of static leases file before trying to access it.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-04-07 12:30:51 +02:00
DL6ER
f9fd89cda7
Merge pull request #1149 from pi-hole/new/space-separated-item-injection
...
Allow space separated multiple items injection
2020-03-31 23:40:39 +02:00
Th3M3
2a38bcc074
allow to clear email address
...
Signed-off-by: Th3M3 <the_me@outlook.de >
2020-03-18 21:39:55 +01:00
DL6ER
13b7b3d1a9
Remove redundant adlist management on settings page. This is still using CLI callbacks instead of working directly on the database.
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-02-11 20:07:43 +01:00
DL6ER
1c4e8056c2
Allow underscores in the middle of TLDs. Fixes #1036
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2020-01-12 13:16:55 +01:00
DL6ER
52f5be0c8f
Merge pull request #992 from trimalcione/devel
...
Add DHCP leases export/import from teleporter
2019-12-16 11:22:28 +01:00
trimalcione
6c04b8cb39
add DHCP static leases import from teleporter
...
Signed-off-by: trimalcione <okchtioui@gmail.com >
2019-12-02 16:21:19 +01:00
Adam Warner
8311a0aefc
Add ability for user to include comment when adding a blocklist
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk >
2019-10-14 22:59:05 +01:00
trimalcione
9d32aa6489
Add DHCP leases export/import from teleporter
...
Signed-off-by: trimalcione <okchtioui@gmail.com >
2019-08-20 18:12:16 +02:00
Mcat12
c5b25f23e5
Add missing break
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2019-07-09 20:37:05 -07:00
Mcat12
bc85bcda7b
Prevent static DHCP leases from having duplicate hostnames
...
Fixes #979
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2019-07-09 20:35:15 -07:00
Mcat12
86ba703ef5
Use the renamed adlist table when getting adlists
...
This fixes an error shown on the settings page.
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2019-07-04 11:28:01 -07:00
Mark Drobnak
4e1df1664c
Merge pull request #951 from pi-hole/new/arp-flush
...
Add button for pihole arpflush on Pi-hole settings page
2019-07-04 14:10:29 -04:00
Mcat12
f7905167c0
Prevent command injection via admin email
...
Signed-off-by: Mcat12 <newtoncat12@yahoo.com >
2019-07-01 20:17:10 -07:00
DL6ER
43fa24fbea
Glue needs to be the first argument of implode
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-05-30 22:11:13 +02:00
DL6ER
72abc5dad4
Add button for pihole arpflush on Pi-hole settings page
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2019-05-30 22:05:13 +02:00