Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Automated Petition Expiry & Reminders (Watcher Service)

Đang mở
#66 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@zakriya057 đang làm issue này rồi.

Từ ngày 11/12/2025.

  • #113 của @zakriya057 — đang mở

Đánh giá

Issue này chưa được đánh giá.

Mô tả

New feature

Description Implement a background Cron Job ("Smart Watcher") to manage stale petitions.

Technical Implementation:

Schema: Create a Petition_Monitors table (FK to petitions) to store
stage_entered_at and reminder_count(how many times email has been sent) Whenever the status of the petition is changed the table of Petiton_Monitor will be reset.

Cron Job: Runs hourly or after every 5 hours or once per day to either inform the user or delete petition.
In consts.py we will write the rules for every status -> how many times user should be informed at this stage. i.e When approver asks for a revision and supervisor hasn't done the changes he should be informed more times before deleting the petition instead of a student.
We will control the number of times the user is informed from consts.py so we can change it later. If the threshold is met petition will be deleted by the watcher and everyone will be informed about this.

Ngôn ngữ chính
Python
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ClockGU/clockwork-backend

Tất cả issue của ClockGU/clockwork-backend

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.