Commit Graph

55 Commits

Author SHA1 Message Date
105a9d4253 Handle naive datetime in database with custom database field 2026-02-01 01:27:48 +01:00
870a1b9f00 Improve error handling and logging 2026-02-01 00:31:16 +01:00
89e63858a0 Add reload function to OpenRC init script 2026-01-24 04:03:51 +01:00
e365fa7d77 Change README.md and config.example.toml 2026-01-24 04:03:26 +01:00
b97eb0404c Improve timezone handling, db models convert naive/timezone-aware 2026-01-24 02:27:57 +01:00
07e37e525c Use db model hostname validation in cli and improve exception handling 2026-01-24 00:46:48 +01:00
cde4b879c1 Add missing docstrings and examples 2026-01-23 23:07:25 +01:00
255c0ad1dd Shutdown daemon gracefully 2026-01-23 22:26:46 +01:00
a1e3ee1770 Add config reload via SIGHUP 2026-01-23 22:21:34 +01:00
bd0c930060 Add documentation about datetime handling 2026-01-23 22:15:25 +01:00
2123b5169b Change _process_ip_update to always return a set of three values 2026-01-23 22:11:43 +01:00
5bb37fde71 Remove duplicate config defaults in ratelimit.py 2026-01-23 22:08:20 +01:00
444db3f190 Add hostname validation to database model 2026-01-23 22:07:34 +01:00
8b186d6e95 Return status constants instead of strings 2026-01-23 21:25:33 +01:00
faa1e4afd5 Add thread_pool_size and request_timeout config settings 2026-01-23 21:20:57 +01:00
6c382ae60c Use MariaDB connection pooling instead of single connection 2026-01-23 21:15:42 +01:00
2381d2e1d2 Change to peewee DatabaseProxy to handle different DB types 2026-01-23 21:12:15 +01:00
feb4a67291 Use proper SQL concatenation 2026-01-23 19:41:37 +01:00
f0b924ea56 Use context manager for SMTP 2026-01-23 19:40:58 +01:00
6c4b876191 Improve error handling during cleanup 2026-01-23 19:40:01 +01:00
ff48f7b016 Change README.md 2026-01-23 02:02:53 +01:00
65760b1d96 Start ratelimit cleanup thread before expired hostnames cleanup thread 2026-01-23 01:43:58 +01:00
1fd14ebbed Log notify_change boolean value lowercase 2026-01-23 01:33:52 +01:00
4bf325ef27 Add notify_change to log and Date header to email notifications 2026-01-23 01:29:16 +01:00
5744408c92 Add URL parameter to enable notification of IP changes 2026-01-23 00:51:30 +01:00
9f75e5e66b Switch to UTC timestamps, output in local time 2026-01-22 23:56:07 +01:00
9c7f4dfd1a Store timestamps in UTC and print in localtime 2026-01-22 21:56:12 +01:00
4bcd9f2a7f Fix README.md and config.example.toml 2026-01-22 20:33:12 +01:00
f879532755 Generate email content from ninja2 templates 2026-01-22 20:23:13 +01:00
453ef1ba80 Add dependency on jinja2 2026-01-22 18:18:56 +01:00
9860954cf7 Call send_expiry_notification with single arguments instead of tuples 2026-01-22 17:57:00 +01:00
04114ab659 Refactor rate limiter and datetime formatting 2026-01-22 02:24:03 +01:00
f297a8d740 Cleanup 2026-01-22 00:36:48 +01:00
cb476c0a1a Fix Gentoo ebuild 2026-01-21 23:51:15 +01:00
b75ed24f14 Fix permissions on config dir and file in README.md and Gentoo ebuild 2026-01-21 23:47:46 +01:00
884d64270e Fix typo in Gentoo ebuild 2026-01-21 23:43:32 +01:00
a167361529 Fix permissions on config file in README.md and Gentoo ebuild 2026-01-21 23:42:13 +01:00
08d323d655 Fix permissions on log dir in README.md and Gentoo ebuild 2026-01-21 23:34:58 +01:00
fb3fd8059b Change README.md and Gentoo ebuild 2026-01-21 22:47:53 +01:00
ffaf038123 Overall improve DB migration and fix SQLite index migration 2026-01-21 21:35:33 +01:00
cc40c33dc9 Fix database scheme and introduce automatic database migration 2026-01-19 23:22:16 +01:00
6fb38a795c Remove build.sh 2026-01-19 09:43:02 +01:00
00a12cc257 Rename OpenRC init script and confd file and add Gentoo ebuild 2026-01-19 01:16:04 +01:00
86fda89d8a Cleanup README.md and fix path in systemd service file 2026-01-18 22:24:50 +01:00
197415de22 Change database log messages to loglevel DEBUG 2026-01-18 21:18:23 +01:00
284442bb31 Add version table in preparation for future DB upgrades 2026-01-18 20:37:03 +01:00
66963b6634 Fix logging behaviour 2026-01-18 20:18:55 +01:00
4ee6f4e1cd Change default value of dns_server and mention that it has to be an IP 2026-01-18 20:07:10 +01:00
6c8a1999eb Remove dependency on dns-manager and use dnspython directly instead 2026-01-18 17:54:58 +01:00
5570bab736 Change default log file location 2026-01-18 15:26:53 +01:00