DevCom-IITB / DevCom-IITB/instiapp-api

News with publish_date in future

Open
#438 1 comment 0 reactions 0 assignees View on GitHub
priority2: important sec: news-feed severity3: broken type: bug/fix
Dominant language
Python
Stars
26
Forks
77
PR merge metrics
No merged PRs in 30d

Description

Blogs with publish_date in future should not be shown/notified.

A simple fix is to not send news items with future publish_date, but this may still send notifications for those blogs as that is decided in news chore. A better fix would be to ignore new entries in news chore.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the news chore and the code that handles blog publish_date values, then compare where news items are shown with where notifications are sent. Done means future-dated blog entries are ignored by the news chore and neither displayed nor notified; verify both paths with the existing test suite, if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.