Commit Graph

26 Commits (4d25f695267590b61a4061f9bb43448005d99b85)

Author SHA1 Message Date
DL6ER 7cc35d3b04
Add update to gravity database version 12, renaming the Unassociated group to Default group.
4 years ago
DL6ER 92aa510bda
Add timestamps and comment fields to clients. This updates the gravity database to version 11.
4 years ago
DL6ER 633e56e8a9
Add gravity database 9->10 update script.
4 years ago
Adam Warner c944f6a320
Add a new migration script to fix the previous one
4 years ago
DL6ER e589e665a7
Also add date_added and date_modified fields to group table.
4 years ago
DL6ER b32b5ad6e9
Update gravity database to version 8. This enforces uniqueness on the group name.
4 years ago
DL6ER f0439c8d12
Add special group zero to gravity database.
4 years ago
DL6ER f482156cca
Merge branch 'development' into new/internal-blocking
5 years ago
DL6ER a1f120b2ff
Address stickler's complaint
5 years ago
DL6ER 185319d560
Unite four domain tables into a single domainlist table.
5 years ago
DL6ER 037d52104a
New command "pihole -g -r" recreates gravity.db based on files backed up in /etc/pihole/migration_update. This is useful to restore a working version of the database when the user destroyed the original database. Also, update gravity.db to version 5 because of a fix we needed to implement.
5 years ago
DL6ER d883854aad
Use constant for long path.
5 years ago
DL6ER 756c99653e
Merge branch 'development' into new/internal-blocking
5 years ago
DL6ER 2e0370367c
Print when we upgrade gravity database version. This will make possibly failed upgrades easier to debug.
5 years ago
DL6ER ffc91a6c81
Update view vw_gravity to only return domains from enabled adlists.
5 years ago
DL6ER a8af2e1837
Store domains without sorting and unifying them first. This allows us to preserve the relationship of the individual domains to the lists they came from.
5 years ago
DL6ER 1820c2c598
Merge branch 'development' into new/whitelist-regex-support
5 years ago
DL6ER 5ff9052200
Review comments
5 years ago
DL6ER 054c7a2c05
Create new table + view regex_whitelist + rename old regex table to regex_blacklist. This updates the gravity.db version to 3.
5 years ago
DL6ER 8382f4d727
Rename table to domain_audit and simplify subroutine addAudit().
5 years ago
DL6ER be3e198f9a
Address linting errors.
5 years ago
DL6ER acc50b709e
Only migrate files once (domain and adlist lists druing initial creation of gravity.db auditlog.list on database upgrade from version 1 to 2.
5 years ago
DL6ER efe8216445
Fix further stickler complaint.
5 years ago
DL6ER 0405aaa3da
Review comments and fixing stickler complaints.
5 years ago
DL6ER 4f4a12bb40
Upgrade database if necessary and store audit domains therein.
5 years ago
DL6ER 1dbe6c83c3
Add database upgrading mechanism for adding the audit table.
5 years ago