impactoss / impactoss-server

IMPACT OSS - server-side application & API
https://demo.impactoss.org
MIT License
3 stars 8 forks source link

Notify category manager when progress report updated #399

Closed parndt closed 6 months ago

parndt commented 6 months ago

Resolves #397 by sending an email to each category manager when a progress report in their category is updated.

parndt commented 6 months ago

@tmfrnz can you take another look at this please?

tmfrnz commented 6 months ago

thank you @parndt, while i am still seeking clarification (if this is limited to changes by the assigned contributor and if this should be limited to draft reports), this looks pretty good and it appears the job is running on our dev site (both for newly created and updated reports) where I deployed this (although for some reason the actual email was not sent using SES - investigating...)

tmfrnz commented 6 months ago

@parndt happy to let you know that the app successfully triggered a notification thanks! 🥳

(it still failed due to an SMTP Authentication Error on our dev instance but that is something that I should be able to work out)

tmfrnz commented 6 months ago

emails have now been successfully delivered