Skip to content

1.5.4

🛡 Patch 1.5.4 — Webhook forwarding & Cron UI fix

🚀 New Features

  • Frontend: Cron dialog now includes a discordWebhook field and forwards it when starting cron tasks.

🔧 Improvements

  • Frontend: BaseArticles CronDialog now passes discordWebhook and onDiscordWebhookChange props to the CronDialog, ensuring the webhook is included in startCronJob calls.
  • Backend: cron_job_wrapper now accepts and forwards discord_webhook into background recalculation tasks so the background worker can post summaries to Discord.
  • Reworked notify_clients to include started_at and finished_at timestamps, and success boolean so frontend shows clearer status indicators.

🐛 Bug Fixes

  • Fixed bug where cron runs did not include the discord_webhook value from the UI — caused background recalculation to skip webhook posting.

Files changed

  • frontend/src/pages/MultiRepricer/Tabs/BaseArticles/BaseArticles.jsx
  • backend/service_multi-repricer/app/api/v1/endpoints/repricer_articles.py
  • backend/service_multi-repricer/app/notifications.py

Notes for operators

  • After deploying frontend changes, user-started cron jobs will include the configured Discord webhook and the backend will post a summary message after the base recalc/export completes.