Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
622 commits
Select commit Hold shift + click to select a range
fb032ea
Ignore commented lines when reading PRIVACYLEVEL from config file (#5…
dschaper Mar 22, 2023
c6d1137
Release v5.16 (#5220)
PromoFaux Mar 22, 2023
58275ec
Revert "Ignore commented lines when reading PRIVACYLEVEL from config …
PromoFaux Mar 22, 2023
edbaf6d
Revert "Ignore commented lines when reading PRIVACYLEVEL from config …
dschaper Mar 22, 2023
c96463b
Fix getting 'privacylevel'
yubiuser Mar 22, 2023
1dc3312
Fix getting 'privacylevel' (#5224)
PromoFaux Mar 22, 2023
8ca5788
Release v5.16.1 (#5226)
PromoFaux Mar 22, 2023
fa11638
remove old comments
ipitio Mar 23, 2023
95b12ba
Bump actions/stale from 7.0.0 to 8.0.0
dependabot[bot] Mar 25, 2023
0656ceb
Speed things up a bit with some humble greps. Consolodate regexes and…
PromoFaux Mar 24, 2023
9d4a69c
Fix for gravity's unchecked resource consumption. (#5234)
dschaper Mar 25, 2023
d885e92
Hotfix Core v5.16.2 (#5235)
dschaper Mar 25, 2023
c71460e
Allow TLD blocking using ABP style
rdwebdesign Mar 28, 2023
32fb2e6
Spliting the regex into TLD_pattern and subdomain_pattern
rdwebdesign Mar 29, 2023
66bfa60
Using a better text for the comment
rdwebdesign Mar 29, 2023
56eae4a
Allow TLD blocking using ABP style (#5240)
PromoFaux Mar 29, 2023
61ff5b2
Unifiy sed commands
yubiuser Apr 7, 2023
cc17fe1
Remove lines with ABP extended CSS selector
yubiuser Apr 7, 2023
2a0f720
Don't delete lines containing `/` as they should count as invalid
yubiuser Apr 7, 2023
9c4e74f
Remove special handling of pgl.yoyo.org
yubiuser Apr 7, 2023
aaf8281
Remove unecessary $cmd_ext
yubiuser Apr 7, 2023
b9cf2d9
Remove special handling of pgl.yoyo.org (#5249)
PromoFaux Apr 7, 2023
d10d593
There is no ! but an $ rule
yubiuser Apr 7, 2023
dd3a7a4
Only delete lines containing separator when preceded by a letter to r…
yubiuser Apr 8, 2023
87a612f
Trigger stale workflow on issue comments to remove stale label immedi…
yubiuser Apr 15, 2023
c36d025
Bump tox from 4.4.7 to 4.4.12 in /test
dependabot[bot] Apr 15, 2023
d065afd
Bump actions/checkout from 3.4.0 to 3.5.2
dependabot[bot] Apr 15, 2023
11725a0
Bump actions/checkout from 3.4.0 to 3.5.2 (#5255)
yubiuser Apr 15, 2023
b412e88
Bump tox from 4.4.7 to 4.4.12 in /test (#5254)
yubiuser Apr 15, 2023
364fd38
Bump pytest from 7.2.2 to 7.3.1 in /test
dependabot[bot] Apr 15, 2023
7eeedf1
Bump pytest from 7.2.2 to 7.3.1 in /test (#5253)
yubiuser Apr 15, 2023
fc706b6
Bump actions/stale from 7.0.0 to 8.0.0 (#5231)
yubiuser Apr 15, 2023
5985d50
Run seperate job to trigger removal on comments
yubiuser Apr 16, 2023
1a9dbec
Use env variable
yubiuser Apr 17, 2023
8fbad01
Trigger stale workflow on issue comments to remove stale label immedi…
dschaper Apr 17, 2023
eed4b70
Add Fedora 38 to the test suite
yubiuser Apr 19, 2023
53d0941
Add Fedora 38 to the test suite (#5257)
dschaper Apr 19, 2023
0df06dc
Bump actions/setup-python from 4.5.0 to 4.6.0
dependabot[bot] Apr 22, 2023
e9e0aa3
Bump actions/setup-python from 4.5.0 to 4.6.0 (#5260)
yubiuser Apr 22, 2023
9bcb323
Bump actions/checkout from 3.4.0 to 3.5.2
dependabot[bot] Apr 22, 2023
b8ffd27
Bump actions/checkout from 3.4.0 to 3.5.2 (#5261)
yubiuser Apr 23, 2023
83afff9
Bump tox from 4.4.12 to 4.5.1 in /test
dependabot[bot] Apr 29, 2023
c95d343
Bump tox from 4.4.12 to 4.5.1 in /test (#5264)
yubiuser Apr 29, 2023
fd4e876
Remove unused code from query.sh
yubiuser May 2, 2023
b74c6d5
Add support for RISC-V 64-bit installs
MichaIng Mar 5, 2023
cd638b1
Filter ABP CSS selectors (#5247)
yubiuser May 4, 2023
654e111
Sync master back into development (#5221)
PromoFaux May 6, 2023
e6ae2e9
Don't source the install script in webpage.sh
yubiuser May 7, 2023
b8c3f6d
Adding Local DNS Records does not add to /etc/pihole/custom.list
datachord May 5, 2023
a3e610d
Don't use '--suffix' in mktemp
yubiuser May 10, 2023
fe1618d
Don't use '--suffix' in mktemp (#5272)
yubiuser May 10, 2023
8e5467d
Remove unused code from query.sh (#5266)
yubiuser May 10, 2023
19d50b9
Don't source the install script in webpage.sh (#5270)
yubiuser May 10, 2023
eaded9f
Remove forgotten variables
yubiuser May 11, 2023
b075e25
Remove forgotten variables (#5273)
yubiuser May 12, 2023
06d96c4
Merge pull request #7 from pi-hole/master
DroidFreak32 May 12, 2023
8d91ca8
Bump pytest-xdist from 3.2.1 to 3.3.0 in /test
dependabot[bot] May 13, 2023
614554f
Bump pytest-xdist from 3.2.1 to 3.3.0 in /test (#5274)
yubiuser May 13, 2023
7373330
Use parseList function offered by pihole-FTL
DL6ER May 15, 2023
f9b29cf
Bump pytest-xdist from 3.3.0 to 3.3.1 in /test
dependabot[bot] May 20, 2023
412079a
Bump pytest-xdist from 3.3.0 to 3.3.1 in /test (#5278)
yubiuser May 20, 2023
10fe859
Bump pytest-testinfra from 7.0.0 to 8.0.0 in /test
dependabot[bot] May 20, 2023
85e7fc5
Bump pytest-testinfra from 7.0.0 to 8.0.0 in /test (#5279)
yubiuser May 20, 2023
c92826c
Do not copy info table during pihole -g
DL6ER May 24, 2023
5bdb089
Add Ubuntu 23 to test suite
yubiuser May 24, 2023
82b60b0
Fix issue with Adding Local DNS Records does not add to /etc/pihole/c…
PromoFaux May 27, 2023
23f2db0
Use list parsing functionality of FTL (#5275)
DL6ER May 27, 2023
783f9e5
Bump actions/setup-python from 4.6.0 to 4.6.1
dependabot[bot] May 27, 2023
3ae7211
Bump pytest-testinfra from 8.0.0 to 8.1.0 in /test
dependabot[bot] May 27, 2023
43ba31f
Bump pytest-testinfra from 8.0.0 to 8.1.0 in /test (#5287)
yubiuser May 27, 2023
50d67dc
Bump actions/setup-python from 4.6.0 to 4.6.1 (#5286)
yubiuser May 27, 2023
f596100
remove outdated comments (#5227)
yubiuser May 27, 2023
350c9e0
Add Ubuntu 23 to test suite (#5284)
DL6ER May 28, 2023
de5e6e4
Add support for RISC-V 64-bit installs (#5196)
DL6ER May 28, 2023
bea63f9
Pi-hole v5.17 (#5288)
PromoFaux May 28, 2023
aa9b453
Sync master back into development (#5289)
PromoFaux May 28, 2023
11679a5
@MrDuck2742 dropped a `]` on the floor without me seeing. I picked it…
PromoFaux May 28, 2023
494734b
Add in a test case
PromoFaux May 28, 2023
fc67de8
Fix Faulty Regex pattern in custom DNS domain validation (#5291)
yubiuser May 29, 2023
6c302c9
Adlist properties need to be stored in the new ("temp") database rath…
DL6ER May 30, 2023
c1335c6
Fix gravity adlist status not being updated (#5294)
DL6ER May 30, 2023
6a45c6a
v5.17.1 (#5295)
PromoFaux May 30, 2023
b2c73f8
Do not try to remove stale lables on PRs
yubiuser May 29, 2023
364537b
Use env variable
yubiuser May 31, 2023
b0fa379
Bump tox from 4.5.1 to 4.5.2 in /test
dependabot[bot] Jun 3, 2023
34a261e
Bump tox from 4.5.1 to 4.5.2 in /test (#5304)
yubiuser Jun 4, 2023
eb0bd02
Sync master back into development (#5296)
PromoFaux Jun 4, 2023
7d3f354
Bump actions/checkout from 3.5.2 to 3.5.3
dependabot[bot] Jun 10, 2023
8e481e2
Bump tox from 4.5.2 to 4.6.0 in /test
dependabot[bot] Jun 10, 2023
8347de1
Bump actions/checkout from 3.5.2 to 3.5.3 (#5310)
yubiuser Jun 10, 2023
b8419ba
Bump tox from 4.5.2 to 4.6.0 in /test (#5311)
yubiuser Jun 10, 2023
117c153
Add tests for Debian 12
yubiuser Jun 10, 2023
306df56
Add tests for Debian 12 (#5312)
DL6ER Jun 11, 2023
3fd7b4e
Bump pytest from 7.3.1 to 7.3.2 in /test
dependabot[bot] Jun 17, 2023
17fffa4
Bump pytest from 7.3.1 to 7.3.2 in /test (#5318)
yubiuser Jun 17, 2023
7a66083
Bump tox from 4.6.0 to 4.6.2 in /test
dependabot[bot] Jun 17, 2023
7bc1126
Bump tox from 4.6.0 to 4.6.2 in /test (#5317)
yubiuser Jun 17, 2023
198ca65
Bump tox from 4.6.2 to 4.6.3 in /test
dependabot[bot] Jun 24, 2023
5389ef1
Bump tox from 4.6.2 to 4.6.3 in /test (#5324)
yubiuser Jun 24, 2023
5490625
Bump pytest from 7.3.2 to 7.4.0 in /test
dependabot[bot] Jun 24, 2023
1eb4ad8
Bump pytest from 7.3.2 to 7.4.0 in /test (#5325)
yubiuser Jun 25, 2023
a01d31e
Bump tox from 4.6.3 to 4.6.4 in /test
dependabot[bot] Jul 8, 2023
60a7c50
Bump tox from 4.6.3 to 4.6.4 in /test (#5332)
yubiuser Jul 8, 2023
924de1d
Update dependabot.yml
PromoFaux Jul 11, 2023
8009123
Add missing `env:`, tweak conditional
PromoFaux Jul 12, 2023
91dabc5
Bump actions/setup-python from 4.6.1 to 4.7.0
dependabot[bot] Jul 15, 2023
cefbfdf
Bump actions/setup-python from 4.6.1 to 4.7.0 (#5336)
PromoFaux Jul 16, 2023
8495565
Update dependabot.yml (#5334)
PromoFaux Jul 16, 2023
30661fe
Sync master back into development (#5337)
PromoFaux Jul 16, 2023
7e24025
Drop docker-compose from requirements.txt, it's not used. This was th…
PromoFaux Jul 18, 2023
98c7d87
Update test dependencies (v5) (#5343)
PromoFaux Jul 18, 2023
7747cd2
Bump tox from 4.6.4 to 4.7.0 in /test
dependabot[bot] Aug 12, 2023
9fc0126
Bump tox from 4.6.4 to 4.7.0 in /test (#5360)
yubiuser Aug 12, 2023
272ca8c
Bump tox from 4.7.0 to 4.9.0 in /test
dependabot[bot] Aug 19, 2023
996234a
Bump tox from 4.7.0 to 4.9.0 in /test (#5365)
yubiuser Aug 19, 2023
d8dff9b
Merge pull request #8 from pi-hole/master
DroidFreak32 Aug 23, 2023
1c6919c
Bump pytest-testinfra from 8.1.0 to 9.0.0 in /test
dependabot[bot] Aug 26, 2023
924f8b8
Bump actions/checkout from 3.5.3 to 3.6.0
dependabot[bot] Aug 26, 2023
a7ed968
Bump pytest-testinfra from 8.1.0 to 9.0.0 in /test (#5370)
yubiuser Aug 27, 2023
9b68fa0
Bump tox from 4.9.0 to 4.10.0 in /test
dependabot[bot] Aug 27, 2023
2878c1b
Bump tox from 4.9.0 to 4.10.0 in /test (#5371)
yubiuser Aug 27, 2023
fb831b5
Bump actions/checkout from 3.5.3 to 3.6.0 (#5372)
yubiuser Aug 27, 2023
9084b17
Bump tox from 4.10.0 to 4.11.1 in /test
dependabot[bot] Sep 2, 2023
ff72650
Bump tox from 4.10.0 to 4.11.1 in /test (#5379)
yubiuser Sep 2, 2023
cdc1c1a
Remove user agent when downloading adlists
yubiuser Aug 21, 2023
843f573
Ignore ABP style entries in debug log dig test
yubiuser Sep 7, 2023
f035687
Ignore ABP style entries in debug log dig test (#5381)
yubiuser Sep 7, 2023
1f241a3
Bump actions/checkout from 3.6.0 to 4.0.0
dependabot[bot] Sep 9, 2023
047eac6
Bump tox from 4.11.1 to 4.11.3 in /test
dependabot[bot] Sep 9, 2023
55f72ac
Bump pytest from 7.4.0 to 7.4.2 in /test
dependabot[bot] Sep 9, 2023
3f6e41e
Bump actions/checkout from 3.6.0 to 4.0.0 (#5387)
yubiuser Sep 9, 2023
c46a06b
Bump pytest from 7.4.0 to 7.4.2 in /test (#5390)
yubiuser Sep 9, 2023
7fbc7d4
Bump tox from 4.11.1 to 4.11.3 in /test (#5389)
yubiuser Sep 9, 2023
fef2861
Do not try to remove stale label on PRs (#5292)
PromoFaux Sep 10, 2023
d6a018a
Sync master back into development (#5391)
PromoFaux Sep 10, 2023
4955c52
Remove fake user agent when downloading adlists (#5366)
yubiuser Sep 10, 2023
c3d1f36
Bump actions/checkout from 4.0.0 to 4.1.0
dependabot[bot] Sep 23, 2023
3f4e210
Bump actions/checkout from 4.0.0 to 4.1.0 (#5396)
yubiuser Sep 23, 2023
edf0060
Fix spellcheck errors
yubiuser Oct 6, 2023
f5885c8
Fix spellcheck errors (#5410)
yubiuser Oct 6, 2023
afa688e
Yu vs uh
yubiuser Oct 6, 2023
bef5d85
Yu vs uh (#5411)
yubiuser Oct 7, 2023
f52b2b9
Bump actions/setup-python from 4.7.0 to 4.7.1
dependabot[bot] Oct 7, 2023
0385b1d
Bump actions/setup-python from 4.7.0 to 4.7.1 (#5412)
yubiuser Oct 7, 2023
71357ec
adminlte->web
PromoFaux Oct 8, 2023
1fa5cb8
Update references to web repo (#5418)
PromoFaux Oct 8, 2023
60b6a10
v5.17.2 (#5421)
PromoFaux Oct 11, 2023
51de1dc
Sync master back into development (#5422)
PromoFaux Oct 11, 2023
2a72012
Bump actions/checkout from 4.1.0 to 4.1.1
dependabot[bot] Oct 21, 2023
ba61ee2
Bump actions/checkout from 4.1.0 to 4.1.1 (#5449)
DL6ER Oct 21, 2023
ec86124
Bump pytest from 7.4.2 to 7.4.3 in /test
dependabot[bot] Oct 28, 2023
300a4e2
Bump pytest from 7.4.2 to 7.4.3 in /test (#5463)
yubiuser Oct 28, 2023
3c4f217
Bump pytest-xdist from 3.3.1 to 3.4.0 in /test
dependabot[bot] Nov 18, 2023
271884c
Bump pytest-xdist from 3.3.1 to 3.4.0 in /test (#5493)
yubiuser Nov 18, 2023
2e73eb3
Bump pytest-testinfra from 9.0.0 to 10.0.0 in /test
dependabot[bot] Nov 18, 2023
536d170
Bump pytest-testinfra from 9.0.0 to 10.0.0 in /test (#5492)
yubiuser Nov 18, 2023
9d57f64
Bump pytest-xdist from 3.4.0 to 3.5.0 in /test
dependabot[bot] Nov 25, 2023
33b234a
Merge tag 'v5.17.2' of https://github.com/pi-hole/pi-hole
DroidFreak32 Nov 29, 2023
4523f07
Bump pytest-xdist from 3.4.0 to 3.5.0 in /test (#5501)
yubiuser Nov 30, 2023
bfc824f
Bump tox from 4.11.3 to 4.11.4 in /test
dependabot[bot] Dec 2, 2023
bbbb460
Bump tox from 4.11.3 to 4.11.4 in /test (#5506)
yubiuser Dec 2, 2023
16180e4
Bump actions/setup-python from 4.7.1 to 5.0.0
dependabot[bot] Dec 9, 2023
c34464d
Bump actions/stale from 8.0.0 to 9.0.0
dependabot[bot] Dec 9, 2023
c6756b1
Bump actions/stale from 8.0.0 to 9.0.0 (#5513)
yubiuser Dec 9, 2023
63b2a1f
Bump actions/setup-python from 4.7.1 to 5.0.0 (#5512)
yubiuser Dec 9, 2023
3f7413d
Add "-ni" to all sqlite3 invocations
DL6ER Dec 9, 2023
e8338d0
Install FTL's development branch to get the latest features during tests
DL6ER Dec 10, 2023
2ae79f2
Add "-ni" to all sqlite3 invocations (v5) (#5519)
DL6ER Dec 10, 2023
c6049d4
Bump github/codeql-action from 2 to 3
dependabot[bot] Dec 16, 2023
12c6dd5
Bump github/codeql-action from 2 to 3 (#5522)
yubiuser Dec 16, 2023
05e7d0e
Bump pytest from 7.4.3 to 7.4.4 in /test
dependabot[bot] Jan 6, 2024
7eb69a5
Bump pytest from 7.4.3 to 7.4.4 in /test (#5536)
yubiuser Jan 6, 2024
19bfa08
Pi-hole core v5.17.3 (#5520)
PromoFaux Jan 6, 2024
aa4ceb4
Sync master back into development (#5537)
PromoFaux Jan 7, 2024
9eb4731
Bump tox from 4.11.4 to 4.12.0 in /test
dependabot[bot] Jan 13, 2024
e773d03
Bump tox from 4.11.4 to 4.12.0 in /test (#5547)
yubiuser Jan 13, 2024
ba2682c
Bump tox from 4.12.0 to 4.12.1 in /test
dependabot[bot] Jan 20, 2024
37c6b35
Bump tox from 4.12.0 to 4.12.1 in /test (#5555)
yubiuser Jan 20, 2024
f8bfd59
Drop Fedora 36 and add Fedora 39 to the test suite
yubiuser Nov 7, 2023
7b6f0d1
Also remove Fedora 37
yubiuser Jan 28, 2024
2009fa8
Fedora (#5568)
PromoFaux Feb 4, 2024
f0878c0
Bump pytest from 7.4.4 to 8.0.0 in /test
dependabot[bot] Feb 4, 2024
3ba6ab5
Bump pytest from 7.4.4 to 8.0.0 in /test (#5566)
yubiuser Feb 5, 2024
5b75cb1
Bump tox from 4.12.1 to 4.13.0 in /test
dependabot[bot] Feb 17, 2024
b57cf27
Bump tox from 4.12.1 to 4.13.0 in /test (#5581)
yubiuser Feb 24, 2024
cb3e448
Bump pytest from 8.0.0 to 8.0.2 in /test
dependabot[bot] Mar 2, 2024
e03ddf5
Bump pytest from 8.0.0 to 8.0.2 in /test (#5598)
yubiuser Mar 2, 2024
0fdd959
Bump pytest-testinfra from 10.0.0 to 10.1.0 in /test
dependabot[bot] Mar 2, 2024
0597128
Bump pytest-testinfra from 10.0.0 to 10.1.0 in /test (#5579)
yubiuser Mar 2, 2024
9dd138b
Only use local files (file://) when they have explicit permissions a+r
DL6ER Mar 4, 2024
8042d9e
Bump tox from 4.13.0 to 4.14.1 in /test
dependabot[bot] Mar 9, 2024
eaa878e
Bump tox from 4.13.0 to 4.14.1 in /test (#5602)
yubiuser Mar 9, 2024
eb23fbf
Bump actions/checkout from 4.1.1 to 4.1.2
dependabot[bot] Mar 16, 2024
08dd321
Bump pytest from 8.0.2 to 8.1.1 in /test
dependabot[bot] Mar 16, 2024
7aab7d9
Bump tox from 4.14.1 to 4.14.2 in /test
dependabot[bot] Mar 23, 2024
f3af031
Merge pull request from GHSA-95g6-7q26-mp9x
PromoFaux Mar 27, 2024
3c7a6ce
Release 5.18 (#5615)
PromoFaux Mar 27, 2024
7442454
Sync master back into development (#5616)
PromoFaux Mar 27, 2024
eb7daf4
Fix file permission check in gravity.sh. Remove quotes that were adde…
PromoFaux Mar 27, 2024
32c640e
Remove double quotes that prevented _any_ local files from being read…
PromoFaux Mar 27, 2024
74a44ca
v5.18.1 (#5618)
PromoFaux Mar 27, 2024
7879f07
Sync master back into development (#5619)
PromoFaux Mar 27, 2024
d80fcf2
More checks when downloading from file:// scheme
orazioedoardo Mar 27, 2024
47998e1
Bump actions/checkout from 4.1.1 to 4.1.2 (#5604)
dschaper Mar 27, 2024
8cfccf9
More checks when downloading from file:// scheme (#5620)
dschaper Mar 28, 2024
81ad1a7
Bump eps1lon/actions-label-merge-conflict from 2.1.0 to 3.0.0
dependabot[bot] Mar 30, 2024
5490a6e
Release 5.18.2 (#5629)
PromoFaux Mar 31, 2024
9f5d4f0
Sync master back into development (#5630)
PromoFaux Mar 31, 2024
c69e0eb
Bump pytest from 8.0.2 to 8.1.1 in /test (#5607)
PromoFaux Apr 1, 2024
b32f778
Bump tox from 4.14.1 to 4.14.2 in /test (#5611)
PromoFaux Apr 1, 2024
26132fa
Bump eps1lon/actions-label-merge-conflict from 2.1.0 to 3.0.0 (#5626)
PromoFaux Apr 1, 2024
44703bb
Bump actions/checkout from 4.1.2 to 4.1.3
dependabot[bot] Apr 20, 2024
091a689
Bump actions/setup-python from 5.0.0 to 5.1.0
dependabot[bot] Apr 21, 2024
3cebb3f
Bump actions/checkout from 4.1.3 to 4.1.4
dependabot[bot] Apr 27, 2024
b5a7567
Bump pytest from 8.1.1 to 8.1.2 in /test
dependabot[bot] Apr 27, 2024
b33bbd7
Bump tox from 4.14.2 to 4.15.0 in /test
dependabot[bot] Apr 27, 2024
e6c15c3
Bump actions/checkout from 4.1.3 to 4.1.4 (#5640)
yubiuser Apr 27, 2024
c19bfb9
Bump pytest from 8.1.1 to 8.1.2 in /test (#5641)
yubiuser Apr 27, 2024
cb30943
Bump tox from 4.14.2 to 4.15.0 in /test (#5642)
yubiuser Apr 27, 2024
29d4ed1
Bump pytest-xdist from 3.5.0 to 3.6.1 in /test
dependabot[bot] May 4, 2024
976dc1c
Bump pytest-xdist from 3.5.0 to 3.6.1 in /test (#5647)
yubiuser May 4, 2024
9f7cd05
Bump pytest from 8.1.2 to 8.2.0 in /test
dependabot[bot] May 4, 2024
2371f43
Bump pytest from 8.1.2 to 8.2.0 in /test (#5648)
yubiuser May 4, 2024
c0cc9ba
Add Ubuntu 24.04 and Fedora 40, remove Fedora 38
yubiuser May 11, 2024
7426076
Bump eps1lon/actions-label-merge-conflict from 3.0.0 to 3.0.1
dependabot[bot] May 11, 2024
1812d9c
Bump eps1lon/actions-label-merge-conflict from 3.0.0 to 3.0.1 (#5655)
yubiuser May 11, 2024
f478913
Bump actions/checkout from 4.1.4 to 4.1.5
dependabot[bot] May 11, 2024
99e72f6
Bump actions/checkout from 4.1.4 to 4.1.5 (#5656)
yubiuser May 11, 2024
443c5e8
Bump actions/checkout from 4.1.5 to 4.1.6
dependabot[bot] May 18, 2024
dd64cf7
Bump actions/checkout from 4.1.5 to 4.1.6 (#5661)
yubiuser May 22, 2024
01e0c60
Bump pytest from 8.2.0 to 8.2.1 in /test
dependabot[bot] May 25, 2024
d15beff
Fix codespell
yubiuser May 25, 2024
741b9e1
Bump pytest from 8.2.0 to 8.2.1 in /test (#5665)
yubiuser May 25, 2024
70376c2
Bump eps1lon/actions-label-merge-conflict from 3.0.1 to 3.0.2
dependabot[bot] Jun 1, 2024
78bd872
Bump eps1lon/actions-label-merge-conflict from 3.0.1 to 3.0.2 (#5669)
yubiuser Jun 1, 2024
36f05cb
Bump pytest-testinfra from 10.1.0 to 10.1.1 in /test
dependabot[bot] Jun 1, 2024
3cf538e
Bump pytest-testinfra from 10.1.0 to 10.1.1 in /test (#5672)
yubiuser Jun 1, 2024
fdd5b5c
Bump actions/checkout from 4.1.6 to 4.1.7
dependabot[bot] Jun 15, 2024
1e6fe9c
Bump actions/checkout from 4.1.6 to 4.1.7 (#5686)
yubiuser Jun 15, 2024
97324ae
remove centos8 tests from development to prevent build fails (yes, I …
PromoFaux Jun 22, 2024
bfc2cf6
Bump tox from 4.15.0 to 4.15.1 in /test
dependabot[bot] Jun 22, 2024
548e142
Bump pytest from 8.2.1 to 8.2.2 in /test
dependabot[bot] Jun 22, 2024
2c497a9
Add protocol validation when downloading blocklist from URL
DL6ER Apr 30, 2024
4148f2c
tabs->spaces for editorconfig (Not sure how this has nto been caught …
PromoFaux Jul 5, 2024
be5a8dc
Pi-hole core v5.18.3 (#5694)
PromoFaux Jul 5, 2024
76d7863
remove development-v6 references from dependabot yml
PromoFaux Sep 2, 2024
3df0a6a
remove development-v6 references from dependabot yml (#5749)
PromoFaux Sep 2, 2024
3e8189e
Make install command copyable
jimbobbennett Sep 11, 2024
7128c18
Make install command copyable (#5763)
PromoFaux Sep 11, 2024
e8f4e39
Merge branch 'pi-hole:master' into master
DroidFreak32 Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@ updates:
target-branch: development
reviewers:
- "pi-hole/core-maintainers"
- package-ecosystem: pip
directory: "/test"
schedule:
interval: weekly
day: saturday
time: "10:00"
open-pull-requests-limit: 10
target-branch: development
reviewers:
- "pi-hole/core-maintainers"
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ jobs:
steps:
-
name: Checkout repository
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4.1.7
# Initializes the CodeQL tools for scanning.
-
name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: 'python'
-
name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
21 changes: 21 additions & 0 deletions .github/workflows/merge-conflict.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Check for merge conflicts"
on:
# So that PRs touching the same files as the push are updated
push:
# So that the `dirtyLabel` is removed if conflicts are resolve
# We recommend `pull_request_target` so that github secrets are available.
# In `pull_request` we wouldn't be able to change labels of fork PRs
pull_request_target:
types: [synchronize]

jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Check if PRs are have merge conflicts
uses: eps1lon/actions-label-merge-conflict@v3.0.2
with:
dirtyLabel: "PR: Merge Conflict"
repoToken: "${{ secrets.GITHUB_TOKEN }}"
commentOnDirty: "This pull request has conflicts, please resolve those before we can evaluate the pull request."
commentOnClean: "Conflicts have been resolved."
30 changes: 26 additions & 4 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,45 @@ on:
schedule:
- cron: '0 8 * * *'
workflow_dispatch:
issue_comment:

jobs:
stale:
env:
stale_label: stale

jobs:
stale_action:
if: github.event_name != 'issue_comment'
runs-on: ubuntu-latest
permissions:
issues: write

steps:
- uses: actions/stale@v5.1.1
- uses: actions/stale@v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30
days-before-close: 5
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.'
stale-issue-label: 'stale'
stale-issue-label: '${{ env.stale_label }}'
exempt-issue-labels: 'Internal, Fixed in next release, Bug: Confirmed, Documentation Needed'
exempt-all-issue-assignees: true
operations-per-run: 300
close-issue-reason: 'not_planned'

remove_stale:
# trigger "stale" removal immediately when stale issues are commented on
# we need to explicitly check that the trigger does not run on comment on a PR as
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#issue_comment-on-issues-only-or-pull-requests-only
if: ${{ !github.event.issue.pull_request && github.event_name != 'schedule' }}
permissions:
contents: read # for actions/checkout
issues: write # to edit issues label
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.7
- name: Remove 'stale' label
run: gh issue edit ${{ github.event.issue.number }} --remove-label ${{ env.stale_label }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

35 changes: 35 additions & 0 deletions .github/workflows/stale_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Close stale PR
# This action will add a `stale` label and close immediately every PR that meets the following conditions:
# - it is already marked with "merge conflict" label
# - there was no update/comment on the PR in the last 30 days.

on:
schedule:
- cron: '0 10 * * *'
workflow_dispatch:

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Do not automatically mark PR/issue as stale
days-before-stale: -1
# Override 'days-before-stale' for PR only
days-before-pr-stale: 30
# Close PRs immediately, after marking them 'stale'
days-before-pr-close: 0
# only run the action on merge conflict PR
any-of-labels: 'PR: Merge Conflict'
exempt-pr-labels: 'internal, never-stale, ON HOLD, WIP'
exempt-all-pr-assignees: true
operations-per-run: 300
stale-pr-message: ''
close-pr-message: 'Existing merge conflicts have not been addressed. This PR is considered abandoned.'
37 changes: 25 additions & 12 deletions .github/workflows/sync-back-to-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,36 @@ on:
branches:
- master

# The section is needed to drop the default write-all permissions for all jobs
# that are granted on `push` event. By specifying any permission explicitly
# all others are set to none. By using the principle of least privilege the damage a compromised
# workflow can do (because of an injection or compromised third party tool or
# action) is restricted. Adding labels to issues, commenting
# on pull-requests, etc. may need additional permissions:
#
# Syntax for this section:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
#
# Reference for how to assign permissions on a job-by-job basis:
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
#
# Reference for available permissions that we can enable if needed:
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
permissions: {}

jobs:
sync-branches:
# The job needs to be able to pull the code and create a pull request.
permissions:
contents: read # for actions/checkout
pull-requests: write # to create pull request

runs-on: ubuntu-latest
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4.1.7
- name: Opening pull request
id: pull
uses: tretuna/sync-branches@1.4.0
with:
run: gh pr create -B development -H master --title 'Sync master back into development' --body 'Created by Github action' --label 'internal'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FROM_BRANCH: 'master'
TO_BRANCH: 'development'
- name: Label the pull request to ignore for release note generation
uses: actions-ecosystem/action-add-labels@v1.1.3
with:
labels: internal
repo: ${{ github.repository }}
number: ${{ steps.pull.outputs.PULL_REQUEST_NUMBER }}
92 changes: 55 additions & 37 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,33 @@ jobs:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
-
name: Checkout repository
uses: actions/checkout@v3.0.2
-
name: Check scripts in repository are executable
run: |
IFS=$'\n';
for f in $(find . -name '*.sh'); do if [[ ! -x $f ]]; then echo "$f is not executable" && FAIL=1; fi ;done
unset IFS;
# If FAIL is 1 then we fail.
[[ $FAIL == 1 ]] && exit 1 || echo "Scripts are executable!"
-
name: Spell-Checking
uses: codespell-project/actions-codespell@master
with:
ignore_words_file: .codespellignore
-
name: Get editorconfig-checker
uses: editorconfig-checker/action-editorconfig-checker@main # tag v1.0.0 is really out of date
-
name: Run editorconfig-checker
run: editorconfig-checker
- name: Checkout repository
uses: actions/checkout@v4.1.7

- name: Check scripts in repository are executable
run: |
IFS=$'\n';
for f in $(find . -name '*.sh'); do if [[ ! -x $f ]]; then echo "$f is not executable" && FAIL=1; fi ;done
unset IFS;
# If FAIL is 1 then we fail.
[[ $FAIL == 1 ]] && exit 1 || echo "Scripts are executable!"

- name: Spell-Checking
uses: codespell-project/actions-codespell@master
with:
ignore_words_file: .codespellignore

- name: Get editorconfig-checker
uses: editorconfig-checker/action-editorconfig-checker@main # tag v1.0.0 is really out of date

- name: Run editorconfig-checker
run: editorconfig-checker

- name: Check python code formatting with black
uses: psf/black@stable
with:
src: "./test"
options: "--check --diff --color"

distro-test:
if: github.event.pull_request.draft == false
Expand All @@ -43,21 +47,35 @@ jobs:
strategy:
fail-fast: false
matrix:
distro: [debian_10, debian_11, ubuntu_18, ubuntu_20, ubuntu_22, centos_8, fedora_34]
distro:
[
debian_10,
debian_11,
debian_12,
ubuntu_20,
ubuntu_22,
ubuntu_23,
ubuntu_24,
centos_9,
fedora_39,
fedora_40,
]
env:
DISTRO: ${{matrix.distro}}
steps:
-
name: Checkout repository
uses: actions/checkout@v3.0.2
-
name: Set up Python 3.8
uses: actions/setup-python@v4.2.0
with:
python-version: 3.8
-
name: Install dependencies
run: pip install -r test/requirements.txt
-
name: Test with tox
run: tox -c test/tox.${DISTRO}.ini
- name: Checkout repository
uses: actions/checkout@v4.1.7

- name: Set up Python 3.10
uses: actions/setup-python@v5.1.0
with:
python-version: "3.10"

- name: Install wheel
run: pip install wheel

- name: Install dependencies
run: pip install -r test/requirements.txt

- name: Test with tox
run: tox -c test/tox.${DISTRO}.ini
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

The Pi-hole® is a [DNS sinkhole](https://en.wikipedia.org/wiki/DNS_Sinkhole) that protects your devices from unwanted content without installing any client-side software.

- **Easy-to-install**: our versatile installer walks you through the process and takes less than ten minutes
- **Easy-to-install**: our dialogs walk you through the simple installation process in less than ten minutes
- **Resolute**: content is blocked in _non-browser locations_, such as ad-laden mobile apps and smart TVs
- **Responsive**: seamlessly speeds up the feel of everyday browsing by caching DNS queries
- **Lightweight**: runs smoothly with [minimal hardware and software requirements](https://docs.pi-hole.net/main/prerequisites/)
- **Robust**: a command line interface that is quality assured for interoperability
- **Robust**: a command-line interface that is quality assured for interoperability
- **Insightful**: a beautiful responsive Web Interface dashboard to view and control your Pi-hole
- **Versatile**: can optionally function as a [DHCP server](https://discourse.pi-hole.net/t/how-do-i-use-pi-holes-built-in-dhcp-server-and-why-would-i-want-to/3026), ensuring _all_ your devices are protected automatically
- **Scalable**: [capable of handling hundreds of millions of queries](https://pi-hole.net/2017/05/24/how-much-traffic-can-pi-hole-handle/) when installed on server-grade hardware
Expand All @@ -33,7 +33,9 @@ The Pi-hole® is a [DNS sinkhole](https://en.wikipedia.org/wiki/DNS_Sinkhole) th

Those who want to get started quickly and conveniently may install Pi-hole using the following command:

### `curl -sSL https://install.pi-hole.net | bash`
```bash
curl -sSL https://install.pi-hole.net | bash
```

## Alternative Install Methods

Expand All @@ -60,7 +62,7 @@ Please refer to the [Pi-hole docker repo](https://github.com/pi-hole/docker-pi-h

## [Post-install: Make your network take advantage of Pi-hole](https://docs.pi-hole.net/main/post-install/)

Once the installer has been run, you will need to [configure your router to have **DHCP clients use Pi-hole as their DNS server**](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245) which ensures that all devices connecting to your network will have content blocked without any further intervention.
Once the installer has been run, you will need to [configure your router to have **DHCP clients use Pi-hole as their DNS server**](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245). This router configuration will ensure that all devices connecting to your network will have content blocked without any further intervention.

If your router does not support setting the DNS server, you can [use Pi-hole's built-in DHCP server](https://discourse.pi-hole.net/t/how-do-i-use-pi-holes-built-in-dhcp-server-and-why-would-i-want-to/3026); be sure to disable DHCP on your router first (if it has that feature available).

Expand All @@ -70,7 +72,7 @@ As a last resort, you can manually set each device to use Pi-hole as their DNS s

## Pi-hole is free but powered by your support

There are many reoccurring costs involved with maintaining free, open source, and privacy-respecting software; expenses which [our volunteer developers](https://github.com/orgs/pi-hole/people) pitch in to cover out-of-pocket. This is just one example of how strongly we feel about our software and the importance of keeping it maintained.
There are many reoccurring costs involved with maintaining free, open-source, and privacy-respecting software; expenses which [our volunteer developers](https://github.com/orgs/pi-hole/people) pitch in to cover out-of-pocket. This is just one example of how strongly we feel about our software and the importance of keeping it maintained.

Make no mistake: **your support is absolutely vital to help keep us innovating!**

Expand All @@ -87,7 +89,7 @@ If you'd rather not donate (_which is okay!_), there are other ways you can help
- [Hetzner Cloud](https://hetzner.cloud/?ref=7aceisRX3AzA) _affiliate link_
- [Digital Ocean](https://www.digitalocean.com/?refcode=344d234950e1) _affiliate link_
- [Stickermule](https://www.stickermule.com/unlock?ref_id=9127301701&utm_medium=link&utm_source=invite) _earn a $10 credit after your first purchase_
- [Amazon US](http://www.amazon.com/exec/obidos/redirect-home/pihole09-20) _affiliate link_
- [Amazon US](https://www.amazon.com/exec/obidos/redirect-home/pihole09-20) _affiliate link_
- Spreading the word about our software and how you have benefited from it

### Contributing via GitHub
Expand Down Expand Up @@ -132,9 +134,9 @@ Some of the statistics you can integrate include:

Access the API via [`telnet`](https://github.com/pi-hole/FTL), the Web (`admin/api.php`) and Command Line (`pihole -c -j`). You can find out [more details over here](https://discourse.pi-hole.net/t/pi-hole-api/1863).

### The Command Line Interface
### The Command-Line Interface

The [pihole](https://docs.pi-hole.net/core/pihole-command/) command has all the functionality necessary to fully administer the Pi-hole, without the need of the Web Interface. It's fast, user-friendly, and auditable by anyone with an understanding of `bash`.
The [pihole](https://docs.pi-hole.net/core/pihole-command/) command has all the functionality necessary to fully administer the Pi-hole, without the need for the Web Interface. It's fast, user-friendly, and auditable by anyone with an understanding of `bash`.

Some notable features include:

Expand All @@ -150,7 +152,7 @@ You can read our [Core Feature Breakdown](https://docs.pi-hole.net/core/pihole-c

### The Web Interface Dashboard

This [optional dashboard](https://github.com/pi-hole/AdminLTE) allows you to view stats, change settings, and configure your Pi-hole. It's the power of the Command Line Interface, with none of the learning curve!
This [optional dashboard](https://github.com/pi-hole/web) allows you to view stats, change settings, and configure your Pi-hole. It's the power of the Command Line Interface, with none of the learning curve!

Some notable features include:

Expand Down
8 changes: 1 addition & 7 deletions advanced/01-pihole.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

addn-hosts=/etc/pihole/local.list
addn-hosts=/etc/pihole/custom.list
addn-hosts=/etc/pihole/static-hostnames.list

domain-needed

Expand All @@ -29,13 +30,6 @@ bogus-priv

no-resolv

server=@DNS1@
server=@DNS2@

interface=@INT@

cache-size=@CACHE_SIZE@

log-queries
log-facility=/var/log/pihole/pihole.log

Expand Down
Loading