-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Include links in e-mail notifications #111
Comments
When following this link, users who are not logged in should be redirected to the login page with a session token or parameter that stores the page to return to. After logging in, they should be redirected to that page. Authlogic likely already has functionality to help with this. |
It looks like you'll be working mostly with the email method in models/assignment.rb. I searched the project and as far as I can see, that's only called in one place - controllers/submitted_content_controller:80 in submit_file. |
I am trying to understand how and in which cases does an email get generated. So one of the cases is creation of a new user. I am able to roughly understand the flow, and how finally the partial is picked for a specific scenario. I understand that to send an email you need to call the function defined in mailer.rb. Consider a case where I am trying to analyze how review process works. I have an email with the subject "A new submission is available for Backchannel "Live Question" application.
The point I am stuck is that I do not know how and from where this function get called. From what I understand of CR #111, I think if I would understand the above part, I would be able to pass an extra parameter for the URL where the user needs to be redirected. I hope I am clear enough! Thanks, |
mailer.rb is a subclass of ActionMailer::Base. Check out the ActionMailer docs at http://apidock.com/rails/v2.3.8/ActionMailer/Base. The documentation describes how it works in detail, but I'll try to summarize. SubmittedContentController#submit_file calls assignment.email at submitted_content_controller.rb:80 |
We have covered point 2 of the CR. What do we do on the expertiza UI so that when we run the rake task (send_email_reminders), we receive a mail regarding the review? This will help us to find an entrypoint into the case. Thanks. |
Check E729. |
The third issue (instructor notifications of disagreeing reviews) is fixed, but the other two remain. |
E-mail notifications from Expertiza say what needs to be done, but don't give the recipient much help in knowing where to turn.
The task list collects together some of these page addresses; could they be included in e-mail? This might require a way to be directed to a particular Expertiza page when one logs in.
This includes issues #33 and #34.
The text was updated successfully, but these errors were encountered: