Email task needs to send html content to admin users. When sending html, django email also has to submit text content since Sendgrid email service doesn't accept empty text email.
How to Test
In develop branch:
cd tdrs-frontend && docker-compose -f docker-compose.yml -f docker-compose.local.yml up -d
cd tdrs-backend && docker-compose -f docker-compose.yml -f docker-compose.local.yml up -d
Change email cron job to run every minute in settings by changing minutes and hours to '*'
[x] OFA System Admin and OFA Admin receives one email per day (ideal run time between 0100-0200 UTC) presenting a count of all users with an "Access Request" status as of that day. Prototype in notes.
-[ ] Django Admin console has additional filter to show timestamp of when a user's status changed to, "Access request"not needed
[x] Testing Checklist has been run and all tests pass
[ ] README is updated, if necessary
[x] lfrohlich and/or adpennington confirmed that ACs are met.
Summary of Changes
Pull request closes #2687 _
Email task needs to send html content to admin users. When sending html, django email also has to submit text content since Sendgrid email service doesn't accept empty text email.
How to Test
In develop branch:
Change your branch to current PR branch and verify you can receive the email.
Deliverables
More details on how deliverables herein are assessed included here.
Deliverable 1: Accepted Features
Checklist of ACs:
OFA System Admin
andOFA Admin
receives one email per day (ideal run time between 0100-0200 UTC) presenting a count of all users with an "Access Request" status as of that day. Prototype in notes. -[ ] Django Admin console has additional filter to show timestamp of when a user's status changed to, "Access request"not neededlfrohlich
and/oradpennington
confirmed that ACs are met.Deliverable 2: Tested Code
CodeCov Report
comment in PR)CodeCov Report
comment in PR)Deliverable 3: Properly Styled Code
Deliverable 4: Accessible
iamjolly
andttran-hub
using Accessibility Insights reveal any errors introduced in this PR?Deliverable 5: Deployed
Deliverable 6: Documented
Deliverable 7: Secure
Deliverable 8: User Research
Research product(s) clearly articulate(s):