Fetch CITTI Lübeck offers from the Tjek API (German dealer 3czmZx only — never the Danish Flensburg booklet) and surface them in the app. - New offers + offer_meta tables; defensive hotspots parser; upsert by offer id, prune per re-fetched catalog while preserving picked rows - Daily in-process refresh scheduler (data.db lives on the app's own Nomad alloc disk, so a separate periodic job can't share it) plus a manual POST /api/offers/refresh and an "Opdater" button - /tilbud page: browse all offers by catalog, search, EUR + DKK, and tick offers onto the shopping list; picks appear in a Lübeck-tilbud section on the main list and check off as bought via the existing /api/price - Match the fixed catalog items against current offers and show a "på tilbud" badge with the matched offer name (conservative word- boundary token match, >=2 tokens for multi-word names) - Dockerfile: add ca-certificates for urllib HTTPS to the Tjek API
31 KiB
31 KiB