From 63bbb2795ab5431b5b5fb00aeec3bcdbfe2f97df Mon Sep 17 00:00:00 2001 From: hoelee Date: Sun, 13 Sep 2026 18:22:58 +0800 Subject: [PATCH] Drop IgnoredKeywords.search_url column; resolve URL via watch link The search_url Lookup column is redundant: the watch Link -> Settings row already defines the association. Remove handling for the column: - _ensure_keyword_watch_link() no longer creates a Lookup; deletes any legacy search_url (URL or Lookup type) on bootstrap - load_ignored_keywords(kw_tid, settings_tid) resolves Settings.url via the watch link, one Settings fetch per cycle (no N+1) - send_pending_notifications passes settings_tid through - Add COMPOSE-SETUP.md: detail documentation for the compose stack (topology, compose block-by-block, Dockerfile, healthcheck, deploy paths, troubleshooting); referenced from README + DOCUMENTATION.md --- AGENTS.md | 13 ++- COMPOSE-SETUP.md | 249 +++++++++++++++++++++++++++++++++++++++++++++++ DOCUMENTATION.md | 19 ++-- README.md | 4 +- monitor.py | 82 ++++++++-------- 5 files changed, 305 insertions(+), 62 deletions(-) create mode 100644 COMPOSE-SETUP.md diff --git a/AGENTS.md b/AGENTS.md index 827a5c1..b4da179 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -10,9 +10,9 @@ from the server-rendered `