gitea
gitea copied to clipboard
Send email notifiation to addigned user on due-date
Feature Description
It would be nice for an assigned user to get an external notification (like email) on the issue due date. Currently it is easy to miss due dates unless specifically looking for them.
Any updates?
We need an event like OnProjectDueDate
which should be checked on a cron job.
Is there an example of something similar having been done in the codebase? I might try doing this.
Although something that immediately pops into my mind are performance implications.
You can try like this
- [ ] Define a new notification method here https://github.com/go-gitea/gitea/blob/main/services/notify/notifier.go
- [ ] Implement this method in https://github.com/go-gitea/gitea/blob/main/services/mailer/notify.go
- [ ] Add a new method in https://github.com/go-gitea/gitea/blob/main/services/notify/notify.go & https://github.com/go-gitea/gitea/blob/main/services/notify/null.go
- [ ] Create a cron task https://github.com/go-gitea/gitea/blob/main/services/cron/tasks_extended.go to check the due date and invoke above notifications.