Glenn Strauss
34f45d011d
lighttpd: do not install obsolete 404 handler
...
(/var/www/html/pihole/ dir and contents are still removed in uninstall)
(/var/www/html/index.lighttpd.orig is still removed in uninstall)
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years ago
Glenn Strauss
539f9d4da0
lighttpd: remove pihole block page error handler
...
remove obsolete pihole block page error handler
x-ref:
Remove the advanced functionality of the 404 page (Blockpage)
https://github.com/pi-hole/pi-hole/pull/3910
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years ago
Glenn Strauss
c6342ed84c
lighttpd: do not overwrite /etc/lighttpd/lighttpd.conf
...
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years ago
Adam Warner
9072a6a7f0
add Fedora 37 to distro-test in .github/workflows/test.yml ( #5067 )
2 years ago
Adam Warner
3b5d10d087
Sync master back into development ( #5078 )
2 years ago
Glenn Strauss
0d5d3a1b22
lighttpd: remove obsolete exclusion of letsencrypt.conf
...
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years ago
Adam Warner
8d2e023ec0
Add merge-conflict workflow ( #5071 )
2 years ago
Adam Warner
4a1473aee9
Create new lighttpd pihole-admin.conf for admin interface ( #5065 )
2 years ago
Glenn Strauss
78f9e38425
lighttpd: test for /etc/lighttpd/conf*/pihole-admin.conf
...
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years ago
Glenn Strauss
08c7691d1e
lighttpd pihole-admin.conf for admin interface
...
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years ago
Glenn Strauss
62bf9957dc
lighttpd conf: collect ^/admin/ conditions
...
move a sub-condition to be a nested condition under ^/admin/
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years ago
Glenn Strauss
dafc9983f5
lighttpd include external.conf using file glob
...
lighttpd 1.4.40 and later support 'include' using file glob
(The prior code for compatibility was presumably for Debian Jessie
and earlier, now obsolete. Debian Stretch -- currently oldstable --
ships with lighttpd 1.4.45)
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years ago
Adam Warner
a44b8e4bfc
Set fixed version requirement for tox ( #5074 )
2 years ago
Christian König
c8e69c6139
Set testenv explicitly
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago
Christian König
da8893f477
Try bandaid
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago
Christian König
7562376373
Add merge-conflict workflow
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago
Dan Schaper
619cebb62c
Bump actions/checkout from 3.1.0 to 3.2.0 ( #5070 )
2 years ago
Dan Schaper
6a2200a8e6
Set X-XSS-Protection headers to 0 in lighttpd.conf ( #5069 )
2 years ago
dependabot[bot]
661433c115
Bump actions/checkout from 3.1.0 to 3.2.0
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Glenn Strauss
e7e7a817bb
add Fedora 37 to distro-test
...
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years ago
Neill Wolf
d245226053
set X-XSS-Protection headers to 0 in lighttpd.conf
...
Signed-off-by: Neill Wolf <neillawolf@gmail.com>
2 years ago
Adam Warner
a5d10a6256
Sync master back into development ( #5068 )
2 years ago
Adam Warner
c32761e786
Use github cli to sync master back to development ( #5063 )
2 years ago
Christian König
095696ec04
Use github cli to sync master back to development
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago
Adam Warner
7971cf0adc
Only compare OS versions if dig was successful ( #5056 )
2 years ago
Adam Warner
fc83883934
Apply suggestions from code review
...
Co-authored-by: yubiuser <ckoenig@posteo.de>
Signed-off-by: Adam Warner <github@adamwarner.co.uk>
2 years ago
RD WebDesign
1550f29f06
Use GREEN if dig was successful
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2 years ago
RD WebDesign
a206980242
Fix parenthesis color
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2 years ago
RD WebDesign
8c2f56b0e6
Imporving the output from `os_check()` function
...
- add red color to dig errors
- reorder some output lines
- add "Distro and version supported" on success
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2 years ago
RD WebDesign
b4349b41ce
Use the correct variable `digReturnCode`
...
also use INFO instead of CROSS, because it's not an error.
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2 years ago
RD WebDesign
67f04787d6
Only compare OS versions if `dig` was successful
...
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2 years ago
Adam Warner
1ee922d16c
Disable a few commands if installed in (official) docker containers ( #5018 )
2 years ago
Christian König
14ab586603
Start counting with 1
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago
Christian König
372070ab39
Improve detection of incorrecr lines during gravity
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago
Christian König
4004a93d1a
Don't double check for lines containing no domains in gravity
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago
Adam Warner
c2bb190dce
Explicitly create group pihole on installation ( #5039 )
2 years ago
Adam Warner
b8eae60fcc
Disable a few commands for Docker. Currently this is done by monkeypatching the the `pihole` file on Docker install, however if someone was to run pihole checkout, these patches are removed.
...
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2 years ago
Dan Schaper
c86ff5d084
Bump actions/setup-python from 4.3.0 to 4.3.1 ( #5054 )
2 years ago
dependabot[bot]
126da094bd
Bump actions/setup-python from 4.3.0 to 4.3.1
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4.3.0...v4.3.1 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2 years ago
Christian König
f713b14ba0
Cleanup if startup failed
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago
Dan Schaper
a4e20f79a3
Install wheel before other python packages in Action ( #5048 )
2 years ago
Christian König
6b146ed2d1
Use two-step approach
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago
Christian König
e0e0baf076
Install wheel before other python packages
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago
Dan Schaper
95e799ed6e
Do not require man pages to be present in test script ( #5037 )
...
Skip manpage tests when the manpage directory does not exist.
2 years ago
DL6ER
202aa25c09
Do not setcap FTL binary when systemd is used ( #5043 )
...
All bets on `AmbientCapabilities`
2 years ago
MichaIng
06de172952
Skip setcap on installs with systemd
...
since the systemd unit uses "AmbientCapabilities" to grant capabilities.
Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: MichaIng <micha@dietpi.com>
2 years ago
Adam Warner
ff5ee29566
Add native systemd service ( #4924 )
2 years ago
Adam Warner
d393497641
sync: master to development ( #5041 )
2 years ago
Adam Warner
0034538794
v5.14.2 ( #5040 )
2 years ago
Christian König
33d2163f19
Explicitly create group pihole on installation
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2 years ago