Commit Graph

129 Commits (development-v6)

Author SHA1 Message Date
DL6ER b5ab8ac198
Change UNIQUEness constraint from (address) to (address, type) in the adlist table. This will allow certain adlists to be associated to different groups. A possible scenario is an adlist meant to block a specific service (e.g. Twitter, Youtube, etc.). It can then either be used to ensure these services are really blocked on the devices of group A but will never be blocked on devices of group B.
4 months ago
DL6ER 0066c6fbff
Make IDs of anti-/gravity lists available in vw_(anti)gravity
5 months ago
Christian König a87d1bbc4f Remove pihole.sudo
6 months ago
Christian König d77dbf736c
Logrotate config file needs to be owned by root
8 months ago
Christian König 40c75289b5
Allow pihole to access subdirs in /etc/pihole
8 months ago
Adam Warner 69a264a3c2
Add antigravity support to gravity (#5330)
8 months ago
Christian König 3c693c1da5
Apply suggestions from code review
10 months ago
Christian König 7bb0ca59d1
Remove traces of /run/pihole
10 months ago
Christian König 587a2a1c04
# allow all users to enter der directories
10 months ago
Christian König c360743d41
Re-add file/folder permissions
10 months ago
Christian König a3ea2cd8c3
User pihole should be allowed to edit all its files
10 months ago
Christian König 5ae0405446
Ensure pihole-FTL can write custom.list
10 months ago
DL6ER 375d4d9bc1
Add type as new field of view vw_adlist
11 months ago
DL6ER 00cbb8bc8a
Add antigravity support to gravity
11 months ago
DL6ER 64319fa96e
Add /var/log/pihole/webserver.log to the logrotate scripts. While it may be empty for most, it can grow quickly if either API or TLS debugging is enabled (it can quickly reach several hundreds of MB per day when debugging TLS)
11 months ago
Adam Warner c557f29db2
Set new gravity database version to 16, which was missed in 5459daa
11 months ago
DL6ER 5459daa03d
Add abp_entries column (default 0) to the adlist table for newly created gravity databases. This updates the gravity database version to 16
12 months ago
DL6ER c92826c152
Do not copy info table during pihole -g
1 year ago
Christian König 9e47b61c8f
Apply suggestions from code review
1 year ago
Christian König f713b14ba0
Cleanup if startup failed
2 years ago
Adam Warner ff5ee29566
Add native systemd service (#4924)
2 years ago
MichaIng 81927334f2
Add native systemd service
2 years ago
Christian König 18d28533eb
Update local and remote versions at the same time
2 years ago
Christian König 3d01e4d0cf No detour - use pihole-FTL.conf to get the API port number
2 years ago
Peter Russell 951b4ed002
Remove cronjob that checks local versions every 10 minutes - only check when required (#4939)
2 years ago
Dan Schaper 989c52ef24
Exit with return code if ftl does not start
2 years ago
Christian König 3327df8d9c
Ensure user defined FTL_PID_FILE and FTL_PORT_FILE dirs are created on startup
2 years ago
Christian König 7b77d991df
Move FTL port and PID functions to utils.sh
2 years ago
DL6ER 98c238064e
Change FTL's default log file path from /var/log/pihole/pihole-FTL.log to /var/log/pihole/FTL.log
2 years ago
Christian König 954a0c2a14
Remove read permission for others on senible log files
2 years ago
yubiuser 3fa8f76d99
Combine mkdir in service file
2 years ago
Christian König ce8731b746
no-dereference
2 years ago
Christian König 08faf21b2e
Set file owner and permission to symlinks
2 years ago
Christian König 2dd08f070e
Fix copy&paste error
2 years ago
Christian König 0961103933
Add backward compatibility to FTL service by creating symlinks
2 years ago
Adam Warner 36dd533ef3 use directory /var/log/pihole/ for log storage
2 years ago
yubiuser 0decc1252b
Respect user configurable path for pid and port file in pihole-FTL.service (#4680)
2 years ago
Dan Schaper b714c4598a
Found it.
2 years ago
Dan Schaper 0f192998eb
Create empty files.
2 years ago
Dan Schaper 8a5c7dec71
Ensure existing files are proper owner and mode.
2 years ago
DL6ER 74d7d10554
Orphans need to be deleted in the old database
2 years ago
DL6ER 5bb79de70b
Clean possible leftovers in domainlist_by_group, adlist_by_group, and client_by_group before copying from database base to avoid foreign key violations.
2 years ago
yubiuser c6a2a6f739
Install pihole-FTL.conf template on fresh installation (#4496)
2 years ago
DL6ER d03aa0c0c7
Merge pull request #4379 from pi-hole/tweak/vw_adlist
3 years ago
yubiuser 3c41ec08a3
Set file permission for querie database in pihole-FTL.service (#4328)
3 years ago
Christian König b30d729aa4 Simplify vw_adlist
3 years ago
Adam Warner 62f29ba3fa
Merge branch 'release/v5.4' into development
3 years ago
DL6ER a1ee7d92a9
Add possibly missing capabilities
3 years ago
Adam Warner c88c943cda
Merge branch 'release/v5.4' into dev-release5.4
3 years ago
DL6ER 43b88cd628
Merge pull request #4236 from MichaIng/patch-4
3 years ago