]> git.ipfire.org Git - dbl.git/log
dbl.git
5 weeks agoBlacklist -> Blocklist
Michael Tremer [Sat, 6 Dec 2025 15:54:05 +0000 (15:54 +0000)] 
Blacklist -> Blocklist

Let's make this politically correct.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Add a simply way to download plaintext lists
Michael Tremer [Sat, 6 Dec 2025 15:48:35 +0000 (15:48 +0000)] 
dnsbl: Add a simply way to download plaintext lists

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agoconfigure: Require httpx
Michael Tremer [Sat, 6 Dec 2025 15:48:09 +0000 (15:48 +0000)] 
configure: Require httpx

To download stuff.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agoutil: Add a helper function to check if something is a valid FQDN
Michael Tremer [Sat, 6 Dec 2025 15:47:49 +0000 (15:47 +0000)] 
util: Add a helper function to check if something is a valid FQDN

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Add domains to sources and add export command
Michael Tremer [Fri, 5 Dec 2025 17:56:14 +0000 (17:56 +0000)] 
dnsbl: Add domains to sources and add export command

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: sources: Use the new db methods to fetch sources
Michael Tremer [Fri, 5 Dec 2025 17:27:04 +0000 (17:27 +0000)] 
dnsbl: sources: Use the new db methods to fetch sources

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Create a command to update a list
Michael Tremer [Fri, 5 Dec 2025 17:25:25 +0000 (17:25 +0000)] 
dnsbl: Create a command to update a list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodatabase: Make the backend available to all objects
Michael Tremer [Fri, 5 Dec 2025 17:24:36 +0000 (17:24 +0000)] 
database: Make the backend available to all objects

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Add a command to show all lists
Michael Tremer [Fri, 5 Dec 2025 17:06:17 +0000 (17:06 +0000)] 
dnsbl: Add a command to show all lists

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Add a command to show information about a list
Michael Tremer [Fri, 5 Dec 2025 16:31:58 +0000 (16:31 +0000)] 
dnsbl: Add a command to show information about a list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Add our own database abstraction
Michael Tremer [Fri, 5 Dec 2025 16:31:22 +0000 (16:31 +0000)] 
dnsbl: Add our own database abstraction

Otherwise we would have to carry session objects around which makes the
code incredibly messy.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Align the naming of the "list-create" command
Michael Tremer [Fri, 5 Dec 2025 16:00:08 +0000 (16:00 +0000)] 
dnsbl: Align the naming of the "list-create" command

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Add a command to add a source to a list
Michael Tremer [Fri, 5 Dec 2025 15:59:02 +0000 (15:59 +0000)] 
dnsbl: Add a command to add a source to a list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Add a command to create a new list
Michael Tremer [Fri, 5 Dec 2025 15:37:09 +0000 (15:37 +0000)] 
dnsbl: Add a command to create a new list

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodb: Create a simple database schema for lists and sources
Michael Tremer [Fri, 5 Dec 2025 15:36:23 +0000 (15:36 +0000)] 
db: Create a simple database schema for lists and sources

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agoconfigure: Add check for Python modules
Michael Tremer [Fri, 5 Dec 2025 15:35:22 +0000 (15:35 +0000)] 
configure: Add check for Python modules

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Log any SQL statements when in debug mode
Michael Tremer [Fri, 5 Dec 2025 15:34:37 +0000 (15:34 +0000)] 
dnsbl: Log any SQL statements when in debug mode

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodb: Create an empty schema
Michael Tremer [Fri, 5 Dec 2025 14:49:06 +0000 (14:49 +0000)] 
db: Create an empty schema

This also adds a tool to dump the schema easily.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Connect to the PostgreSQL database
Michael Tremer [Fri, 5 Dec 2025 14:42:49 +0000 (14:42 +0000)] 
dnsbl: Connect to the PostgreSQL database

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Load a default configuration file
Michael Tremer [Fri, 5 Dec 2025 14:42:35 +0000 (14:42 +0000)] 
dnsbl: Load a default configuration file

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Add a dummy "update" command
Michael Tremer [Fri, 5 Dec 2025 14:29:30 +0000 (14:29 +0000)] 
dnsbl: Add a dummy "update" command

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agodnsbl: Create a basic Backend module and CLI util
Michael Tremer [Fri, 5 Dec 2025 14:16:14 +0000 (14:16 +0000)] 
dnsbl: Create a basic Backend module and CLI util

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agoconfigure: Fix copyright header
Michael Tremer [Fri, 5 Dec 2025 13:37:46 +0000 (13:37 +0000)] 
configure: Fix copyright header

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agoconfigure: Require Python 3.13
Michael Tremer [Fri, 5 Dec 2025 13:32:24 +0000 (13:32 +0000)] 
configure: Require Python 3.13

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
5 weeks agoconfigure: Create some basic build system
Michael Tremer [Fri, 5 Dec 2025 13:32:41 +0000 (13:32 +0000)] 
configure: Create some basic build system

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>