Commit Graph

3897 Commits (37e7cd5211516e87fe84e5b908b93ae9aee6e2d5)
 

Author SHA1 Message Date
Mark Drobnak d6756eb46b
Merge pull request #2730 from pvogt09/development
5 years ago
pvogt09 efbd42f7b5 Moves creation of pihole user before FTL installation
5 years ago
pvogt09 3f90261520 Moves chmod after every creation of ${destination} instead of end of function
5 years ago
Mark Drobnak ff5894d772
Merge pull request #2744 from pi-hole/fix/cron-job-errors-untagged
5 years ago
pvogt09 225285cb97 Removes chmod for ${source} and superfluous chmod for ${destination}
5 years ago
mpiederiet 3220e2b978
Fix for preventing git error message in cron logs
5 years ago
DL6ER 54ae458b61
Merge pull request #2733 from pi-hole/fix/debug-curl
5 years ago
pvogt09 e076db5a4e Changes ownership of macvendor.db to pihole
5 years ago
pvogt09 a3d2a1062f Makes blocklists world readable
5 years ago
pvogt09 2e6198077d chmod 644 adlists.list
5 years ago
Mark Drobnak 55ab3b2dc7
Merge pull request #2739 from pi-hole/new/stickermule_reflink
5 years ago
Mark Drobnak bdc8cf2bc8
Merge pull request #2738 from pi-hole/fix/untagged_version_fresh_install
5 years ago
Dan Schaper 74836bebe4
README StickerMule URL
5 years ago
DL6ER 95150a5d85
Clone twenty instead of only one commit when installing Pi-hole. This ensures that we clone at least one tagged commit in case we need to push changes to master.
5 years ago
pvogt09 4d23b3267f Adds X to chmod for git operations
5 years ago
pvogt09 e19adccd9c Moves chmod for /var/www/html into INSTALL_WEB_SERVER block
5 years ago
pvogt09 a25f331e83 Adds chmod 644 for /var/www and /var/www/html
5 years ago
pvogt09 69c06ba6fe Sets permissions for dnsmaq.conf
5 years ago
DL6ER 8abeb2204b
Merge pull request #2735 from pi-hole/fix/gravity-blocked-domain
5 years ago
Mcat12 ec06fd0ad4
Fix incorrect adlist query when an adlist is blocked during gravity
5 years ago
DL6ER a904c183df
Use printf to escape domain content. This prevents possible SQL injection issues
5 years ago
DL6ER 5246b3e496
Explicitly escape backslash in ESCAPE clause. This has been suggested by Stickler bot.
5 years ago
DL6ER f80fdd7e83
Improve comments
5 years ago
DL6ER 6ba58896d2
Simplify code
5 years ago
DL6ER 3aa838bbe4
Implement black- and whitelist searching with SQL statements. We use the ESCAPE clause in the LIKE query as the underscore "_" wildcard matches any single character but we want to suppress this behavior (underscores can be legitimate part of domains)
5 years ago
pvogt09 2c3a27e9c7 Replaces cp chmod with install and add read permission to repository files after checkout and pull
5 years ago
Dan Schaper 5532df24e4
Pi-hole Debug - tricorder upload function calls
5 years ago
DL6ER 0bc112ce52
Query only those columns we actually use when showing domains on the CLI. Show date of last modification instead of addition date for domains.
5 years ago
DL6ER d46ff1d2d7
Remove UNIQUE on gravity table as the only column is already PRIMARY KEY. Primary keys must contain UNIQUE values, and cannot contain NULL values
5 years ago
DL6ER 0cfecd31d3
Invert logic to reduce nesting
5 years ago
DL6ER 008e88b84b
Only migrate legacy list files when we create gravity.db in the same gravity run
5 years ago
DL6ER 2f698904e4
Use PRIMARY KEY instead of NOT NULL also in gravity and info tables
5 years ago
DL6ER 106f079afc
Improve indentation (single tab) in SQLite template
5 years ago
DL6ER 6c1e3a17f7
Remove NOT NULL constraint on list ids as this is implied by PRIMARY KEY (even though most, if not all, examples on the web still use both attributes at the same time)
5 years ago
DL6ER 540c57f755
Add comment for automigrated list entries
5 years ago
DL6ER 5e26e8245b
Order results of queries to list views by id key
5 years ago
DL6ER 983117d788
Add id (primary key, autoincrement) field to lists tables
5 years ago
DL6ER b372f808dd
Fix lint errors
5 years ago
DL6ER bc9b623638
Modify query.sh to use the gravity database
5 years ago
DL6ER d5781fb110
Fix extra space in front on END statement in CREATE TRIGGER commands
5 years ago
DL6ER 487718512d
Remove DISTINCT attribute from views. They are not needed as the corresponding data is obtained from fields with UNIQUE attribute so duplications are already prevented at domain insertion. The elimination of the duplication check on imort through the views slightly reduces the load during import (I observed about 8 percent time saved on my NanoPi NEO).
5 years ago
pvogt09 8a92fb24c4 Incorporates changes requested by @Mcat12
5 years ago
pvogt09 5c575e73c7 Adds world readable attribute to files created by Pi-hole to circumvent #2724
5 years ago
DL6ER 2180531a84
Add trigger for automatic updates of the date_modified column and improve formating in the gravity.db template
5 years ago
Mark Drobnak 6812e8880e
Merge pull request #2705 from pi-hole/fix/chronometer-refresh-arg
5 years ago
DL6ER a932209143
Set default for date_modified to be the current time
5 years ago
DL6ER 4946b5907b
Move migrated files to backup directory instead of deleting them. This has the benefit that gravity.db can be recreated at any time by: 1. deleting gravity.db, 2. copying all files from the migration_backup directory back to /etc/pihole, 3. running pihole -g again.
5 years ago
DL6ER efeba594ae
Add support for manipulating adlists from the CLI
5 years ago
Mark Drobnak b27e4c3dc3
Merge pull request #2725 from pi-hole/fix/get-ip-similar-subnets
5 years ago
DL6ER 5e1241acd2
Merge branch 'new/gravitydb' of github.com:pi-hole/pi-hole into new/gravitydb
5 years ago