-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Batch Email Notifications #1019
Comments
samvera/hyrax#5212 may be of interest |
QA RESULTS: Needs Rework ❌We will come back to check if an email got sent tomorrow. We triggered the notifications today and set the frequency to daily. re: PENDINGWe can see the BatchEmailNotificationJob waiting to be run in /jobs : : |
Perhaps hyku-demo wasn't set up right. Emails are received when tested using on hyku-staging: |
QA RESULTS: PASS ✅Tested on: PALS KNAPSACK STAGING I will check maildev in 24 hrs. UPDATE: The email appeared: |
cc @ndroark our staging mailer caught your batch email request: |
It looks like all mail for demo.palni-palci-staging.notch8.cloud is sandboxed to the "staging mailer" you describe above. How do I get credentials for a new user in the tenant? When I create and activate a new user, I don't see a way for the user to reset their password, nor for an admin to set their password. How do I have a user review the email notifications once created? |
You would need assistance with all the above requests because of the mailer interception. As a workaround, when you create a user an admin user can "activate" the user and it'll set the password to Otherwise you can let us know what tenant/emails you are expecting and we can check it for you and screenshot the email for your review or approval. |
@ctgraham I just checked the mail server and see 2 emails. click on the links to set passwords: Hello [email protected] Someone has invited you to https://demo.palni-palci-staging.notch8.cloud/, you can accept it through the link below. If you don't want to accept the invitation, please ignore this email. Your account won't be created until you access the link above and set your password. Hello [email protected] Someone has invited you to https://demo.palni-palci-staging.notch8.cloud/, you can accept it through the link below. If you don't want to accept the invitation, please ignore this email. Your account won't be created until you access the link above and set your password. |
The following actions were taken in the demo.palni-palci-staging instance this week:
|
I checked maildev (our staging mailbox) to see that no emails were sent because the BatchEmailNotificationJob failed. Migrations needed to be run on staging. I ran the migrations and we should hopefully see notification emails going forward. I'm afraid you may need to redo the actions above ^^ @ctgraham for the users set to "daily" frequency as your actions were done more than a day ago, at the time of fixing staging. anything done more than a day ago won't match the query of emails to send. To re test I created a new work and manually ran the job. the following emailed was received: https://demo.palni-palci-staging.notch8.cloud/notifications?locale=en Switched users and created a work. email received after manually running job: |
ctgraham and jfudrow performed multiple editorial actions today, accepting/commenting/returning about a score of submissions. |
@ctgraham The following emails were received this morning: |
Summary
SOW
The goal is to implement batch email notifications for some activities/trigers in the Hyku application. The notifications should match those of the One-step mediated deposit workflow. That includes:
Acceptance Criteria
TASKS
Testing Instructions
Notes
Spike results: #1005 (comment)
Implementation brainstorm: #1005 (comment)
The text was updated successfully, but these errors were encountered: