Commit Graph

544 Commits (development-v6)

Author SHA1 Message Date
Adam Warner 200a82acfb
Merge development into development-v6
1 week ago
Dominik 91e0d668e0
Code style: Use explicit form of CLI arguments
2 months ago
DL6ER b595b3b5f4
Port most recent changes of PRs #5615, #5618 amd #5620 to v6
2 months ago
Orazio d80fcf2e62
More checks when downloading from file:// scheme
2 months ago
Adam Warner eb7daf4d2c
Fix file permission check in gravity.sh. Remove quotes that were added after complaints from shellcheck, this stopped the comparisson from working
2 months ago
DL6ER 8fb3a594eb
Merge branch 'development-v6' into fix/gravity_domain
2 months ago
DL6ER 9dd138b033
Only use local files (file://) when they have explicit permissions a+r
2 months ago
DL6ER bcb712b6e3
Fix accidential double -ni from one of the last PRs
3 months ago
DL6ER 8b3469cabc
Merge branch 'development-v6' into development-v6-merge-development
3 months ago
yubiuser aca7b31b83
Remove local.list and openVPN traces (#5480)
3 months ago
Adam Warner f193edd428
Merge branch 'development' into development-v6-merge-development (resolved conflicts)
3 months ago
DL6ER 8e8c7ecad2
Run gravity upgrade on checkout/update
5 months ago
DL6ER 0066c6fbff
Make IDs of anti-/gravity lists available in vw_(anti)gravity
5 months ago
DL6ER 3f7413d538
Add "-ni" to all sqlite3 invocations
5 months ago
DL6ER c90a27c509
Add "-ni" to all sqlite3 invocations
5 months ago
DL6ER 29d010dc2c
Use files.gravity_tmp as temporary directory for the intermediate lists
6 months ago
DL6ER c785667efe
Trim leading and trailing spaces and tabs in upstream servers (if any)
6 months ago
DL6ER cc333f79cc
Check if this domain is blocked by Pi-hole but only if the domain is not a local file or empty
6 months ago
DL6ER df7633bd1b
Add missing value for ${gravityDBfile_default}
6 months ago
DL6ER 4efcdf1189
Add missing double quotes to prevent globbing and word splitting
6 months ago
DL6ER f16cf71781
${PIHOLE_DNS_1} is gone, use the first server from pihole-FTL --config dns.upstreams instead
6 months ago
DL6ER 19d3489bcb
gravity_DownloadBlocklistFromUrl needs ${domain} but it was declared local before and was not passed as argument, making gravity currently depend on undefined behavior. It seems to be working well in the vast majority of cases, however, it seems we have at least one report where it is not working.
6 months ago
Christian König de6e61705e
Remove local.list and openVPN traces
6 months ago
Christian König fd8fdd3513
Use suffixed temp file
7 months ago
DL6ER 7523c49f62
Swapping the databases must be the last step before the cleanup. Otherwise, FTL may be reloading from an only partially completed database causing spurious errors and/or warnings.
7 months ago
RD WebDesign 27522fbc18
Add a final message to gravity
7 months ago
Adam Warner aba41b45b0
Some verbiage change to outputs
8 months ago
DL6ER f19a56cf87
Merge branch 'development-v6' into new/antigravity
8 months ago
Christian König cdc1c1ace1
Remove user agent when downloading adlists
9 months ago
Christian König eca84e0986
Remove user agent when downloading adlists
9 months ago
DL6ER 2a03671fb9
Reinstall gravity cleanup on error
10 months ago
DL6ER 35512c4dc9
Fix adlist.list migration step failing during tests
10 months ago
DL6ER 00cbb8bc8a
Add antigravity support to gravity
10 months ago
Adam Warner a3bb3872bf
adlist table now contains 11 columns, not 10.
11 months ago
Christian König 7351a4d3b1
Merge branch 'development' into development-v6
12 months ago
DL6ER 6c302c9bc8
Adlist properties need to be stored in the new ("temp") database rather than the old.
12 months ago
Adam Warner ea748822ef
REVISIT: I don't _think_ this line is nessacery. Why should gravity restart FTL if it is offline? It might be offline on purpose.
12 months ago
Adam Warner a91eb48d48
Remove some code from gravity that gets values from setupVars.conf / pihole-FTL.conf - use getFTLConfigValue from utils.sh instead
12 months ago
Adam Warner cd17040f95
setupVars.conf not existing is no longer a critical error
12 months ago
Adam Warner dbc6b814b2
Should not need to reloadDNS manually any more as FTL will detect that it needs to reload by itself
12 months ago
DL6ER 3695610300
Allow running pihole -g without root (run as user pihole)
12 months ago
DL6ER 73733308ba
Use parseList function offered by pihole-FTL
1 year ago
Christian König eaded9fdb1
Remove forgotten variables
1 year ago
Christian König a3e610dbf2
Don't use '--suffix' in mktemp
1 year ago
yubiuser cd638b102f
Filter ABP CSS selectors (#5247)
1 year ago
Christian König dd3a7a4edb
Only delete lines containing separator when preceded by a letter to reduce false positiv (deleting valid comments)
1 year ago
Christian König d10d59303e
There is no ! but an $ rule
1 year ago
Christian König aaf828117d
Remove unecessary $cmd_ext
1 year ago
Christian König 9c4e74ffa7
Remove special handling of pgl.yoyo.org
1 year ago
Christian König 2a0f720153
Don't delete lines containing `/` as they should count as invalid
1 year ago